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

Method setUp

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

Source from the content-addressed store, hash-verified

555class TestParseTree(unittest.TestCase):
556
557 def setUp(self):
558 # Parse sentences to test on.
559 # Creating a Text creates Sentence, Chunk, PNP and Word.
560 # Creating a Sentence tests Sentence.append() and Sentence.parse_token().
561 self.text = "I'm eating pizza with a fork. What a tasty pizza!"
562 self.text = en.Text(en.parse(self.text, relations=True, lemmata=True))
563
564 def test_copy(self):
565 # Assert deepcopy of Text, Sentence, Chunk, PNP and Word.

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected