[ngrams] fix for grouping function for ngrams
For nearby terms ["a", "b", "c"]
we concatenated them into one
"a b c"
. Instead we should leave the singletons as well:
["a", "b", "b", "a b", "a c", "b c", "a b c"]
.
Related to #106 (closed)
For nearby terms ["a", "b", "c"]
we concatenated them into one
"a b c"
. Instead we should leave the singletons as well:
["a", "b", "b", "a b", "a c", "b c", "a b c"]
.
Related to #106 (closed)
Step 1. Fetch and check out the branch for this merge request
git fetch origin git checkout -b 106-dev-ngrams-score-fix origin/106-dev-ngrams-score-fix
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git fetch origin git checkout origin/dev git merge --no-ff 106-dev-ngrams-score-fix
Step 4. Push the result of the merge to GitLab
git push origin dev
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.
This will create a new commit in order to revert the existing changes.