mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Fix Issue #376: and/or was tagged as a noun.
This commit is contained in:
parent
737816e86e
commit
f0917b6808
|
@ -112,6 +112,12 @@ TOKENIZER_INFIXES = (r'''\.\.\.+ (?<=[a-z])\.(?=[A-Z]) (?<=[a-zA-Z])-(?=[a-zA-z]
|
|||
|
||||
|
||||
TOKENIZER_EXCEPTIONS = {
|
||||
"and/or": [
|
||||
{
|
||||
"F": "and/or",
|
||||
"L": "and/or",
|
||||
"pos": "CC"
|
||||
}],
|
||||
"Ph.D.": [
|
||||
{
|
||||
"F": "Ph.D."
|
||||
|
|
Loading…
Reference in New Issue
Block a user