i6_core.summary.wer

class i6_core.summary.wer.KaldiSummaryJob(*args, **kwargs)
Parameters:
  • (dict) (data) – contains strings at keys data[(col, row)]

  • (str) (header) – header of the first column

  • ([str]) (col_names) – list of columns in order of appearance

  • row_names([str]) – list of rows in order of appearance

  • sort_rows(bool) – if true, the rows will be sorted alphanumerically

  • sort_cols(bool) – if true, the columns will be sorted alphanumerically

run()
tasks()
Returns:

yields Task’s

Return type:

list[sisyphus.task.Task]

static wer(path)
class i6_core.summary.wer.PrintTableJob(*args, **kwargs)
Parameters:
  • (dict) (data) – contains strings at keys data[(col, row)]

  • (str) (header) – header of the first column

  • ([str]) (col_names) – list of columns in order of appearance

  • row_names([str]) – list of rows in order of appearance

  • sort_rows(bool) – if true, the rows will be sorted alphanumerically

  • sort_cols(bool) – if true, the columns will be sorted alphanumerically

run()
tasks()
Returns:

yields Task’s

Return type:

list[sisyphus.task.Task]

class i6_core.summary.wer.ScliteLurSummaryJob(*args, **kwargs)

Prints a table containing all sclite lur results :param data: {name:str , report_dir:str}

dict2table(dicts)

Gets a list of dictionarys and creates a table :param dicts: [{name : str , data : {col:float, col:float….} }, … ] :return:

parse_lur(file_path)
run()
tasks()
Returns:

yields Task’s

Return type:

list[sisyphus.task.Task]

class i6_core.summary.wer.ScliteSummaryJob(*args, **kwargs)
Parameters:
  • (dict) (data) – contains strings at keys data[(col, row)]

  • (str) (header) – header of the first column

  • ([str]) (col_names) – list of columns in order of appearance

  • row_names([str]) – list of rows in order of appearance

  • sort_rows(bool) – if true, the rows will be sorted alphanumerically

  • sort_cols(bool) – if true, the columns will be sorted alphanumerically

run()
tasks()
Returns:

yields Task’s

Return type:

list[sisyphus.task.Task]

static wer(path)
class i6_core.summary.wer.TableReport(header, precision=2)
add_entry(col, row, var)
update_names()