[smc-discuss] Project Idea: Parse Date expressions in Malayalam

Santhosh Thottingal santhosh.thottingal at gmail.com
Wed Oct 13 04:15:19 PDT 2010


datelib.parse("ഇന്ന് ")  =>  Wed Oct 13 2010
datelib.parse("നാളെ") => Wed Oct 14 2010
[...]
datelib.parse("ഇന്നലെ രാത്രി 10 മണിക്ക് ") =>  Wed Oct 12 2010 10 PM
datelib.parse("മറ്റന്നാള്‍ പുലര്‍ച്ചെ 1 മണിക്ക് ") =>  Wed Oct 15 2010 1 AM
datelib.parse("അടുത്ത ചൊവ്വാഴ്ച ഉച്ചയ്ക്ക് 1 മണിക്ക് ") =>  Wed Oct 20 2010 1 PM
[...]

മനസ്സിലായെന്നു വിചാരിക്കുന്നു! :)
Should be highly idiot proof to handle all writing variations, dialects, unicode inconsistancy etc..

ഇതു കണ്ടപ്പൊ തോന്നീതാ http://pypi.python.org/pypi/timelib

-സന്തോഷ് 



More information about the discuss mailing list