summaryrefslogtreecommitdiff
path: root/gi/pyp-topics/scripts
diff options
context:
space:
mode:
authorphilblunsom <philblunsom@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-06-29 17:56:28 +0000
committerphilblunsom <philblunsom@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-06-29 17:56:28 +0000
commit6f295ede586e781ccfedd8db29a00ffbb76c03dd (patch)
tree57d10d83febb8dd054fc09918698e347a5654c2c /gi/pyp-topics/scripts
parent5432a592f533949a9e25a631fb128ee56af0cb37 (diff)
Think the pipeline is working now...
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@63 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'gi/pyp-topics/scripts')
-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