Pages: [1]
  Print  
Author Topic: what is the DictionaryStemmer file format  (Read 1169 times)
angshu
Newbie
*
Posts: 3


« on: June 12, 2009, 11:10:23 AM »

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


« Reply #1 on: June 15, 2009, 10:17:53 AM »

Hi Angshu,
unfortunately the description was erroneous. You will have to specify a format like that:
Quote
targetExpression : patter1 patter2 ...
Where patterX might be a regular expression like ".*pizza".

Greetings,
  Sebastian
Logged
Pages: [1]
  Print  
 
Jump to: