예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="word"></param>
        /// <returns></returns>
        public bool IsPlural(string word)
        {
            CheckArgumentNull(word, "word");

            if (_userDictionary.ExistsInSecond(word))
            {
                return(true);
            }
            if (_userDictionary.ExistsInFirst(word))
            {
                return(false);
            }

            if (IsUninflective(word) || _knownPluralWords.Contains(word.ToLower(Culture)))
            {
                return(true);
            }
            if (Singularize(word).Equals(word))
            {
                return(false);
            }
            return(true);
        }