-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ingesting 2020 EMNLP, Findings, workshops, and CoNLL (#1045)
* Ingested EMNLP * Ingested Findings:EMNLP 2020 * Ingested CoNLL and shared task * Added EMLNP workshops * Improvements and changes to ingest.py * corrected capitalizations on name (via a fix to ingest.py) * Automatically add missing venues (with note) * Revision to W19-2111 (closes #1021) * Normalized venue database; added add_venue.py * find_name_variants.py * author_case.py Co-authored-by: David Chiang <[email protected]> Co-authored-by: Daniel Gildea <gildea>
- Loading branch information
1 parent
4aaef47
commit ab92b62
Showing
57 changed files
with
18,254 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#! /usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright 2020 Matt Post <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
"""Adds a venue to the data/yaml/venues.yaml file. | ||
Usage: | ||
add_venue.py acronym "name" [--url URL] [--acl] | ||
""" | ||
|
||
import argparse | ||
import os | ||
import sys | ||
|
||
from slugify import slugify | ||
|
||
from anthology.venues import VenueIndex | ||
|
||
|
||
def main(args): | ||
datadir = os.path.join(os.path.dirname(sys.argv[0]), "..", "data") | ||
venues = VenueIndex(srcdir=datadir) | ||
|
||
print(f"Adding '{args.acronym}' ({args.name})") | ||
venues.add_venue(args.acronym, args.name, is_acl=args.acl, url=args.url) | ||
|
||
venues.dump(datadir) | ||
|
||
|
||
if __name__ == "__main__": | ||
parser = argparse.ArgumentParser() | ||
parser.add_argument("acronym", help="Venue acronym (e.g., BlackboxNLP)") | ||
parser.add_argument( | ||
"name", | ||
help="Venue name (e.g., Workshop on analyzing and interpreting neural networks for NLP)", | ||
) | ||
parser.add_argument("--acl", action="store_true", help="Venue is an ACL venue") | ||
parser.add_argument("--url", help="Venue URL") | ||
args = parser.parse_args() | ||
|
||
main(args) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.