Determing a grammatical tense

Hey guys, I’m the new one here. I think I have a very interesting task but unfortunately don’t know how to do it.

So, I need to identify the grammatical tense in an English sentence. A sentence can be affirmative, question or conditional, with many parts.
Any help would be greatly appreciated!

Anytime the combination of Prolog and Natural Language are together this is the first place I turn.

Covingon, Michael (1994) Natural Language Processing for Prolog Programmers (pdf)

Source code:

After a quick glance I don’t think it will answer your question but didn’t look very hard.

Another book to check is

“Prolog and Natural-Language Analysis” by Fernando C. N. Pereira and Stuart M. Shieber (site) (pdf)

The next place that comes to mind is the SWI-Prolog pack WordNet. Also not sure if that can answer your question but is something I would investigate.

I do think that Prolog is a better choice of programming languages for the problem, I just don’t do much with Natural Language and Prolog to be of more help. :slightly_frowning_face:


Most of these references and many more are at