예제 #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);
        }
예제 #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);
        }
예제 #3
0
 private IProcessable ProcessElement(Adposition adp, ISentenceGraph graph)
 {
     this.DependingAdpositions.Add(adp);
     return(this);
 }