fix always replace colon with space for seperate words
This commit is contained in:
parent
cc2e5860c5
commit
182309c531
@ -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': '',
|
||||||
|
Loading…
Reference in New Issue
Block a user