fix NER bug;parallelize ner tool

pull/2/head
Kai Labusch 5 years ago
parent 6c76ce13f1
commit 014738cb3f

@ -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'

Loading…
Cancel
Save