def test_parse_13(self): self.assertEqual( PREGNANCY_STATE.parse("; not visibly pregnant,"), [Trait(value="not pregnant", start=2, end=22)], )
def test_parse_11(self): self.assertEqual( PREGNANCY_STATE.parse("possible early pregnancy"), [Trait(value="pregnant", start=15, end=24)], )
def test_parse_12(self): self.assertEqual( PREGNANCY_STATE.parse(",prob. pregnant,"), [Trait(value="pregnant", start=7, end=15)], )
def test_parse_08(self): self.assertEqual( PREGNANCY_STATE.parse("IMPREGNATED WITH POLYVINYL ACETATE"), [] )
def test_parse_10(self): self.assertEqual( PREGNANCY_STATE.parse("No NK# assigned previously, pregnant"), [Trait(value="pregnant", start=28, end=36)], )
def test_parse_15(self): self.assertEqual( PREGNANCY_STATE.parse("males and a pregnant female,"), [Trait(value="pregnant", start=12, end=20)], )
def test_parse_18(self): self.assertEqual( PREGNANCY_STATE.parse("number 2859; female; no pregnancies"), [Trait(value="not pregnant", start=21, end=35)], )
def test_parse_04(self): self.assertEqual( PREGNANCY_STATE.parse("Box ID: UAFWALR34. Recent Pregnancy."), [Trait(value="pregnant", start=26, end=35)], )
def test_parse_05(self): self.assertEqual( PREGNANCY_STATE.parse("probably pregnant"), [Trait(value="pregnant", start=9, end=17)], )
def test_parse_02(self): self.assertEqual( PREGNANCY_STATE.parse("not pregnant; not lactating"), [Trait(value="not pregnant", start=0, end=12)], )
def test_parse_03(self): self.assertEqual( PREGNANCY_STATE.parse("non-lactating, non-pregnant"), [Trait(value="not pregnant", start=15, end=27)], )
def test_parse_22(self): self.assertEqual( PREGNANCY_STATE.parse("non parous"), [] # [Trait(value="not pregnant", start=0, end=10)], )
def test_parse_20(self): self.assertEqual( PREGNANCY_STATE.parse("reproductive data=At least primiparous"), [] # [Trait(value="pregnant", start=27, end=38)], )
def test_parse_19(self): self.assertEqual( PREGNANCY_STATE.parse("reproductive data=Not gravid"), [Trait(value="not pregnant", start=18, end=28)], )
def test_parse_14(self): self.assertEqual( PREGNANCY_STATE.parse("No evidence of pregnancy,"), [Trait(value="not pregnant", start=0, end=24)], )
def test_parse_06(self): self.assertEqual( PREGNANCY_STATE.parse("Fox was pregnant, but"), [Trait(value="pregnant", start=8, end=16)], )
def test_parse_01(self): self.assertEqual( PREGNANCY_STATE.parse("pregnant; 4 emb 3L 1R"), [Trait(value="pregnant", start=0, end=8)], )
def test_parse_07(self): self.assertEqual( PREGNANCY_STATE.parse("GMU catalog. Pregnant?"), [Trait(value="pregnant", start=14, end=22)], )
def test_parse_16(self): self.assertEqual( PREGNANCY_STATE.parse("pregnancy not evident"), [Trait(value="not pregnant", start=0, end=13)], )
def test_parse_17(self): self.assertEqual( PREGNANCY_STATE.parse("*Two pregnancies were visible on uterus."), [Trait(value="pregnant", start=5, end=16)], )