| Package | Description |
|---|---|
| com.hankcs.hanlp.seg.common |
| Modifier and Type | Method and Description |
|---|---|
static CWSEvaluator.Result |
CWSEvaluator.evaluate(Segment segment,
String outputPath,
String goldFile,
String dictPath)
标准化评测分词器
|
static CWSEvaluator.Result |
CWSEvaluator.evaluate(Segment segment,
String testFile,
String outputPath,
String goldFile,
String dictPath)
标准化评测分词器
|
static CWSEvaluator.Result |
CWSEvaluator.evaluate(String goldFile,
String predFile)
在标准答案与分词结果上执行评测
|
static CWSEvaluator.Result |
CWSEvaluator.evaluate(String goldFile,
String predFile,
String dictPath)
在标准答案与分词结果上执行评测
|
CWSEvaluator.Result |
CWSEvaluator.getResult()
获取PRF
|
CWSEvaluator.Result |
CWSEvaluator.getResult(boolean percentage)
获取PRF
|
Copyright © 2014–2021 码农场. All rights reserved.