Description Usage Arguments Value Note See Also Examples
Transforms a vector of n-grams into a human-friendly form.
1 | decode_ngrams(ngrams)
|
ngrams |
a |
a character
vector of length equal to the number of n-grams.
Decoded n-grams lose the position information.
Validate n-gram structure: is_ngram
.
Inverse function: code_ngrams
.
1 | decode_ngrams(c("2_1.1.2_0.1", "3_1.1.2_2.0", "3_2.2.2_0.0"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.