| Package | Description |
|---|---|
| com.hankcs.hanlp.classification.corpus |
| Modifier and Type | Field and Description |
|---|---|
protected Lexicon |
AbstractDataSet.lexicon |
| Modifier and Type | Method and Description |
|---|---|
Lexicon |
IDataSet.getLexicon()
获取词表
|
Lexicon |
AbstractDataSet.getLexicon() |
| Constructor and Description |
|---|
Document(Catalog catalog,
Lexicon lexicon,
String category,
String[] tokenArray)
一般用在训练集构造文档时
|
Copyright © 2014–2021 码农场. All rights reserved.