Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Algorithm To Extract Information From a String

I'm trying to implement a smart search feature in my application. Usecase: The user enters the search term in a textbox

Eg: Find me a christian male 28 years old from Brazil.

I need to be parse the input into a map as follows:

Gender: male Age: 38 Location: Brazil Relegion: Christian

Already had a glance on : OpenNLP, Cross Validate, Java Pattern Matching and Regex, Information Extraction. I'm confused which one I need to look deeper into.

Is there any java lib already available for this specific domain?

like image 655
nanospeck Avatar asked Oct 22 '25 03:10

nanospeck


1 Answers

There's an API that extracts structured information (JSON) from free text: http://wit.ai

You need to train Wit with some examples of what you want to be achieved.

enter image description here

like image 72
Blacksad Avatar answered Oct 23 '25 16:10

Blacksad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!