Skip to content

Commit

Permalink
version bump; SNACS update script
Browse files Browse the repository at this point in the history
  • Loading branch information
nschneid committed Jun 16, 2022
1 parent 9d932bc commit 6c7855e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Citations describing the annotations in this corpus (main STREUSLE papers in __b

- [4] Jena D. Hwang, Archna Bhatia, Na-Rae Han, Tim O’Gorman, Vivek Srikumar, and Nathan Schneider. Double trouble: the problem of construal in semantic annotation of adpositions. _Proceedings of the Sixth Joint Conference on Lexical and Computational Semantics_, Vancouver, British Columbia, Canada, August 3–4, 2017. <http://people.cs.georgetown.edu/nschneid/p/prepconstrual2.pdf>

- [5] Nathan Schneider, Jena D. Hwang, Vivek Srikumar, Archna Bhatia, Na-Rae Han, Tim O'Gorman, Sarah R. Moeller, Omri Abend, Adi Shalev, Austin Blodgett, and Jakob Prange (June 14, 2022). Adposition and Case Supersenses v2.6: Guidelines for English. arXiv preprint. <https://arxiv.org/abs/1704.02134>
- [5] Nathan Schneider, Jena D. Hwang, Vivek Srikumar, Archna Bhatia, Na-Rae Han, Tim O'Gorman, Sarah R. Moeller, Omri Abend, Adi Shalev, Austin Blodgett, and Jakob Prange (June 15, 2022). Adposition and Case Supersenses v2.6: Guidelines for English. arXiv preprint. <https://arxiv.org/abs/1704.02134>

- [6] Austin Blodgett and Nathan Schneider (2018). Semantic supersenses for English possessives. _Proceedings of the 11th International Conference on Language Resources and Evaluation_, Miyazaki, Japan, May 9–11, 2018. <http://people.cs.georgetown.edu/nschneid/p/gensuper.pdf>

Expand Down Expand Up @@ -137,7 +137,7 @@ The 4.0 release [7] updates the inventory and application of preposition superse

### Detailed changes

- STREUSLE 4.5: 2022-06-14.
- STREUSLE 4.5: 2022-06-15.
* Update SNACS annotations to the v2.6 standard (automatically rename p.Causer -> p.Force and p.RateUnit -> p.SetIteration).
* Update UD to v2.10. This affects many UPOS tags and lemmas, especially for proper names. The UD update also introduces lines encoding multiword tokens (not to be confused with multiword *expressions*) for clitics.
- STREUSLE 4.4: 2020-11-04.
Expand Down
12 changes: 12 additions & 0 deletions releaseutil/upgrade_snacs_2.5_to_2.6.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env python3
"""Used for STREUSLE v4.5: Upgrade SNACS labels in provided .conllulex file from version 2.5 to 2.6, which involves renaming 2 labels."""
import fileinput
for ln in fileinput.input():
if '\t' not in ln:
print(ln, end='')
continue
parts = ln.split('\t')
parts[13] = parts[13].replace('p.RateUnit','p.SetIteration').replace('p.Causer','p.Force')
parts[14] = parts[14].replace('p.RateUnit','p.SetIteration').replace('p.Causer','p.Force')
parts[18] = parts[18].replace('p.RateUnit','p.SetIteration').replace('p.Causer','p.Force')
print('\t'.join(parts), end='')
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="streusle",
version="4.4",
version="4.5",
author="Nathan Schneider",
author_email="[email protected]",
description="STREUSLE: a corpus with comprehensive lexical semantic annotation (multiword expressions, supersenses)",
Expand Down

0 comments on commit 6c7855e

Please sign in to comment.