Description Usage Arguments Value See Also Examples
Code human-friendly representation of n-grams into a biogram format.
1 | code_ngrams(decoded_ngrams)
|
decoded_ngrams |
a |
a character
vector of n-grams.
Inverse function: decode_ngrams
.
1 2 | code_ngrams(c("11_2", "1__12", "222"))
code_ngrams(c("aaa_b", "d__aa", "abd"))
|
Loading required package: slam
[1] "1.1.2_0.1" "1.1.2_2.0" "2.2.2_0.0"
[1] "a.a.a.b_0.0.1" "d.a.a_2.0" "a.b.d_0.0"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.