is it possible to match 2 tokens, to catch the ‘repeated’ foo in ‘foo bar foo’? Where (foo could be any word)
Ruud_Baars (Ruud Baars) #1
dnaber (Daniel Naber) #2
Yes, please see http://wiki.languagetool.org/development-overview#toc17
Ruud_Baars (Ruud Baars) #3
Thanks, but I had problems with it. It also considers the sent_start a token, so I had to add that as an exception.