From a59942fde2d6412288df08fe0d44a4b031c0f318 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Mon, 3 Sep 2018 18:37:32 -0400 Subject: [PATCH] fix oboe in repeat remover --- extensions/removerepeat.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/removerepeat.cpp b/extensions/removerepeat.cpp index 17321a2..873a610 100644 --- a/extensions/removerepeat.cpp +++ b/extensions/removerepeat.cpp @@ -37,6 +37,7 @@ bool RemoveCyclicRepeats(std::wstring& sentence) if (realLength > 7) { sentence = std::wstring(realSentence); + sentence.pop_back(); RemoveCyclicRepeats(sentence); return true; }