Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
josephbirkner authored Jul 2, 2019
1 parent ced47af commit b0beb18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ravestate_nlp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down

0 comments on commit b0beb18

Please sign in to comment.