Learn R Programming

⚠️There's a newer version (4.2.0) of this package.Take me there.

quanteda (version 0.8.6-0)

Quantitative Analysis of Textual Data

Description

A fast, flexible toolset for for the management, processing, and quantitative analysis of textual data in R.

Copy Link

Version

Install

install.packages('quanteda')

Monthly Downloads

24,111

Version

0.8.6-0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Kenneth Benoit

Last Published

October 15th, 2015

Functions in quanteda (0.8.6-0)

ie2010Corpus

Irish budget speeches from 2010
print.tokenizedTexts

print a tokenizedTexts objects
ngrams

Create ngrams
corpusSource-class

corpus source classes
summary.corpus

summarize a corpus or a vector of texts
print.dfm

print a dfm object
show,dictionary-method

print a dictionary object
metacorpus

get or set corpus metadata
scrabble

compute the Scrabble letter values of text
docnames

get or set document names
features

extract the feature labels from a dfm
docfreq

get the document frequency of a feature
readability

calculate readability
encoding

detect the encoding of texts
weight

Weight the feature frequencies in a dfm by various methods
syllables

count syllables in a text
textmodel_wordscores

Wordscores text model
corpus

constructor for corpus objects
tokenize

tokenize a set of texts
textmodel_fitted-class

the fitted textmodel classes
exampleString

A paragraph of text for testing various text-based functions
topfeatures

list the most frequent features
lexdiv

calculate lexical diversity
inaugCorpus

A corpus of US presidential inaugural addresses from 1789-2013
convert

convert a dfm to a non-quanteda format
removeFeatures

remove features from an object
LBGexample

dfm containing example data from Table 1 of Laver Benoit and Garry (2003)
dictionary

create a dictionary
sort.dfm

sort a dfm by one or more margins
textmodel

fit a text model
textmodel_ca

correspondence analysis of a document-feature matrix
wordlists

word lists used in some readability indexes
encodedTexts

encoded texts for testing
textfile

read a text corpus source from a file
segment

segment texts into component elements
applyDictionary

apply a dictionary or thesarus to an object
trim

Trim a dfm using threshold-based or random feature selection
subset.corpus

extract a subset of a corpus
docvars

get or set for document-level variables
head.dfm

Return the first or last part of a dfm
collocations

Detect collocations from text
nsentence

count the number of sentences
metadoc

get or set document-level meta-data
ntoken

count the number of tokens or types
dfm

create a document-feature matrix
kwic

List key words in context from a text or a corpus of texts.
similarity

compute similarities between documents and/or features
sample.corpus

Randomly sample documents or features
toLower

Convert texts to lower case
textmodel_wordfish

wordfish text model
texts

get corpus texts
plot.dfm

plot features as a wordcloud
changeunits

change the document units of a corpus
settings

Get or set the corpus settings
phrasetotoken

convert phrases into single tokens
wordstem

stem words
ukimmigTexts

Immigration-related sections of 2010 UK party manifestos
quanteda-package

An R package for the quantitative analysis of textual data.
dfm-class

Virtual class "dfm" for a document-feature matrix
stopwords

access built-in stopwords
ndoc

get the number of documents or features
selectFeatures

select features from an object