public function getSimilarity()
    {
        if (!$this->calculated) {
            $this->setupMatrix();
        }

        return $this->matrix[mb_strlen($this->compOne, 'UTF-8')][mb_strlen($this->compTwo, 'UTF-8')];
    }
public function getSimilarity()
    {
        if (!$this->calculated) {
            $this->setupMatrix();
        }

        return $this->matrix[mb_strlen($this->compOne, 'UTF-8')][mb_strlen($this->compTwo, 'UTF-8')];
    }
public function getSimilarity ( ) { if ( ! $ this -> calculated ) { $ this -> setupMatrix ( ) ; } return $ this -> matrix [ mb_strlen ( $ this -> compOne , 'UTF-8' ) ] [ mb_strlen ( $ this -> compTwo , 'UTF-8' ) ] ; }
Returns similarity of strings, absolute number = Damerau Levenshtein distance.

@return int
Returns similarity of strings absolute number = Damerau Levenshtein distance .