G2PModel¶
- class aligner.models.G2PModel(source, is_tmpdir=False)[source]¶
Attributes
fst_path
meta
Methods
add
(source)Add file into archive
add_fst_model
(source)Add file into archive
add_meta_file
(dictionary)dump
(sink[, archive_fmt])Write archive to disk, and return the name of final archive
empty
(head)Initialize an archive using an empty directory
export_fst_model
(destination)validate
(corpus)