Code2Flow: Found 4 files from sources argument.
Code2Flow: Implicitly detected language as 'py'.
Code2Flow: Processing 4 source file(s).
Code2Flow:   /Users/yixuanyan/yyx/github/jarvis/Jarvis/dataset/macro_benchmark/pj/TextRank4ZH/textrank4zh/Segmentation.py
Code2Flow:   /Users/yixuanyan/yyx/github/jarvis/Jarvis/dataset/macro_benchmark/pj/TextRank4ZH/textrank4zh/TextRank4Keyword.py
Code2Flow:   /Users/yixuanyan/yyx/github/jarvis/Jarvis/dataset/macro_benchmark/pj/TextRank4ZH/textrank4zh/TextRank4Sentence.py
Code2Flow:   /Users/yixuanyan/yyx/github/jarvis/Jarvis/dataset/macro_benchmark/pj/TextRank4ZH/textrank4zh/util.py
Code2Flow: Duplicate group name 'Segmentation'. Naming collision possible.
Code2Flow: Duplicate group name 'TextRank4Keyword'. Naming collision possible.
Code2Flow: Duplicate group name 'TextRank4Sentence'. Naming collision possible.
Code2Flow: Found groups ['File: Segmentation', 'Class: WordSegmentation', 'Class: SentenceSegmentation', 'Class: Segmentation', 'File: TextRank4Keyword', 'Class: TextRank4Keyword', 'File: TextRank4Sentence', 'Class: TextRank4Sentence', 'File: util', 'Class: AttrDict'].
Code2Flow: Found nodes ['(global)', '(global)', '(global)', '(global)', 'AttrDict.__init__', 'Segmentation.__init__', 'Segmentation.segment', 'SentenceSegmentation.__init__', 'SentenceSegmentation.segment', 'TextRank4Keyword.__init__', 'TextRank4Keyword.analyze', 'TextRank4Keyword.get_keyphrases', 'TextRank4Keyword.get_keywords', 'TextRank4Sentence.__init__', 'TextRank4Sentence.analyze', 'TextRank4Sentence.get_key_sentences', 'WordSegmentation.__init__', 'WordSegmentation.segment', 'WordSegmentation.segment_sentences', 'as_text', 'combine', 'debug', 'get_default_stop_words_file', 'get_similarity', 'is_text', 'sort_sentences', 'sort_words'].
Code2Flow: Found calls ['AttrDict()', 'Segmentation()', 'SentenceSegmentation()', 'UNKNOWN_VAR.__init__()', 'UNKNOWN_VAR.join()', 'ValueError()', 'WordSegmentation()', 'abs()', 'codecs.open()', 'combine()', 'debug()', 'float()', 'get_default_stop_words_file()', 'isinstance()', 'keyphrases.add()', 'len()', 'list()', 'math.log()', 'np.zeros()', 'nx.from_numpy_matrix()', 'nx.pagerank()', 'one.append()', 'os.dirname()', 'os.join()', 'os.realpath()', 'print()', 'pseg.cut()', 'reload()', 'res.append()', 'result.append()', 's.strip()', 'scores.items()', 'self.add()', 'self.count()', 'self.get_keywords()', 'self.segment()', 'self.segment_sentences()', 'seq.split()', 'set()', 'sim_func()', 'sorted()', 'sorted_sentences.append()', 'sorted_words.append()', 'str()', 'sum()', 'super()', 'sys.setdefaultencoding()', 'type()', 'util.AttrDict()', 'util.as_text()', 'util.debug()', 'util.sort_sentences()', 'util.sort_words()', 'v.decode()', 'w.strip()', 'word.lower()', 'word.strip()', 'word_list1.count()', 'word_list2.count()', 'xrange()', 'zip()'].
Code2Flow: Found variables ['Segmentation->Segmentation', 'absolute_import->UNKNOWN_MODULE', 'co_occur_num-><Call owner_token=None token=sum>', 'codecs->UNKNOWN_MODULE', 'd-><Call owner_token=os token=dirname>', 'division->UNKNOWN_MODULE', 'graph-><Call owner_token=np token=zeros>', 'item->AttrDict', 'jieba_result-><Call owner_token=pseg token=cut>', 'keyphrases-><Call owner_token=None token=set>', 'keywords_set-><Call owner_token=None token=set>', 'math->UNKNOWN_MODULE', 'np->UNKNOWN_MODULE', 'nx->UNKNOWN_MODULE', 'nx_graph-><Call owner_token=nx token=from_numpy_matrix>', 'os->UNKNOWN_MODULE', 'print_function->UNKNOWN_MODULE', 'pseg->UNKNOWN_MODULE', 'res-><Call owner_token=None token=zip>', 'result-><Call owner_token=self token=segment>', 'scores-><Call owner_token=nx token=pagerank>', 'self->AttrDict', 'self->Segmentation', 'self->SentenceSegmentation', 'self->TextRank4Keyword', 'self->TextRank4Sentence', 'self->WordSegmentation', 'sentences-><Call owner_token=self token=segment>', 'sentences_num-><Call owner_token=None token=len>', 'similarity-><Call owner_token=None token=sim_func>', 'sorted_scores-><Call owner_token=None token=sorted>', 'sys->UNKNOWN_MODULE', 'text-><Call owner_token=util token=as_text>', 'unicode_literals->UNKNOWN_MODULE', 'util->util', 'words-><Call owner_token=None token=list>', 'words_all_filters-><Call owner_token=self token=segment_sentences>', 'words_no_filter-><Call owner_token=self token=segment_sentences>', 'words_no_stop_words-><Call owner_token=self token=segment_sentences>'].
Code2Flow: Skipped processing these calls because the algorithm linked them to multiple function definitions: ['UNKNOWN_VAR.__init__()', 'self.segment()'].
Code2Flow: Generating output file...
Code2Flow: Wrote output file '/Users/yixuanyan/yyx/github/jarvis/Jarvis/ps/TextRank4ZH/EA.json' with 20 nodes and 29 edges.
Code2Flow: Code2flow finished processing in 0.02 seconds.
real 0.11
user 0.09
sys 0.01
            14802944  maximum resident set size
                   0  average shared memory size
                   0  average unshared data size
                   0  average unshared stack size
                4938  page reclaims
                   0  page faults
                   0  swaps
                   0  block input operations
                   0  block output operations
                   0  messages sent
                   0  messages received
                   0  signals received
                   5  voluntary context switches
                  40  involuntary context switches
           745396531  instructions retired
           220264311  cycles elapsed
            10454208  peak memory footprint
