Pages: [1]
  Print  
Author Topic: Regular expressions  (Read 1204 times)
mhy
Newbie
*
Posts: 2


« on: November 03, 2008, 03:34:19 PM »

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
Logged
Sebastian Land
Administrator
Hero Member
*****
Posts: 2425


« Reply #1 on: November 03, 2008, 03:54:37 PM »

Hi Michael,
try to write such a line into your dictionary file:
Bedienungsfehler falsche\sEinstellung nicht\srichtige\sEinstellung

Hope that helps,
   Sebastian
Logged
mhy
Newbie
*
Posts: 2


« Reply #2 on: November 03, 2008, 04:02:36 PM »

Hi Sebastian,
that does not work; I get no syntax error but  it is the same result as if i leave the \s away.
Logged
Pages: [1]
  Print  
 
Jump to: