Regular expressions
mhy
New Altair Community Member
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
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
Tagged:
0
Answers
-
Hi Michael,
try to write such a line into your dictionary file:
Bedienungsfehler falsche\sEinstellung nicht\srichtige\sEinstellung
Hope that helps,
Sebastian0 -
Hi Sebastian,
that does not work; I get no syntax error but it is the same result as if i leave the \s away.0