The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

python scripting operator

Mohamad1367Mohamad1367 Member Posts: 22 Learner III
edited June 2020 in Help
hi dear community...i have a question about python scripting operator...i have a dataset in persian that i want to tokenize and then filter stop words...for tokenization i use rosette extension  but for stopword removal i want to use a code written in python...where i shoul put this operator in my procces?is there anyone to help me?
Tagged:

Answers

  • kaymankayman Member Posts: 662 Unicorn
    Is there a real need to use an external stopwordlist or Rosette? 
    The text mining extension has all of these options also, and this way you could keep your work flow a bit more organized. 
  • Mohamad1367Mohamad1367 Member Posts: 22 Learner III
    @kayman yes i need the rosette extension to tokenize my dataset because my data set is in persian language which rosette supports this language but text mining extension don't support persian for this pupose
  • kaymankayman Member Posts: 662 Unicorn
    Clear, Farsi is indeed not in the standard toolkit.
    I'm not familiar with the rosetta output, but as it seems an exampleset you could just add the python operator straight after your Rosetta operator. This way you can reuse your existing code.

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    @Mohamad1367 there's a Persian stopword dictionary in the Community Samples repo:



    Scott
Sign In or Register to comment.