Pass tests using tokenization.
This commit is contained in:
parent
45cc3a8a31
commit
1306306723
4 changed files with 30 additions and 14 deletions
|
@ -668,6 +668,10 @@ base_knowledge = {
|
|||
'electricity': {
|
||||
"groups": {'power'},
|
||||
},
|
||||
'airplanes': {},
|
||||
'white': {
|
||||
'groups': {'property'},
|
||||
}
|
||||
}
|
||||
|
||||
def main():
|
||||
|
|
|
@ -22,4 +22,5 @@ def ask_then_learn_test(knowledge: KnowledgeBase):
|
|||
def main():
|
||||
knowledge = gac_100.main()
|
||||
|
||||
knowledge.knowledge['blue'] = {'groups': {'property'}}
|
||||
knowledge = ask_then_learn_test(knowledge)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue