extract_state_tying_from_dataset

class extract_state_tying_from_dataset.OrthHandler(lexicon, si_label=None, allo_num_states=3, allo_context_len=1)[source]
all_allophone_variations(phon, states=None)[source]
allo_add_all = False[source]
expected_num_labels_for_monophone_state_tying()[source]
iter_orth(orth)[source]
orth_to_allophone_states(orth)[source]
Parameters:orth (str) – orthography as a str. orth.split() should give words in the lexicon
Return type:list[AllophoneState]

:returns allophone state list. those will have repetitions etc

extract_state_tying_from_dataset.get_segment_name(tree)[source]
extract_state_tying_from_dataset.iter_bliss_orth(filename)[source]
extract_state_tying_from_dataset.iter_dataset_targets(dataset)[source]
extract_state_tying_from_dataset.main()[source]