[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 110: Undefined array key "cached"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 111: Undefined array key "normal"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 112: Undefined array key "total"
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3391: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
Cabrillo College Linux Classes • View topic - lab9 question8

lab9 question8

Introduction to UNIX/Linux

lab9 question8

Postby Diane Dymesich on Mon Nov 17, 2008 8:51 pm

I think Rich showed us this in class but I can't remember how to do it,

What should be done with words like "Ayshire" and "moshpit" that aren't in UNIX's dictionary?

Thanks ,
Diane
Diane Dymesich
 
Posts: 31
Joined: Wed Sep 03, 2008 7:27 pm

Re: lab9 question8

Postby Nicholas Gardner on Tue Nov 18, 2008 12:39 am

To add words to aspell create a file in your home directory called ".aspell.en.pws" with the following lines in it:

personal_ws-1.1 en 0
word1
word2...

you just need the first line, you can substitute whatever you want for word1 and word2, as well as add more words if you wish. You can find everything you need on slide 67 from lesson 11.
The URL referenced in the slides:
[url]http://samat.org/weblog/20081102-creating-your-own-personal-aspell-dictionary.html[/url]
Nicholas Gardner
 
Posts: 23
Joined: Wed Sep 03, 2008 7:27 pm

Re: lab9 question8

Postby Michael Wicherski on Tue Nov 18, 2008 6:09 am

for the lab, you can just leave those two words in the words file or whatever the file containing misspelled words was supposed to be named
Michael Wicherski
 
Posts: 140
Joined: Mon Sep 01, 2008 5:23 am

Re: lab9 question8

Postby Rich Simms on Tue Nov 18, 2008 8:56 am

I'm not expecting you to make your own personal dictionary for Lab 9. But I'm going to make it a 2 point extra credit opportunity for forum readers!

Review Nicholas' post or the Lesson 11 slides 63-68 we covered in class. After creating and testing your own personal aspell dictionary you can submit it for extra credit by:

[code]
ls ~/.a* > lab09xc
cat ~/.a* >> lab09xc
cp lab09xc /home/rsimms/cis90/lab09xc.$LOGNAME
[/code]
Same due date as lab 9.

- Rich
User avatar
Rich Simms
Site Admin
 
Posts: 640
Joined: Thu May 15, 2008 2:44 pm

Re: lab9 question8

Postby Michael Wicherski on Tue Nov 18, 2008 9:39 am

[quote="Rich Simms"]I'm not expecting you to make your own personal dictionary for Lab 9. But I'm going to make it a 2 point extra credit opportunity for forum readers!

Review Michael's post or the Lesson 11 slides 63-68 we covered in class. After creating and testing your own personal aspell dictionary you can submit it for extra credit by:

[code]
ls ~/.a* > lab09xc
cat ~/.a* >> lab09xc
cp lab09xc /home/rsimms/cis90/lab09xc.$LOGNAME
[/code]
Same due date as lab 9.

- Rich[/quote]

just wanna re-route the credit to nicholas; i haven't made a post about dictionaries
Michael Wicherski
 
Posts: 140
Joined: Mon Sep 01, 2008 5:23 am

Re: lab9 question8

Postby Rich Simms on Tue Nov 18, 2008 1:28 pm

Yes, the aspell post was from Nicholas ... I'm editing my earlier post - Rich
User avatar
Rich Simms
Site Admin
 
Posts: 640
Joined: Thu May 15, 2008 2:44 pm

Re: lab9 question8

Postby Henry Woolard on Tue Nov 18, 2008 5:57 pm

So now that I have created the dictionary file how do I use it? thanks -henry
Henry Woolard
 
Posts: 20
Joined: Wed Sep 03, 2008 7:26 pm

Re: lab9 question8

Postby Diane Dymesich on Tue Nov 18, 2008 10:01 pm

okay,
A little more help please.
I got this error message when testing out my dictionary

/home/cis90/dymesdia/edits $ spell small_town
Unhandled Error: The encoding "ayshire" is not known. This could also mean that the file "/usr/lib/aspell-0.60/ayshire.cset" could not be opened for reading or does not exist.

Thanks,
Diane
Diane Dymesich
 
Posts: 31
Joined: Wed Sep 03, 2008 7:27 pm

Re: lab9 question8

Postby chithra mohanavelu on Wed Nov 19, 2008 3:33 am

hi

I have followed Nicholas Gardner instruction created a file
touch .aspell.en.pws
vi .aspell.en.pws
personal_ws-1.1 en 0
Ayshire
moshpit
save the file
run the spell command
chithra mohanavelu
 
Posts: 21
Joined: Wed Sep 03, 2008 7:27 pm

Re: lab9 question8

Postby Rich Simms on Wed Nov 19, 2008 9:25 am

Diane,
cat your .aspell.en.pws file and compare the lines to the ones shown in Nicolas' or Chithra's posts and I think you will see the problem right away.

Henry,
Use the spell command again on small_town. Any words you add to .aspell.en.pws (your personal dictionary) will no longer be considered misspelled.

- Rich
User avatar
Rich Simms
Site Admin
 
Posts: 640
Joined: Thu May 15, 2008 2:44 pm


Return to CIS 90 - Fall 2008

Who is online

Users browsing this forum: No registered users and 0 guests

cron