TreeTagger installation successful but cannot open .par file

后端 未结 3 1546
攒了一身酷
攒了一身酷 2020-12-02 02:22

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

相关标签:
3条回答
  • 2020-12-02 02:40

    You wrote cmd/tree-tagger-english, but I think that the right path (where there is the parameter file) is:

    lib/tree-tagger-english

    0 讨论(0)
  • 2020-12-02 02:42

    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.

    0 讨论(0)
  • 2020-12-02 02:54

    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.

    0 讨论(0)
提交回复
热议问题