unDocUMeantIt / koRpus

An R Package for Text Analysis
GNU General Public License v3.0
45 stars 6 forks source link

Error: Manual TreeTagger configuration: "en" is not a valid preset! #15

Closed dong87 closed 5 years ago

dong87 commented 5 years ago

run examples with

tagged.results <- treetag("C:/my.data/speech.txt", treetagger="manual", lang="en",
   TT.options=list(path="C:/treetagger/", preset="en"))

arised this issue.

Windows 7, R 3.5.1

unDocUMeantIt commented 5 years ago

did you do library(koRpus.lang.en) first?

in koRpus >= 0.11-2, language support was moved into separate packages. see the message when koRpus is loaded regarding ?available.koRpus.lang and ?install.koRpus.lang

JasonScottSchneider commented 5 years ago

I am having the same problem. I tried loading the library(koRpus.lang.en), but this didn't help me. Furthermore, I made sure to set the path to where I have the folder for TreeTagger in the batches and environmental variables. korpus