Re: Rule to match part of a token with a POS

2013-08-06 Thread Daniel Naber
Am 05.08.2013 17:10, schrieb Mike Unwalla: > In disambiguation.xml, is it possible to match part of a token to a > POS tag? > I looked at www.languagetool.org/development/#variables, but from > that, I cannot see whether it is possible to do what I want. I'm not so familiar with disambiguation,

Rule to match part of a token with a POS

2013-08-05 Thread Mike Unwalla
Hello All, In disambiguation.xml, is it possible to match part of a token to a POS tag? Say that I have 2 words, FirstWord and SecondWord, each of which has a particular POS. I also have a hyphenated token FirstWord-SecondWord. I want to find (say) FirstWord in FirstWord-SecondWord, and if Firs