MCPcopy Index your code
hub / github.com/clips/pattern / test_normalize

Method test_normalize

test/test_en.py:958–962  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

956 pass
957
958 def test_normalize(self):
959 # Assert normalization of simple diacritics (WordNet does not store diacritics).
960 self.assertEqual(en.wordnet.normalize(u"cliché"), "cliche")
961 self.assertEqual(en.wordnet.normalize(u"façade"), "facade")
962 print "pattern.en.wordnet.normalize()"
963
964 def test_version(self):
965 print "WordNet " + en.wordnet.VERSION

Callers

nothing calls this directly

Calls 1

normalizeMethod · 0.45

Tested by

no test coverage detected