A Baseline Temporal Tagger for all Languages

Jannik Strötgen, Michael GertzEMNLP 2015

Introduction

Temporal tagging—the process of identifying and normalizing time expressions like "next Thursday" or "1999"—is a critical task in natural language processing. However, scaling these systems globally has historically been hindered by the need for language-specific experts and annotated data. Researchers have recently developed a method to automatically scale temporal tagging to over 200 languages by leveraging Wiktionary to translate a simplified set of English rules. This approach creates a "baseline" version of the popular HeidelTime tagger that functions without requiring manual intervention for each new language.

The Language Bottleneck in Temporal Tagging

Temporal tagging involves two primary challenges: extraction (identifying "July 4th" in text) and normalization (converting it to a standard format like XXXX-07-04). Building high-quality systems for these tasks has traditionally required massive manual effort, involving complex regular expressions and normalization functions tailored to the nuances of each language. Consequently, robust temporal processing tools have been limited to a few major languages. This research addresses the need for a universal baseline to provide a starting point for the hundreds of languages currently lacking such tools.

Methodology: Automatic Multilinguality

The authors built upon HeidelTime, a well-known rule-based temporal tagger, using a strategy for "automatic multilinguality" comprised of four key components:

  1. Simplified English Resources: Existing English rules were "flattened" to remove complex language-specific logic, making them more amenable to translation.
  2. Wiktionary Translation: Temporal keywords (months, weekdays, relative terms) were automatically translated into over 200 target languages using Wiktionary.
  3. Language-Independent Rules: The system employs flexible rules to account for varying word orders (e.g., "January 1st" vs. "1st of January") and uses "fuzzy matching" to handle grammatical suffixes.
  4. Generic Preprocessing: To ensure broad compatibility, the system uses simple whitespace-based tokenization rather than sophisticated language-specific tools.
The automated pipeline for generating language-specific temporal resources using Wiktionary.

Evaluation and Datasets

The automatic system was evaluated against "gold standard" manual versions of HeidelTime across several corpora, including English (TE-3 TimeBank, WikiWars), French, Portuguese, Italian, Romanian, Arabic, Chinese, German, Croatian, and Vietnamese. Wiktionary served as the primary resource for generating the 200+ new language versions.

Key Results

The performance of the automatic system was compared to the manually tuned HeidelTime 1.9. While a performance gap exists, the results demonstrate the viability of the automatic baseline across diverse linguistic contexts.

Performance comparison between manual HeidelTime 1.9 and the automatic baseline across multiple languages.

Key findings include:

  • Precision over Recall: The automatic system is conservative, maintaining high precision (accuracy when a date is found) even when recall (the ability to find all dates) is lower. This makes it a reliable baseline that avoids generating "garbage" data.
  • Normalization Robustness: Normalization remains accurate even when extraction is difficult; once a keyword like "January" is identified, it is correctly converted to "01" regardless of the language.
  • Success in Major Languages: In Spanish, German, and French, the system achieved high precision (>87%) and respectable F1-scores (~70%).
  • Challenges with Complexity: Performance was lower for languages with complex morphology or non-Latin scripts, such as Chinese and Romanian (both ~17% F1), indicating where manual refinement is most needed.

Discussion and Future Work

The study successfully generated resources for 238 languages, with 83 languages achieving over 50% coverage of necessary temporal patterns. The primary limitations involve tokenization in non-whitespace-delimited languages and the completeness of Wiktionary. Future work will explore integrating additional resources like Wikipedia and improving handling for morphologically rich languages. These resources have been released to the community to serve as a foundation for further multilingual temporal processing research.

Summary updated

BibTeX
@inproceedings{strotgen2015baseline,
  author = {Jannik Strötgen and Michael Gertz},
  title = {{A Baseline Temporal Tagger for all Languages}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2015},
  doi = {10.18653/v1/d15-1063},
}
Figure