MCPcopy
hub / github.com/nltk/nltk / test_v21_animal_sounds_38

Method test_v21_animal_sounds_38

nltk/test/unit/test_verbnet.py:116–121  ·  view source on GitHub ↗

VerbNet 2.1: animal_sounds-38 (underscore in name, integer id)

(self)

Source from the content-addressed store, hash-verified

114 assert self.longid_re.match("31.2-1") is None
115
116 def test_v21_animal_sounds_38(self):
117 """VerbNet 2.1: animal_sounds-38 (underscore in name, integer id)"""
118 m = self.longid_re.match("animal_sounds-38")
119 assert m and m.group(1) == "animal_sounds" and m.group(2) == "38"
120 assert self.shortid_re.match("38")
121 assert self.longid_re.match("38") is None
122
123 def test_v21_weather_57(self):
124 """VerbNet 2.1: weather-57"""

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected