public abstract class InitialArticleWord extends Object implements TextFilter
| Modifier | Constructor and Description |
|---|---|
protected |
InitialArticleWord() |
protected |
InitialArticleWord(boolean stripWord) |
| Modifier and Type | Method and Description |
|---|---|
String |
filter(String str)
When no language is passed, use null and let implementation decide what to do
|
String |
filter(String str,
String lang)
Do an initial definite/indefinite article filter on the passed string.
|
protected abstract String[] |
getArticleWords(String lang)
Abstract method to get the list of words to use in the initial word filter
|
protected InitialArticleWord(boolean stripWord)
protected InitialArticleWord()
public String filter(String str)
filter in interface TextFilterpublic String filter(String str, String lang)
filter in interface TextFilterstr - The string to parselang - The language of the passed stringCopyright © 2015 DuraSpace. All Rights Reserved.