How can I add exceptions for a.m. and p.m. to the grammar checker?

2 views
Skip to first unread message

nicholas...@gmail.com

unread,
Mar 25, 2017, 9:42:34 AM3/25/17
to PHPSpellCheck
The sentence "The bus at 9 a.m. was full" is correct, but the grammar checker indicates that the "." after "a.m." is the end of the sentence so "was" should be capitalized.

How can I add exceptions for a.m. and p.m. to the grammar checker?

Alternatively, where should I put $mySpell->CheckGrammar = false; to turn off the basic grammar checker?

Thanks,
Nick

nicholas...@gmail.com

unread,
Mar 25, 2017, 11:37:35 AM3/25/17
to PHPSpellCheck, nicholas...@gmail.com
It is me again. Problem solved.

Here is what we did:

We changed the CheckGrammar variable to 0 in the include.js in utf-8 mode.

That worked. Is there a better method?

Reply all
Reply to author
Forward
0 new messages