From b0beb184871d4874c986c3d905f100b3cdf8f8b0 Mon Sep 17 00:00:00 2001 From: Joseph Birkner Date: Tue, 2 Jul 2019 17:26:15 +0200 Subject: [PATCH] Update __init__.py --- modules/ravestate_nlp/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ravestate_nlp/__init__.py b/modules/ravestate_nlp/__init__.py index 7c47f77..3517633 100644 --- a/modules/ravestate_nlp/__init__.py +++ b/modules/ravestate_nlp/__init__.py @@ -84,7 +84,7 @@ def nlp_preprocess(ctx): logger.info(f"[NLP:ner]: {nlp_ner}") nlp_triples = nlp_doc._.triples - ctx[prop_triples][0].set_yesno_question(detect_yesno_question(nlp_postags)) + nlp_triples[0].set_yesno_question(detect_yesno_question(nlp_postags)) ctx[prop_triples] = nlp_triples logger.info(f"[NLP:triples]: {nlp_triples}")