public class HMMSegment extends CharacterBasedSegment
config, customDictionary| Constructor and Description |
|---|
HMMSegment() |
HMMSegment(String modelPath) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Term> |
roughSegSentence(char[] sentence)
单纯的分词模型实现该方法,仅输出词
|
guessAttribute, segSentence, toVertexListatomSegment, combineByCustomDictionary, combineByCustomDictionary, combineByCustomDictionary, combineByCustomDictionary, convert, enableAllNamedEntityRecognize, enableCustomDictionary, enableCustomDictionary, enableCustomDictionaryForcing, enableIndexMode, enableIndexMode, enableJapaneseNameRecognize, enableMultithreading, enableMultithreading, enableNameRecognize, enableNumberQuantifierRecognize, enableOffset, enableOrganizationRecognize, enablePartOfSpeechTagging, enablePlaceRecognize, enableTranslatedNameRecognize, mergeNumberQuantifier, quickAtomSegment, seg, seg, seg2sentence, seg2sentence, simpleAtomSegmentpublic HMMSegment()
public HMMSegment(String modelPath)
protected List<Term> roughSegSentence(char[] sentence)
CharacterBasedSegmentroughSegSentence in class CharacterBasedSegmentCopyright © 2014–2021 码农场. All rights reserved.