RapidMiner

Text Processing extension and Java/Groovy script

Learner III ccricha
Learner III

Text Processing extension and Java/Groovy script

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?

4 REPLIES
RM Certified Expert
RM Certified Expert

Re: Text Processing extension and Java/Groovy script

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. 

Learner III ccricha
Learner III

Re: Text Processing extension and Java/Groovy script

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.

RM Certified Expert
RM Certified Expert

Re: Text Processing extension and Java/Groovy script

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.  

 

-- Training, Consulting, Sales in China, Hong Kong & Taiwan --
www.RapidMinerChina.com
Contributor I abol3z
Contributor I

Re: Text Processing extension and Java/Groovy script

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.