js/match/inputFilter.js
function reinforceDistWeight(dist, category) {
    var abs = Math.abs(dist);
    return 1.0 + (Algol.aReinforceDistWeight[abs] || 0);
}
function reinforceDistWeight(dist, category) {
    var abs = Math.abs(dist);
    return 1.0 + (Algol.aReinforceDistWeight[abs] || 0);
}
function reinforceDistWeight ( dist , category ) { var abs = Math . abs ( dist ) ; return 1.0 + ( Algol . aReinforceDistWeight [ abs ] || 0 ) ; }
Calculate a weight factor for a given distance and
category
@param {integer} dist distance in words
@param {string} category category to use
@returns {number} a distance factor >= 1
1.0 for no effect
Calculate a weight factor for a given distance and category