Re: Spellcheck a list
Re: Spellcheck a list
- Subject: Re: Spellcheck a list
- From: Graff <email@hidden>
- Date: Mon, 04 Oct 2004 18:44:25 -0400
On Oct 4, 2004, at 1:48 PM, Emmanuel wrote:
At 12:35 AM -0400 04/10/04, Graff wrote:
----
on CheckWord(theWord)
set quotedWord to quoted form of ("^" & theWord & "$")
try
do shell script "grep " & quotedWord & " /usr/share/dict/words"
display dialog theWord & " is correct"
on error
display dialog theWord & " is not correct"
end try
end CheckWord
CheckWord("youth")
CheckWord("yoot")
----
CheckWord("software")
Yeah, that word list is a bit archaic. The README file for it mentions
something about 1934 and copyrights expiring. At best it's good for a
quick sanity check on words that have been a part of English for years.
I threw it out there because it's pre-installed on all Mac OS X
machines and it's easy to access. That other program that I mentioned
("aspell") would definitely be a more complete solution,
- Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden