Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#134 Ignore acronyms on spell-checking

open
nobody
5
2012-09-24
2012-09-24
ionuț păduraru
No

Acronyms should be ignored on spell-checking.

Discussion

    • assigned_to: archeus --> nobody
     
  • How de we define accronyms? Words with all letter in uppercase?

    I understand the idea behind this of course, but on the other hand, it will prevent doing spelling checkin on PIECES OF TEXT WRITTEN ENTIRELY IN UPPERCASE LIKE THIS.

    A possible solution: spell checking generates rules of different types for words in uppercase such as:

    MORFOLOGIK_RULE_EN_US -> normal words, in lower case (ex: errror)
    MORFOLOGIK_RULE_ALL_UPPERCASE_EN_US -> mispelled words written all uppercase (ex: ERRROR)
    MORFOLOGIK_RULE_START_UPPERCASE_EN_US -> mispelled words written with first letter in uppercase (ex: Error)

    So user can then decide which rules to enable/disable. Default may enable all of them as today.

    Disabling rule MORFOLOGIK_RULE_ALL_UPPERCASE_EN_US will avoid false errors for accronyms.
    Disabling rule MORFOLOGIK_RULE_START_UPPERCASE_EN_US will avoid false errors for proper nouns.

    But I'm not not sure whether that's a good idea to do this.

     
  • >> So user can then decide which rules to enable/disable.
    >> Default may enable all of them as today.

    If we add a rule like MORFOLOGIK_RULE_ALL_UPPERCASE_EN_US, this should be disabled by default. In my humble opinion, for normal usage, upper-case documents are very rare.