Re: Help on finding word is valid as per English Dictionary through python

2010-06-26 Thread vaaljapie
On Fri, 25 Jun 2010 21:44:36 +0100, Mark Lawrence wrote: > Please don't top post! > > On 25/06/2010 15:20, Shashwat Anand wrote: >> why do you need that ? >> which platform are you onto ? Prime example of an idiot. His first line is 'Please don't top post' and what does he do 'top posts' > p.s.

Re: Help on finding word is valid as per English Dictionary through python

2010-06-25 Thread Mark Lawrence
Please don't top post! On 25/06/2010 15:20, Shashwat Anand wrote: why do you need that ? which platform are you onto ? On OSX you can use 'DictionaryServices' API eg., import sys import DictionaryServices word = " ".join(sys.argv[1:]) print DictionaryServices.DCSCopyTextDefinition(None, word,

Re: Help on finding word is valid as per English Dictionary through python

2010-06-25 Thread Terry Reedy
On 6/25/2010 9:30 AM, anu python wrote: Hi, I have a text file , a.txt this is a lcose button where u can observer "lcose" is not a valid word.It's typing mistake.Actual word is "close". How can i check that each word entered in txt file having correct

Re: Help on finding word is valid as per English Dictionary through python

2010-06-25 Thread Shashwat Anand
why do you need that ? which platform are you onto ? On OSX you can use 'DictionaryServices' API eg., import sys import DictionaryServices word = " ".join(sys.argv[1:]) print DictionaryServices.DCSCopyTextDefinition(None, word, (0, len(word))) Gives the meaning of the input word (works with pyth

Re: Help on finding word is valid as per English Dictionary through python

2010-06-25 Thread Thomas Jollans
On 06/25/2010 03:30 PM, anu python wrote: > Hi, > I have a text file , > a.txt > > > this is a lcose button > > where u can observer "lcose" is not a valid word.It's typing > mistake.Actual word is "close". > > How can i check that each word entered in tx

Re: Help on finding word is valid as per English Dictionary through python

2010-06-25 Thread anu python
Hi, I have a text file , a.txt this is a lcose button where u can observer "lcose" is not a valid word.It's typing mistake.Actual word is "close". How can i check that each word entered in txt file having correct meaningful words as per English Dictionary