Searched refs:patmap (Results 1 – 1 of 1) sorted by relevance
/frameworks/minikin/tools/ |
D | mk_hyb_file.py | 347 def generate_trie(hyph, ch_map, n_trie, dedup_ix, dedup_nodes, patmap): argument 360 pat_array[ix] = patmap[pat_to_binary(node.res)] 380 patmap = {b'': 0} 390 if pat_str not in patmap: 400 patmap[pat_str] = len(pat_array) 407 return patmap, b''.join(result) 415 patmap, pattern = generate_pattern([n.res for n in hyph.node_list]) 416 trie = generate_trie(hyph, ch_map, n_trie, dedup_ix, dedup_nodes, patmap)
|