NeuralNetworkDependencyParser。public class CRFDependencyParser extends AbstractDependencyParser
| 构造器和说明 |
|---|
CRFDependencyParser()
已过时。
|
CRFDependencyParser(String modelPath)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CoNLLSentence |
compute(List<Term> termList)
已过时。
分析句子的依存句法
|
static CoNLLSentence |
compute(String sentence)
已过时。
分析句子的依存句法
|
CoNLLSentence |
parse(List<Term> termList)
已过时。
分析句子的依存句法
|
enableDeprelTranslator, getDeprelTranslator, getSegment, parse, setDeprelTranslater, setDeprelTranslator, setSegmentpublic CRFDependencyParser(String modelPath)
public CRFDependencyParser()
public static CoNLLSentence compute(List<Term> termList)
termList - 句子,可以是任何具有词性标注功能的分词器的分词结果public static CoNLLSentence compute(String sentence)
sentence - 句子public CoNLLSentence parse(List<Term> termList)
IDependencyParsertermList - 句子,可以是任何具有词性标注功能的分词器的分词结果Copyright © 2014–2018 码农场. All rights reserved.