Skip to main content

Add pinyin keys to Chinese bib entries

Project description

说明

安装

pip install add_pinyin_key
python setup.py install

使用示例

add_pinyin_key demo.bib demo_mod.bib
% demo.bib
@article{_ct_2007,
 author = {严汉民 and 黄岗},
 date = {2007},
 journaltitle = {医疗设备信息},
 number = {12},
 pages = {1-5},
 title = {{{降低CT剂量的技术和方法探讨}}},
 urldate = {2018-04-18},
 volume = {22}
}
%demo_mod.bib
@article{_ct_2007,
 author = {严汉民 and 黄岗},
 date = {2007},
 journaltitle = {医疗设备信息},
 key = {yan2han4min2 and huang2gang3},
 number = {12},
 pages = {1-5},
 title = {{{降低CT剂量的技术和方法探讨}}},
 urldate = {2018-04-18},
 volume = {22}
}

注意如果输入的bib文件有类似于 month = jan 的字符串,你需要使用 --common-strings 选项。

add_pinyin_key --common-strings demo.bib demo_mod.bib

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for add-pinyin-key, version 0.0.2
Filename, size & hash File type Python version Upload date
add-pinyin-key-0.0.2.tar.gz (2.6 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page