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

Add CTC-LM-beam-search decoder. #2230

Closed
xinghai-sun opened this issue May 22, 2017 · 0 comments · Fixed by PaddlePaddle/models#59
Closed

Add CTC-LM-beam-search decoder. #2230

xinghai-sun opened this issue May 22, 2017 · 0 comments · Fixed by PaddlePaddle/models#59
Assignees

Comments

@xinghai-sun
Copy link
Contributor

  • The current paddle.layer.beam_search decoder only supports frame-wise decoding, not CTC decoding.
  • Add paddle.layer.ctc_beam_search to support CTC beam search decoding, with external language model scorer and word-count scorer. Please refer to Prefix Beam Search, CTC paper, and DS2 paper
  • It would be better to re-design the above layers, and provide a more general interfaces for beam search with any external custom scoring function.
  • Keep in mind that it would be better if it is compatible with both English (word-based LM) and Madarin (character-based LM).
  • Please add a design-doc here first, illustrating:
    • the algorithm of CTC prefix beam search with LM and WordCount;
    • how to design a general beam search interface.
  • This can also be used to improve the current OCR model performance.
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

Successfully merging a pull request may close this issue.

3 participants