Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1.65 KB

README.md

File metadata and controls

27 lines (22 loc) · 1.65 KB

English Names in Pinyin

Find English names that can be read in Chinese pinyin. This may help those who want to pick a English name that is close to their Chinese ones.

For example, the English name Luke can be spelled in Chinese pinyin Lu Ke.

Data Source

Data files are in input_files folder.

Start Searching

Run the script search_name.py will give you a table of English names that is valid in Chinese pinyin, along with some other information:

name n_syllable cnt
Mia 2 144315
Luke 2 137094
Anna 2 118826
Natalie 3 134998
  • n_syllable tells you how many Chinese characters can be interpreted from this name. Usually Chinese given names only have 2 syllables. English names may have 3 or 4.
  • cnt is the number this name has been used in the given period. It tells the popularity of the name. In this case there are 144k babies named Mia during year 2000-2014.

The search result is saved in pinyin_names.csv.

To customize the name dataset you want to use, run names_cleanup.py separately and change the year you want to include.