protected static class IndicScriptProcessor.DefaultSyllabizer extends IndicScriptProcessor.Syllabizer
Modifier and Type | Method and Description |
---|---|
protected int |
findEndOfSyllable(int[] ca,
int s,
int e)
Find end of syllable in character array, starting at S, ending at E.
|
protected int |
findStartOfSyllable(int[] ca,
int s,
int e)
Find start of syllable in character array, starting at S, ending at E.
|
protected GlyphSequence[] |
segmentize(GlyphSequence gs,
IndicScriptProcessor.Segment[] sa)
Construct array of glyph sequences from original glyph sequence and segment array.
|
protected IndicScriptProcessor.Segment[] |
segmentize(int[] ca,
int nc)
Construct array of segements from original character array (associated with original glyph sequence)
|
compareTo, equals, hashCode
protected IndicScriptProcessor.Segment[] segmentize(int[] ca, int nc)
ca
- input character sequencenc
- number of characters in sequenceprotected GlyphSequence[] segmentize(GlyphSequence gs, IndicScriptProcessor.Segment[] sa)
gs
- original input glyph sequencesa
- segment arrayprotected int findStartOfSyllable(int[] ca, int s, int e)
ca
- character arrays
- start indexe
- end indexprotected int findEndOfSyllable(int[] ca, int s, int e)
ca
- character arrays
- start indexe
- end indexCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.