public class Inflection extends Object
| コンストラクタと説明 |
|---|
Inflection(String pattern) |
Inflection(String pattern,
String replacement) |
Inflection(String pattern,
String replacement,
boolean ignoreCase) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static boolean |
isUncountable(String word)
Return true if the word is uncountable.
|
boolean |
match(String word)
Does the given word match?
|
static String |
pluralize(String word)
Return the pluralized version of a word.
|
String |
replace(String word)
Replace the word with its pattern.
|
static String |
singularize(String word)
Return the singularized version of a word.
|
public Inflection(String pattern)
public boolean match(String word)
word - The wordpublic String replace(String word)
word - The wordpublic static String pluralize(String word)
word - The wordpublic static String singularize(String word)
word - The wordpublic static boolean isUncountable(String word)
word - The wordCopyright © 2016. All Rights Reserved.