Re: [Python-Dev] Python and the Unicode Character Database

2010-12-02 Thread haiyang kang
> Furthermore, data can well originate from texts that were written > hundreds or even thousands of years ago, so there is plenty of > material available for processing. humm..., for this, i think we need a special tuned language processing system to handle this, and one subsystem for one languag

Re: [Python-Dev] Python and the Unicode Character Database

2010-11-30 Thread haiyang kang
> But you should be able to write: > > text = input("Enter a number using your preferred digits: ") > num = float(text) > > without caring whether the user enters 一.一 or 1.1 or something else. yes. from logical point of view, this can happen. But i really doubt that if really there are users who

Re: [Python-Dev] Python and the Unicode Character Database

2010-11-30 Thread haiyang kang
hi, I agree with this. I never seen any man in China using chinese number literals (at least two kinds:一, 壹, same meaning with 1) in Python program, except UI output. They can do some mappings when want to output these non-ascii numbers. Example: if 1: print "一" I think it is a litt