kasnerz / reffix Goto Github PK
View Code? Open in Web Editor NEWA tool for fixing a BibTeX reference list using DBLP API
License: MIT License
A tool for fixing a BibTeX reference list using DBLP API
License: MIT License
Commit fdea5b7 from #15 breaks #9
It protects too many words in the title, only "PartNet", "A", and "3D" should be protected
'title': '{P}art{N}et: {A} {L}arge-Scale {B}enchmark for {F}ine-Grained '
'and {H}ierarchical {P}art-Level 3{D} {O}bject {U}nderstanding',
from https://dblp.org/rec/conf/cvpr/MoZCYTGS19.bib:
@inproceedings{DBLP:conf/cvpr/MoZCYTGS19,
author = {Kaichun Mo and
Shilin Zhu and
Angel X. Chang and
Li Yi and
Subarna Tripathi and
Leonidas J. Guibas and
Hao Su},
title = {PartNet: {A} Large-Scale Benchmark for Fine-Grained and Hierarchical
Part-Level 3D Object Understanding},
booktitle = {{IEEE} Conference on Computer Vision and Pattern Recognition, {CVPR}
2019, Long Beach, CA, USA, June 16-20, 2019},
pages = {909--918},
publisher = {Computer Vision Foundation / {IEEE}},
year = {2019},
url = {http://openaccess.thecvf.com/content\_CVPR\_2019/html/Mo\_PartNet\_A\_Large-Scale\_Benchmark\_for\_Fine-Grained\_and\_Hierarchical\_Part-Level\_3D\_CVPR\_2019\_paper.html},
doi = {10.1109/CVPR.2019.00100},
timestamp = {Mon, 30 Aug 2021 17:01:14 +0200},
biburl = {https://dblp.org/rec/conf/cvpr/MoZCYTGS19.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
It should be (breaking words is bad, it breaks search etc)
'title': '{PartNet:} {A} Large-Scale Benchmark for Fine-Grained '
'and Hierarchical Part-Level {3D} Object Understanding',
The current Git main version triggers the following error in my setup:
Traceback (most recent call last):
File "/mnt/c/Users/Ondra/Werke/reffix/reffix/./reffix.py", line 28, in <module>
from . import utils as ut
ImportError: attempted relative import with no known parent package
This is what fixes it for me:
--- a/reffix/reffix.py
+++ b/reffix/reffix.py
@@ -25,7 +25,7 @@ import bibtexparser
import re
import pprint
-from . import utils as ut
+import utils as ut
from bibtexparser.bparser import BibTexParser
import bibtexparser.customization as bc
Not sure if I'm doing something wrong?
Try adding first author's name to the search?
Add a test bibtex file and a simple pytest script.
To follow usual POSIX conventions.
For example, here it should be --replace-arxiv
instead of --replace_arxiv
.
Argparse will replace -
with _
for you, so you dont need to change anything else (source): "Any internal -
characters will be converted to _
characters to make sure the string is a valid attribute name."
❤️ the project. One of the most useful bib tools around.
Diacritics in names of the authors may be incorrect on DBLP (see e.g. https://dblp.org/rec/conf/inlg/DusekK20).
Can we somehow keep the entries where the diacritics is correct, or fetch the names of the authors from another source?
Modify the structure to make the package installable and upload it on PyPI.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.