public function isPlural($word)
    {
        // Try the cache for an known inflection.
        $inflection = $this->getCachedSingular($word);

        if ($inflection !== false) {
            return true;
        }

        // Compute the inflection to cache the values, and compare.
        return $this->toPlural($this->toSingular($word)) == $word;
    }
public function isPlural($word)
    {
        // Try the cache for an known inflection.
        $inflection = $this->getCachedSingular($word);

        if ($inflection !== false) {
            return true;
        }

        // Compute the inflection to cache the values, and compare.
        return $this->toPlural($this->toSingular($word)) == $word;
    }
public function isPlural ( $ word ) { // Try the cache for an known inflection. $ inflection = $ this -> getCachedSingular ( $ word ) ; if ( $ inflection !== false ) { return true ; } // Compute the inflection to cache the values, and compare. return $ this -> toPlural ( $ this -> toSingular ( $ word ) ) == $ word ; }
Checks if a word is in a plural form.

@param   string $word The string input.

@return  boolean  True if word is plural, false if not.

@since  2.0
Checks if a word is in a plural form .