Module Import alias Import alias identifier Import alias identifier Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias identifier Import alias Import alias Import alias Import alias ImportFrom alias Assign NameStore Num ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Print Str TryFinally body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Num Index Num Print Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore BinOpDiv NameLoad Num Assign NameStore ListLoad Assign NameStore Num While CompareLt NameLoad BinOpMult NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd NameLoad Num finalbody Expr Call AttributeLoad NameLoad attr Print Str Assign NameStore ListLoad Assign NameStore NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Str Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Num For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpMult Num Call NameLoad SubscriptLoad NameLoad Index Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpMult Num Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str Str Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num Assign NameStore BinOpAdd NameLoad BinOpAdd BinOpSub NameLoad NameLoad Num Print Str NameLoad Assign NameStore Num For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore BinOpAdd BinOpSub BinOpDiv NameLoad Num BinOpDiv NameLoad Num Num Assign NameStore Num Assign NameStore NameLoad While CompareLt NameLoad BinOpAdd BinOpSub NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num AugAssignAdd NameStore Num orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Print Str Assign NameStore NameLoad Assign NameStore Num Assign NameStore NameLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword AttributeLoad NameLoad attr While CompareLt NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMult NameLoad Call AttributeLoad NameLoad attr Num AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad AugAssignSub NameStore NameLoad If CompareLt NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMult NameLoad Call AttributeLoad NameLoad attr BinOpSub Call NameLoad NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call NameLoad NameLoad Str Assign NameStore BinOpMult Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword TupleLoad Num Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpMult NameLoad Num attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num SubscriptLoad NameLoad Slice Num Num AugAssignAdd NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Assign NameStore Num Assign NameStore Num For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore Num Assign NameStore Num For NameStore Call NameLoad BinOpAdd NameLoad Num BinOpAdd NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad NameLoad AugAssignAdd NameStore Num orelse Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Num Assign NameStore Num For NameStore Call NameLoad Num AttributeLoad NameLoad attr body If CompareNotEq SubscriptLoad NameLoad Index NameLoad NameLoad body If CompareGtE NameLoad Num body Assign NameStore BinOpMult NameLoad Num Assign NameStore BinOpMult BinOpAdd BinOpSub NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Str Call NameLoad NameLoad Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse AugAssignAdd NameStore Num If CompareLt NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index BinOpSub AttributeLoad NameLoad attr Num If CompareGtE NameLoad Num body Assign NameStore BinOpMult BinOpAdd NameLoad Num Num Assign NameStore BinOpMult BinOpAdd BinOpSub NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Str Call NameLoad NameLoad Str Print Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call NameLoad Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Num For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Num For NameStore Call NameLoad Num AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str For NameStore Call NameLoad Num AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad SubscriptLoad NameLoad Index NameLoad Str Call NameLoad SubscriptLoad NameLoad Index NameLoad Str AugAssignAdd NameStore Num AugAssignAdd NameStore Num Print Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListComp Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad comprehension NameStore Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr AttributeLoad NameLoad attr For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Dict For NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Call NameLoad BinOpSub NameLoad NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Index Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad ListLoad attr SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice BinOpSub NameLoad NameLoad NameLoad Slice Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Call NameLoad BinOpMult BinOpDiv AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Index Num Expr Call AttributeLoad Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad ListLoad attr SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice BinOpMult BinOpDiv AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr Slice Assign NameStore Dict Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num For NameStore SubscriptLoad NameLoad Slice Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Print Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpDiv AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad For NameStore Call NameLoad Num NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num While BoolOpAnd CompareGt NameLoad Num CompareGt Call NameLoad AttributeLoad NameLoad attr Num body AugAssignAdd NameStore Num For NameStore Call NameLoad Num NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Num Assign NameStore NameLoad Assign NameStore NameLoad If CompareGt NameLoad Num body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr NameLoad AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If BoolOpAnd CompareIn NameLoad NameLoad CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad orelse If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse If CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse Continue Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore NameLoad orelse Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad BinOpAdd NameLoad Num NameLoad body Assign NameStore Num Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index NameLoad Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore NameLoad If CompareGt NameLoad Num body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num For NameStore AttributeLoad NameLoad attr body If BoolOpAnd CompareNotIn NameLoad NameLoad CompareNotEq NameLoad SubscriptLoad NameLoad Index Num CompareNotEq NameLoad SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Print Str ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Print Str BinOpSub Call AttributeLoad NameLoad attr NameLoad Print Str ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Print Str decorator_list FunctionDef arguments args defaults body Print Str Return decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Print Str Expr Call AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Print Str Expr Call AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Print Str Assign NameStore NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Print Str Expr Call AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Print Str Expr Call AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Print Str Expr Call AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Print Str Expr Call AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Assign NameStore Num TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Assign NameStore Num TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Assign NameStore Num TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Assign NameStore Num TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Assign NameStore Num Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Num TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Str ListLoad Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Str Assign NameStore NameLoad For TupleStore NameStore NameStore NameLoad body If CompareEq NameLoad Str body Assign NameStore NameLoad Assign NameStore NameLoad If CompareEq NameLoad Str body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num If UnaryOpNot NameLoad body Print Str orelse Print Str NameLoad Str TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print Str NameLoad Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad
N/A N/A unittest N/A pylab pl N/A matplotlib mpl N/A itertools N/A sys N/A math N/A timeit N/A copy N/A time N/A struct N/A scipy.stats.mstats stats N/A ConfigParser N/A os.path N/A getopt N/A h5py gmm_specializer.gmm * N/A MINVALUEFORMINUSLOG -1000.0 Diarizer N/A object N/A __init__ N/A N/A self f_file_name sp_file_name N/A N/A N/A f N/A open f_file_name rb N/A ...Reading in HTK feature file... N/A N/A N/A nSamples N/A N/A N/A struct unpack >i N/A N/A f read 4 N/A 0 N/A sampPeriod N/A N/A N/A struct unpack >i N/A N/A f read 4 N/A 0 N/A sampSize N/A N/A N/A struct unpack >h N/A N/A f read 2 N/A 0 N/A sampKind N/A N/A N/A struct unpack >h N/A N/A f read 2 N/A 0 N/A INFO: total number of frames read:  nSamples N/A N/A self total_num_frames nSamples N/A D N/A sampSize 4 N/A l N/A N/A count 0 N/A N/A count N/A nSamples D N/A N/A bFloat N/A N/A f read 4 N/A fl N/A N/A N/A struct unpack >f bFloat N/A 0 N/A N/A N/A l append fl N/A count N/A count 1 N/A N/A N/A N/A f close N/A ...Reading in speech/nonspeech file... N/A pruned_list N/A N/A num_speech_frames nSamples N/A sp_file_name N/A N/A sp N/A open sp_file_name r N/A l_start N/A N/A l_end N/A N/A num_speech_frames 0 N/A line sp N/A N/A s N/A N/A line split N/A st N/A N/A math floor N/A N/A 100 N/A float N/A s N/A 2 0.5 N/A en N/A N/A math floor N/A N/A 100 N/A float N/A N/A N/A s N/A 3 replace 0.5 N/A st1 N/A int st N/A en1 N/A int en N/A N/A N/A l_start append N/A st1 19 N/A N/A N/A l_end append N/A en1 19 N/A num_speech_frames N/A num_speech_frames N/A N/A en1 st1 1 N/A INFO: total number of speech frames:  num_speech_frames N/A total 0 N/A start l_start N/A N/A end N/A l_end N/A N/A N/A l_start index start N/A total N/A N/A N/A end 19 N/A start 19 1 N/A x 0 N/A index start N/A N/A x N/A N/A end start 19 N/A N/A N/A N/A pruned_list append N/A l N/A index N/A index 1 N/A x 1 N/A N/A pruned_list l N/A floatArray N/A N/A np array pruned_list dtype N/A np float32 N/A N/A self X N/A N/A floatArray reshape num_speech_frames D N/A N/A self N N/A N/A N/A self X shape N/A 0 N/A N/A self D N/A N/A N/A self X shape N/A 1 N/A write_to_RTTM N/A N/A self rttm_file_name sp_file_name meeting_name most_likely num_gmms seg_length N/A N/A N/A ...Writing out RTTM file... N/A duration seg_length N/A chunk 0 N/A end_chunk duration N/A max_gmm_list N/A N/A smoothed_most_likely N/A N/A np array N/A dtype N/A np float32 N/A N/A end_chunk N/A len most_likely N/A N/A chunk_arr N/A most_likely N/A N/A range chunk end_chunk N/A max_gmm N/A N/A N/A N/A stats mode chunk_arr N/A 0 N/A 0 N/A N/A N/A max_gmm_list append max_gmm N/A smoothed_most_likely N/A N/A np append smoothed_most_likely N/A max_gmm N/A N/A np ones 250 N/A chunk duration N/A end_chunk duration N/A end_chunk duration N/A N/A end_chunk N/A len most_likely N/A N/A chunk_arr N/A most_likely N/A N/A range end_chunk N/A len most_likely N/A max_gmm N/A N/A N/A N/A stats mode chunk_arr N/A 0 N/A 0 N/A N/A N/A max_gmm_list append max_gmm N/A smoothed_most_likely N/A N/A np append smoothed_most_likely N/A max_gmm N/A N/A np ones N/A N/A len most_likely end_chunk N/A most_likely smoothed_most_likely N/A out_file N/A open rttm_file_name w N/A with_non_speech N/A -1 N/A N/A np ones N/A self total_num_frames N/A sp_file_name N/A N/A speech_seg N/A N/A np loadtxt sp_file_name delimiter usecols N/A 2 3 N/A speech_seg_i N/A N/A N/A N/A np round N/A speech_seg 100 astype int32 N/A sizes N/A N/A np diff speech_seg_i N/A sizes N/A N/A sizes reshape N/A sizes size N/A offsets N/A N/A np cumsum sizes N/A offsets N/A N/A np hstack N/A 0 N/A offsets N/A 0 -1 N/A offsets N/A N/A np array N/A range N/A len offsets N/A speech_index 0 N/A counter 0 N/A pair speech_seg_i N/A N/A st N/A pair N/A 0 N/A en N/A pair N/A 1 N/A speech_index N/A offsets N/A counter N/A counter 1 N/A idx 0 N/A x N/A range N/A st 1 N/A en 1 N/A N/A N/A with_non_speech N/A x N/A most_likely N/A N/A speech_index idx N/A idx 1 N/A N/A with_non_speech most_likely N/A cnum N/A with_non_speech N/A 0 N/A cst 0 N/A cen 0 N/A i N/A range 1 N/A self total_num_frames N/A N/A N/A N/A with_non_speech N/A i cnum N/A N/A N/A cnum 0 N/A N/A start_secs N/A cst 0.01 N/A dur_secs N/A N/A N/A cen cst 2 0.01 N/A N/A N/A out_file write N/A N/A N/A N/A N/A N/A N/A N/A N/A SPEAKER  meeting_name  1  N/A str start_secs N/A str dur_secs  <NA> <NA>  speaker_ N/A str cnum  <NA>
 N/A cst i N/A cen i N/A cnum N/A with_non_speech N/A i N/A N/A cen 1 N/A N/A cst cen N/A N/A cnum N/A with_non_speech N/A N/A N/A self total_num_frames 1 N/A N/A cnum 0 N/A N/A start_secs N/A N/A cst 1 0.01 N/A dur_secs N/A N/A N/A cen cst 1 0.01 N/A N/A N/A out_file write N/A N/A N/A N/A N/A N/A N/A N/A N/A SPEAKER  meeting_name  1  N/A str start_secs N/A str dur_secs  <NA> <NA>  speaker_ N/A str cnum  <NA>
 N/A DONE writing RTTM file N/A write_to_GMM N/A N/A self gmmfile N/A N/A N/A gmm_f N/A open gmmfile w N/A N/A N/A gmm_f write N/A N/A Number of clusters:  N/A str N/A len N/A self gmm_list N/A cluster_count 0 N/A gmm N/A self gmm_list N/A N/A N/A N/A gmm_f write N/A N/A Cluster  N/A str cluster_count N/A means N/A N/A gmm components means N/A covars N/A N/A gmm components covars N/A weights N/A N/A gmm components weights N/A N/A N/A gmm_f write N/A N/A Number of Gaussians:  N/A str N/A gmm M N/A gmm_count 0 N/A g N/A range 0 N/A gmm M N/A N/A g_means N/A means N/A gmm_count N/A g_covar_full N/A covars N/A gmm_count N/A g_covar N/A N/A np diag g_covar_full N/A g_weight N/A weights N/A gmm_count N/A N/A N/A gmm_f write N/A N/A Gaussian:  N/A str gmm_count N/A N/A N/A gmm_f write N/A N/A Weight:  N/A str g_weight N/A f N/A range 0 N/A gmm D N/A N/A N/A N/A gmm_f write N/A N/A N/A N/A N/A N/A Feature  N/A str f  Mean  N/A str N/A g_means N/A f  Var  N/A str N/A g_covar N/A f N/A gmm_count 1 N/A cluster_count 1 N/A DONE writing GMM file N/A new_gmm N/A N/A self M cvtype N/A N/A N/A N/A self M M N/A N/A self gmm N/A GMM N/A self M N/A self D cvtype cvtype N/A new_gmm_list N/A N/A self M K cvtype N/A N/A N/A N/A self M M N/A N/A self init_num_clusters K N/A N/A self gmm_list N/A N/A GMM N/A self M N/A self D cvtype cvtype N/A i N/A range K N/A segment_majority_vote N/A N/A self interval_size em_iters N/A N/A N/A num_clusters N/A len N/A self gmm_list N/A likelihoods N/A N/A N/A N/A self gmm_list N/A 0 score N/A self X N/A g N/A N/A self gmm_list N/A 1 N/A N/A likelihoods N/A N/A np column_stack N/A likelihoods N/A N/A g score N/A self X N/A N/A num_clusters 1 N/A N/A most_likely N/A N/A np zeros N/A len N/A self X N/A N/A most_likely N/A N/A likelihoods argmax axis 1 N/A iter_training N/A N/A i N/A range interval_size N/A self N interval_size N/A N/A arr N/A N/A np array N/A most_likely N/A N/A range N/A i interval_size i N/A max_gmm N/A int N/A N/A N/A N/A stats mode arr N/A 0 N/A 0 N/A N/A N/A N/A N/A iter_training setdefault N/A N/A N/A self gmm_list N/A max_gmm max_gmm N/A append N/A N/A self X N/A N/A N/A i interval_size i N/A N/A arr N/A N/A np array N/A most_likely N/A N/A range N/A N/A N/A self N interval_size interval_size N/A self N N/A max_gmm N/A int N/A N/A N/A N/A stats mode arr N/A 0 N/A 0 N/A N/A N/A N/A N/A iter_training setdefault N/A N/A N/A self gmm_list N/A max_gmm max_gmm N/A append N/A N/A self X N/A N/A N/A N/A N/A self N interval_size interval_size N/A self N N/A N/A iter_bic_dict N/A N/A iter_bic_list N/A N/A N/A gp data_list N/A N/A iter_training iteritems N/A N/A g N/A gp N/A 0 N/A p N/A gp N/A 1 N/A cluster_data N/A data_list N/A 0 N/A d N/A data_list N/A 1 N/A N/A cluster_data N/A N/A np concatenate N/A cluster_data d N/A N/A N/A g train cluster_data max_em_iters em_iters N/A N/A N/A iter_bic_list append N/A g cluster_data N/A N/A iter_bic_dict N/A p cluster_data N/A N/A iter_bic_dict iter_bic_list most_likely N/A cluster N/A N/A self em_iters KL_ntop NUM_SEG_LOOPS_INIT NUM_SEG_LOOPS seg_length N/A N/A N/A  ====================== CLUSTERING ======================  N/A main_start N/A N/A time time N/A per_cluster N/A N/A self N N/A self init_num_clusters N/A init_training N/A zip N/A self gmm_list N/A N/A np vsplit N/A self X N/A range per_cluster N/A self N per_cluster N/A N/A g x init_training N/A N/A N/A N/A g train x max_em_iters em_iters N/A segment_iter N/A range 0 NUM_SEG_LOOPS_INIT N/A N/A N/A iter_bic_dict iter_bic_list most_likely N/A N/A self segment_majority_vote seg_length em_iters N/A best_BIC_score 1.0 N/A total_events 0 N/A total_loops 0 N/A N/A N/A best_BIC_score 0 N/A N/A len N/A self gmm_list 1 N/A N/A total_loops 1 N/A segment_iter N/A range 0 NUM_SEG_LOOPS N/A N/A N/A iter_bic_dict iter_bic_list most_likely N/A N/A self segment_majority_vote seg_length em_iters N/A best_merged_gmm None N/A best_BIC_score 0.0 N/A merged_tuple None N/A merged_tuple_indices None N/A N/A KL_ntop 0 N/A N/A top_K_gmm_pairs N/A N/A N/A N/A self gmm_list N/A 0 find_top_KL_pairs KL_ntop N/A self gmm_list N/A pair top_K_gmm_pairs N/A N/A score 0.0 N/A gmm1idx N/A pair N/A 0 N/A gmm2idx N/A pair N/A 1 N/A g1 N/A N/A self gmm_list N/A gmm1idx N/A g2 N/A N/A self gmm_list N/A gmm2idx N/A N/A N/A gmm1idx iter_bic_dict N/A gmm2idx iter_bic_dict N/A N/A d1 N/A iter_bic_dict N/A gmm1idx N/A d2 N/A iter_bic_dict N/A gmm2idx N/A data N/A N/A np concatenate N/A d1 d2 N/A N/A N/A gmm1idx iter_bic_dict N/A N/A data N/A iter_bic_dict N/A gmm1idx N/A N/A N/A gmm2idx iter_bic_dict N/A N/A data N/A iter_bic_dict N/A gmm2idx N/A N/A N/A N/A new_gmm score N/A compute_distance_BIC g1 g2 data em_iters N/A N/A score best_BIC_score N/A N/A best_merged_gmm new_gmm N/A merged_tuple N/A g1 g2 N/A merged_tuple_indices N/A gmm1idx gmm2idx N/A best_BIC_score score N/A N/A l N/A len iter_bic_list N/A gmm1idx N/A range l N/A N/A gmm2idx N/A range N/A gmm1idx 1 l N/A N/A score 0.0 N/A N/A g1 d1 N/A iter_bic_list N/A gmm1idx N/A N/A g2 d2 N/A iter_bic_list N/A gmm2idx N/A data N/A N/A np concatenate N/A d1 d2 N/A N/A new_gmm score N/A compute_distance_BIC g1 g2 data em_iters N/A N/A score best_BIC_score N/A N/A best_merged_gmm new_gmm N/A merged_tuple N/A g1 g2 N/A merged_tuple_indices N/A gmm1idx gmm2idx N/A best_BIC_score score N/A N/A best_BIC_score 0.0 N/A N/A gmms_with_events N/A N/A gp iter_bic_list N/A N/A N/A N/A gmms_with_events append N/A gp N/A 0 N/A g N/A self gmm_list N/A N/A N/A N/A g gmms_with_events N/A g N/A merged_tuple N/A 0 N/A g N/A merged_tuple N/A 1 N/A N/A N/A N/A N/A self gmm_list remove g N/A N/A N/A N/A self gmm_list remove N/A merged_tuple N/A 0 N/A N/A N/A N/A self gmm_list remove N/A merged_tuple N/A 1 N/A N/A N/A N/A self gmm_list append best_merged_gmm N/A  size of each cluster: N/A N/A g M N/A g N/A self gmm_list N/A === Total clustering time:  N/A N/A N/A time time main_start N/A === Final size of each cluster: N/A N/A g M N/A g N/A self gmm_list N/A most_likely N/A N/A print_usage N/A N/A N/A N/A N/A     ---------------------------------------------------------------------
    Speaker Diarization in Python with Asp and the GMM Specializer usage:
    ---------------------------------------------------------------------
    Arguments for the diarizer are parsed from a config file. 
    Default config file is diarizer.cfg, but you can pass your own file with the '-c' option. 
    Required is the config file header: [Diarizer] and the options are as follows:
    
    --- Required: ---
    basename: 	 Basename of the file to process
    mfcc_feats: 	 MFCC input feature file
    output_cluster: 	 Output clustering file
    gmm_output: 	 Output GMMs parameters file
    M_mfcc: 	 Amount of gaussains per model for mfcc
    initial_clusters: Number of initial clusters

    --- Optional: ---
    spnsp_file: 	 spnsp file (all features used by default)
    KL_ntop: 	 Nuber of combinations to evaluate BIC on
            	 0 to deactive KL-divergency (fastmatch-component)
    em_iterations: 	 Number of iterations for the standard
                  	 segmentation loop training (3 by default)
    num_seg_iters_init: 	 Number of majority vote iterations
                        	 in the initialization phase (2 by default)
    num_seg_iters: 	 Number of majority vote iterations
                   	 in the main loop (3 by default)
    seg_length: 	 Segment length for majority vote in frames
                	 (250 frames by default)

    For fastest performance, enable KL-divergency (KL_ntop = 3) and set
      	 num_seg_iters_init and num_seg_iters to 1
     N/A print_no_config N/A N/A N/A N/A N/A Please supply a config file with -c 'config_file_name.cfg'  N/A N/A get_config_params N/A N/A config N/A N/A N/A N/A N/A meeting_name N/A N/A config get Diarizer basename N/A N/A N/A N/A basename not specified in config file! exiting... N/A N/A N/A sys exit 2 N/A N/A N/A f N/A N/A config get Diarizer mfcc_feats N/A N/A N/A N/A Feature file mfcc_feats not specified in config file! exiting... N/A N/A N/A sys exit 2 N/A N/A N/A sp N/A N/A config get Diarizer spnsp_file N/A N/A N/A N/A Speech file spnsp_file not specified, continuing without it... N/A sp False N/A N/A N/A outfile N/A N/A config get Diarizer output_cluster N/A N/A N/A N/A output_cluster file not specified in config file! exiting... N/A N/A N/A sys exit 2 N/A N/A N/A gmmfile N/A N/A config get Diarizer gmm_output N/A N/A N/A N/A gmm_output file not specified in config file! exiting... N/A N/A N/A sys exit 2 N/A N/A N/A num_gmms N/A int N/A N/A config get Diarizer initial_clusters N/A N/A N/A N/A initial_clusters not specified in config file! exiting... N/A N/A N/A sys exit 2 N/A N/A N/A num_comps N/A int N/A N/A config get Diarizer M_mfcc N/A N/A N/A N/A M_mfcc not specified in config file! exiting... N/A N/A N/A sys exit 2 N/A N/A N/A kl_ntop N/A int N/A N/A config get Diarizer KL_ntop N/A N/A N/A N/A kl_ntop 0 N/A N/A N/A num_seg_iters_init N/A int N/A N/A config get Diarizer num_seg_iters_init N/A N/A N/A N/A num_seg_iters_init 2 N/A N/A N/A num_seg_iters N/A int N/A N/A config get Diarizer num_seg_iters N/A N/A N/A N/A num_seg_iters 3 N/A N/A N/A num_em_iters N/A int N/A N/A config get Diarizer em_iterations N/A N/A N/A N/A num_em_iters 3 N/A N/A N/A seg_length N/A int N/A N/A config get Diarizer seg_length N/A N/A N/A N/A seg_length 250 N/A N/A meeting_name f sp outfile gmmfile num_gmms num_comps num_em_iters kl_ntop num_seg_iters_init num_seg_iters seg_length N/A N/A N/A __name__ __main__ N/A N/A device_id 0 N/A N/A N/A N/A opts args N/A N/A getopt getopt N/A N/A sys argv N/A 1 c: N/A help N/A N/A N/A N/A getopt GetoptError N/A err N/A N/A N/A print_no_config N/A N/A N/A sys exit 2 N/A config_file diarizer.cfg N/A config_specified False N/A N/A o a opts N/A N/A N/A o -c N/A N/A config_file a N/A config_specified True N/A N/A o --help N/A N/A N/A print_usage N/A N/A N/A sys exit 2 N/A N/A config_specified N/A N/A No config file specified, using defaul 'diarizer.cfg' file N/A N/A Using the config file specified: ' config_file ' N/A N/A N/A N/A open config_file N/A N/A N/A IOError N/A err N/A N/A Error! Config file: ' config_file ' does not exist N/A N/A N/A sys exit 2 N/A config N/A N/A ConfigParser ConfigParser N/A N/A N/A config read config_file N/A N/A meeting_name f sp outfile gmmfile num_gmms num_comps num_em_iters kl_ntop num_seg_iters_init num_seg_iters seg_length N/A get_config_params config N/A diarizer N/A Diarizer f sp N/A N/A N/A diarizer new_gmm_list num_comps num_gmms diag N/A most_likely N/A N/A diarizer cluster num_em_iters kl_ntop num_seg_iters_init num_seg_iters seg_length N/A N/A N/A diarizer write_to_RTTM outfile sp meeting_name most_likely num_gmms seg_length N/A N/A N/A diarizer write_to_GMM gmmfile