Skip to content

Commit

Permalink
support ADJ_SAT, as requested in http://stackoverflow.com/questions/2…
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbird committed Nov 14, 2014
1 parent 83f69cc commit 21fd0c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nltk/corpus/reader/wordnet.py
Expand Up @@ -1615,6 +1615,8 @@ def morphy(self, form, pos=None):
ADJ: [('er', ''), ('est', ''), ('er', 'e'), ('est', 'e')],
ADV: []}

MORPHOLOGICAL_SUBSTITUTIONS[ADJ_SAT] = MORPHOLOGICAL_SUBSTITUTIONS[ADJ]

def _morphy(self, form, pos):
# from jordanbg:
# Given an original string x
Expand Down

0 comments on commit 21fd0c5

Please sign in to comment.