com.hankcs.hanlp.corpus.util
类 CorpusUtil
java.lang.Object
com.hankcs.hanlp.corpus.util.CorpusUtil
public class CorpusUtil
- extends Object
- 作者:
- hankcs
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG_PLACE
public static final String TAG_PLACE
- 另请参见:
- 常量字段值
TAG_BIGIN
public static final String TAG_BIGIN
- 另请参见:
- 常量字段值
TAG_OTHER
public static final String TAG_OTHER
- 另请参见:
- 常量字段值
TAG_GROUP
public static final String TAG_GROUP
- 另请参见:
- 常量字段值
TAG_NUMBER
public static final String TAG_NUMBER
- 另请参见:
- 常量字段值
TAG_PROPER
public static final String TAG_PROPER
- 另请参见:
- 常量字段值
TAG_TIME
public static final String TAG_TIME
- 另请参见:
- 常量字段值
TAG_CLUSTER
public static final String TAG_CLUSTER
- 另请参见:
- 常量字段值
TAG_END
public static final String TAG_END
- 另请参见:
- 常量字段值
TAG_PEOPLE
public static final String TAG_PEOPLE
- 另请参见:
- 常量字段值
CorpusUtil
public CorpusUtil()
compile
public static IWord compile(IWord word)
- 编译单词
- 参数:
word -
- 返回:
convert2CompatibleList
public static List<List<IWord>> convert2CompatibleList(List<List<Word>> simpleSentenceList)
- 将word列表转为兼容的IWord列表
- 参数:
simpleSentenceList -
- 返回:
spilt
public static List<IWord> spilt(List<IWord> wordList)
Copyright © 2014–2015 鐮佸啘鍦�/a>. All rights reserved.