Man pages for textreg
n-Gram Text Regression, aka Concise Comparative Summarization

bathtubSample of cleaned OSHA accident summaries.
build.corpusBuild a corpus that can be used in the textreg call.
calc.lossCalculate total loss of model (Squared hinge loss).
clean.textClean text and get it ready for textreg.
cluster.phrasesCluster phrases based on similarity of appearance.
convert.tm.to.characterConvert tm corpus to vector of strings.
cpp_build.corpusDriver function for the C++ function.
cpp_textregDriver function for the C++ function.
dirtyBathtubSample of raw-text OSHA accident summaries.
find.CV.CK-fold cross-validation to determine optimal tuning parameter
find.threshold.CConduct permutation test on labeling to get null distribution...
grab.fragmentsGrab all fragments in a corpus with given phrase.
is.fragment.sampleIs object a fragment.sample object?
is.textreg.corpusIs object a textreg.corpus object?
is.textreg.resultIs object a textreg.result object?
list.table.chartGraphic showing multiple word lists side-by-side.
make.appearance.matrixMake phrase appearance matrix from textreg result.
make.count.tableCount number of times documents have a given phrase.
make.CV.chartPlot K-fold cross validation curves
make.list.tableCollate multiple regression runs.
make.path.matrixGenerate matrix describing gradient descent path of textreg.
make.phrase.correlation.chartGenerate visualization of phrase overlap.
make.phrase.matrixMake a table of where phrases appear in a corpus
make_search_phrasesConvert phrases to appropriate search string.
make.similarity.matrixCalculate similarity matrix for set of phrases.
path.matrix.chartPlot optimization path of textreg.
phrase.countCount phrase appearance.
phrase.matrixMake matrix of where phrases appear in corpus.
phrasesGet the phrases from the textreg.result object?
plot.textreg.resultPlot the sequence of features as they are introduced with the...
predict.textreg.resultPredict labeling with the selected phrases.
print.fragment.samplePretty print results of phrase sampling object.
print.textreg.corpusPretty print textreg corpus object
print.textreg.resultPretty print results of textreg regression.
reformat.textreg.modelClean up output from textreg.
sample.fragmentsSample fragments of text to contextualize a phrase.
save.corpus.to.filesSave corpus to text (and RData) file.
stem.corpusStep corpus with annotation.
testCorporaSome small, fake test corpora.
textregSparse regression of labeling vector onto all phrases in a...
textreg-packageSparse regression package for text that allows for multiple...
tm_gregexprCall gregexpr on the content of a tm Corpus.
textreg documentation built on May 2, 2019, 8:34 a.m.