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

字段摘要
static IDependencyParser INSTANCE
          内置实例
 
构造方法摘要
NeuralNetworkDependencyParser()
           
 
方法摘要
static CoNLLSentence compute(List<Term> termList)
          分析句子的依存句法
static CoNLLSentence compute(String sentence)
          分析句子的依存句法
 CoNLLSentence parse(List<Term> termList)
          分析句子的依存句法
 
从类 com.hankcs.hanlp.dependency.AbstractDependencyParser 继承的方法
enableDeprelTranslator, getDeprelTranslator, getSegment, parse, setDeprelTranslater, setDeprelTranslator, setSegment
 
从类 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.