Getting additional information (Active/Passive, Tenses …) from a Tagger

我是研究僧i 提交于 2019-12-03 16:36:58

You can get tense information from the various penn tags:

27. VB  Verb, base form
28. VBD Verb, past tense
29. VBG Verb, gerund or present participle
30. VBN Verb, past participle
31. VBP Verb, non-3rd person singular present
32. VBZ Verb, 3rd person singular present

About the active/passive aspect, you can use typed dependencies included in Stanford Core NLP.

  1. If the sentence is in active voice, a 'nsubj' dependecy should exist.
  2. If the sentence is in passive voice a 'nsubjpass' dependency should exist

Hope this helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!