Counting words, characters, and Asian characters with Python

As a translator, I often need to get word counts. As a Japanese-to-English translator, I need to get Japanese character counts as well. These are the kinds of counts that MS Word gives: Characters (with spaces) Characters (without spaces) Words Asian characters Non-Asian words Let's calculate each of them. Say that the name text points […]