Rename the modifier apostrophe constants

This commit is contained in:
Veronica Berglyd Olsen
2024-06-08 23:35:20 +02:00
parent 57ee88059d
commit aed4ba4310
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -485,7 +485,7 @@ class Tokenizer(ABC):
self._text = xRep.sub(lambda x: repDict[x.group(0)], self._text)
# Process the character translation map
trDict = {nwUnicode.U_MAPOSS: nwUnicode.U_RSQUO}
trDict = {nwUnicode.U_MAPOS: nwUnicode.U_RSQUO}
self._text = self._text.translate(str.maketrans(trDict))
return