示例#1
0
 def test_tag(self):
     # Assert [("le", "DT"), ("chat", "NN"), ("noir", "JJ")].
     v = fr.tag("le chat noir")
     self.assertEqual(v, [("le", "DT"), ("chat", "NN"), ("noir", "JJ")])
     print("pattern.fr.tag()")
示例#2
0
 def test_tag(self):
     # Assert [("le", "DT"), ("chat", "NN"), ("noir", "JJ")].
     v = fr.tag("le chat noir")
     self.assertEqual(v, [("le", "DT"), ("chat", "NN"), ("noir", "JJ")])
     print("pattern.fr.tag()")