SPRAAK
Functions
spr_mdt_make_cg Namespace Reference

Functions

def phon_split (wrd, phon)
 handling phone sequences More...
 
def read_ci_phon (fname)
 
def read_cds_phon (fname, ci, phon)
 reading the context dependent phone description More...
 
def read_questions (fname, phon)
 handling descision trees More...
 
def read_tree (tree, tree_seq, tree_param)
 
def get_leaves (cd, phon, tree, tree_param)
 
def cds_seg_make (seg, iseg, fname, phon3)
 auxilliary function to convert the segmentation for a phone#rel_state description to a new state based description More...
 
def task_split (parts, N)
 split a corpus/segmentation file in N sub-parts given a non-breakable grouping division in 'parts' parts (list of final entry indices for each part) More...
 
def thread_do (Nthread, todo_list)
 

Function Documentation

§ phon_split()

def spr_mdt_make_cg.phon_split (   wrd,
  phon 
)

handling phone sequences

§ read_ci_phon()

def spr_mdt_make_cg.read_ci_phon (   fname)

§ read_cds_phon()

def spr_mdt_make_cg.read_cds_phon (   fname,
  ci,
  phon 
)

reading the context dependent phone description

§ read_questions()

def spr_mdt_make_cg.read_questions (   fname,
  phon 
)

handling descision trees

§ read_tree()

def spr_mdt_make_cg.read_tree (   tree,
  tree_seq,
  tree_param 
)

§ get_leaves()

def spr_mdt_make_cg.get_leaves (   cd,
  phon,
  tree,
  tree_param 
)

§ cds_seg_make()

def spr_mdt_make_cg.cds_seg_make (   seg,
  iseg,
  fname,
  phon3 
)

auxilliary function to convert the segmentation for a phone#rel_state description to a new state based description

§ task_split()

def spr_mdt_make_cg.task_split (   parts,
  N 
)

split a corpus/segmentation file in N sub-parts given a non-breakable grouping division in 'parts' parts (list of final entry indices for each part)

§ thread_do()

def spr_mdt_make_cg.thread_do (   Nthread,
  todo_list 
)