Re: help need to write a python spell checker

2010-05-21 Thread Albert van der Horst
In article mailman.411.1274281806.32709.python-l...@python.org, Terry Reedy tjre...@udel.edu wrote: On 5/19/2010 3:17 AM, CM wrote: I love how he just copied and pasted the assignment without any other remarks. Yeah, that way he did not mess it up ;-). OTOH it may be a copyright infringement.

Re: help need to write a python spell checker

2010-05-19 Thread CM
I love how he just copied and pasted the assignment without any other remarks. -- http://mail.python.org/mailman/listinfo/python-list

Re: help need to write a python spell checker

2010-05-19 Thread Terry Reedy
On 5/19/2010 3:17 AM, CM wrote: I love how he just copied and pasted the assignment without any other remarks. Yeah, that way he did not mess it up ;-). -- http://mail.python.org/mailman/listinfo/python-list

Re: help need to write a python spell checker

2010-05-19 Thread alex23
Patrick Maupin pmau...@gmail.com wrote: Although it makes perfect sense, I never really thought much about the possibility that the school year would be upside down down under... Yes, having the school year run within the actual year instead of across two is such a topsy-turvy concept, it's

Re: help need to write a python spell checker

2010-05-18 Thread Nigel Rowe
On Fri, 14 May 2010 18:19, harry k wrote in comp.lang.python mailman.205.1273907726.32709.python-l...@python.org: Write a spell checking tool that will identify all misspelled word in a text file using a provided dictionary. snip/ Extend the spell-checking tool so that the program will

Re: help need to write a python spell checker

2010-05-18 Thread Steven D'Aprano
On Wed, 19 May 2010 13:01:10 +1000, Nigel Rowe wrote: I'm happy to do you homework for you, cost is us$1000 per hour. Email to your professor automatically on receipt. I'll do it for $700 an hour! -- Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: help need to write a python spell checker

2010-05-18 Thread Patrick Maupin
On May 14, 3:19 am, harry k hkiri...@yahoo.com.au wrote: Write a spell checking tool that will identify all misspelled word in a text file using a provided dictionary. Well, this has been educational. Both my daughters just finished their final exams last week, so I was confused about seeing

Re: help need to write a python spell checker

2010-05-18 Thread John Machin
On May 19, 1:37 pm, Steven D'Aprano steve-REMOVE- t...@cybersource.com.au wrote: On Wed, 19 May 2010 13:01:10 +1000, Nigel Rowe wrote: I'm happy to do you homework for you, cost is us$1000 per hour.  Email to your professor automatically on receipt. I'll do it for $700 an hour! he could

Re: help need to write a python spell checker

2010-05-18 Thread Xavier Ho
Yeah, most unis here commence in March, and the first semester usually finish in June, when the exams are. - Xav on his 'droid On 19/05/2010 2:21 PM, Patrick Maupin pmau...@gmail.com wrote: On May 14, 3:19 am, harry k hkiri...@yahoo.com.au wrote: Write a spell checking tool that wil... Well,

help need to write a python spell checker

2010-05-15 Thread harry k
Write a spell checking tool that will identify all misspelled word in a text file using a provided dictionary. The program will accept either one or two command line parameters. 1. The first command line parameter is the name of the text file that will be checked. 2. The optional

Re: help need to write a python spell checker

2010-05-15 Thread Xavier Ho
1) Welcome to Python-List! 2) Python-list doesn't like to do other people's homework. 3) What have you tried? Cheers, Xav On Fri, May 14, 2010 at 6:19 PM, harry k hkiri...@yahoo.com.au wrote: Write a spell checking tool that will identify all misspelled word in a text file using a provided

Re: help need to write a python spell checker

2010-05-15 Thread James Mills
On Fri, May 14, 2010 at 6:19 PM, harry k hkiri...@yahoo.com.au wrote: Write a spell checking tool that will identify all misspelled word in a text file using a provided dictionary. Is this an assignment ? Sure looks like it! I don't see a question anywhere. --james --

Re: help need to write a python spell checker

2010-05-15 Thread Tim Chase
2) Python-list doesn't like to do other people's homework. This could be fun... :) For this problem, all you have to do is a big if/elif/else statement for every possible mis-spelling. If you want to get really fancy, you could put all the mis-spellings in a set() and then test the