Save structural elements.
This commit is contained in:
parent
fc37450565
commit
40b63128af
2 changed files with 11 additions and 1 deletions
|
@ -99,7 +99,7 @@ def integrate_token_to_text_matching(knowledge_base, text, tokens):
|
|||
elements.append(texts[i])
|
||||
i += 1
|
||||
|
||||
knowledge_base.tokenization.add(tuple(elements))
|
||||
knowledge_base.add_tokenization(tuple(elements))
|
||||
|
||||
def pick_one_tokenization(options):
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue