Text mining and content categorization

Spell checker

Reply
New Contributor
Posts: 4

Spell checker

Does SAS have a built in english dictionary database for spell checking purposes?

What is the best way of doing spell checking in SAS?

Esteemed Advisor
Posts: 6,296

Re: Spell checker

SAS is statistics, not word processing. You need to use an external spellchecker (ie aspell).

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
New Contributor
Posts: 4

Re: Spell checker

If the statisic required is the number of records with texts that have mispelled words, then spell checking is "statistics"

Esteemed Advisor
Posts: 6,296

Re: Spell checker

There must be a reason why SAS dropped spellchecking, probably the maintenance costs as compared to letting users run an external checker likle aspell.

As googling for "sas spellchecking" revealed, there is (at least in 9.2) an undocumented procedure PRC SPELL that was dropped from the doc after SAS V6.

Proc spell - sasCommunity

http://analytics.ncsu.edu/sesug/2007/SD06.pdf

http://www.lexjansen.com/nesug/nesug11/ds/ds11.pdf

https://vasug.files.wordpress.com/2009/04/old-but-not-obsolete-v3.pdf

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
N/A
Posts: 1

Re: Spell checker

I suggest that you use Proc Spell which has **not** been dropped but is no longer documented. SAS acquired this code when they purchased the Lattice Corp. in order to have control of a C compiler when they did the massive V5 to V6 conversion (at least, that was the word back then). One feature of Proc Spell is that you can supply your own word list. For documentation, see

http://www.sascommunity.org/wiki/Proc_spell

Nat Wooding

Trusted Advisor
Posts: 1,297

Re: Spell checker

SAS has PROC TMSPELL if you license the Text Miner product

Frequent Contributor
Posts: 90

Re: Spell checker

When I search SAS 9.4 help for "proc tmspell", I get zero hits.  I assume I do not have it licensed.  However I find it strange that SAS would restrict viewing of the help feature on the proc.

Ask a Question
Discussion stats
  • 6 replies
  • 1240 views
  • 1 like
  • 5 in conversation