Dear Martin,
Thank you very much for your help. With your modification it is now
working properly! *bigsmile*
I just want to let you know that the SnowBall source for the german
stemmer on the web-page
"http://snowball.sourceforge.net/german/stemmer.html"
is exactly as mine was. So there is the same mistake in the stemmer
sorce download! I hope it was not too annoying answering my mails... *g*
Thanks again for your help!
Just the best,
  marcus
Martin Porter schrieb:
> 
> Dear Marcus
> 
> (Please remember to post to Snowball discuss)
> 
> Now, for some reason you altered my
> 
>   define postlude as repeat (
> 
>       [substring] among(
>           'Y'    (<- 'y')
>           'U'    (<- 'u')
>           '{a"}' (<- 'a')
>           '{o"}' (<- 'o')
>           '{u"}' (<- 'u')
>           ''     (next)
>       ) //or next
> 
>   )
> 
> to
> 
>   define postlude as repeat (
> 
>       [substring] among(
>           'Y'    (<- 'y')
>           'U'    (<- 'u')
>           '{a"}' (<- 'a')
>           '{o"}' (<- 'o')
>           '{u"}' (<- 'u')
>       ) or next
> 
>   )
> 
> - this does not work because it is equivalent to
> 
>   repeat (
>            [substring]
>            among(..) or next
>          )
> 
> whereas what you need is
> 
>   repeat (
>            ( [substring] among(..) )
>            or next
>          )
> 
> If you put in those extra brackets it works.
> 
> I'll take out the commented '//or next' which is confusing.
> 
> Oh dear - perhaps Snowball scripts are not as easy to write as I imagined ...
> 
> Martin
_______________________________________________
Snowball-discuss mailing list
Snowball-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snowball-discuss
This archive was generated by hypermail 2.1.3 : Thu Sep 20 2007 - 12:02:41 BST