#141 Keepcase not used in compounds

closed-fixed
None
5
2011-01-13
2010-05-10
Ruud Baars
No

When flagging words with the keepcase flag, and using them in compounds, the keepcase does not work with the compounded words.

Discussion

  • Ruud Baars
    Ruud Baars
    2010-05-10

    files for reproducing

     
    Attachments
    • assigned_to: nobody --> nemethl
    • status: open --> open-accepted
     
  • Ruud Baars
    Ruud Baars
    2010-08-06

    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
    259c259
    < SFX Zb 0 en/CaCbCp [^eo]
    ---
    > SFX Zb 0 en/CaCbCpCx [^eo]

    See also tests/opentaal_keepcase.* and tests/onlyincompound2.*

     
    • status: open-accepted --> closed-fixed
     
  • Test files with the previous patch

     
    Attachments
  • new test files attached