|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kemet.impl.grammar.phonetic_complement.PhoneticComplementContext
public class PhoneticComplementContext
PhoneticComplementContext : fix the strategy about algorithm choice to process phonetic complement from bilitere sequence
Constructor Summary | |
---|---|
PhoneticComplementContext(java.util.HashMap args)
initialize the context for manage the phonetic complement. |
Method Summary | |
---|---|
java.lang.String[] |
process(SequenceFormatManager sfm,
int sequenceIndex,
java.lang.String[] transliteration,
int number,
java.util.HashMap ht)
return a transliterated sequence without phonetic complements. |
void |
setAlgorithm(IEpuratePhoneticComplement algorithm)
fix the algorithm. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PhoneticComplementContext(java.util.HashMap args)
initialize the context for manage the phonetic complement.
args
- parameters initialized for the grammar manager see
DeveloperGuide : "first step : how to configure the KEMET
library ?"Method Detail |
---|
public java.lang.String[] process(SequenceFormatManager sfm, int sequenceIndex, java.lang.String[] transliteration, int number, java.util.HashMap ht) throws KemetAPIException
return a transliterated sequence without phonetic complements.
sfm
- sequenceFormatManager instancesequenceIndex
- index of sequence to processtransliteration
- transliteration to epuratenumber
- number of caracters to concatenate (ex : 2 for biliteres)ht
- informations about phonograms
KemetAPIException
public void setAlgorithm(IEpuratePhoneticComplement algorithm)
fix the algorithm.
algorithm
- algorithm to fix
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |