behindLatin, config, ctrlMask, dic, ialist, idx, isb, reader, wordPoolCHECK_CE_MASk, CHECK_CF_MASK, CHECK_EC_MASK, START_SS_MASK| Constructor and Description |
|---|
SearchSeg(JcsegTaskConfig config,
ADictionary dic) |
SearchSeg(Reader input,
JcsegTaskConfig config,
ADictionary dic) |
| Modifier and Type | Method and Description |
|---|---|
protected IChunk |
getBestCJKChunk(char[] chars,
int index)
here we don't have to do anything
|
protected IWord |
getNextCJKWord(int c,
int pos)
get the next CJK word from the current position of the input stream
and this function is the core part the most segmentation implements
|
appendLatinSyn, appendWordFeatures, enSecondSeg, findCHName, findCHName, getConfig, getDict, getNextLatinWord, getNextMatch, getNextMixedWord, getNextPunctuationPairWord, getPairPunctuationText, getStreamPosition, next, nextCJKSentence, nextCNNumeric, nextLatinString, nextLatinWord, nextLetterNumber, nextOtherNumber, pushBack, pushBack, readNext, reset, setConfig, setDictpublic SearchSeg(JcsegTaskConfig config, ADictionary dic) throws IOException
IOExceptionpublic SearchSeg(Reader input, JcsegTaskConfig config, ADictionary dic) throws IOException
IOExceptionprotected IWord getNextCJKWord(int c, int pos) throws IOException
getNextCJKWord in class ASegmentIOExceptionASegment.getNextCJKWord(int, int)protected IChunk getBestCJKChunk(char[] chars, int index) throws IOException
getBestCJKChunk in class ASegmentIOExceptionASegment.getBestCJKChunk(char[], int)Copyright © 2017. All Rights Reserved.