Detect English verb tenses using NLTK

前端 未结 2 1356
终归单人心
终归单人心 2021-02-04 08:28

I am looking for a way given an English text count verb phrases in it in past, present and future tenses. For now I am using NLTK, do a POS (Part-Of-Speech) tagging, and then co

2条回答
  •  滥情空心
    2021-02-04 08:37

    You can do this with either the Berkeley Parser or Stanford Parser. But I don't know if there's a Python interface available for either.

提交回复
热议问题