Sentence Extraction based on wordlist
How to extract a whole sentence from the document if there is a keyword match?
I followed the below steps but it is returning just the matching words instead of the whole sentence. Any help on this would be really appreciated.
1) Retrieve Wordlist (this doc has keywords)
2) Nominal to Text
3) Process Documents
4) Output of Process Documents Words connected to Input of 2nd process document(this has whole sentences)
5) Further more in 2nd process document , used some other operators like tokenize.
Final output is Wordlist with matching keywords. I want whole sentence from 2nd document to be displayed instead of just the matching keywords.Please help.
Best Answer
-
Thomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn
Check out this thread.
http://community.rapidminer.com/t5/RapidMiner-Studio/Search-Keywords-from-a-file/m-p/33629
0
Answers
Hello,
Another option, if you're interested, would be to use Rosette Text Toolkit and to try processing the text as sentences from the beginning in an ExampleSet.