Package ca.phon.ipadictionary.impl
Class TransliterationTokenizer
java.lang.Object
ca.phon.ipadictionary.impl.TransliterationTokenizer
Create tokens from a given input string. The string
will be tokenized based on a given input map or by
each character if a sequence is not found in the map.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(String key) boolean
isEmpty()
boolean
keySet()
void
setIgnoreWhitespace
(boolean ignoreWhitespace) String[]
tokenize
(CharSequence input) transliterate
(String input) transliterate
(String[] tokens)
-
Constructor Details
-
TransliterationTokenizer
public TransliterationTokenizer() -
TransliterationTokenizer
-
-
Method Details
-
getTokenMap
-
isIgnoreWhitespace
public boolean isIgnoreWhitespace() -
setIgnoreWhitespace
public void setIgnoreWhitespace(boolean ignoreWhitespace) -
isEmpty
public boolean isEmpty() -
containsKey
-
get
-
put
-
keySet
-
tokenize
-
transliterate
-
transliterate
-