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

A script to compute sentence probs #92

Open
xiaohui-zhang opened this issue Jun 27, 2018 · 6 comments
Open

A script to compute sentence probs #92

xiaohui-zhang opened this issue Jun 27, 2018 · 6 comments

Comments

@xiaohui-zhang
Copy link

We need a script like rnnlm/compute_sentence_scores.sh in kaldi-rnnlm to compute scores on sentence level in a text file. A start point would be pocolm/scripts/get_data_prob.py which computes the prob of a whole text file. Dongji has offered to do this. Thanks.

@DongjiGao
Copy link

My ideas are 1) split the text file into sentences and call get_data_prob.py for each sentence 2) add an new argument (--sentence-prob) to get_data_prob.py and compute sentence probability inside it. Which one do you prefer? @danpovey And do we need to support utterance id?

@danpovey
Copy link
Owner

danpovey commented Jun 28, 2018 via email

@danpovey
Copy link
Owner

danpovey commented Jul 6, 2018 via email

@srgangireddy
Copy link

Hi, I wonder is this is implemented in get_data_prob.py? Thank you.

@danpovey
Copy link
Owner

danpovey commented Sep 7, 2020 via email

@srgangireddy
Copy link

ok. thanks for letting me know.

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

4 participants