• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Spellcheck a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Spellcheck a list (From: Skinner Paul <email@hidden>)
 >Re: Spellcheck a list (From: Graff <email@hidden>)
 >Re: Spellcheck a list (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Spellcheck a list
  • Next by Date: Re: Variable Ponderance
  • Previous by thread: Re: Spellcheck a list
  • Next by thread: Re: Spellcheck a list
  • Index(es):
    • Date
    • Thread