diff --git a/src/Backend/utils/es_requester.py b/src/Backend/utils/es_requester.py index 9d006852..8ce25d10 100644 --- a/src/Backend/utils/es_requester.py +++ b/src/Backend/utils/es_requester.py @@ -87,7 +87,8 @@ def extract_sentences(es_json, aggregate_duplicates=True): def prepare_sentence_comparison(sentence): - return re.sub('[^A-Za-z0-9]+', '', sentence).lower() + return sentence.lower() + # return re.sub('[^A-Za-z0-9]+', '', sentence).lower() # return ''.join(e for e in sentence if e.isalnum()).lower()