analyze | R Documentation |
Simple version of analyze function.
analyze(text, top_n = 3, match_option = Match$ALL, stopwords = FALSE)
text |
target text. |
top_n |
|
match_option |
|
stopwords |
stopwords option. Default is TRUE which is
to use embaded stopwords dictionany.
If FALSE, use not embaded stopwords dictionany.
If char: path of dictionary txt file, use file.
If |
## Not run: analyze("Test text.") analyze("Please use Korean.", top_n = 1) analyze("Test text.", 1, Match$ALL_WITH_NORMALIZING) analyze("Test text.", stopwords = FALSE) analyze("Test text.", stopwords = TRUE) analyze("Test text.", stopwords = "user_dict.txt") analyze("Test text.", stopwords = Stopwords$new(TRUE)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.