"Analytics with RapidMiner Rosette [getting started]"

tyty Member Posts: 4 Contributor I
edited June 2019 in Help


I'm just getting started with RM for text analytics. Everything has gone well working with structured data but I'm struggling with analysing text documents. Could you anyone provide a process of how to extract entities from a PDF or Word Doc? 


I've searched these forums and Google and the only solution that seems to work is converting the file into a txt file first, which isn't ideal.


Any help would be super appreciated.

Best Answer

  • Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    Solution Accepted

    I am afraid that converting the files first is the easiest option available to you with existing operators.  Another option would be to import your document text into a database first using a database program like MySQL and then use "Read Database."  But RapidMiner won't read Word Docs or PDF text directly.  

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts


  • sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager

    Hi...you can extract the text from PDFs no problem with the Read Document operator.  It will lose all formatting but very easy to do.  If you want to pull structured data from a table inside a PDF, there is the new "PDF Table Extraction" extension which is rather good.


    As for docx, what I do is send the file to a converter API engine (like Zamzar or Convertio) and convert it to text, then import.




  • tyty Member Posts: 4 Contributor I

    Hi Scott,

    I'm guessing it depends on what's in the specific file. All I get from using the read document operator is non-sensical text in a font I can't make out. 



  • tyty Member Posts: 4 Contributor I

    Thanks a bunch for the input guys.

  • ramakant_koliramakant_koli Member Posts: 1 Contributor I

    test abc

Sign In or Register to comment.