public class ArabicNumbersWords extends Object
Constructor and Description |
---|
ArabicNumbersWords() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkNumericPhrase(String phraseInput,
boolean feminin,
boolean attached,
String inflection) |
static String |
getForm(String unit,
String category,
String inflection) |
static Integer |
getNumericWordValue(String word) |
static List<String> |
getSuggestionsNumericPhrase(String phraseInput,
boolean feminin,
boolean attached,
String inflection) |
static List<Map<String,String>> |
getSuggestionsNumericPhraseWithUnits(String phraseInput,
String unit,
boolean feminin,
boolean attached,
String inflection) |
static String |
getUnitForm(Integer n,
String unitLemma,
String inflection) |
static boolean |
isFeminin(String unit) |
static boolean |
isNumericWord(String word) |
static String |
numberToArabicWords(BigInteger number,
boolean isFeminine) |
static String |
numberToArabicWords(BigInteger number,
boolean isFeminine,
boolean isAttached,
String inflectionCase) |
static String |
numberToArabicWords(String n) |
static String |
numberToArabicWords(String number,
boolean isFeminine) |
static String |
numberToArabicWords(String number,
boolean isFeminine,
boolean isAttached,
String inflectionCase) |
static String |
numberToWordsWithUnits(Integer n,
String unit,
String inflection) |
static Map<String,String> |
numberToWordsWithUnitsMap(Integer n,
String unit,
String inflection) |
static Integer |
textToNumber(List<String> words) |
static Integer |
textToNumber(String text) |
public static String numberToArabicWords(String number, boolean isFeminine, boolean isAttached, String inflectionCase)
public static String numberToArabicWords(BigInteger number, boolean isFeminine)
public static String numberToArabicWords(BigInteger number, boolean isFeminine, boolean isAttached, String inflectionCase)
public static String numberToWordsWithUnits(Integer n, String unit, String inflection)
public static Map<String,String> numberToWordsWithUnitsMap(Integer n, String unit, String inflection)
public static boolean checkNumericPhrase(String phraseInput, boolean feminin, boolean attached, String inflection)
public static List<String> getSuggestionsNumericPhrase(String phraseInput, boolean feminin, boolean attached, String inflection)
public static List<Map<String,String>> getSuggestionsNumericPhraseWithUnits(String phraseInput, String unit, boolean feminin, boolean attached, String inflection)
public static boolean isNumericWord(String word)
public static boolean isFeminin(String unit)