W dniu 2013-06-25 10:04, gulp21 pisze: >> You might want to use exceptions to live with the >> current behavior for now. > > Using an exception works in the example I mentioned, but I actually want > to use UNKNOWN within an exception like this: > > <token><exception postag="SUB:.+:PLU:.+|UNKNOWN" > postag_regexp="yes"/></token> <!-- the token should be allowed to be > SENT_END --> > > So how can I make sure that SENT_END is not included in the exception?
Do you want to match anything or just punctuation marks? If the latter, you could tag punctuation marks (via dictionary or via disambiguator), and they would not have "UNKNOWN" tag. Best, Marcin ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Languagetool-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/languagetool-devel
