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