Skip to content

Ingest NLPAICS #5017

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 16, 2025
Merged
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
11 changes: 9 additions & 2 deletions bin/ingest.py
Original file line number Diff line number Diff line change
@@ -325,8 +325,8 @@ def find_book():
if os.path.basename(pdf_file).startswith("."):
continue

# names are {abbrev}{number}.pdf
match = re.match(r".*(\d+)\.pdf", pdf_file)
# names are {abbrev}{number}.pdf, but may also have Anthology new-style IDs
match = re.match(r".*?(\d+)\.pdf", pdf_file)

if match is not None:
paper_num = int(match[1])
@@ -387,6 +387,13 @@ def find_book():
log(f"Copying {attachment_file} -> {dest_path}", args.dry_run)
shutil.copyfile(attachment_file_path, dest_path)

if paper_num not in volume:
print(f"Fatal: no key {paper_num} in volume", file=sys.stderr)
import json

print(json.dumps(volume, indent=2), file=sys.stderr)
sys.exit(1)

volume[paper_num]["attachments"].append((dest_path, type_))

# create xml
297 changes: 297 additions & 0 deletions data/xml/2024.nlpaics.xml

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions data/yaml/venues/nlpaics.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
acronym: NLPAICS
name: International Conference on Natural Language Processing and Artificial
Intelligence for Cyber Security