We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d74b29a commit ba18c70Copy full SHA for ba18c70
nltk/test/unit/test_wordnet.py
@@ -245,13 +245,6 @@ def test_iterable_type_for_all_lemma_names(self):
245
self.assertTrue(hasattr(cat_lemmas, "__next__") or hasattr(eng_lemmas, "next"))
246
self.assertTrue(cat_lemmas.__iter__() is cat_lemmas)
247
248
- def test_en_ptb_tags(self):
249
- # Common PTB tags (mapped in both PTB and Brown)
250
- self.assertEqual(wn.tag2pos("NN"), "n") # noun
251
- self.assertEqual(wn.tag2pos("VB"), "v") # verb
252
- self.assertEqual(wn.tag2pos("JJ"), "a") # adjective
253
- self.assertEqual(wn.tag2pos("RB"), "r") # adverb
254
-
255
def test_en_ptb_tags(self):
256
# Common PTB tags (mapped in both PTB and Brown)
257
self.assertEqual(wn.tag2pos("NN"), "n") # noun
0 commit comments