powered by
Read in data on ngrams via readr::read_tsv().
readr::read_tsv()
jst_get_ngram(file)
A path to a file or a zip location from jst_subset_ngrams().
jst_subset_ngrams()
A tibble::tibble() with two columns:
tibble::tibble()
ngram: the ngram term (unigram, bigram, trigram)
n: an integer for the number of times the term occurred in the original file
This function is mainly useful when it is used in together with jst_import_zip, where you can use it to specify reading in ngram data.