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