NGRAM: Stata module to provide n-gram feature extractor
Matthias Schonlau
Abstract
Matthias Schonlau
Abstract
ngram extracts n-gram variables containing counts of how often the n-grams occur in a given text. An n-gram is an n-long sequence of words. For example, "sheep" is a unigram (1-gram), "black sheep" is a bigram (2-gram), and "the black sheep is happy" is a 5-gram. This is useful for text mining applications.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
ngram extracts n-gram variables containing counts of how often the n-grams occur in a given text. An n-gram is an n-long sequence of words. For example, "sheep" is a unigram (1-gram), "black sheep" is a bigram (2-gram), and "the black sheep is happy" is a 5-gram. This is useful for text mining applications.
Key concepts: Bigram, n-gram, Gram, Extractor, Feature (linguistics), Computer science, Sequence (biology), Statistics