public class NatureLibrary extends Object
| Constructor and Description |
|---|
NatureLibrary() |
| Modifier and Type | Method and Description |
|---|---|
static Nature |
getNature(String natureStr)
根据字符串得道词性.没有就创建一个
|
static int |
getTwoNatureFreq(Nature from,
Nature to)
获得两个词性之间的频率
|
static int |
getTwoTermFreq(Term fromTerm,
Term toTerm)
获得两个term之间的频率
|
Copyright © 2017. All rights reserved.