diff --git a/console_play.py b/console_play.py index 4991017..4a080a5 100644 --- a/console_play.py +++ b/console_play.py @@ -36,7 +36,7 @@ def play_unconstrained(): action = " You " + action + "." result = story_manager.act(action) - console_print(action + result) + console_print("\n\n" + action + result) def play_constrained(): diff --git a/generator/ctrl/ctrl_generator.py b/generator/ctrl/ctrl_generator.py index 103e99b..2fae2ea 100644 --- a/generator/ctrl/ctrl_generator.py +++ b/generator/ctrl/ctrl_generator.py @@ -265,7 +265,7 @@ class CTRLGenerator(): def generate(self, prompt, options=None): prompt = self.prompt_replace(prompt) - print("PROMPT: \n", prompt) + print("\n\n*****DEBUG*****") if options is None: options = dict() if "used_verbs" not in options: @@ -299,4 +299,5 @@ class CTRLGenerator(): token_num += 1 + print("****END DEBUG*****\n\n") return self.result_replace(result) diff --git a/story/utils.py b/story/utils.py index f8c45a8..0e8902f 100644 --- a/story/utils.py +++ b/story/utils.py @@ -111,7 +111,8 @@ first_to_second_mappings = [ ("mine","yours"), ("me", "you"), ("us", "you"), - ("our", "your") + ("our", "your"), + ("I'll", "you'll") ] second_to_first_mappings = [ @@ -119,7 +120,8 @@ second_to_first_mappings = [ ("your ", "my "), ("you are", "I am"), ("you", "I"), - ("you", "me") + ("you", "me"), + ("you'll", "I'll") ] def capitalize_helper(string):