| java.lang.Object jcommontk.inflector.SimpleInflector
SimpleInflector | public class SimpleInflector (Code) | | A class for plurilization of nouns.
Based on the work:
An Algorithmic Approach to English Pluralization
Damian Conway
School of Computer Science and Software Engineering
Monash University
Clayton 3168, Australia
mailto:damian@csse.monash.edu.au
http://www.csse.monash.edu.au/~damian
|
ignoreInflection | static Set ignoreInflection(Code) | | |
inflectionCategories | static Object[][] inflectionCategories(Code) | | |
inflectionSuffixes | static String[][] inflectionSuffixes(Code) | | |
irregularNouns | static Map irregularNouns(Code) | | |
doNotInflectPlural | static boolean doNotInflectPlural(String word)(Code) | | |
pluralize | public static String[] pluralize(String word)(Code) | | This method pluralizes words (nouns only). In the event of a multiple segment
word (camel case/underline) only the last segment will be pluralized.
Parameters: word - the word to pluralize returns an array of one or more pluralizations (modern followed by classic) |
|
|