Reference

Class

RiTa

Name

RiTa.isW_Question

Description Returns true if sentence starts with a w-question word, eg (who,what,why,where,when,etc.)
Syntax
RiTa.isW_Question(sentence);
Parameters
Stringsentence
Returns
booleantrue if sentence starts with a w-question word, eg (who,what,why,where,when,etc.)
Example
RiTa.isW_Question("what is this"); // returns -> true
Platform Java / Javascript