com.hankcs.hanlp.corpus.util
类 Precompiler

java.lang.Object
  继承者 com.hankcs.hanlp.corpus.util.Precompiler

public class Precompiler
extends Object

预编译与反编译一些词语

作者:
hankcs

构造方法摘要
Precompiler()
           
 
方法摘要
static Word compile(IWord word)
           
static Word compile(Word word)
          将一个单词编译为等效字串
static void compileWithoutNS(List<IWord> wordList)
          在忽略ns的前提下预编译
static void compileWithoutNT(List<IWord> wordList)
          在忽略ns的前提下预编译
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Precompiler

public Precompiler()
方法详细信息

compile

public static Word compile(Word word)
将一个单词编译为等效字串

参数:
word -
返回:

compile

public static Word compile(IWord word)

compileWithoutNS

public static void compileWithoutNS(List<IWord> wordList)
在忽略ns的前提下预编译

参数:
wordList -

compileWithoutNT

public static void compileWithoutNT(List<IWord> wordList)
在忽略ns的前提下预编译

参数:
wordList -


Copyright © 2014–2015 码农场. All rights reserved.