Lines Matching refs:hyph
276 hyph = Hyph()
280 hyph.add_pat(pat)
281 return hyph
305 def load_hyp(hyph, fn): argument
308 hyph.add_exception(l.strip())
347 def generate_trie(hyph, ch_map, n_trie, dedup_ix, dedup_nodes, patmap): argument
368 dedup_next = hyph.bfs_order[dedup_ix[next.bfs_ix]]
410 def generate_hyb_file(hyph, ch_map, hyb_fn): argument
411 bfs = hyph.bfs(ch_map)
412 dedup_ix, dedup_nodes = hyph.dedup()
413 n_trie = hyph.pack(dedup_nodes, ch_map)
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)
575 hyph = load(pat_fn)
580 load_hyp(hyph, hyp_fn)
581 generate_hyb_file(hyph, ch_map, out_fn)