Always create the "groups" set for new elements.

This allows a smaller initial knowledge base.
This commit is contained in:
kenkeiras 2017-05-24 22:25:53 +02:00
parent a7f70d2888
commit 8e304b2a09
2 changed files with 4 additions and 16 deletions

View file

@ -648,33 +648,21 @@ base_knowledge = {
'icecream': {
"groups": {'noun', 'object', 'comestible', 'sweet'},
},
'cold': {
"groups": {'property', 'temperature'},
},
'hot': {
"groups": {'property', 'temperature'},
},
'summer': {
"groups": {'epoch'},
},
'earth': {
"groups": {'noun', 'object', 'planet'},
},
'planet': {
"groups": {'noun', 'group'},
},
'color': {
"groups": {'property', 'group'},
},
'green': {
"groups": {'noun', 'color', 'concept'},
},
'fly': {
"groups": {'verb'},
},
'chile': {
"groups": {'noun'},
},
}
def main():