Module Import alias Import alias Import alias Import alias FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad Assign NameStore Dict Assign NameStore Dict Assign NameStore ListComp Num comprehension NameStore NameLoad Assign NameStore NameLoad Print Str Assign NameStore ListComp Call NameLoad NameLoad Str comprehension NameStore NameLoad While NameLoad body Assign NameStore NameLoad For NameStore NameLoad body If CompareNotEq NameLoad Num body Assign NameStore NameLoad Break If NameLoad body Break For TupleStore NameStore NameStore Call NameLoad NameLoad body If BoolOpOr CompareEq NameLoad Num CompareEq NameLoad Num body Continue Assign SubscriptStore NameLoad Index NameLoad Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index NameLoad Num Continue Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore BinOpAdd BinOpAdd NameLoad Str NameLoad If Call AttributeLoad NameLoad attr NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad ListLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq Call AttributeLoad NameLoad attr Str Num body Assign SubscriptStore NameLoad Index NameLoad Num If CompareEq Call NameLoad NameLoad Num body Continue Assign NameStore Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad Num For NameStore Call AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num If UnaryOpNot Call AttributeLoad NameLoad attr Str body AugAssignAdd NameStore Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad orelse Assign NameStore NameLoad Assign NameStore BinOpAdd NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str BinOpSub Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A os N/A sys N/A time N/A heapq read_n_merge N/A N/A fileLst N/A N/A N/A Read entries from the individual files and them counts on the fly N/A total_rules 0 N/A total_1nt_rules 0 N/A candLst N/A N/A ruleDict N/A N/A rulesDict1NT N/A N/A fileTrackLst N/A 1 N/A file fileLst N/A stop_iteration False N/A Reading rules and finding the total model size ... N/A fHLst N/A N/A open file r N/A file fileLst N/A True N/A N/A stop_iteration True N/A f_track fileTrackLst N/A N/A N/A f_track 9 N/A N/A stop_iteration False N/A N/A stop_iteration N/A N/A N/A N/A indx f_track N/A enumerate fileTrackLst N/A N/A N/A N/A f_track 0 N/A f_track 9 N/A N/A N/A N/A fileTrackLst N/A indx 0 N/A line N/A N/A N/A fHLst N/A indx readline N/A line N/A N/A line strip N/A N/A line N/A N/A N/A fileTrackLst N/A indx 9 N/A N/A N/A src tgt _ N/A N/A line split  |||  2 N/A rule N/A N/A src  |||  tgt N/A N/A N/A ruleDict has_key rule N/A N/A N/A ruleDict N/A rule N/A indx N/A N/A N/A ruleDict N/A rule N/A indx N/A N/A N/A heapq heappush candLst rule N/A N/A N/A N/A src find X__2 -1 N/A N/A N/A rulesDict1NT N/A rule 1 N/A N/A N/A len candLst 0 N/A N/A N/A popped_rule N/A N/A heapq heappop candLst N/A total_rules 1 N/A total_1nt_rules N/A N/A rulesDict1NT pop popped_rule 0 N/A indx1 N/A N/A ruleDict pop popped_rule N/A N/A N/A fileTrackLst N/A indx1 1 N/A fH fHLst N/A N/A N/A N/A fH close N/A N/A N/A N/A sys stdout write N/A Size of the original 2NT model   : %d
 total_rules N/A N/A N/A N/A sys stdout write N/A Size of the slimmer 1NT model    : %d
 total_1nt_rules N/A main N/A N/A N/A N/A N/A inDir N/A N/A sys argv N/A 1 N/A N/A N/A N/A inDir endswith / N/A N/A inDir / N/A fileLst N/A N/A file N/A N/A os listdir inDir N/A N/A N/A N/A file startswith tgt N/A N/A is_tgt_file True N/A N/A is_tgt_file False N/A file N/A inDir file N/A N/A N/A N/A os path isfile file N/A N/A N/A is_tgt_file N/A N/A N/A N/A fileLst append file N/A N/A N/A N/A sys stderr write N/A Total grammar files found: %d
 N/A len fileLst N/A t_beg N/A N/A time time N/A N/A read_n_merge fileLst N/A N/A N/A N/A sys stderr write N/A Total time taken         : %g
 N/A N/A N/A time time t_beg N/A N/A N/A __name__ __main__ N/A N/A N/A main