Learn R Programming

koRpus (version 0.10-2)

fucks: Readability: Fucks' Stilcharakteristik

Description

This is just a convenient wrapper function for readability.

Usage

fucks(txt.file, ...)

Arguments

txt.file

Either an object of class kRp.tagged-class, a character vector which must be be a valid path to a file containing the text to be analyzed, or a list of text features. If the latter, calculation is done by readability.num.

...

Further valid options for the main function, see readability for details.

Value

An object of class kRp.readability-class.

Details

Calculates Fucks' Stilcharakteristik ("characteristics of style"). In contrast to readability, which by default calculates all possible indices, this function will only calculate the index value.

This formula doesn't need syllable count.

References

Fucks, W. (1955). Der Unterschied des Prosastils von Dichtern und anderen Schriftstellern. Sprachforum, 1, 233--244.

Examples

Run this code
# NOT RUN {
  fucks(tagged.text)
# }

Run the code above in your browser using DataLab