A Python library for English grammar.
Questions tagged [nodebox-linguistics]
3 questions
5
votes
1 answer
Verb tense conversion in Python
I'm trying to convert certain verbs to other tenses for some NLP task.
I'm trying to use the NodeBox::Linguistics library as suggested here:
Using NLTK and WordNet; how do I convert simple tense verb into its present, past or past participle…

kerouac
- 360
- 5
- 14
2
votes
1 answer
How can I select and group comparative and superlative words from a text file?
I am trying to filter the words in a text file. If there are any 'comparative' and 'superlative' words in the file, I want to convert them to 'positive'.
e.g. - 'greatest' -> 'great' and so on.
I am using 'pattern' module for this. In example it…

JJ123
- 573
- 1
- 4
- 18
1
vote
2 answers
Using string to call function
from en import verb
print verb.tenses()
print verb.infinitive('argue')
['infinitive', 'present participle', 'past plural', '2nd singular present', '2nd singular past', 'past', '3rd singular present', 'past participle', '1st singular present', '1st…

Abhishek Bhatia
- 9,404
- 26
- 87
- 142