Hi,
in this PR, I added a new constructor that is useful for a library-like use of the PhonetisaurusScript class.
E.g. the model is stored in memory as VectorFst and cannot be easily loaded from a file.
I introduced also the private method normalizeModel() to avoid duplication of code between constructors.
Feedback is welcome!
Thank you for developing and maintaining Phonetisaurus!
Hi, in this PR, I added a new constructor that is useful for a library-like use of the and cannot be easily loaded from a file.
PhonetisaurusScript
class. E.g. the model is stored in memory as VectorFstI introduced also the private method
normalizeModel()
to avoid duplication of code between constructors.Feedback is welcome!
Thank you for developing and maintaining Phonetisaurus!