n-Gram Text Regression, aka Concise Comparative Summarization
Build a corpus that can be used in the textreg call.
Calculate total loss of model (Squared hinge loss).
Clean text and get it ready for textreg.
Cluster phrases based on similarity of appearance.
Convert tm corpus to vector of strings.
Driver function for the C++ function.
Driver function for the C++ function.
K-fold cross-validation to determine optimal tuning parameter
Conduct permutation test on labeling to get null distribution of regul...
Grab all fragments in a corpus with given phrase.
Is object a fragment.sample object?
Is object a textreg.corpus object?
Is object a textreg.result object?
Graphic showing multiple word lists side-by-side.
Make phrase appearance matrix from textreg result.
Count number of times documents have a given phrase.
Plot K-fold cross validation curves
Collate multiple regression runs.
Generate matrix describing gradient descent path of textreg.
Generate visualization of phrase overlap.
Make a table of where phrases appear in a corpus
Calculate similarity matrix for set of phrases.
Convert phrases to appropriate search string.
Plot optimization path of textreg.
Count phrase appearance.
Make matrix of where phrases appear in corpus.
Get the phrases from the textreg.result object?
Plot the sequence of features as they are introduced with the textreg ...
Predict labeling with the selected phrases.
Pretty print results of phrase sampling object.
Pretty print textreg corpus object
Pretty print results of textreg regression.
Clean up output from textreg.
Sample fragments of text to contextualize a phrase.
Save corpus to text (and RData) file.
Step corpus with annotation.
Sparse regression package for text that allows for multiple word phras...
Sparse regression of labeling vector onto all phrases in a corpus.
Call gregexpr on the content of a tm Corpus.
Function for sparse regression on raw text, regressing a labeling vector onto a feature space consisting of all possible phrases.