MCPcopy
hub / github.com/nltk/nltk / test_longid_simple

Method test_longid_simple

nltk/test/unit/test_verbnet.py:53–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51
52 # -- longid --
53 def test_longid_simple(self):
54 m = self.longid_re.match("confess-37.10")
55 assert m and m.group(1) == "confess" and m.group(2) == "37.10"
56
57 def test_longid_underscore(self):
58 m = self.longid_re.match("animal_sounds-38")

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected