Learn from tokenizations inferred.
This commit is contained in:
parent
6fb1e1e649
commit
d63781a0d2
3 changed files with 16 additions and 6 deletions
|
@ -7,6 +7,11 @@ BASIC_TOKENIZATION_EXAMPLES = (
|
|||
"text": 'cat',
|
||||
"tokens": ['cat'],
|
||||
}),
|
||||
({
|
||||
"text": 'cats',
|
||||
"tokens": ['cats'],
|
||||
"meaning": { 'cats': ('add-modifier', 'cat', 'plural') },
|
||||
}),
|
||||
({
|
||||
"text": 'text separated by spaces',
|
||||
"tokens": ['text', 'separated', 'by', 'spaces'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue