EconPapers    
Economics at your fingertips  
 

NGRAM: Stata module to provide n-gram feature extractor

Matthias Schonlau ()
Additional contact information
Matthias Schonlau: University of Waterloo

Statistical Software Components from Boston College Department of Economics

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.

Language: Stata
Requires: Stata version 13
Keywords: n-gram; text processing; frequencies; text mining (search for similar items in EconPapers)
Date: 2018-10-27
Note: This module should be installed from within Stata by typing "ssc install ngram". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/n/ngram.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/n/ngram.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/n/ngramFile-URL:h ... ec/bocode/_/core.ado program code (text/plain)
Our link check indicates that this URL is bad, the error code is: 404 Not Found
http://fmwww.bc.edu/repec/bocode/n/ngram_example.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/n/ngram_examples.ihlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stemmer_example.do sample do-file (text/plain)
http://fmwww.bc.edu/repec/bocode/b/basic_example.do program code (text/plain)
http://fmwww.bc.edu/repec/bocode/t/threshold_example.do sample do-file (text/plain)
http://fmwww.bc.edu/repec/bocode/r/reuters.csv text file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stopwords_da.txt text file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stopwords_de.txt text file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stopwords_en.txt text file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stopwords_es.txt text file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stopwords_fr.txt text file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stopwords_it.txt text file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stopwords_nl.txt text file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stopwords_no.txt text file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stopwords_pt.txt text file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stopwords_ro.txt text file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stopwords_ru.txt text file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stopwords_sv.txt text file (text/plain)
http://fmwww.bc.edu/repec/bocode/_/_ngram_linux64.plugin binary plugin (application/octet-stream)
http://fmwww.bc.edu/repec/bocode/_/_ngram_mac64.plugin binary plugin (application/octet-stream)
http://fmwww.bc.edu/repec/bocode/_/_ngram_win64.plugin binary plugin (application/octet-stream)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458553

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s458553