I am looking to create an English dictionary data set using SAS Filter Node in SAS miner. I was given the following instructions:
Let’s first download the English U.S. dictionary file. Visit the “U.S. English Spell Checking Dictionary” site and download the open office dictionary file. Save the file to the local machine and unzip the folder. Now, we will upload the dictionary to our “SAS studio folder” in this case we are using SAS Studio as our directory. Let us now select SAS Studio from the SAS OnDemand for Academics page and log in to SAS Studio. Once we upload the dictionary, copy the location of the folder where the dictionary is saved.
Let us now login to the SAS Enterprise Miner, select view, and open the “Program Editor.” Enter the code
libname tmlib “<filelocation>”;
run;
data tmlib.engdict(keep=term pos);
length inputterm term $32;
infile '<fileLocation>/en_US.dic' truncover;
input linetxt $80;
i=1;
do until (inputterm = ' ');
inputterm = scan(linetxt, i, ' ');
if inputterm ne ' ' then do;
location=index(inputterm,'/');
if location gt 0 then term = substr(inputterm,1,location-1);
if location eq 0 then term = inputterm;
if lowcase(term) ne term then pos = 'Prop';
term = lowcase(term);
output;
end;
i=i+1;
end;
run;
I did as I was told,
![Joannrap_0-1627081798370.png Joannrap_0-1627081798370.png](https://communities.sas.com/t5/image/serverpage/image-id/61656i03383A5F5F798322/image-size/medium?v=v2&px=400)
I then should see the dictionary in the SAS
![Joannrap_2-1627081997029.png Joannrap_2-1627081997029.png](https://communities.sas.com/t5/image/serverpage/image-id/61658iA8048551826DD938/image-size/medium?v=v2&px=400)
I am not seeing the library, what I am going wrong?