We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
extract-terms.js, specificity.js, and sum-up-freq.js use global variable (file-level) to perform accumulations (sums, counting, ...).
That implies that if used in a parallelized workflow (like, say, an ezs server), they may mix the countings, sums, of different inputs.
And that is not the intended way of use, since it will flaw the calculations.
Solution: integrate these global variables into the exported function's context (in its this), and initialize them when this.isFirst() is true.
this
this.isFirst()
true
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
extract-terms.js, specificity.js, and sum-up-freq.js use global variable (file-level) to perform accumulations (sums, counting, ...).
That implies that if used in a parallelized workflow (like, say, an ezs server), they may mix the countings, sums, of different inputs.
And that is not the intended way of use, since it will flaw the calculations.
Solution: integrate these global variables into the exported function's context (in its
this
), and initialize them whenthis.isFirst()
istrue
.The text was updated successfully, but these errors were encountered: