From 9c8185b68a479739ea00dece278e43f869140481 Mon Sep 17 00:00:00 2001 From: Mujeeb Cpy Date: Thu, 19 Sep 2024 21:19:50 +0200 Subject: [PATCH] fix normalizer keep punctuation --- libindic/payyans/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libindic/payyans/core.py b/libindic/payyans/core.py index a3fba0d..1110e17 100755 --- a/libindic/payyans/core.py +++ b/libindic/payyans/core.py @@ -130,7 +130,7 @@ def ASCII2Unicode(self, ascii_text, font): unicode_text = transposed_text.translate(translator) # മൂന്നാമത്തെ ഓട്ടം: ചേരുംപടി ചേര്‍ക്കുക - unicode_text = self.normalizer.normalize(unicode_text) + unicode_text = self.normalizer.normalize(unicode_text, remove_punctuations=False) return unicode_text # മതം മാറ്റി തിരിച്ചു കൊടുക്ക്വാ !