From 549a943903a80a2e4bc802c93b03e7103070819c Mon Sep 17 00:00:00 2001 From: Wiktor Walentynowicz <wiktor.walentynowicz@pwr.edu.pl> Date: Tue, 4 Feb 2020 08:29:15 +0000 Subject: [PATCH] Update unmerge.cpp - bad number in option 3 --- src/unmerge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unmerge.cpp b/src/unmerge.cpp index aeafee3..01ebbd4 100644 --- a/src/unmerge.cpp +++ b/src/unmerge.cpp @@ -78,7 +78,7 @@ void split(int option, int id, vector<string_piece>& v_sp, vector<tagged_lemma>& length = v_tr[id].length - 2; v_sp.insert(v_sp.begin() + (id+1), string_piece("by")); v_tl.insert(v_tl.begin() + (id+1), tagged_lemma("by", "TT-------------")); - v_tr.insert(v_tr.begin() + (id+1), token_range(v_tr[id].start+2, size_t(2))); + v_tr.insert(v_tr.begin() + (id+1), token_range(v_tr[id].start+length, size_t(2))); } else if(option == 4) { // Tag VE (wpast) c_tag1[1] = 'w'; -- GitLab