Package org.dspace.text.filter
Class MARC21InitialArticleWord
java.lang.Object
org.dspace.text.filter.InitialArticleWord
org.dspace.text.filter.MARC21InitialArticleWord
- All Implemented Interfaces:
TextFilter
Implements MARC 21 standards to disregard initial
definite or indefinite article in sorting.
Note: This only works for languages defined with IANA code entries.
- Author:
- Graham Triggs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String[]getArticleWords(String lang) Return the list of definite and indefinite article codes for this language.Methods inherited from class org.dspace.text.filter.InitialArticleWord
filter, filter
-
Constructor Details
-
MARC21InitialArticleWord
public MARC21InitialArticleWord() -
MARC21InitialArticleWord
public MARC21InitialArticleWord(boolean stripWord)
-
-
Method Details
-
getArticleWords
Return the list of definite and indefinite article codes for this language.- Specified by:
getArticleWordsin classInitialArticleWord- Parameters:
lang- The language to retrieve article words for- Returns:
- An array of definite/indefinite article words
-