/time_expressions

Time Expressions in Different Cultures and Languages

Primary LanguagePythonApache License 2.0Apache-2.0

Time Expressions in Different Cultures and Languages

Methods

Extractive

bash src/extractive/find_time_expressions.sh [wiki_dir]

Links to Wikipedia preprocessing will be added upon publication of the paper.

LM-Based

bash src/lm_based/lm_based.sh [device]

where device = -1 for CPU or a device number (1, 2, ...) for GPU.

References

Please cite this repository using the following reference:

@inproceedings{shwartz2022time,
  title = {Good Night at 4 pm?! Time Expressions in Different Cultures},
  author = {Vered Shwartz},
  booktitle={Findings of ACL},
  year = {2022}
}