Group Abstract Group Abstract

Message Boards Message Boards

Extract and detect specific semantic information from text

Posted 4 years ago
POSTED BY: John Lee
2 Replies
Posted 4 years ago

I am just one reader of the many rich threads from this community, hoping to learn from others. I do have Wolfram (free) developer evaluation licence running on Ubuntu 20.04. And I play with Jupyter notebooks

Now I am quite sure that Wolfram has the firepower to analyse your corpus, but I wonder if you might get results easier by applying AntConc tool found here (get the latest version just released).

http://www.laurenceanthony.net/software/antconc/

In your case are you not searching for colocations .. keywords separated by * wild cards ..

enjoyed ... Terranova

ate ... Terranova

I do ponder about the possibility of linking AntConc into Wolfram workflow. There is no formal API between the two but consider that AntConc can export its query results to be imported into Wolfram for further visualisation of corpora. There are test corpora embedded in AntConc.

My pennyworth.

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