This commit is contained in:
Nick
2019-10-29 14:56:04 -06:00
parent 7f301dfbc9
commit 4a29a2ed7f
+1 -1
View File
@@ -212,7 +212,7 @@ class CTRLStoryManager(ConstrainedStoryManager):
results = []
options = {"word_blacklist": {0:[]}}
for phrase in self.action_phrases:
result = self.generate_action_result(self.story_context(), phrase, options=options)
result = self.generate_action_result(self.story_context() + " action: ", phrase, options=options)
action_verb = result[0].split()[1]
print("blacklisted verb is ", action_verb)
options["word_blacklist"][0].append(action_verb)