diff --git a/pyidaungsu/__init__.py b/pyidaungsu/__init__.py index aeee439..cf04fa0 100644 --- a/pyidaungsu/__init__.py +++ b/pyidaungsu/__init__.py @@ -4,7 +4,6 @@ import re, os, sys import numpy as np -sys.stdout = open(os.devnull, "w") sys.stderr = open(os.devnull, "w") f = fasttext.load_model(os.path.join(os.path.abspath(os.path.dirname(__file__)),'model/pdsdetect.ftz')) @@ -54,4 +53,4 @@ def detect(text): return predict(text)[0][0][0][9:] def tokenize(text,lang='mm',form='syllable'): - return Tokenize().tokenize(text, lang, form) \ No newline at end of file + return Tokenize().tokenize(text, lang, form)