private bool IsPrepositionalPhrase(PhraseNode parsedName) { foreach (WordNode word in parsedName.GetPhrase()) { if (word.Tag == PartOfSpeechTag.Preposition) { return true; } } return false; }