Group Abstract Group Abstract

Message Boards Message Boards

Extract and detect specific semantic information from text

Posted 5 years ago

I am looking for any NLP/ML/Deep learning technique to extract and detect a useful information from a large amount of text data. Specifically, I am focusing on detecting whether a person actually visited a restaurant and eat some food at a specific time.

For example, we may have three different sentences:

  • S1. John enjoyed spaghetti at Terranova located in New York City.
  • S2. John read an article about Terranova, the best spaghetti restaurant in New York City
  • S3. John wanted to eat spaghetti at Terranova when he visited New York City, but he could not.

For these three sentences, my program should be able to detect only S1 that embeds important information related to his actual visit and eating activity at a the restaurant in contrast to S2 and S3 (the S2 and S3 doesn't indicate he actually visited the restaurant.) Additionally, once S1 has been detected, how can I extract specific entities involved person, location, and time information from the sentences?

Could you please recommend any useful tools and algorithms to support this kind of a task?

Thanks!

POSTED BY: John Lee
2 Replies
Posted 5 years ago
POSTED BY: David Law

Have you looked at FindTextualAnswer?

Here's an example with 5 solutions: ``` s1 = "John enjoyed spaghetti at Terranova located in New York City."

FindTextualAnswer[s1, "Who did what?",  5, {"Probability", "String", "Position",    "HighlightedSentence"}] // Column
The answer:
{
 {{0.0949745, "John enjoyed spaghetti at Terranova", {1, 35}}},
 {{0.00473055, "New York City", {48, 60}}},
 {{0.00355906, ".", {61, 61}}},
 {{0.0022374, "located", {37, 43}}},
 {{0.000319291, "in", {45, 46}}}
}

```

There are also other options such as "HighlightSentence".

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard