UpdateWordforms() public method

public UpdateWordforms ( IEnumerable wordforms, ParserPriority priority ) : void
wordforms IEnumerable
priority ParserPriority
return void
Example #1
0
        public bool OnParseWordsInCurrentText(object argument)
        {
            CheckDisposed();

            if (ConnectToParser())
            {
                IStText text = CurrentText;
                IEnumerable <IWfiWordform> wordforms = text.UniqueWordforms();
                m_parserConnection.UpdateWordforms(wordforms, ParserPriority.Medium);
            }

            return(true);               //we handled this.
        }