SUTime: A library for recognizing and normalizing time expressions
Paper · 2012 · Angel X. Chang and Christopher Manning
Summary
A sentence can name a relationship and also tell us when it held. Extracting who occupied an office, for instance, leaves out information that matters if the reader wants to know who held it at a particular date. SUTime tackles a task that makes such questions easier to answer. It identifies temporal expressions in English text and converts them into structured values. The words last Friday can become a calendar date, while a phrase about how long something lasted can become a quantity with a time unit. A program can use these values in information extraction or question answering without having to interpret the original wording again.
SUTime uses hand-written rules and gives the same result for the same input and configuration. Its patterns can examine tokens and linguistic annotations such as part-of-speech tags and named entity tags. The recognizer first finds basic expressions, repeatedly combines pieces into larger expressions, and filters candidates that are likely to have a non-temporal meaning. It represents points in time, durations, intervals, and sets of recurring times as Java objects. Resolution uses the document date to interpret relative expressions, and the final annotations use the TIMEX3 format from TimeML. The Java implementation is part of Stanford CoreNLP.
On the English evaluation set for TempEval-2 Task A, SUTime achieved the highest recall and F1 for finding the tokens in temporal expressions among the systems compared. Its token recall was 0.96 and its F1 was 0.92. The authors also scored whether each recognized mention had the right type or normalized value, counting missed mentions against recall. SUTime led that comparison in recall for both attributes. It achieved 0.89 F1 for type and 0.74 F1 for value. The public HeidelTime release was more precise on both attributes and achieved 0.76 F1 for value, the highest value F1 in the revised results table.
The errors show where recognizing a familiar pattern leaves work to do. An unqualified weekday can refer to the preceding or following week. A familiar month name can have a non-temporal use, and a duration containing a fraction can be recognized only in part. The authors also found disagreements arising from the benchmark’s notation, annotation granularity, and document dates. SUTime gives event extraction, event ordering, and question answering a common component for handling temporal mentions, and it gives later taggers a strong baseline for measuring both coverage and accuracy.
Deep dive: SUTime: A library for recognizing and normalizing time expressions
SUTime finds dates, times, durations, and recurring expressions in English text and converts them into standard values that software can use. · about 34 minutes to read
The problem and its context
What a temporal tagger contributes
Consider the biographical example the authors use to motivate the paper. A sentence gives George Walker Bush’s birth date and the years in which he held the US presidency. Recognizing the person and the office tells a reader which relationship the sentence describes. A birth date and a period of office contribute different information. The birth date locates an event on the calendar. The period gives the boundaries within which the relationship held. In the paper’s illustration, the two normalized values are 1946-07-06 for the birth date and 2001/2009 for the period of office. The compact year range preserves the granularity of the years given in the sentence.
The tagger’s part of this job is to find the words that express time and make their temporal information accessible to another program. The presidency example helps distinguish a time expression from the claim in which it participates. Finding the date range supplies a value that can help qualify the presidency relation. Determining which relation the range qualifies belongs to the surrounding extraction problem. Likewise, finding a birth date gives a system evidence about the time of an event. The sentence supplies the connection between that date and the event.
Recognition and normalization are the two sides of temporal tagging. Recognition locates the extent of a mention, meaning the portion of the text that belongs to it. An extent error can be as small as dropping a modifier, or it can amount to missing the mention entirely. Normalization describes the time in a conventional representation. A normalized date can record the year, month, and day when those fields are determined. A normalized duration records a length. A mention can therefore be easy to find and difficult to normalize. Naming a weekday is often enough to indicate that the text concerns time, while deciding which occurrence of the weekday the author meant requires more information.
The output also needs a type. A length, a calendar location, and a repetition can all involve the same vocabulary. A period of years can describe elapsed time, while words placing that period relative to a reference date can locate something on the calendar. A month can identify a particular part of a year or recur across years. A consumer of the annotation needs to know which reading it has been given before it decides what comparison or calculation makes sense. The benchmark accordingly evaluates both the type and the value assigned to a mention.
Why the authors chose a cascade
The authors argue that many temporal expressions have bounded enough structure for finite-state patterns. Such a pattern can follow a sequence of recognizable pieces, such as a quantity and a unit. Larger expressions can be assembled from pieces that are already recognizable. FASTUS is the earlier example the paper gives of information extraction using a cascade of finite automata. A cascade allows an earlier pass to expose a useful piece of structure that the next pass can match as a unit.
SUTime uses that idea to give different rules different jobs. A rule that finds a numeric expression need only describe how a number appears. A rule that finds a simple duration can build on the identified quantity and look for a time unit. Once a date and a clock time are available, another rule can look for the construction that connects them. The authors’ argument for a cascade concerns both coverage and how the system is maintained. A rule for a construction can refer to an existing category of expression and benefit from the patterns that recognize that category.
A related choice concerns the input to a rule. Tokenization divides text into pieces that later components can annotate and match. Many of the systems that might call a temporal tagger already work with such pieces. The authors build on that representation so that a rule can ask about the linguistic properties of a token as well as its spelling. They also retain the option to match directly against text, which is convenient for written date formats and strings with internal punctuation. A sequence of annotated words and a compact timestamp give the rule writer different kinds of evidence.
The rule-based approach also fits the range of systems the paper describes from earlier temporal tagging work. GUTime extends TempEx, a tagger aimed at the ACE TIMEX2 format. GUTime provides annotations that incorporate some TIMEX3 extensions and belongs to the TARSQI toolkit for temporal processing. HeidelTime uses rules, with configurations that favor either precision or recall. TRIPS/TRIOS uses a conditional random field to recognize temporal mentions and rules to normalize them. These systems provide examples of both a fully rule-based approach and an approach that gives mention recognition to a probabilistic sequence recognizer.
Why a standard output matters
TimeML gives temporal tagging a connection to the rest of document analysis. It provides markup for times, events, and the relations between them. SUTime produces TIMEX3, the part of TimeML used for time expressions. The value field extends ISO 8601 so it can express more of the temporal information found in text. A year and month, a clock time, and a measured duration can thus have different conventional forms within the same annotation scheme.
A specification for annotations and a program’s internal representation serve distinct purposes. The output has to communicate with other tools or with a benchmark scorer. The internal representation has to support operations such as combining a date and a clock time, working with the bounds of an interval, and interpreting expressions relative to a document date. SUTime maintains Java objects for that work and converts them into annotations at the end. The authors also make those objects convertible to Joda-Time classes, giving Java programs another way to handle the resulting temporal information.
The paper’s discussion of intervals illustrates why the distinction matters. A system can recognize an expression as a range with two endpoints, and a later component may want access to both dates. TIMEX3 has a way to represent an interval through a duration and endpoint references. A bounded quantity such as 2 to 3 months presents another case. Its bounds are lengths, and duration ranges fall outside the TIMEX3 standard as described in the paper. SUTime can still represent the bounded quantity internally. Encoding that information for another system places additional demands on the output convention.
The method, step by step
From a document to a set of candidates
SUTime takes tokenized English text. The document date supplies a reference when an expression needs one, and token annotations can supply evidence for rules that check them. The system’s rules describe what to match and what temporal object to build from the match. This pairing is important. Finding the word for a unit identifies a piece of text, while mapping that word to a unit object gives a later rule something it can use to build a duration.
The paper describes the recognition process at two levels. At the level of the cascade’s building blocks, patterns first identify numbers, use words and numbers to find simple temporal expressions, and then use those expressions to find composite ones. At the level of rule execution, the recognizer runs an initial matching stage, iterates its compositional rules, and applies a final filter. Resolution follows recognition. Annotating the source text with standard fields comes after the temporal objects have been resolved as far as the heuristics allow.
How SUTime turns text into temporal annotations
The steps in order.
The first pass can match tokens or character strings to create basic temporal objects. Consider the role of a time unit. A token pattern can recognize the singular and plural forms of year and associate them with the pre-defined unit YEAR. A quantity pattern can recognize a number that appears alongside the unit. When a rule identifies a complete duration, it can carry forward both the amount and the unit. This creates an object that can participate in a larger expression or be formatted as a duration on its own.
The split between a number and a unit also explains why a failure in an early stage can have a visible effect on a later result. The higher-level duration rule works with the numeric structure it receives. If the numeric recognizer captures the first quantity in a phrase and cannot interpret the fraction that follows, a shorter piece may still satisfy a complete duration rule. SUTime can then output a well-formed duration for the shorter piece. The error lies in the relationship between the partial match and the meaning of the entire expression.
Which patterns rules can use
The rule language is based on TokensRegex, a framework in Stanford CoreNLP for matching text and assigning semantic objects to matches. The paper distinguishes token patterns, string patterns, and special patterns for dates and times. These are ways to express a match. The recognition stages describe when a rule is applied and what kinds of pieces are available to it. Token patterns are available to rules beyond the first pass, including rules that compose temporal objects or filter completed candidates.
A token pattern can put conditions on a token’s text or its annotations. For a bounded duration such as 4 to 5 years, the example rule looks for a number, a separator, a second number, and a time unit. It uses named pattern fragments, or macros, to specify what counts as a number or a duration unit. When matching runs, those fragments expand into the patterns they stand for. The rule captures the first quantity as the lower bound, the second as the upper bound, and the unit as the scale shared by both. Its result is a duration range object. The rule can therefore describe the relationship among the pieces without restating how numbers or units are recognized.
String patterns are Java regular expressions that run directly over the text. The paper illustrates this choice with a pattern for a hyphenated duration such as 3-years. A captured run of digits provides the quantity, and a captured unit name provides the unit. A string rule can describe the punctuation joining those pieces independently of how a tokenizer divides the string. The result is still a duration object. String and token rules can therefore use different evidence while producing objects that a common later stage can work with.
Time patterns provide notation designed for regular date and clock formats. The authors relate their syntax to the formatting patterns used by Java and Joda-Time. A rule can identify positions for a year, month, day, and clock fields, with some separators or fields optional. The rule constructs a Time object from the parts that matched. This is especially useful when the written format already gives the fields a predictable order. The authors give an example pattern for variations on an ISO 8601 date and time.
Rules can compete when their matches cover the same sequence. SUTime considers rule priority first, the length of the matched sequence next, and the order in which rules were specified last. This gives an author a way to make a specialized rule take precedence when necessary. Match length matters when priorities allow it to decide the conflict. Definition order supplies a final resolution when the preceding criteria leave the candidates tied. The choices are built into the rule system and can affect which analysis survives even when several rules describe plausible readings.
How a larger expression is built
A compositional rule can match a sequence containing both ordinary tokens and previously recognized temporal objects. The example in the paper looks for a date, the connector at, and a time of day. The date rule has already supplied a calendar constraint. The clock-time rule has supplied another constraint. The composition takes their intersection, giving a time compatible with both the calendar location and the clock reading. The resulting object can express the construction as a single combined mention.
This construction gives a date followed by a clock time a different analysis from two unrelated temporal expressions. The connector and the order are part of the evidence for composition. The rule asks for the categories of the objects on either side, so it can work with several written forms of a date and several written forms of a clock time. The rules that recognize those forms can change independently as long as their outputs still satisfy the compositional pattern.
Composition repeats until the candidate list stabilizes. An object produced by a composition pass can thus be available to a later rule that recognizes a larger construction. The paper describes removing nested expressions at each stage in the normal process and provides an option to keep nested time expressions. Keeping the inner mentions can be useful for a range, where the surrounding expression gives the full interval and the endpoints are useful dates in their own right. The presence of overlapping expressions in the output can therefore depend on how the tagger is configured.
After composition, filtering removes candidates that are likely to have a non-temporal reading. The example uses a part-of-speech condition on an isolated ambiguous word. A token spelled fall can appear as the name of a season or as a verb. A filter can discard the single-word candidate if the tag fails the noun condition. The rule in the paper includes other ambiguous forms, including spring and march. This kind of filter uses the grammatical tag as evidence about the reading and applies to the candidate it describes. A noun reading can still be ambiguous, as when spring names a source of water.
What the temporal objects represent
A Time object locates something on a time scale. The paper uses this class for fully specified dates, relative dates, and partially specified times. For instance, October of 1963 has the normalized value 1963-10. The value identifies a month at the precision of the expression. The decade expression in the paper uses 199X, which preserves its coarser resolution. This makes it possible to carry calendar information even when an expression leaves some fields open.
A Time object and its TIMEX3 type are different pieces of the design. The paper shows Time objects producing DATE or TIME annotations, depending on the expression. With the document date 2011-09-19, the example 4 p.m. Tuesday has the value 2011-09-20T16:00 and the type TIME. The date appears in the value because the weekday can be grounded relative to the document. The time of day determines the kind of annotation shown for this expression. A downstream component can recover both pieces from the normalized value.
A Duration object represents a length of time. The paper distinguishes exact durations, inexact durations, and ranges of durations. The expression 3 days supplies a quantity and a unit, and its value is P3D. The expression a few years establishes the year as a unit and leaves the quantity inexact, giving PXY. For 2 to 3 months, the value shown is P2M/P3M, preserving the range from P2M to P3M. The endpoints in that last expression are lengths. They do not tell the reader where on the calendar a period begins or ends.
An Interval object, by contrast, has a start time and an end time. In an expression such as from July to August, each month can contribute one endpoint. Recognition of the whole range and recognition of each endpoint can both be useful. The paper illustrates an optional output where the date 1656-08-17 and the date 1669-01-21 have their own annotations, and the annotation for the entire interval refers to those dates through beginPoint and endPoint. The overall annotation uses type DURATION and value PT108960H in that example. Thus the type in the exchange format and the internal interval category need not have the same name.
The implementation also provides functions for deriving intervals from other temporal objects. The paper shows the date 2011-09-19 converted to a span whose boundaries are 2011-09-19T00:00:00 and 2011-09-19T24:00:00. A single date can consequently be treated at the granularity of a calendar day by an operation that works with intervals. This is a separate use of an interval from recognizing two stated endpoints in a sentence. One derives boundaries from an object already available, while the other assembles a range from mentions in the text.
A Set object represents a collection of times. The paper’s periodic example is every third Sunday, for which the tagger supplies type SET and value XXXX-WXX-7. The value identifies the recurring kind of day with calendar fields left open. Additional fields carry the frequency information. In the example, quant contains every third and periodicity contains P3W. The fields together distinguish repeating on Sundays at the specified interval from naming an individual Sunday. A consumer that uses only the main value would miss some of the information in the annotation.
How the reference date is used
Recognition gives each surviving expression a temporal object. Before emitting its annotation, SUTime applies heuristics to resolve that object against the document date and simplify any composite object where possible. The date is a reference point for interpretation. For a document dated 2011-09-19, last Friday resolves to 2011-09-16. The word last constrains the choice of Friday, and the document date establishes the position from which that choice is made.
The same reference date can support different operations. It lets the system supply the year in a month expression, locate a relative day such as the day after tomorrow, or pick a weekend referred to by a relative phrase. In the paper’s examples using 2011-09-19, the day after tomorrow normalizes to 2011-09-21, and next weekend becomes 2011-W39-WE. These results illustrate why the text pattern and the eventual value play different roles. The pattern identifies the relative description, while the reference supplies enough calendar context to express it in normalized form.
The authors also illustrate the ambiguity that survives even when a document date is known. From Monday 2011-09-19, a bare Friday can plausibly mean 2011-09-16 or 2011-09-23. Verb tense could provide a clue about whether the clause concerns a past or future event. The paper presents this as evidence a resolver could use. It describes SUTime’s actual resolution as heuristic and based on the document date, which can be the wrong temporal anchor when the surrounding passage has established a different one.
After resolution, the system converts the internal objects into TIMEX3 annotations. The annotation keeps a connection to the matched expression and supplies the temporal type and normalized value, with other attributes where appropriate. The Java objects are available for work within the application. The standard markup provides a representation that can travel between stages or be compared with annotated data. These outputs come from the same recognition and resolution process.
Where the data enters
The temporal patterns, composition rules, filters, and resolution heuristics constitute the tagger described in the paper. The method does not include a supervised training procedure for fitting the temporal rules. Its resources are the hand-specified mappings and the annotations available on the input. A part-of-speech tag can affect whether a filter fires, but the paper describes using that tag as evidence in a rule. It does not describe learning a temporal filter from the benchmark.
The data appears in two roles in the study. The English TempEval-2 evaluation set provides the comparative test. The TempEval-2 training set gives the authors material for a separate error analysis and additional scores. Its name identifies its role in the benchmark split. The authors’ report of results and examples on that split does not establish a training procedure for SUTime or specify the provenance of each rule. The comparison on the evaluation set and the diagnosis on the training set answer different questions.
Experiments and results
Finding the words and assigning the attributes
The paper evaluates SUTime on English TempEval-2 Task A. The task asks which parts of the text are temporal mentions and what TIMEX3 type and value each recognized expression should receive. The benchmark accordingly exposes two kinds of failure. The system can fail to find the relevant text, and it can find text whose interpretation it gets wrong. A discrepancy can involve both, as when the system recognizes only the beginning of a longer duration and assigns a value to that shorter phrase.
The official extent measures are token-based precision, recall, and F1. Precision asks how much of what the system marked belongs to an annotated temporal expression. Recall asks how much of the annotated temporal text the system recovered. F1 combines precision and recall, rewarding performance that maintains both. Because the counts are at token level, the measures give credit for correctly identified tokens within an imperfect span. They do not directly give the fraction of mentions whose boundaries were recovered exactly.
The benchmark’s official attribute scorer evaluates type and value on tokens correctly identified as temporal. Its scores thus describe the correctness of attributes within the part of the text that a given system found successfully. The set of eligible tokens can differ across systems. For instance, a tagger may identify a small group of familiar expressions and assign their values accurately. A system that finds many more expressions can face a broader and more difficult set of normalization decisions. An official attribute score by itself conceals the difference in coverage.
The authors compare SUTime with GUTime, TRIPS/TRIOS, and configurations of HeidelTime. They adapt GUTime’s output with simple rules because its version of TIMEX3 output differs from what the TempEval-2 scorer expects. For HeidelTime, the official comparison includes a setting optimized for precision, a setting tuned for recall, and a publicly available release from December 2011. TRIPS/TRIOS participates in the official comparison, while the revised attribute table gives results for SUTime, GUTime, and the public HeidelTime release.
The official evaluation
SUTime’s strongest official result is for extent recognition. On the English evaluation set it records precision of 0.88, recall of 0.96, and F1 of 0.92. The precision-oriented HeidelTime1 has precision of 0.90 and recall of 0.82. The recall-oriented HeidelTime2 has recall of 0.91 and precision of 0.82. Both HeidelTime settings have extent F1 of 0.86. Their equal F1 scores describe different balances between omissions and false positives. SUTime recovers more annotated temporal tokens than either setting and retains precision close to the precision-oriented setting.
Temporal extent recognition on the TempEval-2 English evaluation set by token F1
SUTime has the highest extent F1 in the official comparison.
The numbers
| System or setting | token F1 |
|---|---|
| SUTime (this paper) | 0.92 |
| HeidelTime1 | 0.86 |
| HeidelTime2 | 0.86 |
| TRIPS/TRIOS | 0.85 |
| GUTime | 0.84 |
| HeidelTime (public release) | 0.70 |
TRIPS/TRIOS scores 0.85 for both extent precision and recall. GUTime’s precision is 0.89 and its recall is 0.79. The public HeidelTime release has precision of 0.57 and recall of 0.89 for extents. Its extent F1 of 0.70 is markedly different from the results for the two tuned HeidelTime settings. The paper reports these as distinct entries. The public release also supplies the HeidelTime figures in the revised attribute comparison, so identifying the release matters when reading across the results.
On the official attribute measures, SUTime scores 0.96 for type and 0.82 for value on the English evaluation set. HeidelTime1 scores 0.96 for type and 0.85 for value, and the public HeidelTime release has the same displayed attribute scores as HeidelTime1. HeidelTime2 scores 0.92 for type and 0.77 for value. GUTime scores 0.95 for type and 0.68 for value, while TRIPS/TRIOS scores 0.94 and 0.76 respectively. These are the official scores conditional on successful token recognition.
The displayed type scores for SUTime and HeidelTime1 are tied at 0.96. The paper’s prose describes SUTime as less accurate than HeidelTime1 on both attributes, but the table supports a clear difference only for value at the reported precision. For value, the difference in ranking is qualified by the scoring conditions. HeidelTime1’s 0.85 and SUTime’s 0.82 apply to the correctly identified tokens of each system. The two groups of tokens have different coverage, as the corresponding recall figures show.
Why the authors revised attribute scoring
For the revised evaluation, the authors count correctly attributed mentions and ask how many opportunities the system had to get the attribute right. They match response mentions against reference mentions and check the attribute in question, either type or value. A system’s response mentions and the benchmark’s annotated mentions supply the denominators. The term gold refers to the benchmark annotations used as the reference. A response mention is one the system outputs.
P_attr = #Correct_attr / #Mentions_resp
P_attr is precision for the attribute being evaluated, identified by the suffix attr. #Correct_attr is the count of response mentions matched with a gold mention and judged correct for that attribute. #Mentions_resp counts all response mentions, and resp denotes the system response. The # sign marks a count, the slash denotes division, and the equals sign defines the measure. A tagger that outputs a mention and fails to obtain a correct attributed match keeps that mention in its response count without gaining a correct match.
R_attr = #Correct_attr / #Mentions_gold
R_attr is recall for the same attribute. The numerator #Correct_attr again counts matched mentions with the correct attribute. #Mentions_gold counts the mentions in the benchmark annotations, with gold denoting that reference set. The count sign, division sign, and equality have the same meanings as in the precision formula. A missed gold mention remains in the denominator, so a system that attempts only the easiest cases can receive high precision and low recall.
F1_attr = 2 × P_attr × R_attr / (P_attr + R_attr)
F1_attr is the F1 score for the attribute. P_attr and R_attr are the precision and recall defined above. The constant 2 scales their product, × indicates multiplication, and the denominator is the sum of precision and recall, grouped by parentheses. The slash divides by that entire sum. This form combines the two rates so that a system needs both successful coverage of reference mentions and reliable output to score well.
The revised measures change what counts as a complete success. A suitable span without the correct attribute is insufficient, and an attribute that would have been correct for a missed mention gets no credit. The type and value calculations use the same basic procedure, with each attribute checked in turn. A detected mention can therefore contribute to the type result and still fail on value. These are mention-based results and answer a different question from the official, token-based conditional scores.
The revised evaluation results
SUTime achieves the highest revised type recall and F1 on the English evaluation set. Its type precision is 0.84 and its recall is 0.94. The public HeidelTime release has type precision of 0.87 and recall of 0.89. GUTime has precision of 0.85 and recall of 0.79. SUTime’s greater coverage of correctly typed gold mentions gives it the lead in type F1, while HeidelTime gives the most reliable type assignment by the precision measure.
Revised TIMEX3 type scoring on the TempEval-2 English evaluation set by mention F1
SUTime leads revised type F1 with the highest type recall in the comparison.
The numbers
| System or setting | mention F1 |
|---|---|
| SUTime (this paper) | 0.89 |
| HeidelTime (public release) | 0.88 |
| GUTime | 0.82 |
For normalized value, SUTime has precision of 0.71 and recall of 0.78. The public HeidelTime release has precision of 0.76 and recall of 0.77. GUTime has precision of 0.59 and recall of 0.55. SUTime again has the highest recall, while HeidelTime has higher precision and the highest F1 in this comparison. The authors note that incomplete conversion of GUTime’s output into the expected format could account for some of its low value scores. The experiment measures GUTime through that conversion.
Revised TIMEX3 value scoring on the TempEval-2 English evaluation set by mention F1
The public HeidelTime release leads revised value F1, while SUTime leads value recall.
The numbers
| System or setting | mention F1 |
|---|---|
| HeidelTime (public release) (this paper) | 0.76 |
| SUTime | 0.74 |
| GUTime | 0.57 |
The paper’s prose says SUTime has the highest revised F1 for both attributes. The revised evaluation table gives SUTime the highest type F1 and gives HeidelTime the highest value F1. The recall claim is consistent with the table for both attributes. Taken with the extents results, the table shows a strong advantage for SUTime in finding temporal text and a smaller advantage in recovering gold mentions with correct values. The higher value precision of the public HeidelTime release gives it the better balance for value on this evaluation set.
Scores on the training split
The paper gives separate figures for the English TempEval-2 training set, where the authors carry out the error analysis. Under official scoring, SUTime obtains extent precision of 0.87, recall of 0.90, and F1 of 0.89. Its official attribute scores on that split are 0.92 for type and 0.77 for value. The public HeidelTime release records extent precision of 0.58, recall of 0.82, and F1 of 0.68. Its official scores are 0.96 for type and 0.85 for value. The pattern illustrates again how the conditional attribute scores and extent scores can favor different systems.
Under revised training-set scoring, SUTime has type precision of 0.78, recall of 0.84, and F1 of 0.81. HeidelTime has type precision of 0.84, recall of 0.84, and F1 of 0.84. SUTime’s value precision, recall, and F1 are 0.65, 0.70, and 0.67 respectively. HeidelTime’s are 0.73, 0.74, and 0.73. GUTime records a type F1 of 0.75 and a value F1 of 0.54 on the same split. These figures establish the setting for the error examples. The evaluation-set results provide the separate comparison with which the authors assess the tagger’s performance.
What the ablations show
The paper reports no component ablations. It instead compares recognition settings and scoring procedures and examines disagreements on the training split. These analyses can identify which parts of the task create difficulties for a fixed system. They give different evidence from rerunning SUTime with one kind of rule removed. The performance of the complete tagger therefore anchors the component descriptions.
What changes when the measurement changes
The two tuned HeidelTime settings demonstrate a tradeoff visible within the same family of taggers. One favors precision and reaches 0.90 for extent precision on the evaluation set. The other favors recall and reaches 0.91 for extent recall. Both have extent F1 of 0.86. An application choosing between those settings would need to know whether missed text or extra tagged text is more costly. The F1 result alone gives no basis for that choice. SUTime’s result shows a combination of high recall and high precision under the same official extent evaluation.
The move from official to revised attribute scoring is a comparison of measurement procedures. The taggers continue to produce their annotations. What changes is which units contribute to the scores and how missed mentions enter the calculation. Under official scoring, the public HeidelTime release’s value score reflects the tokens for which its extent recognition was already correct. Under revised scoring, its value precision is paired with recall over the gold mentions. SUTime’s broad coverage is visible in the revised recall, and HeidelTime’s greater value precision appears in the revised F1 ranking.
The authors also observe that the rule-based HeidelTime and probabilistic TRIPS/TRIOS can reach similar extent F1. They take this as support for their intuition that rules can capture many temporal constructions. The comparison establishes that both approaches can recognize temporal text effectively in this evaluation. The systems differ in more than the presence of rules, so the comparison leaves the effect of that design choice unresolved. It likewise leaves open how much of SUTime’s performance comes from its rule priorities, its use of token annotations, or its composition stage.
Where interpretation breaks down
The training-set examples let the authors follow a disagreement back through the method. Consider the duration containing a minute and a fraction of another minute. SUTime recognizes a minute and outputs PT1M. The intended annotation for the full duration is PT1M30S. The recognized piece is valid as a duration on its own. The numeric recognizer’s inability to handle the fraction prevents the tagger from incorporating the rest of the phrase. The resulting disagreement affects the extent and the normalized value together.
Some errors begin with a familiar word given the wrong sense. The paper finds a use of march as a verb that SUTime marked as the month. A spelling-based rule can produce the temporal candidate, and the final analysis has to discard it if the sentence uses the word differently. The example establishes that the system can still make this error even though its rule language can test parts of speech. It leaves the precise cause in that instance open. The available tag, the applicable rules, and the context in which a filter fires can all matter to whether a candidate survives.
Figurative language presents another ambiguity. SUTime applies the ordinary relative interpretation of tomorrow even in a phrase about the people of tomorrow. Recognizing the word correctly in isolation gives the system a reason to construct a date, while the larger phrase uses it more loosely. Resolving to the day after the document date makes the annotation more precise than the intended expression. The same heuristic that is useful for literal references produces a misleading interpretation when the usage changes.
Other errors come after a valid temporal reading has been found. With 1990-08-16 as the reference date, the paper describes difficulty deciding between 1989-09 and 1990-09 for September. The system can identify the month while leaving the contextual relationship between the month and the date unresolved. The document date makes either year expressible. It does not establish whether the passage concerns the last occurrence or the next one.
Type judgments bring a related boundary between local structure and contextual meaning. The paper gives in five years as a case in which SUTime’s duration reading diverges from the gold date type. The embedded quantity has the form of a duration. The surrounding construction can locate a point by using that duration as an offset from a reference. The error illustrates why a rule that recognizes the quantity needs a further account of how the phrase is used. The authors also identify disagreements where the annotations treat calendar expressions as TIME and SUTime treats them as DATE.
The expression the latest period illustrates a different missing step. In context it referred to 1989-Q3, and SUTime missed it. Reaching that value requires identifying what kind of period the passage is discussing and which such period was the latest. The phrase itself supplies neither a named quarter nor a complete date. The example makes the role of discourse information concrete. A tagger that handles explicit calendar expressions well can still lack the evidence or operations needed to recover that referent.
Where system and benchmark use different conventions
Some training-set disagreements have plausible explanations other than a failed interpretation. The system sometimes finds expressions that the annotators did not mark. The paper includes examples of recurring language and a century expression. When the gold annotations omit a genuine mention, a detector can appear less precise for recognizing it. The examples show that this happens in the material the authors examined. The paper does not quantify how many scores would change if the annotations were reviewed.
The normalization conventions can also diverge. The authors treat some disagreements as potentially equivalent, including SUTime’s PT24H and the annotated P1D for the expression about the last twenty four hours. One value expresses the length in hours, while the other expresses it in days. TempEval-2 also uses Q, E, C, and L for quarters, decades, centuries, and millennia. The authors describe those conventions as nonstandard and therefore do not use them in SUTime. A comparison of values can register these differences even when both sides identify related temporal information.
Granularity creates a further source of disagreement. For this week, the authors show SUTime’s 1989-W43 alongside the gold value 1989-WXX. The system commits to a week number and the gold value leaves it unspecified. The two annotations differ in how much they assert. The paper notes that annotators often leave the week number unspecified and SUTime usually tries to infer it. The score captures the divergence in representation. Whether the more specific value is justified must be considered from the reference date and context.
The authors also point to apparent annotation mistakes. For one document, they identify 2010-03-24 as the supplied reference date and 1998-01-11 as the date they believe it should have. This date discrepancy affects the normalization of yesterday and today. The system can apply its relative-date arithmetic as designed and still arrive at the wrong historical date when the anchor is wrong. This example attributes the error to an upstream input and shows how multiple values in the same document can depend on it.
Limitations
Limits identified by the authors
The authors emphasize rule coverage. SUTime can interpret an expression when its recognition and composition rules give it the pieces it needs and an applicable mapping. Expressions outside those patterns can be missed or recognized in part. The paper reports that holiday expressions such as Christmas and Halloween were unsupported. It also identifies the numeric normalizer’s handling of non-whole numbers as a limitation. A relative expression involving a year and a half requires a quantity the tagger cannot build correctly, so later date resolution starts with incomplete information.
Coverage of temporal ranges is uneven. The tagger can represent intervals, optionally expose nested endpoints, and recognize some written ranges. The authors nevertheless report that a clock range ending in 4 p.m. is misidentified as a single time with value 15:57:00. A date range written as 12-13 March 2011 is reduced to 2011-03. The first error loses the interval interpretation, and the second preserves the month while dropping its day boundaries. Support for interval objects therefore establishes what the implementation can represent. Correct recognition still depends on patterns that capture the particular way a range is written.
The paper treats lexical ambiguity as a limit of the rule-based system. A part-of-speech filter can distinguish some uses of an ambiguous form. A noun such as spring can name a season or a source of water, so the noun tag can agree with both interpretations. The authors suggest that a named entity recognizer could provide additional evidence for a date reading and refer to the Stanford named entity recognition work as an example. This is a proposed way to improve the evidence available to a temporal rule. The results do not include a comparison that measures its effect.
Relative-date resolution has two distinct limitations in the paper. Even a plausible reference date can leave multiple interpretations open, as with Friday on either side of the document’s Monday. Moreover, SUTime uses the document date as the common anchor, whereas a nearby date in the text may be the appropriate reference for a particular expression. A document can give a date for the events it is recounting, and subsequent relative wording can be about those events. A local interpretation of that kind calls for evidence about the relationship between mentions.
The rules described are English-specific. The authors say that recognizing time expressions in other languages would require separate rules. The framework’s support for token patterns and temporal objects explains how additional rules could be expressed. The paper supplies neither a multilingual evaluation nor evidence about how much of the English rule inventory would transfer across languages. Its strong English result applies to the English task it evaluates.
Limits of the evidence
The benchmark establishes performance on temporal expression tagging. The authors name event extraction, temporal ordering, and question answering as uses for the component. The study does not report results for complete applications built around it. A correctly normalized date can support an event-ordering decision, but the application still needs to know which event the date belongs to. Whether better tagging improves the final answer depends on the other steps and on which temporal errors matter for those steps.
The official extent result is a token-level measure. It gives credit for finding part of an annotated expression and can hide boundary errors that change the meaning of a phrase. The revised attribute measures give a closer view of complete tagging by requiring a matched mention and the correct attribute. They still bundle together several reasons a system can miss credit, including a failed detection, a failed interpretation, or a difference in value convention. The error examples help distinguish those possibilities for individual cases. The paper gives no breakdown of their relative frequency across the evaluation set.
The scorer and the systems also have to share a representation. The GUTime conversion introduces a dependency on the coverage of the authors’ mapping rules. The normalization examples show a related issue even for the tagger the paper introduces. Equivalent or compatible readings can be written with different units or specificity. The authors demonstrate cases where that matters, but provide no rescored evaluation with all such cases reconciled. The published rankings remain rankings under the reported scoring procedures.
Finally, the comparisons establish the performance of complete systems and configurations. They do not isolate the effect of iterative composition, filters, document-date resolution, or individual pattern types. The rule examples explain how these mechanisms can produce a given annotation, and the error analysis sometimes traces a failure to a recognizable limitation. That evidence supports an account of how the system works in particular cases. Estimating how much each mechanism contributes to the evaluation scores would require controlled comparisons beyond those reported.
What came after
Temporal tagging and its place in a pipeline
The closest connection to the form in which the authors released SUTime is The Stanford CoreNLP Natural Language Processing Toolkit. SUTime was already available as an annotator in Stanford CoreNLP when the temporal tagging paper appeared. The toolkit paper addresses the larger processing environment in which that annotator sits. The connection is architectural. A temporal tagger can receive tokens and their annotations from a pipeline and contribute temporal annotations for other components to use. The citing toolkit paper situates that contribution alongside the other processing stages.
Two citing works address the interpretation of time directly. Parsing Time frames the interpretation of temporal expressions as something to learn. That framing addresses the same gap SUTime bridges between the words in a mention and a representation of its meaning. In SUTime, the mapping is specified through rules, and resolution uses heuristics. The shared task is clear from the two papers’ scopes. The citation does not establish that Parsing Time adopted SUTime’s rule language or resolution strategy.
CogCompTime presents another tool for understanding time in natural language. Its subject follows the line of work in which temporal interpretation is made available as a component. SUTime gives a concrete point of comparison by specifying what counts as a time expression, how relative expressions are grounded, and how the resulting values are exposed to a caller. The citation places CogCompTime in that line of work. It does not on its own establish a shared implementation or a result on the same evaluation.
Temporal expressions in questions and meaning representations
Semantic Parsing on Freebase from Question-Answer Pairs concerns semantic parsing, the task of mapping language to a structured representation of its meaning. Its title identifies question-answer pairs as the source from which the parsing task is addressed. The connection to SUTime arises at the level of the values such a representation may need to express. A question can contain a calendar restriction, and normalizing its wording can supply a structured value. Interpreting how that restriction applies to the question is part of the larger parsing task.
Modern Baselines for SPARQL Semantic Parsing also concerns turning language into a structured query. Its stated scope is the evaluation of baselines for that broader task. The connection with SUTime is the distinction between interpreting a temporal phrase and building a query that uses its interpretation. Recognition and normalization can supply a date or duration. Query construction determines how a value participates in the meaning of the request. The citation records a connection between the papers without specifying which systems in the later comparison employ temporal tagging.
ComQA brings a dataset perspective to complex factoid question answering through community-sourced questions and paraphrase clusters. Paraphrases make the distinction between wording and meaning especially relevant. SUTime addresses one part of that distinction by mapping different surface forms to a conventional temporal representation where its rules support them. The answer to a complex question also depends on how a mention constrains the requested fact. The citation does not establish which parts of the dataset construction or evaluation relied on SUTime.
Robust Subgraph Generation Improves Abstract Meaning Representation Parsing addresses meaning representation through subgraph generation. The scope is broader than a temporal tagger’s output. A date annotation can give a parser a normalized value, while a graph representation has to account for how the date relates to the surrounding meaning. The related design question is how to move from recognizable stretches of language to structured objects that can participate in a larger representation. The citation ties the papers at that level, with the details of any direct implementation use unspecified.
Temporal values in knowledge and event records
T-REx addresses alignment between natural language and knowledge base triples. The connection recalls the example that opens SUTime’s paper. Text can state a fact about a relationship and describe the period during which it held. Normalization can supply a calendar value for the words expressing that period. Alignment concerns how information in the text corresponds to the structured fact. The later work’s scope is established by its title and its citation of SUTime. The citation leaves open how temporal annotations enter the alignment procedure.
Generalizing Cross-Document Event Coreference Resolution Across Multiple Corpora concerns coreference resolution for events across texts. The task asks whether mentions in different documents refer to the same event. Relative dates illustrate why temporal normalization is relevant to that question. Two documents can use the same relative wording with different reference dates, and different wordings can resolve to the same calendar value. Once each expression has been grounded, the dates provide information a system can compare. Establishing event identity still requires an account of the events and of how the temporal mentions apply to them. These citing works show the range of tasks in which the distinction made by SUTime remains useful: recognizing temporal language, representing its value, and deciding what that value tells us about a question, fact, or event.
Cite
Cite as Angel X. Chang and Christopher Manning. 2012. SUTime: A library for recognizing and normalizing time expressions. Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12).
@inproceedings{chang2012sutime,
title = {{SUTime: A library for recognizing and normalizing time expressions}},
author = {Angel X. Chang and Christopher Manning},
booktitle = {Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12)},
year = {2012},
doi = {10.63317/5pi53hxdrsdt},
url = {https://doi.org/10.63317/5pi53hxdrsdt}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/chang-2012-sutime-library-recognizing-normalizing-time/