Job#
- class montreal_forced_aligner.corpus.multiprocessing.Job(**kwargs)[source]#
Bases:
Base
Database class for storing information about multiprocessing jobs
- Parameters:
id (int) – Primary key
corpus_id (int) – Foreign key to
Corpus
corpus (
Corpus
) – Corpusutterances (list[
Utterance
]) – Utterances associated with the jobsymbols (list[
M2M2Job
]) – Symbols associated with the job in training phonetisaurus modelswords (list[
Word2Job
]) – Words associated with the job in training phonetisaurus models
- construct_dictionary_dependent_paths(directory, identifier, extension)[source]#
Helper function for constructing paths that depend only on the dictionaries of the job, and not the job name itself. These paths should be merged with all other jobs to get a full set of dictionary paths. :param directory: Directory to use as the root :type directory:
Path
:param identifier: Identifier for the path name, like ali or acc :type identifier: str :param extension: Extension of the path, like .scp or .ark :type extension: str