On Thu, 2010-01-14 at 23:58 -0500, Eknath Venkataramani wrote:

I don't understand the data structure part you are asking in the subject
because you already have a hash/dictonary. Did you intend to say you
want to change the data structure you already have ?

> and I need to extract "confident" , "ashahvasahta" from the first
> record, "consumers",  "upabhaokahtaa" from the second record...
> i.e. "word in english" and the "first word in the probable-translations"

This format seems like stored using pickle in perl. One option is to
replace the '=>' with ':' you should be able to read it with python
using pickle. Also you can check if you can change the delemeter from
'=>' to ':' in pickle module.

_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to