ABB.Swum.UnigramMethodRule.StartsNounPhrase C# (CSharp) Метод

StartsNounPhrase() защищенный Метод

Determines whether the given word indicates the beginning of a noun phrase.
protected StartsNounPhrase ( string word ) : bool
word string The word to test.
Результат bool
        protected bool StartsNounPhrase(string word)
        {
            if (word == null) { return false; }

            return NounPhraseIndicators.Contains(word)
                || PosData.IsNoun(word)
                || PosData.IsDeterminer(word)
                || PosData.IsPronoun(word)
                || PosData.IsAdjective(word);
        }
    }