stylo: Functions for a Variety of Stylometric Analyses

A number of functions, supplemented by GUI, to perform various analyses in the field of computational stylistics, authorship attribution, etc.

AuthorMaciej Eder, Jan Rybicki, Mike Kestemont
Date of publication2016-10-23 13:15:20
MaintainerMaciej Eder <maciejeder@gmail.com>
LicenseGPL (>= 3)
Version0.6.4
https://sites.google.com/site/computationalstylistics/

View on CRAN

Man pages

assign.plot.colors: Assign colors to samples

classify: Machine-learning classification

crossv: Function to Perform Cross-Validation

define.plot.area: Define area for scatterplots

delete.markup: Delete HTML or XML tags

delete.stop.words: Exclude stop words (e.g. pronouns, particles, etc.) from a...

dist.cosine: Cosine Distance

dist.delta: Delta Distance

dist.simple: Cosine Distance

galbraith: Table of word frequencies (Galbraith, Rowling, Cobenm,...

gui.classify: GUI for the function classify

gui.oppose: GUI for the function oppose

gui.stylo: GUI for stylo

lee: Table of word frequencies (Lee, Capote, Faulkner, Styron,...

load.corpus: Load text files

load.corpus.and.parse: Load text files and perform pre-processing

make.frequency.list: Make List of the Most Frequent Elements (e.g. Words)

make.ngrams: Make text n-grams

make.samples: Split text to samples

make.table.of.frequencies: Prepare a table of (relative) word frequencies

novels: A selection of 19th-century English novels

oppose: Contrastive analysis of texts

parse.corpus: Perform pre-processing (tokenization, n-gram extracting,...

parse.pos.tags: Extract POS-tags or Words from Annotated Corpora

perform.culling: Exclude variables (e.g. words, n-grams) from a frequency...

perform.delta: Distance-based classifier

perform.impostors: An Authorship Verification Classifier Known as the Impostors...

perform.knn: k-Nearest Neighbor classifier

perform.naivebayes: Naive Bayes classifier

perform.nsc: Nearest Shrunken Centroids classifier

perform.svm: Support Vector Machines classifier

rolling.classify: Sequential machine-learning classification

rolling.delta: Sequential stylometric analysis

stylo: Stylometric multidimensional analyses

stylo.default.settings: Setting variables for the package stylo

stylo.pronouns: List of pronouns

txt.to.features: Split string of words or other countable features

txt.to.words: Split text into words

txt.to.words.ext: Split text into words: extended version

zeta.chisquare: Compare two subcorpora using a home-brew variant of Craig's...

zeta.craig: Compare two subcorpora using Craig's Zeta

zeta.eder: Compare two subcorpora using Eder's Zeta

Functions

assign.plot.colors Man page
classify Man page
crossv Man page
define.plot.area Man page
delete.markup Man page
delete.stop.words Man page
dist.argamon Man page
dist.cosine Man page
dist.delta Man page
dist.eder Man page
dist.simple Man page
galbraith Man page
gui.classify Man page
gui.oppose Man page
gui.stylo Man page
lee Man page
load.corpus Man page
load.corpus.and.parse Man page
make.frequency.list Man page
make.ngrams Man page
make.samples Man page
make.table.of.frequencies Man page
novels Man page
oppose Man page
parse.corpus Man page
parse.pos.tags Man page
perform.culling Man page
perform.delta Man page
perform.impostors Man page
perform.knn Man page
perform.naivebayes Man page
perform.nsc Man page
perform.svm Man page
rolling.classify Man page
rolling.delta Man page
stylo Man page
stylo.default.settings Man page
stylo.package Man page
stylo.pronouns Man page
txt.to.features Man page
txt.to.words Man page
txt.to.words.ext Man page
zeta.chisquare Man page
zeta.craig Man page
zeta.eder Man page

Files

stylo
stylo/inst
stylo/inst/CITATION
stylo/NAMESPACE
stylo/NEWS
stylo/data
stylo/data/novels.rda
stylo/data/lee.rda
stylo/data/datalist
stylo/data/galbraith.rda
stylo/R
stylo/R/perform.impostors.R stylo/R/load.corpus.R stylo/R/gui.stylo.R stylo/R/dist.delta.R stylo/R/dist.eder.R stylo/R/crossv.R stylo/R/perform.delta.R stylo/R/print.stylo.corpus.R stylo/R/zeta.craig.R stylo/R/stylo.default.settings.R stylo/R/delete.markup.R
stylo/R/rolling.classify.r
stylo/R/stylo.pronouns.R stylo/R/dist.simple.R stylo/R/zeta.chisquare.R stylo/R/perform.knn.R stylo/R/load.corpus.and.parse.R stylo/R/make.ngrams.R stylo/R/parse.pos.tags.R stylo/R/rolling.delta.R stylo/R/perform.nsc.R stylo/R/dist.argamon.R stylo/R/delete.stop.words.R stylo/R/summary.stylo.corpus.R stylo/R/perform.naivebayes.R stylo/R/print.stylo.data.R stylo/R/perform.svm.R stylo/R/parse.corpus.R stylo/R/make.frequency.list.R stylo/R/txt.to.words.ext.R stylo/R/txt.to.features.R stylo/R/zeta.eder.R stylo/R/print.stylo.results.R stylo/R/gui.classify.R stylo/R/draw.polygons.R stylo/R/gui.oppose.R stylo/R/oppose.R stylo/R/make.table.of.frequencies.R stylo/R/perform.culling.R stylo/R/dist.cosine.R stylo/R/make.frequency.list.optimized.R stylo/R/assign.plot.colors.R stylo/R/stylo.R stylo/R/make.samples.R stylo/R/classify.R stylo/R/define.plot.area.R stylo/R/summary.stylo.results.R stylo/R/txt.to.words.R stylo/R/zzz.R
stylo/MD5
stylo/DESCRIPTION
stylo/man
stylo/man/perform.naivebayes.Rd stylo/man/perform.delta.Rd stylo/man/perform.nsc.Rd stylo/man/stylo.pronouns.Rd stylo/man/stylo.Rd stylo/man/load.corpus.and.parse.Rd stylo/man/make.table.of.frequencies.Rd stylo/man/delete.stop.words.Rd stylo/man/gui.oppose.Rd stylo/man/zeta.craig.Rd stylo/man/parse.corpus.Rd stylo/man/perform.knn.Rd stylo/man/perform.culling.Rd stylo/man/rolling.delta.Rd stylo/man/make.frequency.list.Rd stylo/man/galbraith.Rd stylo/man/classify.Rd stylo/man/dist.cosine.Rd stylo/man/zeta.chisquare.Rd stylo/man/zeta.eder.Rd stylo/man/perform.impostors.Rd stylo/man/gui.classify.Rd stylo/man/define.plot.area.Rd stylo/man/load.corpus.Rd stylo/man/perform.svm.Rd stylo/man/txt.to.words.ext.Rd stylo/man/txt.to.words.Rd stylo/man/dist.simple.Rd stylo/man/make.samples.Rd stylo/man/make.ngrams.Rd stylo/man/parse.pos.tags.Rd stylo/man/rolling.classify.Rd stylo/man/stylo.default.settings.Rd stylo/man/novels.Rd stylo/man/crossv.Rd stylo/man/delete.markup.Rd stylo/man/oppose.Rd stylo/man/dist.delta.Rd stylo/man/assign.plot.colors.Rd stylo/man/lee.Rd stylo/man/gui.stylo.Rd stylo/man/txt.to.features.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.