Tranforms a vector of positioned n-grams into a list of positions filled with unigrams
appearing on them.
Usage
position_ngrams(ngrams)
Arguments
ngrams
a vector of positioned n-grams (as created by count_ngrams).
Value
a list of length equal to the number of unique positions present in n-grams. Each
element of the list contains unigrams that are present on this position.
See Also
Change n-gram name to human-friendly form: decode_ngrams.