protected function isAcceptable($word, $removeTotal)
    {
        $length =  strlen($word) - $removeTotal;
        if($this->vowelChecker->isVowel($word, 0)&& $length >= 2){
            return true;
        } elseif($length >= 3 && 
                ($this->vowelChecker->isVowel($word, 1) || $this->vowelChecker->isVowel($word, 2))) {
            return true;
        }
        return false;
    }
protected function isAcceptable($word, $removeTotal)
    {
        $length =  strlen($word) - $removeTotal;
        if($this->vowelChecker->isVowel($word, 0)&& $length >= 2){
            return true;
        } elseif($length >= 3 && 
                ($this->vowelChecker->isVowel($word, 1) || $this->vowelChecker->isVowel($word, 2))) {
            return true;
        }
        return false;
    }
protected function isAcceptable ( $ word , $ removeTotal ) { $ length = strlen ( $ word ) - $ removeTotal ; if ( $ this -> vowelChecker -> isVowel ( $ word , 0 ) && $ length >= 2 ) { return true ; } elseif ( $ length >= 3 && ( $ this -> vowelChecker -> isVowel ( $ word , 1 ) || $ this -> vowelChecker -> isVowel ( $ word , 2 ) ) ) { return true ; } return false ; }
Check if a word is acceptable
@param string $word The word under test
@param int $removeTotal The number of characters to remove from the suffix
@return boolean True is the word is acceptable
Check if a word is acceptable