HamidahHamidah Member Posts: 1 Newbie
edited September 2019 in Help
I want to know how to extract information from PDF 
I want to use Rapidminer tools on pdf file
but I do not know how to load pdf file in Rapidminer


  • Options
    varunm1varunm1 Moderator, Member Posts: 1,207 Unicorn
    edited September 2019
    Hello @Hamidah,

    You can use read document operator in "Text Processing" Toolbox to read pdf files. You need to install this from the marketplace in rapidminer (Extensions --> Market Place).

    Here is a link related to the similar discussion.


    Hope this helps


    Be Safe. Follow precautions and Maintain Social Distancing

  • Options
    yyhuangyyhuang Administrator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 364 RM Data Scientist
    edited September 2019
    Hi @Hamidah,

    Have you tried Text Processing extension from RapidMiner maketplace?

    Using "Read document" you can extract the text from a pdf file.

    <?xml version="1.0" encoding="UTF-8"?><process version="9.3.001">
      <operator activated="true" class="process" compatibility="9.3.001" expanded="true" name="Process">
        <parameter key="logverbosity" value="init"/>
        <parameter key="random_seed" value="2001"/>
        <parameter key="send_mail" value="never"/>
        <parameter key="notification_email" value="yhuang@rapidminer.com"/>
        <parameter key="process_duration_for_mail" value="1"/>
        <parameter key="encoding" value="SYSTEM"/>
        <process expanded="true">
          <operator activated="true" class="open_file" compatibility="9.3.001" expanded="true" height="68" name="Open File" width="90" x="112" y="34">
            <parameter key="resource_type" value="URL"/>
            <parameter key="url" value="http://www.pdf995.com/samples/pdf.pdf"/>
          <operator activated="false" class="write_file" compatibility="9.3.001" expanded="true" height="68" name="Write File" width="90" x="246" y="34">
            <parameter key="resource_type" value="file"/>
            <parameter key="filename" value="C:\Users\YuanyuanHuang\Documents\Temp"/>
            <parameter key="mime_type" value="application/octet-stream"/>
          <operator activated="true" class="text:read_document" compatibility="8.2.000" expanded="true" height="68" name="Read Document" width="90" x="447" y="34">
            <parameter key="extract_text_only" value="true"/>
            <parameter key="use_file_extension_as_type" value="false"/>
            <parameter key="content_type" value="pdf"/>
            <parameter key="encoding" value="SYSTEM"/>
          <connect from_op="Open File" from_port="file" to_op="Read Document" to_port="file"/>
          <connect from_op="Read Document" from_port="output" to_port="result 1"/>
          <portSpacing port="source_input 1" spacing="0"/>
          <portSpacing port="sink_result 1" spacing="0"/>
          <portSpacing port="sink_result 2" spacing="0"/>

Sign In or Register to comment.