When flagging words with the keepcase flag, and using them in compounds, the keepcase does not work with the compounded words.
files for reproducing
This issue not only applies when a KEEPCASE is involved, but also when a compounding part is in uppercase.
When NATO is a compounding part, NATO-commander is accepted (correct), but Nato-commander too (wrong)
Fixed in the CVS, also the feature ONLYINCOMPOUND: now the suffixes with ONLYINCOMPOUND flag aren't allowed at the end of the compound words.
Patch for the test file:
< CHECKCOMPOUNDPATTERN /Xa /Xa
> CHECKCOMPOUNDPATTERN 0/Xa /Xa
< SFX Zb 0 en/CaCbCp [^eo]
> SFX Zb 0 en/CaCbCpCx [^eo]
See also tests/opentaal_keepcase.* and tests/onlyincompound2.*
Test files with the previous patch
new test files attached