DatabaseImportData#
- class montreal_forced_aligner.data.DatabaseImportData(speaker_objects=<factory>, file_objects=<factory>, text_file_objects=<factory>, sound_file_objects=<factory>, speaker_ordering_objects=<factory>, utterance_objects=<factory>, phone_interval_objects=<factory>, word_interval_objects=<factory>)[source]#
Bases:
objectClass for storing information on importing data into the database
- Parameters:
speaker_objects (list[dict[str, Any]]) – List of dictionaries with
Speakerpropertiesfile_objects (list[dict[str, Any]]) – List of dictionaries with
Filepropertiestext_file_objects (list[dict[str, Any]]) – List of dictionaries with
TextFilepropertiessound_file_objects (list[dict[str, Any]]) – List of dictionaries with
SoundFilepropertiesspeaker_ordering_objects (list[dict[str, Any]]) – List of dictionaries with
SpeakerOrderingpropertiesutterance_objects (list[dict[str, Any]]) – List of dictionaries with
Utterancepropertiesphone_interval_objects (list[dict[str, Any]]) – List of dictionaries with
PhoneIntervalproperties
- add_objects(other_import)[source]#
Combine objects for two importers
- Parameters:
other_import (
DatabaseImportData) – Other object with objects to import