Re: help need to write a python spell checker

2010-05-21 Thread Albert van der Horst
In article , Terry Reedy 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. Or is posting an assignment to a newsgroup "fair use"? Groe

Re: help need to write a python spell checker

2010-05-19 Thread alex23
Patrick Maupin 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 pretty obviou

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 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-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" wrote: On May 14, 3:19 am, "harry k" wrote: > Write a spell checking tool that wil... Well, this has been educational. Both m

Re: help need to write a python spell checker

2010-05-18 Thread John Machin
On May 19, 1:37 pm, Steven D'Aprano 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 save the money if he oogledgay or

Re: help need to write a python spell checker

2010-05-18 Thread Patrick Maupin
On May 14, 3:19 am, "harry k" 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 the homework assi

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 Nigel Rowe
On Fri, 14 May 2010 18:19, harry k wrote in comp.lang.python <>: > Write a spell checking tool that will identify all misspelled word in a text file using a provided dictionary. > > > > Extend the spell-checking tool so that the program will also print out a list of possible correct spellings f

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 incomi

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 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 -- http://mail.python.org/mailman/listinfo/py

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 wrote: > Write a spell checking tool that will identify all misspelled word in a > text file using a provided dictionary. > > > Th

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 seco