Hostname: page-component-74656f9884-npj9w Total loading time: 0 Render date: 2026-11-08T15:35:52.037Z Has data issue: false hasContentIssue false

Supervised approach to recognise Polish temporal expressions and rule-based interpretation of timexes†

Published online by Cambridge University Press:  27 September 2016

JAN KOCOŃ
Affiliation:
Department of Computational Intelligence, Wrocław University of Technology, Wybrzeże Wyspiańskiego 27, Wrocław, Poland e-mails: jan.kocon@pwr.edu.pl, michal.marcinczuk@pwr.edu.pl
MICHAŁ MARCIŃCZUK
Affiliation:
Department of Computational Intelligence, Wrocław University of Technology, Wybrzeże Wyspiańskiego 27, Wrocław, Poland e-mails: jan.kocon@pwr.edu.pl, michal.marcinczuk@pwr.edu.pl
Rights & Permissions [Opens in a new window]

Abstract

A key challenge of the Information Extraction in Natural Language Processing is the ability to recognise and classify temporal expressions (timexes). It is a crucial source of information about when something happens, how often something occurs or how long something lasts. Timexes extracted automatically from text, play a major role in many Information Extraction systems, such as question answering or event recognition. We prepared a broad specification of Polish timexes – PLIMEX. It is based on the state-of-the-art annotation guidelines for English, mainly TIMEX2 and TIMEX3 (a part of TimeML – Markup Language for Temporal and Event Expressions). We have expanded our specification for a description of the local meaning of timexes, based on LTIMEX annotation guidelines for English. Temporal description supports further event identification and extends event description model, focussing on anchoring events in time, events ordering and reasoning about the persistence of events. We prepared the specification, which is designed to address these issues, and we annotated all documents in Polish Corpus of Wroclaw University of Technology (KPWr) using our annotation guidelines. We also adapted our Liner2 machine learning system to recognise Polish timexes and we propose two-phase method to select a subset of features for Conditional Random Fields sequence labelling method. This article presents the whole process of corpus annotation, evaluation of inter-annotator agreement, extending Liner2 system with new features and evaluation of the recognition models before and after feature selection with the analysis of statistical significance of differences. Liner2 with presented models is available as open source software under the GNU General Public License.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2016 
Figure 0

Table 1. Examples of VAL attributes and the semantic meaning of timexes. VAL values can be assigned manually during annotation or by automatic system (see Section 8.3)

Figure 1

Table 2. Examples of LVAL attributes and the semantic meaning of timexes for the types described in Section 4.5. LVAL values can be assigned manually during annotation or by automatic system (see Section 8.3)

Figure 2

Table 3. The result of analysis of the dataset provided by SemEval 2013 organisers, compared to KPWr data (see Section 5.2). ∑ all is the sum of dates, times, durations and sets in each corpus. ∑ corp is the number of dates, times, durations and sets in all corpora except KPWr. % means what part of all timexes covers particular type. Languages: ENglish, SPanish, PL – Polish. Corpora: Aquaint, TB – TimeBank, T3Platinum, T3Silver, T3Spanish, KPWr – Corpus of Wroclaw University of Technology

Figure 3

Table 4. The value of positive specific agreement (PSA) calculated on the subset of hundred documents from KPWr, annotated independently by two domain experts using PLIMEX 1.0 guidelines. 1 and 2 means all annotations in which annotators 1 and 2 agreed at the level of type and boundaries. Only 1 is the number of annotations made only by annotator 1 and only 2 – the number of annotations made only by annotator 2

Figure 4

Table 5. Evaluation data sets (source: KPWr)

Figure 5

Table 6. Strict and MUC match evaluation of TIMEX recognition (ten-fold cross-validation on train data set) – comparison of 1-class and 4-class models utilising the following feature sets: B – baseline; B+N – baseline+new features. Quality measures: Precision, Recall, F1score

Figure 6

Table 7. Result of the feature selection (Phase 1 and Phase 2) based on TIMEX recognition evaluation in each Iteration for two Model types: 1-class (boundaries recognition) and 4-class. Used measure: average strict F1score of ten-fold cross-validation on train data. Initial set of features for the first phase of selection: baseline+new features. Indexes in the second phase are relative to a current token in a context window. The general description of features can be found in Section 6.1 and the detailed description of selected features is in Section 8.2. Gain is an increase of F1-measure after Ith iteration

Figure 7

Table 8. Example sentence Catalina urodziła się w Bogocie 19 kwietnia 1981 r. (Eng. Catalina was born in Bogota on April 19, 1981.) divided into tokens, with values of features selected in each phase of the feature selection (see Section 8.2)

Figure 8

Table 9. Strict and MUC match evaluation of TIMEX recognition (ten-fold cross-validation on train data set) – comparison of 1-class and 4-class models utilising the following feature sets: B+N – baseline+new features, 1st – remaining features after the first phase of the feature selection, 2nd – remaining features after the second phase of the feature selection. Quality measures: Precision, Recall, F1score. Results in bold are the highest in comparison to other evaluation variants

Figure 9

Table 10. Normalisation resources for determining local value (LVAL) of temporal expressions, prepared using train data set

Figure 10

Table 11. Evaluation of the end-to-end systems for recognition and normalisation of temporal expressions – comparison of Liner2 tool with other systems presented during SemEval 2013 (only the best results regarding VAL F1 measure for each tool). Extraction of temporal entities in these systems are: RB – rule-based, DD – data-driven, H – hybrid. Languages: SPanish, ENglish, PL – Polish. We used strict and relaxed variants of evaluation measures presented in Section 8.3. VAL and LVAL values are evaluated using attribute measures presented in Section 8.3

Figure 11

Table 12. Comparison of results (F-measure) achieved on different sets (train – ten-fold cross-validation on train set; tune – model is trained on train set and evaluated on tune set). Variants with 1-class are boundaries recognition only. The difference between baseline and results in bold are statistically significant

Figure 12

Table 13. Comparison of results (precision, recall and F-measure) achieved on test set. Models were trained on train+tune set. Variants with 1-class are boundaries recognition only. The difference between baseline and results in bold are statistically significantly better, and underlined results are statistically significantly worse

Figure 13

Table 14. Comparison of PLIMEX training and processing time (in seconds) for different feature sets on train set (ten-fold cross-validation on train set, sum of evaluation time for each fold)

Figure 14

Table 15. Comparison of PLIMEX processing time (in seconds) for different feature sets on 6,000 documents (1,649,690 tokens) from test set (each document was processed many times). The difference between baseline and results in bold are statistically significant