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

@ -22,7 +22,6 @@ class KnowledgeBase(object):
knowledge_before = copy.deepcopy(self.knowledge)
# Parse everything
parsed_examples = []
for example in examples:
# If there's parsed data, leverage it ASAP
if 'parsed' in example: