Beispiel #1
0
        private IProcessable ProcessElement(Adposition adp, ISentenceGraph graph)
        {
            if (adp.GetAdpositions().Count() == 1)
            {
                this.Adpositions.Add(adp);
            }
            else
            {
                this.Adpositions.Insert(0, adp);
            }

            return(this);
        }
Beispiel #2
0
        private IProcessable ProcessElement(Adposition adp, ISentenceGraph graph)
        {
            // Check if adposition is part of this verb
            if (this.DependencyHelper.IsCompound(adp.DependencyType))
            {
                this.PhrasePart = adp;
            }
            else
            {
                this.DrawableAdposition = adp;
            }

            return(this);
        }
 private IProcessable ProcessElement(Adposition adp, ISentenceGraph graph)
 {
     this.DependingAdpositions.Add(adp);
     return(this);
 }