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

#OPENNLP-1199 Correct Loop Bounds for NgramGenerator.generate function #318

Merged
merged 1 commit into from
May 22, 2018

Conversation

PrachiPrakash
Copy link
Contributor

A small Improvement to NGramGenerators generate function which saves one if comparision

@kojisekig
Copy link
Member

+1 lgtm

@danielruss
Copy link
Contributor

Thank you for the PR.

This needs to be squashed so that there is only one comment in the commit. Also, Please create a JIRA ticket (http://opennlp.apache.org > Development > click on create a JIRA issue hyperlink). Then change the name of the PR something a little for informative like "#XXX correct loop bounds" where XXX is the JIRA issue number. Of course, you don't need to use exactly "correct loop bounds".

@PrachiPrakash PrachiPrakash changed the title N gram generator enhance #OPENNLP-1199 Correct Loop Bounds for NgramGenerator.generate function May 21, 2018
@PrachiPrakash
Copy link
Contributor Author

@danielruss squashed the previous commits into one and also created a JIRA issue. Can you please verify.

@jzonthemtn
Copy link
Contributor

@PrachiPrakash Thanks for the PR! Does this impact any existing unit tests?

@PrachiPrakash
Copy link
Contributor Author

@jzonthemtn No, it doesn't impact any existing unit test

@kottmann
Copy link
Member

Commit message is not in the usual format, we can change it by using "Squash and merge".

Copy link
Member

@kottmann kottmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 lgtm

@kottmann kottmann merged commit 79237dc into apache:master May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants