code: function reinforceDistWeight(dist, category) {
      var abs = Math.abs(dist);
      return 1.0 + (Algol.aReinforceDistWeight[abs] || 0);
  }
docs: 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