what is the DictionaryStemmer file format

angshuangshu Member Posts: 3 Contributor I
edited November 2018 in Help
Hi,
I am trying to use the DictionaryStemmer feature of the text plugin, I am confused about the file format to be used the tutorial say "base form,  expr1 expr2"

while the java doc says: "targetExpression pattern1 pattern2"

am baically using string and used the javadoc format  for example,

food pizza burger lunch...
sports baseball golf football...

but it seem to be giving erroneous results. can someone point out the correct format.

Thanks
Angshu

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Angshu,
    unfortunately the description was erroneous. You will have to specify a format like that:
    targetExpression : patter1 patter2 ...
    Where patterX might be a regular expression like ".*pizza".

    Greetings,
      Sebastian
Sign In or Register to comment.