Ejemplo n.º 1
0
        internal void strFrame(bool prsynset)
        {
            int i;

            if (prsynset)
            {
                strsns(sense + 1);
            }
            if (!findExample())
            {
                for (i = 0; i < frames.Count; i++)
                {
                    SynSetFrame sf = (SynSetFrame)frames[i];
                    if (sf.to == whichword || sf.to == 0)
                    {
                        if (sf.to == whichword)
                        {
                            search.buf += "          => ";
                        }
                        else
                        {
                            search.buf += "          *> ";
                        }
                        search.buf += sf.fr.str + "\n";

                        isDirty = true;                         // TDMS 19 July 2006 - attempt to tie the logic which
                        // populates buf to the logic that defines whether the
                        // synset is populated with relevant information
                    }
                }
            }
        }
Ejemplo n.º 2
0
        internal void strFrame(bool prsynset)
        {
            int i;

            if (prsynset)
            {
                strsns(sense + 1);
            }
            if (!findExample())
            {
                for (i = 0; i < frames.Count; i++)
                {
                    SynSetFrame sf = (SynSetFrame)frames[i];
                    if (sf.to == whichword || sf.to == 0)
                    {
                        if (sf.to == whichword)
                        {
                            search.buf += "          => ";
                        }
                        else
                        {
                            search.buf += "          *> ";
                        }
                        search.buf += sf.fr.str + "\n";
                    }
                }
            }
        }