NLTK can work for parsing Dutch if you supply the grammar rules.
Please consult the NLTK book for guidance:
http://www.nltk.org/book
You might be able to use the Alpino corpus in order to develop the
grammar (or to train a statistical parser). If your primary interest
is obtaining parsed sentences of Dutch, I recommend that you try to
find an existing parser rather than developing your own.
我没有一个直接的答案,但通过结合以下两页的信息,你应该能够找到答案。 Here you can find an overview of the high-level parsing interface在NLTK中。解析器需要一个模型,如果模型存在,它将在data packages that ships with nltk文档的页面中列出。在
正如您已经知道的,Alpino-Dutch Treebank是随NLTK一起提供的,因此在最坏的情况下,您应该能够自己学习模型(解析器api还提供学习工具)。在
希望能有所帮助。在
以下是对我的邮件的回复,史蒂文·伯德是NLTK一书的作者之一:
最后,我使用了Alpino解析器,它非常强大,是用Prolog编写的,但是我设法在python中移植(二进制版本)。在
相关问题 更多 >
编程相关推荐