Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (4.2.0) of this package.
Take me there.
quanteda (version 0.8.2-1)
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
Link to current version
Version
Version
4.2.0
4.1.0
4.0.2
4.0.1
4.0.0
3.3.1
3.3.0
3.2.4
3.2.3
3.2.2
3.2.1
3.2.0
3.1.0
3.0.0
2.1.2
2.1.1
2.1.0
2.0.1
2.0.0
1.5.2
1.5.1
1.5.0
1.4.3
1.4.1
1.4.0
1.3.14
1.3.13
1.3.4
1.3.0
1.2.0
1.1.1
1.0.0
0.99.22
0.99.12
0.99.9
0.99
0.9.9-65
0.9.9-50
0.9.9-24
0.9.9-22
0.9.9-17
0.9.9-3
0.9.8.5
0.9.8.3
0.9.8
0.9.7-17
0.9.6-9
0.9.6-1
0.9.4
0.9.2-0
0.9.0-1
0.8.6-0
0.8.4-2
0.8.2-1
0.8.2-0
0.8.0-4
0.8.0-3
0.7.2-1
Install
install.packages('quanteda')
Monthly Downloads
24,111
Version
0.8.2-1
License
GPL-3
Issues
55
Pull Requests
1
Stars
854
Forks
187
Repository
http://github.com/kbenoit/quanteda
Maintainer
Kenneth Benoit
Last Published
August 18th, 2015
Functions in quanteda (0.8.2-1)
Search all functions
dictionary
create a dictionary
similarity
compute similarities between documents and/or features
applyDictionary
apply a dictionary or thesarus to an object
docfreq
get the document frequency of a feature
quanteda-package
An R package for the quantitative analysis of textual data.
show,dictionary-method
print a dictionary object
metadoc
get or set document-level meta-data
textmodel_ca
correspondence analysis of a document-feature matrix
metacorpus
get or set corpus metadata
dfm-class
Virtual class "dfm" for a document-feature matrix
phrasetotoken
convert phrases into single tokens
ndoc
get the number of documents or features
syllables
count syllables in a text
textmodel_fitted-class
the fitted textmodel classes
stopwords
access built-in stopwords
docvars
get or set for document-level variables
exampleString
A paragraph of text for testing various text-based functions
inaugCorpus
A corpus of US presidential inaugural addresses from 1789-2013
ukimmigTexts
Immigration-related sections of 2010 UK party manifestos
topfeatures
list the most frequent features
convert
convert a dfm to a non-quanteda format
trim
Trim a dfm using threshold-based or random feature selection
segment
segment texts into component elements
textmodel
fit a text model
lexdiv
calculate lexical diversity
changeunits
change the document units of a corpus
readability
calculate readability
corpusSource-class
corpus source classes
docnames
get or set document names
print.dfm
print a dfm object
nsentence
count the number of sentences
wordlists
word lists used in some readability indexes
selectFeatures
select features from an object
collocations
Detect collocations from text
textmodel_wordscores
Wordscores text model
subset.corpus
extract a subset of a corpus
encodedTexts
encoded texts for testing
textfile
read a text corpus source from a file
weight
Weight the feature frequencies in a dfm by various methods
LBGexample
dfm containing example data from Table 1 of Laver Benoit and Garry (2003)
scrabble
compute the Scrabble letter values of text
texts
get corpus texts
ngrams
Create ngrams
summary.corpus
summarize a corpus or a vector of texts
wordstem
stem words
plot.dfm
plot features as a wordcloud
sample.corpus
Randomly sample documents or features
removeFeatures
remove features from an object
bigrams
Create bigrams
ntoken
count the number of tokens or types
corpus
constructor for corpus objects
textmodel_wordfish
wordfish text model
settings
Get or set the corpus settings
dfm
create a document-feature matrix
kwic
List key words in context from a text or a corpus of texts.
ie2010Corpus
Irish budget speeches from 2010
tokenize
tokenize a set of texts
toLower
Convert texts to lower case
encoding
detect the encoding of texts
sort.dfm
sort a dfm by one or more margins
features
extract the feature labels from a dfm