Skip to content

Merges bibtex files with checks for duplicate citekeys and titles

License

Notifications You must be signed in to change notification settings

naegling/bib-merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bib-merge

Merges bibtex files after checking for duplicate citekeys and similar titles

Usage:

usage: bib-merge [-h] [-f] [-o OUTPUT] [--download] paper.bib [paper.bib ...]

safe merge of bibtex files

positional arguments:
  paper.bib             input bibtex files

optional arguments:
  -h, --help               show this help message and exit
  -f, --force              force output of merged bib file
  -o FILE, --output FILE   write output to file instead of stdout
  --download               download required nltk datasets

Requirements:

  • python3
  • python packages:
    • nltk (Natural Language ToolKit)
    • bibtexparser
  • nltk datasets ('stopwords', 'punkt', 'wordnet', 'averaged_perceptron_tagger')

bib-merge writes detected conflicts to stderr. Conflicts consist of duplicated citekeys or similar publication titles. The tool detects similar titles with a few natural language primitives (e.g dropping stop words and lemmatizing the remaining words).

About

Merges bibtex files with checks for duplicate citekeys and titles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages