mirror of https://github.com/explosion/spaCy.git
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 = {
|
TOKENIZER_EXCEPTIONS = {
|
||||||
|
"and/or": [
|
||||||
|
{
|
||||||
|
"F": "and/or",
|
||||||
|
"L": "and/or",
|
||||||
|
"pos": "CC"
|
||||||
|
}],
|
||||||
"Ph.D.": [
|
"Ph.D.": [
|
||||||
{
|
{
|
||||||
"F": "Ph.D."
|
"F": "Ph.D."
|
||||||
|
|
Loading…
Reference in New Issue