Functions for a Variety of Stylometric Analyses


[Up] [Top]

Documentation for package ‘stylo’ version 0.5.9

Help Pages

assign.plot.colors Assign colors to samples
classify Machine-learning classification
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 dataset
gui.classify GUI for the function classify
gui.oppose GUI for the function oppose
gui.stylo GUI for stylo
load.corpus Load text files
load.corpus.and.parse Load text files and perform pre-processing
make.ngrams Make text n-grams
make.samples Split text to samples
make.table.of.frequencies Prepare a table of (relative) word frequencies
oppose Contrastive analysis of texts
perform.culling Exclude variables (e.g. words, n-grams) from a frequency table that are too characteristic for some samples
perform.delta Distance-based classifier
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.package Stylometric multidimensional analyses
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
zeta.craig Compare two subcorpora using Craig's Zeta
zeta.eder Compare two subcorpora using Eder's Zeta