/opennlp-ingredient-finder

A simple project that trains an OpenNLP Named Entity Recognition model to identify ingredients in a recipe.

Primary LanguageScala

OpenNLP Ingredient Finder

A sample project that demonstrates how to train an OpenNLP Named-Entity-Recognition model for a particular entity.

This example uses training data created based on the BBC Food recipe archive to try and identify ingredients.

How to run

The sample training data and a pre-trained model is in src/main/resources. There is a unit test that shows how to load the model and use it to extract named entities from an input text.