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:
parent
d3b604efca
commit
0fbb9238eb
5 changed files with 36 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue