com.hankcs.hanlp.seg.HMM
类 HMMSegment
java.lang.Object
com.hankcs.hanlp.seg.Segment
com.hankcs.hanlp.seg.CharacterBasedGenerativeModelSegment
com.hankcs.hanlp.seg.HMM.HMMSegment
public class HMMSegment
- extends CharacterBasedGenerativeModelSegment
基于2阶HMM(A Second-Order Hidden Markov Model, TriGram3阶文法模型)+ BMES序列标注的分词器
- 作者:
- hankcs
从类 com.hankcs.hanlp.seg.Segment 继承的方法 |
atomSegment, combineByCustomDictionary, enableAllNamedEntityRecognize, enableCustomDictionary, enableIndexMode, enableJapaneseNameRecognize, enableMultithreading, enableMultithreading, enableNameRecognize, enableNumberQuantifierRecognize, enableOffset, enableOrganizationRecognize, enablePartOfSpeechTagging, enablePlaceRecognize, enableTranslatedNameRecognize, mergeNumberQuantifier, quickAtomSegment, seg, seg, seg2sentence, simpleAtomSegment |
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HMMSegment
public HMMSegment()
segSentence
protected List<Term> segSentence(char[] sentence)
- 从类
Segment
复制的描述
- 给一个句子分词
- 指定者:
- 类
Segment
中的 segSentence
- 参数:
sentence
- 待分词句子
- 返回:
- 单词列表
Copyright © 2014–2015 码农场. All rights reserved.