Skip to content

Commit 5fe194f

Browse files
committed
minor fix for interval output in standalone
1 parent cab9f91 commit 5fe194f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/de/unihd/dbs/heideltime/standalone/components/impl/TimeMLResultFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public String format(JCas jcas) throws Exception {
4646
Timex3Interval t = (Timex3Interval) iterIntervals.next();
4747

4848
// disregard intervals that likely aren't a real interval, but just a timex-translation
49-
if(t.getTimexValueEB().equals(t.getTimexValueLB()) && t.getTimexValueEE().equals(t.getTimexValueLE()))
49+
if(t.getTimexValueLE().equals(t.getTimexValueLB()) && t.getTimexValueEE().equals(t.getTimexValueEB()))
5050
continue;
5151

5252
if(intervals.containsKey(t.getBegin())) {

0 commit comments

Comments
 (0)