From 7ffbcbc60af977c00520451b7c684497ace8d308 Mon Sep 17 00:00:00 2001 From: kaldan007 Date: Wed, 15 Dec 2021 12:13:42 +0530 Subject: [PATCH] fix(reconstruction): space has been included as punctution --- pedurma/reconstruction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pedurma/reconstruction.py b/pedurma/reconstruction.py index 4127452..075b062 100644 --- a/pedurma/reconstruction.py +++ b/pedurma/reconstruction.py @@ -174,7 +174,7 @@ def is_punct(char): Returns: flag: true if char is punctuation false if not """ - if char in ["་", "།", "༔", ":", "། །", "༄", "༅", "\u0F7F"]: + if char in ["་", "།", "༔", ":", "། །", "༄", "༅", "\u0F7F", " "]: return True else: return False