Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ HF_LOCAL_BASE=$(LOCAL_REPO_BASEDIR)/citations
COMMIT_MSG=Automated update through cc-citations github repo


all: html/commoncrawl.html
all: html/commoncrawl.html csv/commoncrawl.multiline.csv

tmp/commoncrawl.bib: $(BIBSRC)
mkdir -p tmp
Expand All @@ -25,6 +25,10 @@ tmp/commoncrawl.bib: $(BIBSRC)
html/commoncrawl.html: tmp/commoncrawl.bib
mkdir -p html; cd html; bibtex2html --charset utf-8 ../tmp/commoncrawl.bib

# CSV export for Excel analysis, multiple lines per paper-keyword/cc-class
csv/commoncrawl.multiline.csv: tmp/commoncrawl.bib
mkdir -p csv; python3 export-csv.py --bib $< --explode >$@

# CSV export for Hugging Face 🤗
tmp/commoncrawl_annotated.csv: tmp/commoncrawl.bib
python3 export-csv.py $< >$@
Expand Down
Loading