Text Mining Extracting Data from text

Raphael2304Raphael2304 Member Posts: 4 Newbie
Dear all,
I have a small problem concerning Text Mining with rapidminer. I have a bunch of press releases, all structured the same way. Now I want to extract the headline of the press releases (1st line), the date it was published (2nd line) and the coloured parts of the releases same as the whole paragraph where the coloured parts were found. All releases are within one .rtf file and are separated with section breaks. Any idea how to do it the fastest way possible?

Thanks a lot in advance!


Best Answer

  • Options
    kaymankayman Member Posts: 662 Unicorn
    Solution Accepted
    using a combination of split and some regex looking at newlines should do the trick.

    Attached a very rough example that can get you started.


  • Options
    Raphael2304Raphael2304 Member Posts: 4 Newbie
    Hey @kayman,
    thanks a lot for your answer. Will try your solution right now, thanks a lot!
Sign In or Register to comment.