我想这一点:斯坦福POS恶搞在Java中
Sentence<TaggedWord> taggedString = MaxentTagger.tagStringTokenized("here is a string to tag");
这给了我:
Error: \u\nlp\data\pos-tagger\wsj3t0-18-left3words\left3words-wsj-0-18.tagger (The system cannot find the path specified)
我使用的是斯坦福大学的POS tagger。
我能做些什么来克服这个问题?
下载斯坦福标记器的完整包,那里你会发现模型,例如,left3words ... tagger。 – Skarab