Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why beam value 10000? #77

Open
Arraxx opened this issue Oct 26, 2022 · 0 comments
Open

why beam value 10000? #77

Arraxx opened this issue Oct 26, 2022 · 0 comments

Comments

@Arraxx
Copy link

Arraxx commented Oct 26, 2022

  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?

(

vector<PathData> Phoneticize (const string& word, int nbest = 1,
int beam = 10000, float threshold = 99,
bool write_fsts = false,
bool accumulate = false,
double pmass = 99.0) {
)

@AdolfVonKleist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant