summaryrefslogtreecommitdiff
path: root/modeling
diff options
context:
space:
mode:
Diffstat (limited to 'modeling')
-rw-r--r--modeling/prod_numbers.py8
-rw-r--r--modeling/productions_math.py4
2 files changed, 6 insertions, 6 deletions
diff --git a/modeling/prod_numbers.py b/modeling/prod_numbers.py
index 5115f30..965bcd9 100644
--- a/modeling/prod_numbers.py
+++ b/modeling/prod_numbers.py
@@ -110,7 +110,7 @@ def number(Model):
hundreds_ans ~busy
ones_ans =ones
tens_ans =tens
- hundreds_ans =huns
+ hundreds_ans =hunds
?retrieval>
state free
==>
@@ -121,7 +121,7 @@ def number(Model):
isa number
ones =ones
tens =tens
- hundreds =huns
+ hundreds =hunds
"""
)
prods.append(number_contract_result)
@@ -135,13 +135,13 @@ def number(Model):
result None
ones_ans =ones
tens_ans =tens
- hundreds_ans =huns
+ hundreds_ans =hundreds
=retrieval>
isa number
number =num
ones =ones
tens =tens
- hundreds =huns
+ hundreds =hundreds
==>
=g>
isa math_goal
diff --git a/modeling/productions_math.py b/modeling/productions_math.py
index e740ae3..a3f6b02 100644
--- a/modeling/productions_math.py
+++ b/modeling/productions_math.py
@@ -52,8 +52,8 @@ def start():
# op, arg1, arg2 = wait_input()
Model, DM, goal, imaginal, env = init()
# Model.model_parameters["subsymbolic"] = True
- # Model.model_parameters["production_compilation"] = True
- # Model.model_parameters["utility_learning"] = True
+ Model.model_parameters["production_compilation"] = True
+ Model.model_parameters["utility_learning"] = True
# add_goal(goal, op, arg1, arg2)
add_proc(goal, "next_proc")