🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Text Processing extension and Java/Groovy script

User: "ccricha"
New Altair Community Member
Updated by Jocelyn

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?

Sort by:
1 - 4 of 41
    User: "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. 

    User: "ccricha"
    New Altair Community Member
    OP

    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.

    User: "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.  

     

    User: "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.