ABB.Swum.BaseVerbRule.IsPrepositionalPhrase C# (CSharp) Метод

IsPrepositionalPhrase() приватный Метод

private IsPrepositionalPhrase ( PhraseNode parsedName ) : bool
parsedName ABB.Swum.Nodes.PhraseNode
Результат bool
        private bool IsPrepositionalPhrase(PhraseNode parsedName)
        {
            foreach (WordNode word in parsedName.GetPhrase())
            {
                if (word.Tag == PartOfSpeechTag.Preposition) { return true; }
            }
            return false;
        }