Text Processing extension and Java/Groovy script

ccricha
ccricha New Altair Community Member
edited November 5 in Community Q&A

I am interested in using a Groovy script to interact with the Text Processing extension. I cannot seem find any sourcecode, javadoc, etc for this extension. Is there any documention or a repository available somewhere for this extension?

Answers

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    The source code for the Text Processing extension is not open source. I would reach out to your sales rep to see if he/she can faciliate the information you need. 

  • ccricha
    ccricha New Altair Community Member

    So apparently the Text Processing extension is proprietary and there is no documentation at all available. Ok, so can someone at RM please explain how to use an "Execute Script" operator with a Text Processing operator? I am interested in being able to work with a Document or a word list in Groovy / Java. Thanks.

  • JEdward
    JEdward New Altair Community Member

    Can you describe a bit about what you are trying to do?  

    Are you wanting to pass the doc into the script operator whilst it's in the Process Documents operator do something on it and then pass it back?  

     

     

    I've done this many times if that's what you mean.  

     

  • abol3z
    abol3z New Altair Community Member

    Hello @JEdward  

    I am trying to do lemmatization and POT for Arabic inside my textprocessing operator, but there is only stemming operators in Rapidminer, so I want to do it in script.

    I have a the following textprocessing pipeline (tokenize, filter, stopwords, <here>), after removing stop words I want to do t using my script. After some looking around, I found that I can receive input of Document type, but I don't know its properties or how to do lemma on it.

    Appreciate your help.