Commit 21fd0c53 by Steven Bird

support ADJ_SAT, as requested in…

support ADJ_SAT, as requested in http://stackoverflow.com/questions/26900954/why-cant-i-pass-wn-adj-sat-as-a-pos-when-requesting-synsets
parent 83f69cc3
...@@ -1615,6 +1615,8 @@ class WordNetCorpusReader(CorpusReader): ...@@ -1615,6 +1615,8 @@ class WordNetCorpusReader(CorpusReader):
ADJ: [('er', ''), ('est', ''), ('er', 'e'), ('est', 'e')], ADJ: [('er', ''), ('est', ''), ('er', 'e'), ('est', 'e')],
ADV: []} ADV: []}
MORPHOLOGICAL_SUBSTITUTIONS[ADJ_SAT] = MORPHOLOGICAL_SUBSTITUTIONS[ADJ]
def _morphy(self, form, pos): def _morphy(self, form, pos):
# from jordanbg: # from jordanbg:
# Given an original string x # Given an original string x
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment