jst_get_ngram {jstor} | R Documentation |
Read ngram data
Description
Read in data on ngrams via readr::read_tsv()
.
Usage
jst_get_ngram(file)
Arguments
file |
A path to a file or a zip location from |
Details
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.
Value
A tibble::tibble()
with two columns:
-
ngram: the ngram term (unigram, bigram, trigram)
-
n: an integer for the number of times the term occurred in the original file
[Package jstor version 0.3.11 Index]