ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

AutoHotKey text replacement question

<< < (2/2)

Man I gotta learn to do ahk programming....  I don't think that computer programmers appreciate just how confusing this stuff is to us lehhfolks.
Anyway.  I remember a few years ago, finding a script that someone had already written that does autocorrects.  Here I just now found this article about it.
I think it's been updated a few times, so google it and get the latest version.  If my memory is correct, they integrated some wikipedia list of "most common English typos" or some kind of thing.... 

Also, the a/an situation is difficult.  There are lots of exceptions. 

I also googled that.

From here:

Use "an" before unsounded "h." Because the "h" hasn't any phonetic representation and has no audible sound, the sound that follows the article is a vowel; consequently, "an" is used.

an honorable peace
an honest error
When "u" makes the same sound as the "y" in "you," or "o" makes the same sound as "w" in "won," then a is used. The word-initial "y" sound ("unicorn") is actually a glide [j] phonetically, which has consonantal properties; consequently, it is treated as a consonant, requiring "a."

a union
a united front
a unicorn
a used napkin
a U.S. ship
a one-legged man


Anyway.  I remember a few years ago, finding a script that someone had already written that does autocorrects.
-kunkel321 (June 29, 2015, 10:15 AM)
--- End quote ---

The other tough thing is a free grammar checker that doesn't crash the editor you are using it in. I tried Ginger and a couple of others.  Nothing really amazed me.  It seemed the better the program handled the grammar the more unstable it was.  Trying to brush up with online lessons is discouraging.  So many exceptions and bizarre rules.  I don't remember it being that complex when I was in grammar school.  :)

Thanks, kunkel. Added those exceptions.


[0] Message Index

[*] Previous page

Go to full version