replace minus and underscore with space in punctuationmanager
This commit is contained in:
1 parent
1d7ba49e92
commit
7fab080d66
1 file changed
+4
@@ -15,6 +15,10 @@ class punctuationManager():
|
||||
self.allPunctNone = dict.fromkeys(map(ord, string.punctuation), None)
|
||||
# replace colon with space
|
||||
self.allPunctNone[58] = ' '
|
||||
# replace minus with space
|
||||
self.allPunctNone[45] = ' '
|
||||
# replace underscore with space
|
||||
self.allPunctNone[95] = ' '
|
||||
self.punctuation = {
|
||||
'levels':{
|
||||
'NONE': '',
|
||||
|
||||
Reference in new issue
Block a user