Add interpretation phase to shallow (1 level) nested structures.
This commit is contained in:
parent
5f6b067e17
commit
42cb4cb8f1
3 changed files with 143 additions and 18 deletions
|
@ -48,6 +48,7 @@ class KnowledgeBase(object):
|
|||
|
||||
def process(self, row):
|
||||
knowledge_before = copy.deepcopy(self.knowledge)
|
||||
print("\x1b[7;32m> {} \x1b[0m".format(row))
|
||||
tokens, decomposition, inferred_tree = parsing.get_fit(self, row)
|
||||
result = knowledge_evaluation.integrate_information(self.knowledge,
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue