diff --git a/adet/evaluation/text_evaluation_all.py b/adet/evaluation/text_evaluation_all.py index 1021d3c81..58ca3ba3b 100644 --- a/adet/evaluation/text_evaluation_all.py +++ b/adet/evaluation/text_evaluation_all.py @@ -93,9 +93,7 @@ def fis_ascii(s): def de_ascii(s): a = [c for c in s if ord(c) < 128] - outa = '' - for i in a: - outa +=i + outa = ''.join([i for i in a]) return outa with open(file_path, 'r') as f: