|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kemet.impl.grammar1.GrammarBusiness
public class GrammarBusiness
manage the implemented grammar.
Constructor Summary | |
---|---|
GrammarBusiness()
instantiate the grammar business. |
Method Summary | |
---|---|
java.lang.String |
toHieroglyphs(java.lang.String[] transliterationList,
GrammarManager gm)
convert transliteration to hieroglyphs. |
java.lang.String |
toPhoneticRead(java.lang.String[] transliterationList,
GrammarManager gm,
java.lang.Boolean complete)
get the phonetic read from a transliteration list. |
java.lang.String |
toPhoneticReadWithGlobalApproach(java.lang.String[] transliterationList,
GrammarManager gm,
java.lang.Boolean complete)
Deprecated. get the phonetic read from a transliteration list. evaluate the phonetic value for each transliteration of the list |
java.lang.String |
toTransliteration(java.lang.String[] signList,
java.lang.Integer indexValueOfTransliteration)
convert hieroglyphs to transliteration. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrammarBusiness()
instantiate the grammar business.
Method Detail |
---|
public java.lang.String toHieroglyphs(java.lang.String[] transliterationList, GrammarManager gm) throws KemetAPIException
convert transliteration to hieroglyphs.
toHieroglyphs
in interface IGrammar
transliterationList
- list of transliterationgm
- grammar manager instance
KemetAPIException
public java.lang.String toTransliteration(java.lang.String[] signList, java.lang.Integer indexValueOfTransliteration)
convert hieroglyphs to transliteration.
toTransliteration
in interface IGrammar
signList
- list of signindexValueOfTransliteration
- index of list transliteration values returned by hiero.xml
file
public java.lang.String toPhoneticRead(java.lang.String[] transliterationList, GrammarManager gm, java.lang.Boolean complete)
get the phonetic read from a transliteration list. evaluate the phonetic value for each part of each transliteration of the list.
toPhoneticRead
in interface IGrammar
transliterationList
- the transliterationgm
- grammar managercomplete
- transliteration + vowel
public java.lang.String toPhoneticReadWithGlobalApproach(java.lang.String[] transliterationList, GrammarManager gm, java.lang.Boolean complete)
get the phonetic read from a transliteration list. evaluate the phonetic value for each transliteration of the list
IGrammar
name of method to override for get phonetic read with global approach (used by grammar manager for grammar business).
toPhoneticReadWithGlobalApproach
in interface IGrammar
transliterationList
- the transliterationgm
- grammar managercomplete
- transliteration + vowel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |