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

splitted keyphrases recognized in wrong order #122

Closed
fcachereul opened this issue Apr 16, 2018 · 1 comment · Fixed by #306
Closed

splitted keyphrases recognized in wrong order #122

fcachereul opened this issue Apr 16, 2018 · 1 comment · Fixed by #306
Milestone

Comments

@fcachereul
Copy link

fcachereul commented Apr 16, 2018

When splitting a long keyphrase (kewords list language model) as told in language model tutorial, the recognized hypothesis is given in reversed order.
For example with the following keyphrases :
oh mighty /1e-20/
powerful computer /1e-20/
If I say "oh mighty powerful computer", the recognised hypothesis is "powerful computer oh mighty"

@dhdaines
Copy link
Contributor

Yes, I have also noticed this! Will try to fix for the release.

@dhdaines dhdaines added this to the 5.0.0 milestone Jun 13, 2022
dhdaines added a commit that referenced this issue Sep 29, 2022
…ized-in-wrong-order

Make seg_iter and hyp behave as expected in kws search (fixes #122)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants