diff --git a/qurator/sbb_ner/webapp/app.py b/qurator/sbb_ner/webapp/app.py index e474d04..f3a265d 100644 --- a/qurator/sbb_ner/webapp/app.py +++ b/qurator/sbb_ner/webapp/app.py @@ -254,7 +254,7 @@ def ner(model_id): for (tokens, word_predictions), (input_sentence, _) in zip(prediction, sentences): - original_text = "".join(input_sentence) + original_text = "".join(input_sentence).replace(" ", "") word = '' last_prediction = 'O'