Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
coord(
integer $overlap, integer $maxOverlap
)
:
float
Implemented as 'overlap/maxOverlap'.
idfFreq(
integer $docFreq, integer $numDocs
)
:
float
Implemented as 'log(numDocs/(docFreq+1)) + 1'.
lengthNorm(
string $fieldName, integer $numTerms
)
:
float
Implemented as '1/sqrt(numTerms)'.
queryNorm(
float $sumOfSquaredWeights
)
:
float
Implemented as '1/sqrt(sumOfSquaredWeights)'.
sloppyFreq(
integer $distance
)
:
float
Implemented as '1/(distance + 1)'.
tf(
float $freq
)
:
float
Implemented as 'sqrt(freq)'.