예제 #1
0
파일: test_corpus.py 프로젝트: ykl7/cltk
 def test_tonos_oxia_converter_reverse(self):
     """Test function converting tonos to oxia accent."""
     char_tonos = "ά"  # with tonos, for Modern Greek
     char_oxia = "ά"  # with oxia, for Ancient Greek
     corrected = tonos_oxia_converter(char_oxia, reverse=True)
     self.assertEqual(char_tonos, corrected)
예제 #2
0
파일: test_tmp.py 프로젝트: j-duff/cltk
 def test_tonos_oxia_converter_reverse(self):
     """Test function converting tonos to oxia accent."""
     char_tonos = "ά"  # with tonos, for Modern Greek
     char_oxia = "ά"  # with oxia, for Ancient Greek
     corrected = tonos_oxia_converter(char_oxia, reverse=True)
     self.assertEqual(char_tonos, corrected)