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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
add-pinyin-key-0.0.2.tar.gz
(2.6 kB
view details)
File details
Details for the file add-pinyin-key-0.0.2.tar.gz.
File metadata
- Download URL: add-pinyin-key-0.0.2.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90c79980e2e767735d4dbbabc09b8f0cf78534896033fab3385f4d65ffb0bc21
|
|
| MD5 |
639ffae9215d3ea14014cbf1e67c0841
|
|
| BLAKE2b-256 |
ea0034a85f8f9b212a940aa3e46efb94dd617469999519e4d749878e5b89e1b4
|