From 182309c53102c78573ae1ea1ed88530ff65ee7a7 Mon Sep 17 00:00:00 2001 From: chrys Date: Sat, 1 Oct 2016 16:06:24 +0200 Subject: [PATCH] fix always replace colon with space for seperate words --- src/fenrir-package/core/punctuationManager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fenrir-package/core/punctuationManager.py b/src/fenrir-package/core/punctuationManager.py index 67935c4b..e9ad7620 100644 --- a/src/fenrir-package/core/punctuationManager.py +++ b/src/fenrir-package/core/punctuationManager.py @@ -13,7 +13,8 @@ class punctuationManager(): def initialize(self, environment): self.env = environment self.allPunctNone = dict.fromkeys(map(ord, string.punctuation), None) - self.allPunctNone[':'] = ' ' + # replace colon with space + self.allPunctNone[58] = ' ' self.punctuation = { 'levels':{ 'NONE': '',