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

Regular expressions

mhymhy Member Posts: 2 Contributor I
edited November 2018 in Help
Hi,
I am using the Dictionary Stemmer and I am trying to match one word, two word or three word terms on one term. Which regular expression can I use for that purpose?
Example: "falsche Einstellung" or "nicht richtige Einstellung" should be matched to "Bedienungsfehler"
Many thanks in advance!
Michael

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    Hi Michael,
    try to write such a line into your dictionary file:
    Bedienungsfehler falsche\sEinstellung nicht\srichtige\sEinstellung

    Hope that helps,
      Sebastian
  • mhymhy Member Posts: 2 Contributor I
    Hi Sebastian,
    that does not work; I get no syntax error but  it is the same result as if i leave the \s away.
Sign In or Register to comment.