From 5bd0b4a0644f7f277ec43ea56cd97e0c38638520 Mon Sep 17 00:00:00 2001 From: Ozbolt Menegatti Date: Fri, 17 May 2019 20:45:39 +0200 Subject: [PATCH] correct representation when rep_failed --- wani.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wani.py b/wani.py index 8ec18d1..f5d89a6 100644 --- a/wani.py +++ b/wani.py @@ -873,7 +873,7 @@ class Writer: return [word.id, word.text, word.lemma, word.msd] else: assert(word.representation is not None) - failed = "ok" if word.representation_failed else "lemma_fallback" + failed = "lemma_fallback" if word.representation_failed else "ok" return [word.lemma, word.representation, failed] def sorted_rows(self, rows):