You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@opennlp.apache.org by MT2015076 Prachi Prakash Mahapatro <Pr...@iiitb.org> on 2018/05/19 14:43:39 UTC

Small Enhancement to the NGramGenerator.generate method

Hello All,


I have a small improvement for NGramGenerator.generate function which will save a comparison while generating the N-grams from. Can you please review the PR.


PR: https://github.com/apache/opennlp/pull/318/

[https://avatars1.githubusercontent.com/u/5945132?s=400&v=4]<https://github.com/apache/opennlp/pull/318/>

N gram generator enhance by PrachiPrakash · Pull Request #318 · apache/opennlp<https://github.com/apache/opennlp/pull/318/>
github.com
A small Improvement to NGramGenerators generate function which saves one if comparision