com.hankcs.hanlp.dependency.nnparser
类 NeuralNetworkDependencyParser
java.lang.Object
com.hankcs.hanlp.dependency.AbstractDependencyParser
com.hankcs.hanlp.dependency.nnparser.NeuralNetworkDependencyParser
- 所有已实现的接口:
- IDependencyParser
public class NeuralNetworkDependencyParser
- extends AbstractDependencyParser
基于神经网络分类模型arc-standard转移动作的判决式依存句法分析器
- 作者:
- hankcs
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final IDependencyParser INSTANCE
- 内置实例
NeuralNetworkDependencyParser
public NeuralNetworkDependencyParser()
parse
public CoNLLSentence parse(List<Term> termList)
- 从接口
IDependencyParser 复制的描述
- 分析句子的依存句法
- 参数:
termList - 句子,可以是任何具有词性标注功能的分词器的分词结果
- 返回:
- CoNLL格式的依存句法树
compute
public static CoNLLSentence compute(List<Term> termList)
- 分析句子的依存句法
- 参数:
termList - 句子,可以是任何具有词性标注功能的分词器的分词结果
- 返回:
- CoNLL格式的依存句法树
compute
public static CoNLLSentence compute(String sentence)
- 分析句子的依存句法
- 参数:
sentence - 句子
- 返回:
- CoNLL格式的依存句法树
Copyright © 2014–2015 鐮佸啘鍦�/a>. All rights reserved.