Coerce a compressed corpus to a standard corpus
Convert a dfm to a data.frame
redefinition of network::as.network()
Coerce various objects to statistics_textmodel
This is a helper function used in summary.textmodel_*
.
Coerce a dist into a dist
Coercion functions for fcm objects
Convert quanteda dictionary objects to the YAML format
Convert an fcm to an igraph object
Coerce a dist object into a list
Convert the case of character objects
Check if font is available on the system
Extract a subset of a corpus
Remove sentences based on their token lengths or a pattern match
Create a document-feature matrix
Internal functions for dfm objects
Extract a subset of a dfm
Combine documents in a dfm by a grouping variable
Weight a dfm by tf-idf
Apply a dictionary to a dfm
Coercion and checking functions for dfm objects
View methods for quanteda
Internal function for select_types()
to escape regular expressions
Coercion and checking functions for dictionary objects
Internal function to fit the likelihood scaling mixture model.
Convert the case of the features of a dfm and combine
Simpler and faster version of expand.grid() in base package
Function extending base::attributes()
Coerce a dist_selection object to a matrix
Assign the summary.textmodel class to a list
Return the first or last part of a dfm
Construct a corpus object
influence.predict.textmodel_affinity
Compute feature influence from a predicted textmodel_affinity object
Coercion, checking, and combining functions for tokens objects
Coerce a simil object into a matrix
Convert a dfm to a non-quanteda format
Extract model coefficients from a fitted textmodel_ca object
Convenience wrappers for dfm convert
Check if a glob pattern is indexed by index_types
Base method extensions for corpus objects
Internal function for select_types()
to check if a string is a regular expression
Count the number of documents or features
as.coefficients_textmodel
Coerce various objects to coefficients_textmodel
This is a helper function used in summary.textmodel_*
.
Remove sentences based on their token lengths or a pattern match
Utility function to create a object with new set of attributes
Utility function to generate a nested list
Datasets with deprecated or defunct names
Trim a dfm using frequency threshold-based feature selection
Recast the document units of a corpus
data_corpus_dailnoconf1991
Confidence debate from 1991 Irish Parliament
predict.textmodel_affinity
Prediction for a fitted affinity textmodel
Get or set corpus metadata
coerce a compressed corpus to a standard corpus
Lexicoder Sentiment Dictionary (2015)
Virtual class "dfm" for a document-feature matrix
Prediction from a fitted textmodel_nb object
Get or set document-level meta-data
US presidential inaugural address texts
Internal data sets
Convert a dfm to an lsa "textmatrix"
Coerce a dist_selection object into a list
Recombine a dfm or fcm by combining identical dimension elements
print method for a wordfish model
A paragraph of text for testing various text-based functions
Coerce a dfm to a matrix or data.frame
Pattern for feature, token and keyword matching
Immigration-related sections of 2010 UK party manifestos
Convert regex and glob patterns to type IDs or fixed patterns
Replace features in dfm
Select features from a dfm or fcm
Bootstrap a dfm
Sort a dfm by frequency of one or more margins
friendly_class_undefined_message
Print friendly object class not defined message
Print a dist_selection object
Generate a grouping vector from docvars
An R package for the quantitative analysis of textual data
Get or set document names
Get or set document-level variables
Virtual class "fcm" for a feature co-occurrence matrix
The fcm class of object is a special type of fcm object with
additional slots, described below. Combine dfm objects by Rows or Columns
Print a phrase object
Create a feature co-occurrence matrix
Compute keyness (internal functions)
Convert various input as pattern to a vector used in tokens_select,
tokens_compound and kwic.
Set values to a fcm's S4 slots
Set values to a dfm's S4 slots
Locate keywords-in-context
textmodel_lsa-postestimation
Post-estimations methods for textmodel_lsa
replace_dictionary_values
Internal function to replace dictionary values
Randomly sample documents or features from a dfm
Declare a compound character to be a sequence of separate pattern matches
Count syllables in a text
Deprecated name for nscrabble
predict.textmodel_wordfish
Prediction from a textmodel_wordfish method
Latent Semantic Analysis
Get or set the corpus settings
Plot a network of feature co-occurrences
predict.textmodel_wordscores
Predict textmodel_wordscores
deprecated name for dfm_weight
Select types without performing slow regex search
Plot a fitted scaling model
Function to assign multiple slots to a S4 object
Internal function for select_types
to search the index using
fastmatch.
Select or remove tokens from a tokens object
Deprecated form of dfm_tfidf
Wordscores text model
Count the number of tokens or types
Wordshoal text model (redirect)
Randomly sample documents from a corpus
Segment texts on a pattern match
summary.character method to override the network::summary.character()
dfm from data in Table 1 of Laver, Benoit, and Garry (2003)
Get or set package options for quanteda
Import a LIWC-formatted dictionary
Extensions for and from spacy_parse objects
data_corpus_irishbudget2010
Irish budget speeches from 2010
Get or assign corpus texts
Identify and score multi-word expressions
Weight the feature frequencies in a dfm
Grouping variable(s) for various functions
Print a dictionary object
Compute the (weighted) document frequency of a feature
Create a dictionary
Compute the sparsity of a document-feature matrix
Summarize a corpus
Return the first or last part of a corpus
Select rows of textstat objects by glob, regex or fixed patterns
Internal function to convert a list to a dictionary
Function to serialized list-of-character tokens
Sort an fcm in alphabetical order of the features
Get the feature labels from a dfm
Influence plot for text scaling models
Correspondence analysis of a document-feature matrix
Similarity and distance computation between documents or features
Create ngrams and skipgrams from tokens
Identify the most frequent features in a dfm
Conversts a Matrix to a fcm
Class affinity maximum likelihood text scaling model
recompile a serialized tokens object
Tabulate feature frequencies
Raise warning of unused dots
Get word types from a tokens object
Internal function to merge values of duplicated keys
Pattern matching using valuetype
print.statistics_textmodel
Implements print methods for textmodel_statistics
Plot word keyness
print method for summary.textmodel
Summary statistics on a character vector
Calculate keyness statistics
textmodel_affinity-internal
Internal methods for textmodel_affinity
Conversts a Matrix to a dfm
Tokenize a set of texts
Convert token sequences into compound tokens
Calculate lexical diversity
Count the number of sentences
Count the Scrabble letter values of text
Calculate readability
Plot features as a wordcloud
Plot the dispersion of key word(s)
[Experimental] Change direction of words in tokens
Extract a subset of a tokens
Recombine documents tokens by groups
print.coefficients_textmodel
Print methods for textmodel features estimates
This is a helper function used in print.summary.textmodel
.
Stem the terms in an object
Convert the case of tokens
Print a dfm object
Internal function for textplot_wordcloud
Objects exported from other packages
Apply a dictionary to a tokens object
Replace types in tokens object
Utility function to remove empty keys
Internal function for textplot_wordcloud
Segment tokens object by patterns
summary method for textmodel_nb objects
summary.textmodel_wordfish
summary method for textmodel_wordfish
Naive Bayes classifier for texts
Wordfish text model