Does NLTK have a tool for dependency parsing?

前端 未结 1 1107
梦毁少年i
梦毁少年i 2020-12-14 20:08

I\'m building a NLP application and have been using the Stanford Parser for most of my parsing work, but I would like to start using Python.

So far, NLTK seems like

1条回答
  •  Happy的楠姐
    2020-12-14 20:13

    NLTK includes support for using the MaltParser, see nltk.parse.malt.MaltParser.

    The pretrained English model for the MaltParser that's available here parses to the Stanford basic dependency representation. However, you would still need to call Stanford's JavaNLP code to convert the basic dependencies to the CCprocessed representation given above in your example parse.

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