com.hankcs.hanlp.seg.Dijkstra
类 DijkstraSegment

java.lang.Object
  继承者 com.hankcs.hanlp.seg.Segment
      继承者 com.hankcs.hanlp.seg.WordBasedGenerativeModelSegment
          继承者 com.hankcs.hanlp.seg.Dijkstra.DijkstraSegment

public class DijkstraSegment
extends WordBasedGenerativeModelSegment

最短路径分词

作者:
hankcs

字段摘要
 
从类 com.hankcs.hanlp.seg.Segment 继承的字段
config
 
构造方法摘要
DijkstraSegment()
           
 
方法摘要
 List<Term> segSentence(char[] sentence)
          给一个句子分词
 
从类 com.hankcs.hanlp.seg.WordBasedGenerativeModelSegment 继承的方法
convert, convert, decorateResultForIndexMode, fixResultByRule, GenerateBiGraph, GenerateWord, GenerateWordNet, speechTagging
 
从类 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
 

构造方法详细信息

DijkstraSegment

public DijkstraSegment()
方法详细信息

segSentence

public List<Term> segSentence(char[] sentence)
从类 Segment 复制的描述
给一个句子分词

指定者:
Segment 中的 segSentence
参数:
sentence - 待分词句子
返回:
单词列表


Copyright © 2014–2015 码农场. All rights reserved.