Showing posts with label parser. Show all posts
Showing posts with label parser. Show all posts

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 (http://www.cis.lmu.de/~hs/teach/14s/ir/) as taught to us by Dr Tafseer Ahmed Khan (http://cs.dsu.edu.pk/faculty/tafseer/).

I've used:

Apache OpenNLP (https://opennlp.apache.org/) - For Tokenization of documents and dictionary creation

ANTLR 4 - (http://www.antlr.org/) - For Boolean Retrieval Query Grammer, Lexer and Parser

XStream - (http://x-stream.github.io/) - For reading input config from XML configuration file