powered by
Plots frequency n-grams.
fst_ngrams_plot(table, number = NULL, ngrams = 1, name = NULL)
Plot of top n-grams.
Output of `fst_get_top_words()` or `fst_get_top_ngrams()`.
Optional number of n-grams for title, default is `NULL`.
The type of n-grams, default is `1`.
An optional "name" for the plot to add to title, default is `NULL`.
top_bigrams <- fst_ngrams_table(fst_child, ngrams = 2, number = 15) fst_ngrams_plot(top_bigrams, ngrams = 2, number = 15, name = "Children")
Run the code above in your browser using DataLab