Java algorithm for extracting information from string

I'm trying to implement intelligent search in my application

For example, find a 28 - year-old Christian male from Brazil

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

Gender: male age: 38 location: Brazil belittle: Christian

Have seen: OpenNLP, cross validate, Java pattern matching and regex, information extraction I'm confused about which one I need to study deeply

Is there any Java lib already available for this particular domain?

Solution

There is an API to extract structured information (JSON) from free text: http://wit.ai

You need to train wit with some examples you want to achieve

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>