mirror of
https://github.com/wassname/Clover-Edition.git
synced 2026-09-09 11:13:26 +08:00
update
This commit is contained in:
+1
-1
@@ -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():
|
||||
|
||||
@@ -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)
|
||||
|
||||
+4
-2
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user