Ejemplo n.º 1
0
 def __init__(self):
     """Initialize a :class:`Narrative` instance."""
     self.dist = []
     self._last_node = 0
     self.language = "en"
     self.maneuver = []
     self.mode = "car"
     self.time = []
     self.verbals = []
     self.voice_generator = poor.VoiceGenerator()
     self.x = []
     self.y = []
Ejemplo n.º 2
0
 def voice_tester_start(self):
     if self.voice_tester is not None: return
     self.voice_tester = poor.VoiceGenerator()
     return True
Ejemplo n.º 3
0
 def voice(self, engine):
     if engine not in self._voice:
         self._voice[engine] = poor.VoiceGenerator()
     return self._voice[engine]