original_string: private function _calculateMaxDistance($prefixLength, $termLength, $length)
      {
          $this->_maxDistances[$length] = (int) ((1 - $this->_minimumSimilarity)*(min($termLength, $length) + $prefixLength));
          return $this->_maxDistances[$length];
      }
code: private function _calculateMaxDistance($prefixLength, $termLength, $length)
      {
          $this->_maxDistances[$length] = (int) ((1 - $this->_minimumSimilarity)*(min($termLength, $length) + $prefixLength));
          return $this->_maxDistances[$length];
      }
code_tokens: private function _calculateMaxDistance ( $ prefixLength , $ termLength , $ length ) { $ this -> _maxDistances [ $ length ] = ( int ) ( ( 1 - $ this -> _minimumSimilarity ) * ( min ( $ termLength , $ length ) + $ prefixLength ) ) ; return $ this -> _maxDistances [ $ length ] ; }
docstring: Calculate maximum distance for specified word length
  
  @param  integer $prefixLength
  @param  integer $termLength
  @param  integer $length
  @return integer
docstring_tokens: Calculate maximum distance for specified word length