Do anyone know how to resolve this file reading error in TreeTagger
that is a common Natural Language Processing tool used to POS
tag, lemmatize an
You wrote cmd/tree-tagger-english, but I think that the right path (where there is the parameter file) is:
lib/tree-tagger-english
I had the same problem. I realized the .par files I had downloaded for the languages I needed hadn't been extracted (they were still in .gz).
Make sure you extract them first into the directory, and then try again.
I think there are two problems: first, the scripts should have "-utf8" in their name, e.g. cmd/tagger-chunker-german-utf8
, because you downloaded the UTF-8 data. Second, tagging and chunking requires a data file each. See the homepage which has a section "Parameter files for PC" and "Chunker parameter files for PC" - download the files from both sections, then re-execute install-tagger.sh
.