scripts/score.rb
# Less that TEXT_DIRECTION_LEVEL gets a penalty
Less that TEXT_DIRECTION_LEVEL gets a penalty
Less that TEXT_DIRECTION_LEVEL gets a penalty
def score_text_direction(value)
    return value - TEXT_DIRECTION_LEVEL
    _score = 0
    if value > MAX_DIRECTION
      _score = SCALE
    elsif value > MIN_DIRECTION
      _score = (value - MIN_DIRECTION) * DIRECTION_FACTOR
    end
    return _score * DIRECTION_WEIGHT
  end
def score_text_direction ( value ) return value - TEXT_DIRECTION_LEVEL _score = 0 if value > MAX_DIRECTION _score = SCALE elsif value > MIN_DIRECTION _score = ( value - MIN_DIRECTION ) * DIRECTION_FACTOR end return _score * DIRECTION_WEIGHT end
Less that TEXT_DIRECTION_LEVEL gets a penalty
Less that TEXT_DIRECTION_LEVEL gets a penalty
# FIXME: remove this
value
<not_specific>