i6_core.mm.alignment
¶
- class i6_core.mm.alignment.AMScoresFromAlignmentLogJob(*args, **kwargs)¶
- run()¶
- tasks()¶
- Returns:
yields Task’s
- Return type:
list[sisyphus.task.Task]
- class i6_core.mm.alignment.AlignmentJob(*args, **kwargs)¶
- Parameters:
crp (rasr.crp.CommonRasrParameters) –
feature_flow –
feature_scorer (rasr.FeatureScorer) –
alignment_options (dict[str]) –
word_boundaries (bool) –
use_gpu (bool) –
rtf (float) –
extra_config –
extra_post_config –
- cleanup_before_run(cmd, retry, task_id, *args)¶
- classmethod create_config(crp, feature_flow, feature_scorer, alignment_options, word_boundaries, extra_config, extra_post_config, **kwargs)¶
- Parameters:
crp (rasr.crp.CommonRasrParameters) –
feature_flow –
feature_scorer (rasr.FeatureScorer) –
alignment_options (dict[str]) –
word_boundaries (bool) –
extra_config –
extra_post_config –
- Returns:
config, post_config
- Return type:
(rasr.RasrConfig, rasr.RasrConfig)
- create_files()¶
- classmethod create_flow(feature_flow, **kwargs)¶
- classmethod hash(kwargs)¶
- Parameters:
parsed_args (dict[str]) –
- Returns:
hash for job given the arguments
- Return type:
str
- run(task_id)¶
- tasks()¶
- Returns:
yields Task’s
- Return type:
list[sisyphus.task.Task]
- class i6_core.mm.alignment.DumpAlignmentJob(*args, **kwargs)¶
- cleanup_before_run(cmd, retry, task_id, *args)¶
- classmethod create_config(crp, extra_config, extra_post_config, **kwargs)¶
- create_files()¶
- classmethod create_flow(feature_flow, original_alignment, **kwargs)¶
- classmethod hash(kwargs)¶
- Parameters:
parsed_args (dict[str]) –
- Returns:
hash for job given the arguments
- Return type:
str
- run(task_id)¶
- tasks()¶
- Returns:
yields Task’s
- Return type:
list[sisyphus.task.Task]