Description Usage Format Details Methods Author(s) Examples
a R6 class of text suggester.
1 |
R6Class
object.
A function of text suggest .
$Suggester
a java object.
$addSentence(x)
add sentences intoSuggester
,x
is a character vector.
$suggest(word="",size=5L)
suggest size
sentences for a word
https://github.com/qxde01/RHanLP
1 2 3 4 5 6 | ## Not run:
sug<-hanlp.suggest$new()
sug$addSentence(c('hello world','My R world'))
sug$suggest(word="world",size=2L)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.