powered by
Transforms a vector of n-grams into a human-friendly form.
decode_ngrams(ngrams)
a character vector of n-grams.
character
a character vector of length equal to the number of n-grams.
Validate n-gram structure: is_ngram.
is_ngram
Inverse function: code_ngrams.
code_ngrams
# NOT RUN { decode_ngrams(c("2_1.1.2_0.1", "3_1.1.2_2.0", "3_2.2.2_0.0")) # }
Run the code above in your browser using DataLab