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

Adds relative occurrence #49

Merged
merged 32 commits into from
Oct 21, 2019
Merged

Conversation

da1nerd
Copy link
Contributor

@da1nerd da1nerd commented Oct 21, 2019

Related to unfoldingWord/translationCore#6237 (comment)

The Alignment Position algorithm was proving to be too strong and it was producing false positives when words with multiple occurrences where aligned together. In some cases wordMAP would predict out of order word occurrences.

  • This update adds a new algorithm that balances out the alignment position by dynamically evaluating the relative occurrence between two ngrams.
  • Also improve the algorithm execution performance and fixes some bugs.

This change is Reviewable

@da1nerd da1nerd merged commit c9ba591 into master Oct 21, 2019
@delete-merged-branch delete-merged-branch bot deleted the enhancement/joel/relative-occurrence branch October 21, 2019 09:14
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 this pull request may close these issues.

3 participants