Peter Hillier-Brook wrote:

Paul B. wrote:

Here's a problem I've run into with spellcheck. I'll post it as a bug/enhancement if there's support for it.

I'm spellchecking an .odt document, and it flags Jn. as an error. The red underline encompasses all three characters, so I figure if I Add the entity (which is the abbreviation for the Biblical book of John) to my personal dictionary, it will go in only as a three-character unit. Wrong. Now Jn is passed as correct, even though the period is missing. That's the bug part of this report.

The enhancement part I'd like to see with spellcheck is an option not to flag abbreviations in general. Anything with a period after it would be passed.


How do you differentiate a word at the end of a sentence? Identifying abbreviations is a non trivial task.


I know OOo spellcheck can tell capitals from lower case so it can see the difference between these:
"eg. text" - incorrect; "eg" is not in the dictionary and ". t" (period space 'lower case tee') is not a valid grammer structure
and
"eg. Text" - incorrect; "eg" is not a word so would be flagged. "Text" would not be flagged because ". T" (period space 'upper case tee') is a valid construct.
and
e.g. text" - correct - spellchecker could be taught that "ee period ee period space 'lower case letter' " is valid.


lets try another one...
"jnr text" - false; 'jnr' is not a word
"jnr Text" - false; 'jnr' is not a word and if 'text' is not recorded as a capitalised word
"jnr. text" - true; 'jnr period' is in the dictionary adn negates any 'end of sentence' rule about following capitalisation.
"jnr. Text" - true ONLY IF 'Text' is in the dictionary as a capitalised word.


I can see how the coding for this would be tricky - but if OOo did it before MS that'd be a real coup!

I'm useless at regex but it's doable.

Duncan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to