Tuning HeidelTime for identifying time expressions in clinical texts in English and French
Paper · 2014 · Thierry Hamon and Natalia Grabar
Summary
A clinical record can say when something happened without giving a calendar date. A phrase such as two weeks ago points back from a reference date, while a phrase such as the day of the surgery directs the reader to another event in the patient's history. Other expressions tell the reader how long something lasted or how frequently it occurred. Thierry Hamon and Natalia Grabar study how to recover this information from clinical records in English and French. They adapt HeidelTime, a rule-based temporal tagger. It identifies the words that express time and normalizes them, which means representing their temporal meaning in a standard form.
The authors extend HeidelTime's language resources to cover clinical expressions, including shorthand for recurring actions and phrases that count days after an operation. They also add a preprocessing step to find the admission date, which serves as the reference for relative dates. For some durations and frequencies, the authors modify how values are represented or perform calculations outside the tagger's internal arithmetic processor. The system uses Timex3, a convention for linguistic annotation that gives temporal expressions a type and a standardized value.
On the English i2b2/VA 2012 test set, the clinical version scores 0.8500 on F-measure, which combines precision and recall. The general-language version scores 0.6499, and the scientific-language version scores 0.6486. The clinical version improves both precision and recall against these English baselines. On the French test set reported in the results, the clinical version improves precision while recall stays the same. The French results table gives an F-measure of 0.9422 for the clinical version and 0.9183 for the general-language version. The abstract gives the French result as up to 0.9431 without identifying a separate evaluation that accounts for the difference.
The authors also show how normalized dates can help place clinical events on a timeline. Expressions tied to another event still pose a challenge because the system needs to know when that event happened before it can assign a date. The error analysis identifies missed expressions, date-like strings with a different meaning, and expressions detected with incomplete boundaries. The results show what adapting the tagger as a whole achieved on the evaluated records. The timeline illustrates a use for the resulting dates, and the authors describe fuller evaluation of the French version as future work.
Deep dive: Tuning HeidelTime for identifying time expressions in clinical texts in English and French
Hamon and Grabar adapt HeidelTime to find and normalize time expressions in English and French clinical records, then test it against human annotations. · about 32 minutes to read
The problem and its context
A medical fact needs context
A record of a patient's symptoms can mention the same medical condition in a description of a current complaint, a denial, or an account of something that happened earlier. A system that simply records the presence of the condition's name represents all of those mentions in much the same way. To recover the distinctions, it has to work with the language surrounding the term. The paper calls the first task conceptual indexing and the second contextual indexing. Conceptual indexing locates references to medical notions. Contextual indexing adds information about what the author says of each reference.
The authors discuss resources such as MeSH and SNOMED as aids to conceptual indexing. A terminology helps a system recognize a medical concept across the various ways a writer might name it. That work gives a system something to attach further information to. In a clinical record, the details that matter can include whether a condition is affirmed, how certain it is, whether it has just begun, and when it occurred. The paper takes up the last of these. Its introductory examples use mentions of stomach pain to show how the same complaint takes on a different significance when it is denied, described as beginning after medication, or placed at a particular time.
Time enters those examples in several forms. A month and year give a position on the calendar at the level of a month. A phrase counting backward in weeks needs a date to count from. A description of symptoms starting after medication gives an order between events even if the date of the onset still has to be worked out. These are different kinds of evidence about the patient's history. The information a reader can recover depends both on the form of the temporal phrase and on facts elsewhere in the record.
The practical motivation is to make the contents of narrative documents available to subsequent processing. The paper mentions uses such as information extraction and visualization. A clinical timeline is a concrete example. The person reading it wants to see events in temporal order, and a date inferred from a relative expression can help put an event in its place. An indexed mention of a symptom supplies one part of that record. Its temporal context supplies another.
It is useful to distinguish a temporal expression from the clinical event it helps describe. A date written next to a symptom gives potential evidence about when the symptom occurred. The date itself is a span of text that can be detected and interpreted. Connecting it to the symptom is a further task. Likewise, a frequency can tell a reader how frequently a treatment recurs, while the treatment itself is identified elsewhere in the wording. The paper focuses on getting the expressions and their interpretations from the record so that later processing has something to work with.
Why time expressions need interpretation
Finding an expression means deciding which characters or words form the relevant span. Interpreting it requires another decision about what kind of time information it conveys and what value can represent it. For a date written out on the calendar, the phrase may supply most of the required information. A duration supplies a length. A frequency supplies a recurrence. An expression naming a time is another category in the data the authors use. Each type calls for an interpretation appropriate to the information the text actually contains.
Relative dates make the need for context especially clear. The meaning of an expression that counts backward in weeks includes both the amount of time and the point from which to count. The words supply the amount and the direction. To turn the result into a calendar date, the tagger also needs a reference point. In clinical writing, a phrase can establish that point indirectly by naming an event. A human reader can understand the day of the surgery as an instruction to look for the surgery date. Converting that instruction into a date requires information about the surgery, in addition to an analysis of the phrase.
The same word or numeral sequence can also have different functions. A month name can occur in an address. A string of digits separated by a slash can be part of a clinical result. A tagger has to consider whether a candidate is being used as a time expression in its particular surroundings. Detecting a familiar date shape is a useful starting point, and it can also produce a mistaken date if the rule has too little context. This is one reason the move into clinical records involves revisiting existing rules as well as extending the terminology they cover.
Conversely, records can express temporal information without using the forms common in general prose. Shorthand for a recurring action makes sense to a clinical reader who knows the convention. An expression naming a postoperative day combines a count with an event that gives the count its origin. These are recognizable patterns once the system has resources for them. The work of adaptation is to describe enough of their form and meaning that the existing tagger can act on them.
Earlier systems and evaluations
The paper situates temporal processing in a line of shared evaluations that includes ACE, SemEval, and the i2b2 clinical challenge. These efforts address the recognition of time expressions and the interpretation or representation of temporal events and relations. The authors distinguish work on identifying and normalizing the expressions from work on organizing the events and chaining their temporal relations. A set of recognized expressions is therefore an intermediate product. It can provide evidence for temporal analysis even when the remaining connections still need to be established.
Among the automatic tools the paper discusses are SUTime and HeidelTime. Both use rules, a property the authors consider helpful when moving to different material. The paper describes a preliminary review of available systems and says HeidelTime offered the best combination of performance and adaptability for their purposes. The clinical study then evaluates several resource configurations of HeidelTime itself. SUTime helps explain the choice of starting point, and the main comparison concerns what happens when the authors adapt that starting point to the records.
The idea that temporal tagging should account for document genre also predates this study. The earlier HeidelTime work Temporal Tagging on Different Domains is part of the background the authors draw on. HeidelTime already supports different normalization strategies for material such as news, narrative, colloquial text and scientific writing. These strategies matter because the domain can affect where a temporal expression gets its reference. The clinical study applies that general concern to the way hospital records describe a stay, a treatment, or an event such as an operation.
The authors had a French resource set to work from as well as English resources. The project is consequently a domain adaptation in each language. An English shorthand form and a French phrase can require different recognition rules even when their interpretations belong to the same temporal category. Meanwhile, establishing a suitable reference date is a concern shared by both languages. HeidelTime's separation of language resources from the tagger's code makes it possible to work on those two levels within the same system.
The method, step by step
From words in a record to a temporal value
The method starts from an existing temporal tagger and changes what it can look for and how it interprets some of what it finds. HeidelTime represents its results using Timex3, part of TimeML. The study's expression inventory includes date, duration, frequency and time. A useful way to read a resulting annotation is to ask what text prompted it, what kind of temporal information that text conveys, and what value captures that information. The original words remain the evidence, and normalization gives the downstream task a regular representation to use.
A recurrence illustrates why those questions differ. The notation b.i.d. can be recognized by its written form. Interpreting it requires knowing the clinical convention that it means twice a day. That interpretation belongs with frequency annotations. By comparison, the useful value of a relative date is a calendar position when the necessary reference is available. The tagger has to know which operation the phrase calls for. Looking for the same kind of standardized value in every expression would lose the distinction between recurrence, elapsed time and a point on the calendar.
HeidelTime keeps its patterns, normalization information and rules apart from its source code. The patterns express what relevant text looks like. The normalization information provides mappings needed to turn recognized forms into interpretable values. The rules bring recognition and interpretation together using the tagger's syntax. This organization gives the authors room to revise the resources for medical writing while reusing the machinery that reads the rules and produces annotations. It also lets a change in one language's repertoire of expressions coexist with the resources for another language.
There are separate aspects to the adaptation even within the rule-based framework. The authors enlarge coverage of clinical wording. They arrange for the admission date to be available when a relative expression needs a reference. They alter the treatment of some approximate durations and use external computation for certain values. A system could successfully detect a phrase and still require one of the latter changes before it could return a usable normalization. The flow below includes the subsequent comparison with reference annotations and the demonstration of how the output can be used.
Clinical adaptation, evaluation and use of HeidelTime
The steps in order.
Start with separate resources for each language
The records supply the material for tuning the rules. For English, the authors use the training portion of a clinical challenge corpus whose reference data already follow Timex3 guidelines. For French, they assemble a corpus from hospital documents and annotate material for evaluation. In both cases the broad procedure is to work on the adaptation using training records, then compare the system's output on test records with reference annotations. The corpora are de-identified.
Here, tuning means developing and adjusting the linguistic resources. The paper describes the addition of 164 rules for English and 47 for French. These totals describe the rule sets the authors built. They give a sense of the amount of explicit adaptation in each language. A rule can cover a patterned family of expressions, so the count of rules is a different quantity from the count of expressions found in a set of records. The paper explains the kinds of changes the authors make through examples.
One kind of change brings customary medical expressions into the tagger's vocabulary. A postoperative-day expression combines a familiar clinical construction with a place for a count. A day-of-life expression is another example of wording the authors want the system to handle in clinical records. These expressions carry temporal meaning through the construction as a whole. A pattern needs to recognize the words and the count together when they form the expression, rather than merely noticing that part of the phrase contains a word for a unit of time.
Shorthand presents a different recognition problem. The parts of b.i.d. do not look like the words in its expansion. The resource needs to connect the written abbreviation to the recurrence it denotes. This is the clinical counterpart of interpreting a fuller expression such as twice a day. Once the correspondence is supplied, the frequency can be represented in the same kind of output as one written without shorthand. The benefit in this case comes from supplying a convention that a reader familiar with clinical usage already brings to the text.
The authors give these examples to show why the resources need to cover specialized vocabulary and constructions. A general-language resource can already recognize familiar calendar expressions. A scientific resource already addresses a different specialized setting, including biomedical studies among the examples of scientific text. Clinical records introduce their own patterns even with those starting points available. By using the same tagger with different resource configurations, the study can ask whether additions aimed at those patterns help on the target records.
Obtain a reference date before resolving relative dates
HeidelTime already has a way to interpret relative expressions when a document creation date can be set. The paper explains this through the news setting, where publication or creation time gives a convenient reference. With a document creation date of 2012/03/24, the paper's example two weeks ago resolves to 2012/03/10. The temporal phrase supplies a direction and distance. Setting the reference date gives the calculation its starting point.
For the clinical adaptation, the authors use the admission date as the reference. They add a preprocessing step to find it in the document. The step matters because a date can be explicitly recorded somewhere in the text, while the relative expression that depends on it occurs elsewhere. The tagger must have the admission date available as context before it can interpret the expression. A rule that recognizes the words of the relative expression has done only part of the work.
Consider 2 days later, one of the paper's clinical examples. The count is included in the words, and later supplies a direction. The intended output of normalization is a date when there is a known reference to which that amount can be applied. Without the reference, the words still convey an offset. This makes the dependency between preprocessing and normalization concrete. Better matching of phrases with later can increase recognition, while assigning a calendar value depends on the admission date having been identified and being the right reference for the instance.
The admission date provides a usable reference for the class of relative expressions the authors discuss in that part of the method. Other relative phrases expose the need for a different source of context. Surgery and the end of antibiotic treatment are examples the paper treats as harder. If a date is expressed through the surgery, the date of that operation has to be established first. If it is expressed through the end of treatment, the relevant temporal point is the end of the course. The recognized words can tell the system which event to look for even while its date is unresolved.
This difference can be understood as a question about which fact has to be on hand before the tagger can act. In the admission-based case, the clinical configuration aims to make one document-level date available in advance. In the event-based cases, the prerequisite is specific to the expression and the event it names. The examples explain the limit of reusing the admission date as a common starting point. The paper gives those dependencies as difficult situations in temporal interpretation and supplies no general procedure for calculating all such event dates.
An important consequence is that a rule and its input can be correct at the level of language yet still yield a poor placement on a timeline if the reference is wrong. The same offset can produce different calendar dates as the reference changes. This follows from how the paper's own news example works. Evaluating detection alone would leave that distinction open. Clinical normalization has to take account of the contextual value that feeds the calculation.
Decide which kind of time information is expressed
Some forms are difficult because they contain evidence of more than one temporal idea. The authors consider the distinction between dates and durations. Their example 2 years ago, with the French counterpart il y a 2 ans, contains a measure in years. As a whole, the expression points to a date relative to a reference. The date is what the annotation is intended to capture. Treating every quantified time phrase as a duration would miss what the complete expression does.
The converse difficulty appears with since 2010 and depuis 2010. The year gives the start of an interval, and the phrase as a whole describes time extending from that start. The authors treat it as a duration. They observe that the beginning of that duration is also meaningful as a date for the beginning of the process under description. An annotation that assigns one type has to choose which temporal function of the whole span it captures. The example makes clear why the presence of a year is insufficient to settle the type.
These cases matter for rule design and for constructing reference data. In rule design, the words around the count or year need to affect the interpretation. In the reference data, the annotation convention has to decide how to represent an expression that supports more than one reading of its temporal function. A system and a human annotation can disagree on the type even where both have found the same words. Such a disagreement has a different origin from a system missing the mention altogether.
The same distinction is apparent in the examples involving events. Identifying the surgery phrase as temporal says that the writer is using surgery to locate something in time. Obtaining the value still requires an appropriate date for the event. When an expression denotes the end of treatment, the boundary being referred to matters as much as the treatment name. A date of treatment initiation would supply the wrong temporal boundary for the phrase. The paper uses the examples to bring out the additional reasoning needed even after the form has been recognized.
Adjust the values returned for durations and frequencies
For durations expressed approximately, the authors prefer an approximate numerical value to an undefined value represented by X. The change concerns the normalization of a span that has already been found. A phrase can indicate a length of time in ordinary language while leaving its exact amount vague. Representing it with an approximate number makes some of that information available in numeric form. The paper describes this choice without detailing a complete mapping from particular vague expressions to numbers.
This choice is separate from recognizing the entire duration phrase. A tagger might detect words about days while leaving out other words that influence whether the phrase refers to an approximate duration or points forward in time. Improving the numeric representation of a matched span and making sure the span contains the relevant words are distinct jobs. The paper's example of a partial match involving few days shows why the latter issue remains important after the value representation has been adapted.
The authors also handle some duration and frequency calculations outside HeidelTime. They attribute the need for that step to limits in the tagger's internal arithmetic processor. External computation extends what can be done with the recognized expression and its normalization information. The paper identifies the kinds of annotations affected and the reason for using that computation. It gives the method at the level of a processing change, without enumerating which formulas were used for individual durations or recurrences.
The conventions for relative dates, approximate durations and frequency arithmetic share an overall purpose. In each case the tagger starts with words that carry temporal information and needs to return a value usable beyond the sentence. What has to happen in between depends on the type. A date can need a reference, a duration can need an approximate numeric treatment, and a frequency can need arithmetic. Putting them all under normalization describes their role in the workflow while leaving those different operations visible.
Compare the output with the annotations
The experiment compares the temporal expressions produced on test data with the expected expressions in the reference annotations. Precision measures how much of what the system returns is relevant under that comparison. Its denominator is the number of expressions returned by the system. Recall measures how much of what is expected the system retrieves. Its denominator is the number of expected expressions. Both use the count of relevant expressions retrieved in the numerator. The tables give the measures as decimal values.
The distinction helps explain how changing the rules can alter the evaluation. A more permissive pattern can recover an expression the previous rules missed and can also accept a string that should have been rejected. Recovering a missing reference expression is relevant to recall. Adding a candidate that is wrong affects precision. Borderline cases such as an incomplete span are harder to interpret without knowing the agreement criterion. The paper describes the measures by their roles and offers examples of boundary errors, while leaving details of the scoring convention open.
The arithmetic average of precision and recall is written as follows.
APR = (P + R) / 2
APR is the arithmetic average. P means precision and R means recall. The plus sign adds their values, and the parentheses group that sum before division. The slash denotes division, 2 is the number of measures being averaged, and the equals sign links the name of the measure to its definition. This average gives the two values equal weight in the sum.
The paper describes F-measure as the harmonic mean of precision and recall. In the standard form of that stated definition, it is written as follows.
F = 2 × P × R / (P + R)
F is F-measure, and P and R again denote precision and recall. The multiplication sign indicates that the numerator is twice the product of those two values. The slash divides that product with its factor of 2 by the sum grouped in parentheses, and the equals sign expresses the definition. The harmonic mean is sensitive to an imbalance between precision and recall. A strong value on one of the two measures offers limited compensation for a weaker value on the other.
The equation printed with the F-measure definition omits the leading factor in the harmonic mean. There is also an ambiguity in the English results table, where the APR and F columns contain identical entries. The numerical results below follow the paper's reported labels. The presentation issue matters when interpreting the two columns as separate measures, especially for configurations with distinctly different precision and recall.
Use normalized dates to place events
The authors illustrate the application of the extracted information with a clinical timeline. The organizing step is to associate medical events with normalized, absolute temporal information. Those associations allow the events to be ordered for display. This is where normalization has an advantage over leaving the temporal phrase as an isolated feature of the document. Once its date is available, a relative expression can contribute to the same order as a calendar date written explicitly.
There are several decisions between a match in the text and a position on the timeline. The system needs an appropriate temporal expression, an interpretation that supplies the right kind of value, and an association between that value and the event being displayed. A correctly extracted recurrence supplies useful information about a schedule, for instance, while a single absolute date provides a different kind of evidence for ordering events. The visualization in the paper shows a use of the available temporal anchors. The scored experiments concern the temporal tagger.
The visualization also brings attention back to expressions that give only an unspecific temporal indication. The authors mention later and sooner as expressions whose display is still under study. They suggest that more specific surrounding wording may be available, giving later that day as an example. This possibility is another reason to care about the whole span and its context. An isolated word points in a temporal direction, while the fuller phrase constrains the period being referred to.
Experiments and results
The records and the comparison
The English data come from the i2b2/VA 2012 clinical challenge. The training split has 190 records and the test split has 120. The reference annotations cover dates, durations, frequencies and times. The comparison uses the general-language and scientific-language configurations of HeidelTime alongside the authors' clinical configuration. The paper reports results on both splits, so there is a view of how the rules perform on the material used for tuning and on the separate evaluation material.
The French material consists of de-identified hospital documents collected for the study. The paper lists 182 records for training and describes a test corpus of 120 records in its materials discussion. The results section specifies 26 documents for the French evaluation it reports. The French scores below concern those 26 documents. The configurations compared are the available French general-language version and the new clinical version.
These baselines answer a particular question about adapting HeidelTime. The general-language version represents the system using resources for ordinary language. The scientific version supplies a further point of comparison in English, where a configuration for scientific text is available. All the named baselines in the results tables are versions of HeidelTime. The paper's preliminary consideration of other taggers explains how the authors chose their tool, and the scored comparison uses the shared rule engine to examine the value of the clinical configuration.
English training and test results
On the English training split, the general-language version records precision of 0.7745 and recall of 0.5676. Its reported APR and F-measure are both 0.6551. The scientific version records precision of 0.7877 and recall of 0.5676, with 0.6598 in both aggregate columns. Hence, on the training data, their recall is identical and the scientific version has higher precision. For each of these existing configurations, recall is the weaker of the two component measures.
The clinical version reaches training precision of 0.8478 and recall of 0.8381. The English training table reports 0.8429 in both the APR and F-measure columns for this configuration. The pattern across the component measures shows that the clinical version recovers a greater share of the expected expressions and also returns a greater proportion of relevant expressions. It is the only one of the configurations whose reported training precision and recall are close to each other at that level.
On the English test set, precision for the general-language configuration is 0.8000, and recall is 0.5473. Its reported APR and F-measure are 0.6499. The scientific configuration gives precision of 0.8018 and recall of 0.5445, with reported APR and F-measure of 0.6486. The clinical configuration has precision of 0.8533 and recall of 0.8467, with 0.8500 in both aggregate columns. The ordering by reported F-measure on this split places the clinical version first, followed by general-language HeidelTime and then the scientific version.
HeidelTime configurations on the English i2b2/VA 2012 test set by reported F-measure
The clinical configuration scores higher than either of the existing English configurations.
The numbers
| System or setting | F-measure |
|---|---|
| General-language HeidelTime | 0.6499 |
| Scientific-language HeidelTime | 0.6486 |
| Clinical HeidelTime (this paper) | 0.8500 |
The test-set comparison gives an indication of what the starting configurations could already do. They have higher precision on the test split than on the training split, although their recall is lower. The clinical version has higher test precision and recall than it does on the training split. These directions matter because the study is concerned with recognizing temporal wording that a resource set for another domain might miss. With the clinical changes in place, the gains against the baselines persist when the evaluation moves off the tuning split.
Recall also clarifies the difference between the English scientific and clinical configurations. The scientific configuration's precision is close to the general-language configuration's on the test set. Its recall is likewise close to the general-language figure and remains far below the clinical figure. A resource set for scientific material therefore offers little advantage on these clinical records by the reported aggregate measure. The comparison gives the paper's claim about specialized clinical wording more context than an evaluation against only the general-language setting would provide.
HeidelTime configurations on the English i2b2/VA 2012 test set by recall
The clinical configuration recovers a greater share of the annotated expressions than either baseline.
The numbers
| System or setting | recall |
|---|---|
| General-language HeidelTime | 0.5473 |
| Scientific-language HeidelTime | 0.5445 |
| Clinical HeidelTime (this paper) | 0.8467 |
The paper gives the clinical challenge as a broader point of reference. It reports a maximum F-measure of 0.91 in the competition and says an earlier result of 0.84 placed the authors' system 10/14 on the English data. The English test result for the adapted configuration in this study is 0.8500. The challenge figures put the authors' previous standing in context, while the three-configuration comparison measures the result of the adaptation against the stated HeidelTime baselines.
French test results
In the reported French evaluation, the general-language version has precision of 0.9030 and recall of 0.9341. Its F-measure is 0.9183. The clinical version has precision of 0.9504 and recall of 0.9341, with an F-measure of 0.9422 in the table. The principal change visible in those component measures is the improvement in precision. The fraction of expected expressions recovered is the same at the reported precision of the recall values.
HeidelTime configurations on the French test evaluation by reported F-measure
The clinical configuration achieves the higher score on the evaluated French documents.
The numbers
| System or setting | F-measure |
|---|---|
| General-language HeidelTime | 0.9183 |
| Clinical HeidelTime (this paper) | 0.9422 |
The French baseline starts from a different position from the English baselines. Its recall is already higher than its precision. This matters when describing the effect of adaptation. The clinical configuration improves the reliability of the returned French annotations as measured by precision. The aggregate scores cannot show whether it returned exactly the same reference expressions or whether some recovered expressions changed while the overall recall stayed level. The paper gives the corpus-level result, which supports the more limited conclusion that there is no measured net recall increase in this evaluation.
The abstract describes a French F-measure of up to 0.9431. The French results table assigns 0.9422 to the clinical system on the reported test documents. The paper gives no separate split or setting that would explain the abstract's figure. The table is consequently the clearest basis for a configuration-by-configuration comparison, since it presents the precision, recall and F-measure together for both versions.
The English and French outcomes are best read in relation to their own baselines. The same general approach produces a benefit in the reported F-measure for both languages. In English, the large difference in recall accompanies higher precision. In French, precision changes while the reported recall holds steady. Those patterns characterize the evaluated records and resource sets. They also tell the reader which parts of the aggregate score changed, without requiring the assumption that the corrections worked through the same mechanisms in both languages.
The visualization result
In addition to the scored experiments, the paper presents a visualization of temporal data. Its purpose is to show how dates can serve as anchors for ordering medical events. This gives a concrete destination for a normalized value. An expression that can be resolved to a date can place an event alongside other dated events even if the original text expresses that date indirectly.
The paper describes the placement of unspecified relative expressions as ongoing work. A term like later can signal a direction without identifying a place on the calendar. Looking at its surroundings can sometimes reveal a fuller expression, as in later that day. The visualization therefore illustrates both what can be done with an absolute temporal value and why some recognized temporal language still needs interpretation before it can be displayed in the same way.
What the ablations show
The paper compares complete HeidelTime configurations and analyzes error examples, without an ablation that removes the clinical changes one at a time.
What changes when the full configuration changes
The English comparison holds the evaluation split and the underlying tagger in common. Switching from either of the existing English configurations to the clinical one raises the reported precision and recall. Since the recall of both baselines is low relative to their precision, the improvement in recovery is particularly informative. It shows that the clinical configuration finds substantially more of the temporal information represented in the reference data. Higher precision at the same time shows that the additional recovery accompanies better agreement in what the system returns overall.
The comparison between ordinary and scientific resources helps interpret that result. A scientific configuration is already a domain-specific resource set, yet on the English test documents its reported performance remains close to that of the general-language version. The successful clinical configuration is adapted to the wording and conventions of the records under study. That is evidence for matching the resource set to the clinical genre. Because the clinical configuration changes rules, reference handling and some normalization together, the table supplies evidence for the package of adaptations.
The French comparison has a different pattern. It shows a gain in precision from the clinical configuration while leaving overall recall at the general-language level. One way to interpret that outcome is that recognizing a broad share of reference expressions and avoiding irrelevant matches remain separate problems even when the general configuration is already effective. The reported counts do not identify which annotations changed. An unchanged recall summary would also be consistent with acquiring some correct annotations and losing others.
The split comparison in English checks another possible explanation of the result. The authors worked on the tuning set, which makes the results on that split informative about the final resource configuration but less informative about its performance on unfamiliar records. The medical configuration keeps its advantage on the separate test set. That is direct evidence of transfer from the tuning records to the evaluated records within this corpus. The result belongs to that train-and-test setup, with no individual rule family singled out as the cause.
What the individual errors reveal
The authors cite au cours de and mensuel, corresponding to during and monthly, as examples of remaining gaps in coverage. These are different forms of temporal wording. A phrase that introduces temporal context and a word expressing recurrence call for different rules and interpretations. The examples show that omissions remain even after the medical inventory has been extended. They illustrate problems a corpus-level recall value cannot locate on its own.
The example 2/10 exposes a competing interpretation of a string that looks like a date. In the case discussed, the string expresses a clinical result. The digits and slash supply a surface pattern that a calendar rule can recognize. The surrounding use determines whether the calendar interpretation is appropriate. This gives the precision problem a concrete form. A useful rule has to preserve genuine date matches while distinguishing such clinical uses when the available evidence permits it.
The month name Juillet in rue du 14 Juillet creates a related error through a different kind of context. The calendar wording occurs inside a street name. Here the tempting match is lexical as well as numeric. Detecting a genuine month name is insufficient because its role inside the larger name determines the interpretation. The ratio and street examples therefore expose different ways a valid temporal pattern can occur in a span whose function in the document is different.
In another case the tagger finds few days within the next few days. The system has responded to real temporal words, but the match misses part of the expression. The omitted words help make the phrase forward-looking. The example is important for reading the evaluations because a partially correct span can be less useful for normalization even if it gives a human reviewer an obvious clue to the intended expression. The paper identifies segmentation as one source of error alongside overmatching and missed wording.
The authors' discussion of dates and durations adds a separate kind of difficulty. A measurement in years can be part of an expression pointing to a past date, while a calendar year can start an interval. This is an analysis of how the whole expression functions. It shows what a type-specific error analysis could distinguish from recognition and segmentation errors. The paper gives illustrative cases rather than a breakdown of the measured results by type, so the examples explain the challenge without establishing how frequently each interpretation causes an error.
Finally, the event-relative examples show how an interpretation can be unresolved even after the temporal phrase has been detected. A reference to surgery or to the completion of treatment directs the system to a clinical event whose date has to be supplied from elsewhere. Such cases expose a dependency in the normalization pipeline. Changing the list of temporal patterns can help the system recover the referring phrase. Resolving the expression requires the temporal information it refers to, which is an additional problem.
Limitations
Limits identified by the authors
The authors describe incomplete coverage of temporal wording as the main limitation of the adapted system. Their examples include French expressions that the rules still fail to cover. This limits how much a reader can infer from a high aggregate score. The result demonstrates performance on the annotated mix of expressions in the evaluation, while the uncovered wording identifies specific cases where the adaptation still needs work. The paper treats further additions to the resources as future work.
The authors also identify false matches and imperfect segmentation. The ratio resembling a date illustrates ambiguity in numeric patterns. The street name illustrates a temporal word used as part of another kind of name. The truncated phrase about the next few days illustrates a match that captures only part of the intended temporal expression. Together these examples show that coverage is only one dimension of the remaining work. Improving a resource also means refining which uses count as temporal and where the recognized spans start and end.
Computing normalized dates for event-based references is another acknowledged difficulty. An expression tied to surgery cannot be fully resolved through its own wording. The system first needs the date of the surgery. A reference to the end of antibiotic treatment depends on a particular phase of the treatment being located in time. These dependencies limit a method that uses admission as its general reference, because an episode can contain several events capable of serving as anchors for different expressions.
The authors also leave the visualization of unspecified expressions open. They suggest that nearby or accompanying language can sometimes make an indication more specific. It remains a different situation from a mention already linked to an absolute date. An ordered display can make dates easy to inspect, and its treatment of unresolved expressions determines how much temporal information it can preserve from the records. The paper illustrates the ordering use and describes that unresolved display question as active work.
For French, the authors say that annotation of more complete data is underway so that they can evaluate the adapted system more fully. They also describe making the adapted tagger freely available as a plan. The work reported in the paper consists of the adaptation, the evaluation on the identified records and the timeline illustration. The planned release and fuller French assessment are statements about what the authors intended to do next.
Limits visible in the evaluation
The results report each medical configuration as a bundle. There is no separate score for adding the clinical phrases while leaving the reference-date handling unchanged, or for using admission-date preprocessing without the new phrase rules. The adjustments to approximate duration values and external arithmetic are likewise included in the whole. As a consequence, the precision and recall gains cannot be allocated among these changes. The implementation details and examples suggest how each contribution could matter, and the comparison establishes their measured effect only in combination.
There is also a distinction between the tasks described and the resolution of the reported scores. The paper discusses recognition, type assignment and normalized values. It gives aggregate measures for temporal expressions, without separate tables for correct spans, correct types, correct values and correct anchors. It also gives no separate performance figures for dates, durations, frequencies and times. A reader can see how the whole configuration performs under the authors' comparison with the reference data. The contribution of accurate value assignment, including relative-date calculation, cannot be recovered from those aggregate scores.
The description of matching leaves questions about partial spans and annotation agreement. The authors identify segmentation errors, which confirms that boundaries matter to the quality of the result. They give no detailed account of how every partial match is scored, or a measure of agreement between people annotating the French records. This matters for cases the authors themselves find difficult, such as a phrase that gives both an interval and a start date. Some disagreement can turn on how the annotation convention is applied, in addition to what the rules find in the text.
The French corpus description and the French results section specify different counts for the test material. The reported comparison identifies 26 documents, while the description of the corpus lists 120 test records. The paper does not establish how the evaluated documents were selected from the described material or give results for the larger test corpus. A claim about French performance can be tied to the reported evaluation. Extending it to the full collection would require knowing which material was scored and how the evaluated documents represent it.
The differences in reported metrics also limit precise interpretation. For French, the abstract's 0.9431 and the table's 0.9422 are each presented as F-measure figures, with only the table tying its value directly to the displayed test comparison. For English, APR and F-measure carry the same printed values even where precision and recall differ. The prose defines different averages, and the printed F expression lacks part of the stated harmonic-mean definition. The separate precision and recall columns remain the most direct way to see, from the reported data, whether the change is in relevant returns, recovery of expected expressions, or both.
The bilingual setup shows that the same rule-based adaptation framework was applied to clinical material in both languages. It gives no controlled comparison of the languages themselves. The corpora come from different sources, the French evaluation concerns fewer documents than the described French test corpus, and the baselines available for comparison differ. The rule totals indicate what the authors added, while the scores reflect the records and the starting resources as well as the additions. Neither quantity establishes how much effort a comparable adaptation would require for each language under matched conditions.
The admission-date step is central to the method, yet its performance is unreported as a separate task. An error in the starting date can propagate to expressions normalized against it. Even with correct preprocessing, a local expression may refer to a different event. The paper describes examples of that second situation and gives the aggregate evaluation of the adapted tagger. It supplies no accuracy estimate for admission-date extraction or for resolving the reference in each individual relative date.
Finally, the timeline is a demonstration of how the temporal output can be used. The paper does not report a separate evaluation of the order of events, the association of events with dates, or the usefulness of the display to clinical readers. Each of those questions concerns a later part of the workflow. A temporal annotation can be correct while the date is associated with the wrong medical event. Keeping those levels distinct makes it possible to value the demonstration for what it shows about using normalized dates while locating the measured results in the tagging experiment.
What came after
The paper's account ends with plans to extend the French annotations, release the clinical resources and improve the treatment of less specific expressions in the timeline. It also proposes combining temporal information with contextual details such as polarity and uncertainty. This would let a patient history represent when a medical statement applies alongside information about how the record presents the statement. Those directions describe the authors' intended continuation of the study. No subsequent paper is identified that documents how those plans were carried forward or how another study used the clinical HeidelTime adaptation.
Cite
Cite as Thierry Hamon and Natalia Grabar. 2014. Tuning HeidelTime for identifying time expressions in clinical texts in English and French. Proceedings of the 5th International Workshop on Health Text Mining and Information Analysis (Louhi).
@inproceedings{hamon2014tuning,
title = {{Tuning HeidelTime for identifying time expressions in clinical texts in English and French}},
author = {Thierry Hamon and Natalia Grabar},
booktitle = {Proceedings of the 5th International Workshop on Health Text Mining and Information Analysis (Louhi)},
year = {2014},
doi = {10.3115/v1/w14-1116},
url = {https://doi.org/10.3115/v1/w14-1116}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/hamon-2014-tuning-heideltime-identifying-time-expressions/