Package-level |
|
---|---|
An R package for the quantitative analysis of textual data |
|
Get or set package options for quanteda |
|
DataBuilt-in data objects. |
|
A paragraph of text for testing various text-based functions |
|
Immigration-related sections of 2010 UK party manifestos |
|
US presidential inaugural address texts |
|
dfm from data in Table 1 of Laver, Benoit, and Garry (2003) |
|
Lexicoder Sentiment Dictionary (2015) |
|
|
Formerly included data objects |
Corpus functionsFunctions for constructing and manipulating corpus class objects. |
|
Construct a corpus object |
|
Combine documents in corpus by a grouping variable |
|
Recast the document units of a corpus |
|
Randomly sample documents from a corpus |
|
Segment texts on a pattern match |
|
Extract a subset of a corpus |
|
Remove sentences based on their token lengths or a pattern match |
|
|
Get or set document-level variables |
Coercion and checking methods for corpus objects |
|
Tokens functionsFunctions for constructing and manipulating tokens class objects. |
|
Construct a tokens object |
|
Segment tokens object by chunks of a given size |
|
Convert token sequences into compound tokens |
|
Combine documents in a tokens object by a grouping variable |
|
Apply a dictionary to a tokens object |
|
Create n-grams and skip-grams from tokens |
|
Replace tokens in a tokens object |
|
Randomly sample documents from a tokens object |
|
Select or remove tokens from a tokens object |
|
Split tokens by a separator pattern |
|
Extract a subset of a tokens |
|
Convert the case of tokens |
|
Stem the terms in an object |
|
Methods for tokens_xptr objects |
|
Get word types from a tokens object |
|
Return the concatenator character from an object |
|
|
Coercion, checking, and combining functions for tokens objects |
Character functionsFunctions for constructing and manipulating character objects. |
|
Convert the case of character objects |
|
Segment texts on a pattern match |
|
Create n-grams and skip-grams from tokens |
|
Select or remove elements from a character vector |
|
Remove sentences based on their token lengths or a pattern match |
|
Stem the terms in an object |
|
Text matrix functionsFunctions for constructing and manipulating a document-feature matrix (dfm) or feature co-occurrence matrix object. |
|
Create a document-feature matrix |
|
Recombine a dfm or fcm by combining identical dimension elements |
|
Combine documents in a dfm by a grouping variable |
|
Apply a dictionary to a dfm |
|
Match the feature set of a dfm to given feature names |
|
Replace features in dfm |
|
Randomly sample documents from a dfm |
|
|
Select features from a dfm or fcm |
Sort a dfm by frequency of one or more margins |
|
Extract a subset of a dfm |
|
Weight a dfm by tf-idf |
|
Convert the case of the features of a dfm and combine |
|
Trim a dfm using frequency threshold-based feature selection |
|
Weight the feature frequencies in a dfm |
|
Stem the terms in an object |
|
Compute the (weighted) document frequency of a feature |
|
Compute the frequencies of features |
|
Return the first or last part of a dfm |
|
Coercion and checking functions for dfm objects |
|
Coerce a dfm to a matrix or data.frame |
|
Create a feature co-occurrence matrix |
|
Sort an fcm in alphabetical order of the features |
|
Coercion and checking functions for fcm objects |
|
Dictionary functionsConstructor and utility functions for working with dictionaries. |
|
Create a dictionary |
|
Coercion and checking functions for dictionary objects |
|
Convert quanteda dictionary objects to the YAML format |
|
Phrase discovery functionsFunctions for exploring and detecting keywords and phrases. |
|
Check if an object is collocations |
|
Locate keywords-in-context |
|
Utility functionsR-like functions to return counts and object information. |
|
Locate a pattern in a tokens object |
|
Count the number of documents or features |
|
Count the number of sentences |
|
Count the number of tokens or types |
|
|
Print methods for quanteda core objects |
Get or set document names |
|
Get the feature labels from a dfm |
|
Miscellaneous functions |
|
Declare a pattern to be a sequence of separate patterns |
|
Convert quanteda objects to non-quanteda formats |
|
Bootstrap a dfm |
|
Get or set object metadata |
|
Extensions for and from spacy_parse objects |
|
Statistics, models, and plotsFunctions for computing statistics, fitting models, and producing visualisations models from text. |
|
Compute the sparsity of a document-feature matrix |
|
Identify the most frequent features in a dfm |
|
Models for scaling and classification of textual data |
|
Plots for textual data |
|
Statistics for textual data |