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)

kunkel321:
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.
http://www.howtogeek.com/howto/45068/how-to-get-spelling-autocorrect-across-all-applications-on-your-system/
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.   
https://www.google.com/webhp?sourceid=chrome-instant&rlz=1C1CHFX_enUS475US475&ion=1&espv=2&ie=UTF-8#safe=off&q=an+vs+a+grammar+exceptions

From here: https://owl.english.purdue.edu/owl/resource/591/01/

Exceptions
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

 

MilesAhead:
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.  :)

kyrathaba:
Thanks, kunkel. Added those exceptions.

Navigation

[0] Message Index

[*] Previous page

Go to full version