将bibtex关键字转换为学术摘要表
labels2tables的Python项目详细描述
labels2tables从bibtex文件中提取关键字,并使用它们生成比较文章的学术摘要表。
示例
输入:
@article{duch_quantifying_2010, keywords = {game:soccer, model:network:centrality, open-access}} @article{yamamoto_common_2011, keywords = {game:soccer, model:network:scale-free, open-access}} @article{yaari_hot_2011, keywords = {game:basketball, model:sequence, open-access}}
转换:
import labels2tables labels = labels2tables.bib2labels("examples/sport.in.bib") labels2tables.labels2txt(labels, "examples/sport.out.txt")
输出:
======================================================== game model open-access reference ======================================================== soccer network centrality Y duch_quantifying_2010 scale-free Y yamamoto_common_2011 basketball sequence Y yaari_hot_2011 ========================================================
高级
中间标签格式使用标准python字典、列表和元组对表数据进行编码。参见examples/*.spec.txt示例表,以及如何将它们描述为标签字典。
致谢
由Bibtexparser提供动力