private IProcessable ProcessElement(Noun noun, ISentenceGraph graph) { // if noun is subject, process this if (this.DependencyHelper.IsSubject(noun.DependencyType)) { if (this.DrawableAdposition != null) { noun.Process(this.DrawableAdposition, graph); this.DrawableAdposition = null; } return(noun.Process(this, graph)); } // if noun is object, save it as part of this verb, else save it for future if (this.DependencyHelper.IsObject(noun.DependencyType) && this.Object == null) { this.Object = noun; } else { this.DependingDrawables.Add(noun); } return(this); }
private IProcessable ProcessElement(Noun noun, ISentenceGraph graph) { if (this.DependencyHelper.IsCompound(noun.DependencyType) || this.DependencyHelper.IsNominalPossesive(noun.DependencyType)) { noun.DependencyType = this.DependencyType; } return(noun.Process(this, graph)); }
private IProcessable ProcessElement(Noun noun, ISentenceGraph graph) { return(noun.Process(this, graph)); }
protected virtual IProcessable ProcessElement(Noun noun, ISentenceGraph graph) { return(noun.Process(this, graph)); }