How can I add special rules when parsing with ambiguous grammar by NLTK.ChartParser?

后端 未结 0 1758
半阙折子戏
半阙折子戏 2020-12-06 08:47

I want to analyze sentences by NLTK. However, the grammar I want to use is ambiguous and loops when naively use it by ChartParser. For example, this parsing doe

相关标签:
回答
  • 消灭零回复
提交回复
热议问题