You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It has been awhile since I worked on the code base. Can you provide an example that tests the differences in your suggestion and provide the information here in this issue?
php-text-analysis/src/Analysis/FreqDist.php
Lines 119 to 124 in 9b96d25
Perhaps there is a mistake.
array_walk
: If the optional third parameter is supplied, it will be passed as the third parameter to the callback funcname.So,
$weightPerToken
inside callback is just$this->totalTokens
not$this->getWeightPerToken()
.The text was updated successfully, but these errors were encountered: