Ejemplo n.º 1
0
        public PronounDictionary Remove(List <Pronoun> pronouns)
        {
            var result = new PronounDictionary(this);

            foreach (var pronoun in ImperativePronouns())
            {
                result.Remove(pronoun);
            }
            return(result);
        }
Ejemplo n.º 2
0
        public PronounDictionary ToImperative()
        {
            var imperativePronouns = ImperativePronouns();
            var result             = new PronounDictionary(this);

            foreach (var pronoun in this.Keys.ToList())
            {
                if (!imperativePronouns.Contains(pronoun))
                {
                    result.Remove(pronoun);
                }
            }
            return(result);
        }