passing different pos to visio to draw respective diagrams RRS feed

  • Question

  • i am using Statistical parsing of English sentences in my final year project to draw the object diagram. i have also attached visio2010 premium with  my project. i place the code for visio in "NNS " event handler, when i write orders and customers, in visio there is rectangle for " order and customers" but there is also a rectangle for "and". this is not is want, and also for "order and customers  ". visio draw rectangle for "customers", which is "NNS", but also for "order" and "and". the code is

    case ("NNS"):    
                                for (int currentTag = 0; currentTag < tags.Length; currentTag++)
                            if (dTag == tokens [currentTag])
                                plurals.Items .Add(tokens[currentTag]);

                         / IVisio.Shape shape1 = page.DrawRectangle(1, 3, 3, 1);


    plz help as soon as possibe

    • Moved by Leo Liu - MSFT Tuesday, July 12, 2011 9:02 AM Moved for better support. (From:Visual C# Language)
    Monday, July 11, 2011 2:56 PM