Module ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad orelse Expr Call NameLoad Str Return orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore ListComp ListComp ListLoad comprehension NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpAdd NameLoad Str BinOpAdd NameLoad Str BinOpAdd NameLoad Str BinOpAdd NameLoad Str For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Call AttributeLoad Str attr NameLoad Str Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Call NameLoad SubscriptLoad NameLoad Index Num attr Call NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Lambda arguments args defaults Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Str attr Assert CompareEq Call NameLoad NameLoad Num Call AttributeLoad Str attr NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign SubscriptStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num Index SubscriptLoad NameLoad Index Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpOr CompareNotIn Str NameLoad CompareNotIn Str NameLoad body Expr Call NameLoad Str Assert CompareEq Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Index NameLoad Assign NameStore ListComp SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Index NameLoad comprehension NameStore NameLoad Assign NameStore ListComp SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num orelse Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list decorator_list
N/A __future__ print_function N/A numpy np collections defaultdict marmot.util.alignments train_alignments marmot.util.force_align Aligner marmot.representations.representation_generator RepresentationGenerator marmot.experiment.import_utils mk_tmp_dir AlignmentRepresentationGenerator N/A RepresentationGenerator N/A __init__ N/A N/A self lex_file align_model src_file tg_file tmp_dir N/A None None None None N/A N/A tmp_dir N/A mk_tmp_dir tmp_dir N/A N/A align_model None N/A N/A N/A N/A src_file None N/A tg_file None N/A N/A N/A self align_model N/A train_alignments src_file tg_file tmp_dir align_model align_model N/A N/A N/A print Alignment model not defined, no files for training N/A N/A N/A N/A self align_model align_model N/A N/A self lex_prob N/A N/A self get_align_prob lex_file N/A get_alignments N/A N/A self src tg align_model N/A N/A N/A alignments N/A N/A N/A N/A j N/A range N/A len N/A tg N/A i N/A i N/A range N/A len tg N/A aligner N/A Aligner N/A align_model .fwd_params N/A align_model .fwd_err N/A align_model .rev_params N/A align_model .rev_err N/A N/A idx N/A src_list tg_list N/A enumerate N/A zip src tg N/A N/A align_string N/A N/A aligner align N/A N/A N/A N/A join src_list  |||  N/A N/A join tg_list N/A pairs N/A N/A align_string split N/A p_str pairs N/A N/A p N/A N/A p_str split - N/A N/A N/A N/A N/A alignments N/A idx N/A N/A int N/A p N/A 1 append N/A int N/A p N/A 0 N/A N/A N/A aligner close N/A alignments N/A get_align_prob N/A N/A self lex_file N/A N/A N/A lex_dict N/A defaultdict N/A N/A N/A N/A N/A defaultdict float N/A line N/A open lex_file N/A N/A chunks N/A N/A N/A N/A N/A line N/A -1 decode utf-8 split N/A N/A N/A len chunks 3 N/A N/A Wrong format of the lex file: 
{} format line N/A val N/A float N/A chunks N/A 2 N/A N/A N/A lex_dict N/A N/A chunks N/A 0 N/A N/A chunks N/A 1 val N/A lex_dict N/A generate N/A N/A self data_obj N/A N/A N/A N/A N/A target data_obj N/A source data_obj N/A N/A N/A print No target or source N/A N/A N/A len N/A data_obj N/A target N/A len N/A data_obj N/A source N/A all_alignments N/A N/A self get_alignments N/A data_obj N/A source N/A data_obj N/A target N/A self align_model N/A unique_alignments N/A N/A N/A seq_idx al_sequence N/A enumerate all_alignments N/A N/A seq_alignments N/A N/A N/A w_idx al_list N/A enumerate al_sequence N/A N/A N/A N/A len al_list 1 N/A N/A target_word N/A N/A N/A data_obj N/A target N/A seq_idx N/A w_idx N/A source_words N/A N/A N/A N/A data_obj N/A source N/A seq_idx N/A i N/A i al_list N/A probs N/A N/A N/A N/A self lex_prob N/A target_word N/A s N/A s source_words N/A N/A N/A seq_alignments append N/A al_list N/A N/A N/A np argmax probs N/A N/A N/A N/A len al_list 0 N/A N/A N/A N/A seq_alignments append None N/A N/A N/A N/A len al_list 1 N/A N/A N/A N/A seq_alignments append N/A al_list N/A 0 N/A N/A N/A print Golakteko opasnoste! N/A N/A N/A unique_alignments append seq_alignments N/A N/A data_obj N/A alignments unique_alignments N/A data_obj N/A N/A