Exemplo n.º 1
0
 def from_utfgrid_string(cls, string):
     return cls.from_utfgrid(UTFGrid.from_string(string))
Exemplo n.º 2
0
 def from_utfgrid_file(cls, file):
     return cls.from_utfgrid(UTFGrid.from_file(file))
Exemplo n.º 3
0
 def setUp(self):
     self.utfgrid = UTFGrid.from_file(open('demo.json'))
Exemplo n.º 4
0
 def setUp(self):
     self.utfgrid = UTFGrid.from_file(open('europe.json'))
     self.pnggrid = PNGGrid.from_utfgrid_file(open('europe.json'))
Exemplo n.º 5
0
 def from_utfgrid_file(cls, file):
     return cls.from_utfgrid(UTFGrid.from_file(file))
Exemplo n.º 6
0
 def from_utfgrid_string(cls, string):
     return cls.from_utfgrid(UTFGrid.from_string(string))