Extract more contextual info from the words.

A property dictionary is now only to be considered equal to a word
when it shares at least one group, or neither has groups.
This commit is contained in:
kenkeiras 2017-06-04 18:53:10 +02:00
parent d3b604efca
commit 0fbb9238eb
5 changed files with 36 additions and 6 deletions

View file

@ -98,6 +98,12 @@ base_knowledge = {
'fly': {
"groups": {'verb'},
},
'bus': {
"groups": {'noun'},
},
'run': {
"groups": {'verb'},
},
'swim': {
"groups": {'verb'},
},