TreeTagger installation successful but cannot open .par file

眉间皱痕 提交于 2019-11-27 09:45:43

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.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!