summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgi/pyp-topics/scripts/spans2labels.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pyp-topics/scripts/spans2labels.py b/gi/pyp-topics/scripts/spans2labels.py
index 3221dbf0..7cbc521c 100755
--- a/gi/pyp-topics/scripts/spans2labels.py
+++ b/gi/pyp-topics/scripts/spans2labels.py
@@ -41,5 +41,5 @@ for line in sys.stdin:
context = "%s<PHRASE> %s" % (left_context, right_context)
label = phrase_context_index[(phrase,context)]
- print "%s-%s:X%s" % (t1-1,t2-1,label),
+ print "%s-%s:X%s" % (t1-order,t2-order,label),
print