How to find out if a sentence is a question (interrogative)?

前端 未结 3 1480
闹比i
闹比i 2020-12-08 04:51

Is there an open source Java library/algorithm for finding if a particular piece of text is a question or not?
I am working on a question answering system that needs t

3条回答
  •  庸人自扰
    2020-12-08 05:31

    Take a look at Link Grammar Parser It is a multi-language parser based on the concept of link pairs of related words in the sentence. It is written in C, but has a Java JNI interface as well.

提交回复
热议问题