in reply to Grammatical Correctness module/package/tool
The preceding sentence contains two (or possibly four, all the votes aren't tabulated yet) 'grammatical' solecisms. These 'errors' are (were) valid in the mid-18th century. And in fact some of the spelling, while correct for the modern day, would be considered at least 'eccentric' if not downright erroneous ('naught' versus 'nought', for example) in that period.
Language and Grammar are mutable things, growing and changing with time. You have to specify "when-ness" to have a valid checker. In addition, Grammar, Spelling, and Usage each havw the property of "context". What is proper grammar in one environment, say a school-yard ("Yo Bro, Wassup?") is inappropriate in an other, say Work ("Good Morning, what broke last night?). The spelling and grammar-checkers that I use flag 'non-standard American-Business' usage. They sputter and choke on some of the faintly archaic idioms that I routinely use. Every time I change Word Processors, I have to re-educate the Dictionary, or put up with Bleeding Copy. I have become sanguine about it.
Parsing, in the general case is an 'easy' problem (it can be automated), it is not a 'simple' problem (the automation is difficult to get inarguably correct). And even when you do, there are enough legitimate variations in the Linguistic Context to confound your code. Add to that the fact that Language is a motile target and you have a recipe for constant scope-creep.
In addition consider the 'I spell-checked it, what do you mean their are spelling errors?!' problem.....
----
I Go Back to Sleep, Now.
OGB
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Grammatical Correctness module/package/tool
by Porculus (Hermit) on Apr 05, 2009 at 14:22 UTC |