AdolfVonKleist / Phonetisaurus

Phonetisaurus G2P
BSD 3-Clause "New" or "Revised" License
454 stars 122 forks source link

phonetisaurus-g2pfst result always empty #5

Closed Holzhaus closed 7 years ago

Holzhaus commented 9 years ago

The result from phonetisaurus-g2pfst seems to be always empty.

$ bin/phonetisaurus-g2pfst --model=/usr/share/phonetisaurus/scripts/g014b2b/g014b2b.fst --word=HELLO
GitRevision: 317a17

$ bin/phonetisaurus-g2pfst --model=/usr/share/phonetisaurus/scripts/g014b2b/g014b2b.fst --word=TEST 
GitRevision: 317a17

I looks like path_filter.ordered_paths.size() in PhonetisaurusScript.h is always 0.

alexnanchen commented 7 years ago

Same problem with revision: 6e5329-dirty.

Switching to phonetisaurus-g2p (older revision) and using the fst built with revision 6e5329 do output pronunciations.

Using openfst-1.4.1.

AdolfVonKleist commented 7 years ago

I believe this should be resolved in the current version of master tied to 1.6.1. However you would need to rebuild/retrain your models.