fix always replace colon with space for seperate words

This commit is contained in:
chrys 2016-10-01 16:06:24 +02:00
parent cc2e5860c5
commit 182309c531

View File

@ -13,7 +13,8 @@ class punctuationManager():
def initialize(self, environment): def initialize(self, environment):
self.env = environment self.env = environment
self.allPunctNone = dict.fromkeys(map(ord, string.punctuation), None) self.allPunctNone = dict.fromkeys(map(ord, string.punctuation), None)
self.allPunctNone[':'] = ' ' # replace colon with space
self.allPunctNone[58] = ' '
self.punctuation = { self.punctuation = {
'levels':{ 'levels':{
'NONE': '', 'NONE': '',