# An R Package for Text Analysis

## Documentation for package ‘koRpus’ version 0.06-5

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

A B C D E F G H I J K L M N P Q R S T U W

koRpus-package | The koRpus Package

## -- A --

ARI | Readability: Automated Readability Index (ARI)

## -- B --

bormuth | Readability: Bormuth's Mean Cloze and Grade Placement

## -- C --

C.ld | Lexical diversity: Herdan's C
clozeDelete | Transform text into cloze test format
clozeDelete-method | Transform text into cloze test format
coleman | Readability: Coleman's Formulas
coleman.liau | Readability: Coleman-Liau Index
correct.hyph | Methods to correct koRpus objects
correct.hyph-method | Methods to correct koRpus objects
correct.tag | Methods to correct koRpus objects
correct.tag-method | Methods to correct koRpus objects
cTest | Transform text into C-Test-like format
cTest-method | Transform text into C-Test-like format
CTTR | Lexical diversity: Carroll's corrected TTR (CTTR)

## -- D --

dale.chall | Readability: Dale-Chall Readability Formula
danielson.bryan | Readability: Danielson-Bryan
describe | Getter/setter methods for koRpus objects
describe,-methods | Getter/setter methods for koRpus objects
describe-method | Getter/setter methods for koRpus objects
describe<- | Getter/setter methods for koRpus objects
describe<-,-methods | Getter/setter methods for koRpus objects
describe<--method | Getter/setter methods for koRpus objects
dickes.steiwer | Readability: Dickes-Steiwer Handformel
DRP | Readability: Degrees of Reading Power (DRP)

## -- E --

ELF | Readability: Farr's Easy Listening Formula (ELF)

## -- F --

farr.jenkins.paterson | Readability: Farr-Jenkins-Paterson Index
flesch | Readability: Flesch Readability Ease
flesch.kincaid | Readability: Flesch-Kincaid Grade Level
FOG | Readability: Gunning FOG Index
FORCAST | Readability: FORCAST Index
freq.analysis | Analyze word frequencies
freq.analysis-method | Analyze word frequencies
fucks | Readability: Fucks' Stilcharakteristik

## -- G --

get.kRp.env | Get koRpus session environment
guess.lang | Guess language a text is written in

## -- H --

harris.jacobson | Readability: Harris-Jacobson indices
HDD | Lexical diversity: HD-D (vocd-d)
hyph.de | Hyphenation patterns
hyph.de.old | Hyphenation patterns
hyph.en | Hyphenation patterns
hyph.en.us | Hyphenation patterns
hyph.es | Hyphenation patterns
hyph.fr | Hyphenation patterns
hyph.it | Hyphenation patterns
hyph.ru | Hyphenation patterns
hyph.XX | Hyphenation patterns
hyphen | Automatic hyphenation
hyphen-method | Automatic hyphenation
hyphenText | Getter/setter methods for koRpus objects
hyphenText,-methods | Getter/setter methods for koRpus objects
hyphenText-method | Getter/setter methods for koRpus objects
hyphenText<- | Getter/setter methods for koRpus objects
hyphenText<-,-methods | Getter/setter methods for koRpus objects
hyphenText<--method | Getter/setter methods for koRpus objects

## -- I --

is.taggedText | Getter/setter methods for koRpus objects

## -- J --

jumbleWords | Produce jumbled words

## -- K --

K.ld | Lexical diversity: Yule's K
kRp.analysis,-class | S4 Class kRp.analysis
kRp.analysis-class | S4 Class kRp.analysis
kRp.cluster | Work in (early) progress. Probably don't even look at it. Consider it pure magic that is not to be tempered with.
kRp.corp.freq,-class | S4 Class kRp.corp.freq
kRp.corp.freq-class | S4 Class kRp.corp.freq
kRp.filter.wclass | Remove word classes
kRp.hyph.pat,-class | S4 Class kRp.hyph.pat
kRp.hyph.pat-class | S4 Class kRp.hyph.pat
kRp.hyphen,-class | S4 Class kRp.hyphen
kRp.hyphen-class | S4 Class kRp.hyphen
kRp.lang,-class | S4 Class kRp.lang
kRp.lang-class | S4 Class kRp.lang
kRp.POS.tags | Get elaborated word tag definitions
kRp.readability,-class | S4 Class kRp.readability
kRp.readability-class | S4 Class kRp.readability
kRp.tagged,-class | S4 Class kRp.tagged
kRp.tagged-class | S4 Class kRp.tagged
kRp.text.analysis | Analyze texts using TreeTagger and word frequencies
kRp.text.paste | Paste koRpus objects
kRp.text.transform | Letter case transformation
kRp.TTR,-class | S4 Class kRp.TTR
kRp.TTR-class | S4 Class kRp.TTR
kRp.txt.freq,-class | S4 Class kRp.txt.freq
kRp.txt.freq-class | S4 Class kRp.txt.freq
kRp.txt.trans,-class | S4 Class kRp.txt.trans
kRp.txt.trans-class | S4 Class kRp.txt.trans

## -- L --

language | Getter/setter methods for koRpus objects
language,-methods | Getter/setter methods for koRpus objects
language-method | Getter/setter methods for koRpus objects
language<- | Getter/setter methods for koRpus objects
language<-,-methods | Getter/setter methods for koRpus objects
language<--method | Getter/setter methods for koRpus objects
lex.div | Analyze lexical diversity
lex.div-method | Analyze lexical diversity
lex.div.num | Calculate lexical diversity
linsear.write | Readability: Linsear Write Index
LIX | Readability: Bj\"ornsson's L\"asbarhetsindex (LIX)

## -- M --

maas | Lexical diversity: Maas' indices
manage.hyph.pat | Handling hyphenation pattern objects
MATTR | Lexical diversity: Moving-Average Type-Token Ratio (MATTR)
MSTTR | Lexical diversity: Mean Segmental Type-Token Ratio (MSTTR)
MTLD | Lexical diversity: Measure of Textual Lexical Diversity (MTLD)

## -- N --

nWS | Readability: Neue Wiener Sachtextformeln

## -- P --

plot | Plot method for objects of class kRp.tagged
plot-method | Plot method for objects of class kRp.tagged

## -- Q --

query | A method to get information out of koRpus objects
query-method | A method to get information out of koRpus objects

## -- R --

R.ld | Lexical diversity: Guiraud's R
read.BAWL | Import BAWL-R data
read.corp.celex | Import Celex data
read.corp.custom | Import custom corpus data
read.corp.custom-method | Import custom corpus data
read.corp.LCC | Import LCC data
read.hyph.pat | Reading patgen-compatible hyphenation pattern files
read.tagged | Import already tagged texts
readability | Measure readability
readability-method | Measure readability
readability.num | Calculate readability
RIX | Readability: Anderson's Readability Index (RIX)

## -- S --

S.ld | Lexical diversity: Summer's S
segment.optimizer | A function to optimize MSTTR segment sizes
set.kRp.env | A function to set information on your koRpus environmenton
set.lang.support | Add support for new languages
show | Show methods for koRpus objects
show,-methods | Show methods for koRpus objects
show-method | Show methods for koRpus objects
SMOG | Readability: Simple Measure of Gobbledygook (SMOG)
spache | Readability: Spache Formula
strain | Readability: Strain Index
summary,-methods | Summary methods for koRpus objects
summary-method | Summary methods for koRpus objects

## -- T --

taggedText | Getter/setter methods for koRpus objects
taggedText,-methods | Getter/setter methods for koRpus objects
taggedText-method | Getter/setter methods for koRpus objects
taggedText<- | Getter/setter methods for koRpus objects
taggedText<-,-methods | Getter/setter methods for koRpus objects
taggedText<--method | Getter/setter methods for koRpus objects
textFeatures | Extract text features for authorship analysis
tokenize | A simple tokenizer
traenkle.bailer | Readability: Traenkle-Bailer Formeln
treetag | A function to call TreeTagger
TRI | Readability: Kuntzsch's Text-Redundanz-Index
TTR | Lexical diversity: Type-Token Ratio
tuldava | Readability: Tuldava's Text Difficulty Formula

## -- U --

U.ld | Lexical diversity: Uber Index (U)

## -- W --

wheeler.smith | Readability: Wheeler-Smith Score
WSTF | Readability: Neue Wiener Sachtextformeln