Thanks Winston

I was one day going to look into learning Python, but I am afraid that my programming days are over. The strokes damaged parts of my brain that dealt with communication skills and programming skills, among others. I tried to relearn C/C++, but it was not going to happen.

I would like to see a "simple" working code in Python though. If I ever decided to try to retrain the programming part of my brain, I was told to try Python.

The dictionary word lists are not in an "special" type of array, so far as I can tell. The list sample below is part of an Oxford English "dic" file. After the "/" is the codes for the system to use. I really have not found a good reference to what these codes each indicate, except some appear to be suffix indicators. The word lists I now use do not have codes, but still work well. When I dealt with word lists and code indicators, these codes would shrink the amount of space you need to store the dictionary lists. Back when RAM/ROM was in the price range of 32 to 64MB for $100 or more, the more space you can save, the better. Now we all get sloppy in our code size. Since we do not need to have a chess game fit onto a single 1.44 MB floppy, we do not write that "tight" codes. As long as it is quick enough, correct?
Well not everyone is like that now.


abbreviation/M
abdicate/DNGSn
Abelard/M
abider/M
Abidjan
ablaze
abloom
aboveground
abrader/M
Abram/M
abreaction/MS
abrogator/MS
abscond/DRSG
absinthe/MS
absoluteness/S
absorbency/SM
abstract/ShTVDPiGY
absurdness/S



On 11/05/2011 11:05 PM, Winston C. Yang wrote:
webmaster:

Possibly a convenient language for comparing the word lists would be Python.

--- Python has a data structure "dict" (dictionary, hashtable, associative array).

--- Python has a data structure "set".

If you wish, I can email you short, working, example code.

Winston

On 11/05/2011 10:08 PM, webmaster for Kracked Press Productions wrote:

If I still could remember my basic C programming, I would write a program comparing the different word lists to see which words are not common, but after 3 strokes I have not programmed such a package in many years. Actually a few months after the last stroke.




--
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to