AdolfVonKleist / Phonetisaurus

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

why beam value 10000? #77

Open Arraxx opened 2 years ago

Arraxx commented 2 years ago
  1. In this Phoneticize function why the argument beam was passed as 10000? I want to use beam value 1000 as it is helping me to reduce the time to generate the corresponding phoneme for longer graphemes. But there is reduced number of n_best candidates for my grapheme data. How to maintain that while still using beam_value as 1000? By decreasing beam value by a factor of 10 I see the evaluation time also decrease by 10 but it also decrease the number of n_best candidates. Please help here.
  2. What is the threshold and pmass meaning here?

(https://github.com/AdolfVonKleist/Phonetisaurus/blob/f08d3dfb10b8d619e665a9581d2a327bcc2504f7/src/include/PhonetisaurusScript.h#L107-L111)

@AdolfVonKleist