|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kemet.impl.grammar.integration.TransliterationManager
public class TransliterationManager
management for translitered sequences.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
TransliterationManager(java.lang.String transliteration,
GrammarManager gm,
java.util.HashMap<java.lang.String,java.lang.String> phInfo,
java.util.TreeMap<java.lang.String,java.lang.String[]> sortedPhInfo,
int typeOutput)
initialize the analyze of the transliteration. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
analyze()
analyze of the transliteration. |
java.util.ArrayList<java.lang.String> |
getValue()
return the list of values after analyze. |
static boolean |
isOtherCaracter(java.lang.String tr)
verify if the sequence contains a other caracter different than special caracter. |
static boolean |
isSpecialCaracter(java.lang.String tr)
verify if the sequence contains a special caracter (., ), _, ^). |
static boolean |
isSpecialCaracterAtEnd(java.lang.String tr)
verify if the sequence contains at the end of substring a special caracter (., ), _, ^). |
void |
setSourceToCompare(java.lang.String sourceToCompare)
fix the source to compare. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransliterationManager(java.lang.String transliteration,
GrammarManager gm,
java.util.HashMap<java.lang.String,java.lang.String> phInfo,
java.util.TreeMap<java.lang.String,java.lang.String[]> sortedPhInfo,
int typeOutput)
initialize the analyze of the transliteration.
transliteration - transliteration to analyzegm - the grammar managerphInfo - list of phonograms not sortedsortedPhInfo - list of sorted phonogramstypeOutput - type of output| Method Detail |
|---|
public java.lang.String[] analyze()
throws KemetAPIException
analyze of the transliteration.
KemetAPIExceptionpublic static boolean isSpecialCaracterAtEnd(java.lang.String tr)
verify if the sequence contains at the end of substring a special caracter (., ), _, ^).
tr - string to analyse
public static boolean isSpecialCaracter(java.lang.String tr)
verify if the sequence contains a special caracter (., ), _, ^).
tr - string to analyse
public static boolean isOtherCaracter(java.lang.String tr)
verify if the sequence contains a other caracter different than special caracter.
tr - string to analyse
public java.util.ArrayList<java.lang.String> getValue()
return the list of values after analyze.
public void setSourceToCompare(java.lang.String sourceToCompare)
fix the source to compare.
sourceToCompare - source to fix
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||