oppose(gui = TRUE, path = NULL,
primary.corpus = NULL,
secondary.corpus = NULL,
test.corpus = NULL,
primary.corpus.dir = "primary_set",
secondary.corpus.dir = "secondary_set",
test.corpus.dir = "test_set", ...)
TRUE
.primary.corpus
. If not specified,
the default subdirectory secondary_set
primary.set
and secondary.sets
. Ideally,
the test.corpus.dir<
help(load.corpus.and.parse)<
primary.corpus
is used, then you should also
prepare a similar R object containing the secondary set.stylo.default.settings
can be set
here, in order to overwrite the default values.stylo.results
:
a list of variables, including a list of words significantly preferred in the
primary set, words significantly avoided (or, preferred in the secondary set),
and possibly some other results, if applicable.Burrows, J. F. (2007). All the way through: testing for authorship in different frequency strata. "Literary and Linguistic Computing", 22(1): 27-48.
Craig, H. and Kinney, A. F., eds. (2009). Shakespeare, Computers, and the Mystery of Authorship. Cambridge: Cambridge University Press.
Hoover, D. (2010). Teasing out authorship and style with t-tests and Zeta. In: "Digital Humanities 2010: Conference Abstracts". King's College London, pp. 168-170.
Kilgariff A. (2001). Comparing Corpora. "International Journal of Corpus Linguistics" 6(1): 1-37.
stylo
, classify
, rolling.delta
# standard usage:
oppose()
# batch mode, custom name of corpus directories:
oppose(gui = FALSE, primary.corpus.dir = "ShakespeareCanon",
secondary.corpus.dir = "MarloweSamples")
Run the code above in your browser using DataLab