Fix morph rules

This commit is contained in:
Matthew Honnibal 2019-08-28 16:59:45 +02:00
parent 6b2ea883ed
commit 782056d117
1 changed files with 3 additions and 2 deletions

View File

@ -73,10 +73,11 @@ _subordinating_conjunctions = [
"will",
]
_relative_pronouns = ["this", "that", "those", "these"]
# This seems kind of wrong too?
#_relative_pronouns = ["this", "that", "those", "these"]
MORPH_RULES = {
"DT": {word: {"POS": "PRON"} for word in _relative_pronouns},
#"DT": {word: {"POS": "PRON"} for word in _relative_pronouns},
"IN": {word: {"POS": "SCONJ"} for word in _subordinating_conjunctions},
"NN": {
"something": {"POS": "PRON"},