|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 MaxEntModel 的软件包 | |
|---|---|
| com.hankcs.hanlp.model.maxent | |
| com.hankcs.hanlp.model.maxent 中 MaxEntModel 的使用 |
|---|
| 返回 MaxEntModel 的 com.hankcs.hanlp.model.maxent 中的方法 | |
|---|---|
static MaxEntModel |
MaxEntModel.create(ByteArray byteArray)
从字节流快速加载 |
static MaxEntModel |
MaxEntModel.create(String path)
从文件加载,同时缓存为二进制文件 |
static MaxEntModel |
MaxEntModel.load(String txtPath)
加载最大熵模型 如果存在缓存的话,优先读取缓存,否则读取txt,并且建立缓存 |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||