Dig deeper in cut-by-token approach.
This commit is contained in:
parent
d601ae3f83
commit
998a183fd2
4 changed files with 86 additions and 16 deletions
|
@ -65,6 +65,8 @@ def main():
|
|||
with session().log(example['text']):
|
||||
tokens = list(knowledge.tokenize(example['text']))
|
||||
|
||||
print(tokens)
|
||||
print(example['tokens'])
|
||||
assert example['tokens'] == tokens
|
||||
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue