com.hankcs.hanlp.corpus.dependency.CoNll
类 PosTagCompiler

java.lang.Object
  继承者 com.hankcs.hanlp.corpus.dependency.CoNll.PosTagCompiler

public class PosTagCompiler
extends Object

等效词编译器

作者:
hankcs

构造方法摘要
PosTagCompiler()
           
 
方法摘要
static String compile(String tag, String name)
          编译,比如将词性为数词的转为##数##
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

PosTagCompiler

public PosTagCompiler()
方法详细信息

compile

public static String compile(String tag,
                             String name)
编译,比如将词性为数词的转为##数##

参数:
tag - 标签
name - 原词
返回:
编译后的等效词


Copyright © 2014–2015 鐮佸啘鍦�/a>. All rights reserved.