Pass tests using tokenization.

This commit is contained in:
kenkeiras 2018-04-15 21:10:49 +02:00
parent 45cc3a8a31
commit 1306306723
4 changed files with 30 additions and 14 deletions

View file

@ -668,6 +668,10 @@ base_knowledge = {
'electricity': {
"groups": {'power'},
},
'airplanes': {},
'white': {
'groups': {'property'},
}
}
def main():

View file

@ -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)