def __init__(self, dtd_version=16):
     """! @brief Constructor.
     @return A LexicalResource instance.
     """
     self.dtdVersion = dtd_version
     ## GlobalInformation instance is owned by LexicalResource
     # There is one GlobalInformation for one LexicalResource
     self.global_information = GlobalInformation()
     ## Lexicon instances are owned by LexicalResource
     # There is one or more Lexicon instances for one unique LexicalResource
     self.lexicon = []
     ## Speaker instances are owned by LexicalResource
     # There is zero to many Speaker instances for one unique LexicalResource
     self.speaker = []
Beispiel #2
0
 def setUp(self):
     # Instantiate a GlobalInformation object
     self.global_information = GlobalInformation()