Here is the stylo installation instruction everyone got before the school
library(stylo)
to import stylostylo()
functionThis all-in-one function performs the basic stylometric analysis. the stylo
function:
You’ll se an interface now:
Sometimes (depending on the OS and stylo version) the easy way works:
The folder name ‘corpus’ is mandatory – it is hardcoded inside stylo :) But it can be inside any other folder with any name. On Windows beware of spaces in paths. This might acuse troubles with the complicated option:
Sometimes (depending on the OS and stylo version) the easy way does not work. If you clicked OK and stylo jsut told you sth like ‘the folder should contain the name corpus’
setwd("PATH")
replacing path by pasting the path. Keep the quotes. E.g.:
Windows: setwd("C:\\Users\\Carla\\stylo")
(beware of spaces)
Mac/Linux:setwd("/Users/Carla/stylo")
stylo()
again and click Ok
Now you can already do stylometry on your material. Run your fist experiment and see the results. Let’s start with the english corpus. The result without changing anything should
Results shouldnt change much:
the FEATURES tab, switch words to chars and make ngram size 3-4 (keeping it 1 will give you single letter freqs, which wont work)
The result should still pretty consistent even now:
Have a look into wordlist.txt and check what sort of feature you’re using now.
“I think we should lock linguists and philologists in a room and not let them leave it until they explain what is happening” (Jan Rybicki, DH 2019, Utrecht)
Set such features Features, that authors get totally mixed (chosing the wrong language does not count).
oppose
function)Stylo developers & researchers homepage
Texts: the ‘don folder’
100 MFW
200 MFW
300 MFW
Bootstrap Consensus Tree 100 – 300 with step 10
Network viz ()