A simple project that trains an OpenNLP Named Entity Recognition model to identify ingredients in a recipe.
Scala
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
README.md
build.gradle
gradlew
gradlew.bat

README.md

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.