Date: Mon, 23 Oct 2000 12:13:11 -0400
Reply-To: Schechter Robert RS <robert.schechter@ASTRAZENECA.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Schechter Robert RS <robert.schechter@ASTRAZENECA.COM>
Subject: Re: Spelling
Content-Type: text/plain; charset="iso-8859-1"
My version of SAS v8.0 still has PROC SPELL, though undocumented. My guess
it's on the way out, as is PROC ENGLISH.
-----Original Message-----
From: Brucken, Nancy [mailto:Nancy.Brucken@PFIZER.COM]
Sent: Monday, October 23, 2000 10:35 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: Spelling
Hi all,
V6.x has a procedure called PROC SPELL, which would check variables
against SAS's standard English-language directory, along with supplemental
dictionaries that you could create. I looked through the v8 online docs,
but couldn't find any references to PROC SPELL. Has it disappeared from
SAS, and if so, does anyone know if it has been replaced with something
else?
Nancy
Nancy Brucken
Clinical Informatics
Pfizer Global Research & Development, Ann Arbor
(734) 622-5767
E-mail address: Nancy.Brucken@pfizer.com
-----Original Message-----
From: Fehd, Ronald J. [mailto:rjf2@CDC.GOV]
Sent: Monday, October 23, 2000 9:20 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: Spelling
I could have sworn that there was a proc ENGLISH in SAS, but a search of the
V8 on-line doc turns up nothing there.
You could looking at your word processor and finding the dictionary that is
used for spell-checking. Hmph! Well, it's not obvious where the dictionary
is in my WordPerfect files.
<sigh> I suppose that would be hidden in a binary-search table, not
something that you would find in a text-file, in this day and age.
If you succeed in this endeavor, remember that you will be getting ~+50,000
words.
Roll your own:
Use your past history: take a document, dump it to a text-file, read it in
word by word, sort, unique and then you'll have a list of words that you
have used. The benefits of this approach are that you keep your word-list to
a managable size, and it includes the special words that are used in your
application.
Others have already suggested using a format. That approach has its
limitations, but you'll learn some good stuff about SAS getting it running.
Ron Fehd the linguistics maven CDC Atlanta GA USA RJF2@cdc.gov
OpSys: WinNT Ver: 8.1
---> cheerful provider of UNTESTED SAS code!*! <---
By using your intelligence you can sometimes make your problems twice as
complicated.