Sunday, 10 April 2016

Illustration of Boolean Retrieval Tool in Java using OpenNLP, ANTLR v4 and XStream


An example tool to illustrate the concepts of Boolean Retrieval ( as taught to us by Dr Tafseer Ahmed Khan (

I've used:

Apache OpenNLP ( - For Tokenization of documents and dictionary creation

ANTLR 4 - ( - For Boolean Retrieval Query Grammer, Lexer and Parser

XStream - ( - For reading input config from XML configuration file