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

LanguageModelFF should compute partial n-grams #169

Open
mjpost opened this issue Oct 16, 2014 · 0 comments
Open

LanguageModelFF should compute partial n-grams #169

mjpost opened this issue Oct 16, 2014 · 0 comments
Milestone

Comments

@mjpost
Copy link
Member

mjpost commented Oct 16, 2014

Incomplete n-grams have no estimate, which creates a problem when comparing small phrases (early in decoding) and for short sentences. To fix this, the LanguageModelFF should compute partial n-gram scores, caching the result and the n-gram length in the DP state so that it can be subtracted off later.

Another advantage of this is that it would likely allow a large simplification of the FeatureFunction interface, since we would no longer need a computeFinal distinction

@mjpost mjpost added this to the 6.0 milestone Oct 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant