Fix Issue #376: and/or was tagged as a noun.

This commit is contained in:
Matthew Honnibal 2016-11-04 15:21:28 +01:00
parent 737816e86e
commit f0917b6808
1 changed files with 6 additions and 0 deletions

View File

@ -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."