Home
last modified time | relevance | path

Searched refs:patmap (Results 1 – 1 of 1) sorted by relevance

/frameworks/minikin/tools/
Dmk_hyb_file.py346 def generate_trie(hyph, ch_map, n_trie, dedup_ix, dedup_nodes, patmap): argument
359 pat_array[ix] = patmap[pat_to_binary(node.res)]
379 patmap = {b'': 0}
389 if pat_str not in patmap:
399 patmap[pat_str] = len(pat_array)
406 return patmap, b''.join(result)
414 patmap, pattern = generate_pattern([n.res for n in hyph.node_list])
415 trie = generate_trie(hyph, ch_map, n_trie, dedup_ix, dedup_nodes, patmap)