Skip to content
Generate Chinese name according to statistic model.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
.gitignore use luna_pinyin.dict for better pinyin dictionary Aug 3, 2015
LICENSE
README.md
buildtable.py
calc.py
chinesename.py
common_surnames.py
convertrime.py
lookuptable.py
namemodel.m
names.m
pinyin_dict.py remove some rare pinyin Sep 4, 2015
pinyinlookup.py

README.md

Chinesename

Generate Chinese name according to statistic model.

通过统计模型生成中文姓名。

import chinesename
nm = NameModel('namemodel.m')
print(nm.getname())
print(nm.processinput('wangxiaoming', 100))

功能

  • 随机生成
  • 拼音分词
  • 拼音查询

包括部分修正的 python-pinyin/pypinyin/pinyin_dict.py

授权

MIT License

You can’t perform that action at this time.