Description Usage Arguments Value Author(s) Examples
A function of new word discovering .
1 2 | hanlp.newWordDiscover(doc, size = 100L, max_len = 5L, min_freq = 5e-05,
min_entropy = 0.4, min_aggregation = 1.2, filter = TRUE)
|
doc |
A big Chinese document in UTF-8 . |
size |
output word number ,default 100. |
max_len |
max word length default 5. |
min_freq |
min word freq ,default 0.00005. |
min_entropy |
min word entropy,default 0.4. |
min_aggregation |
min mutual information of words,default 1.2. |
filter |
Whether or not to filter out the words already existing in the HanLP dict,default |
a character .
qxde01
1 2 3 4 | ## Not run:
hanlp.newWordDiscover("hello world!")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.