C# Class SIL.FieldWorks.WordWorks.Parser.ParserWorker

Summary description for ParserWorker.
Inheritance: IFWDisposable
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
ParserWorker ( FdoCache cache, Action taskUpdateHandler, IdleQueue idleQueue, string dataDir ) : System

Initializes a new instance of the ParserWorker class.

ReloadGrammarAndLexicon ( ) : void
TryAWord ( string sForm, bool fDoTrace, int sSelectTraceMorphs ) : void

Try parsing a wordform, optionally getting a trace of the parse

UpdateWordform ( IWfiWordform wordform, ParserPriority priority ) : bool

Protected Methods

Method Description
DisposeManagedResources ( ) : void

Private Methods

Method Description
CheckNeedsUpdate ( ) : void

Method Details

DisposeManagedResources() protected method

protected DisposeManagedResources ( ) : void
return void

ParserWorker() public method

Initializes a new instance of the ParserWorker class.
public ParserWorker ( FdoCache cache, Action taskUpdateHandler, IdleQueue idleQueue, string dataDir ) : System
cache FdoCache
taskUpdateHandler Action
idleQueue IdleQueue
dataDir string
return System

ReloadGrammarAndLexicon() public method

public ReloadGrammarAndLexicon ( ) : void
return void

TryAWord() public method

Try parsing a wordform, optionally getting a trace of the parse
public TryAWord ( string sForm, bool fDoTrace, int sSelectTraceMorphs ) : void
sForm string the word form to parse
fDoTrace bool whether or not to trace the parse
sSelectTraceMorphs int list of msa hvos to limit trace to
return void

UpdateWordform() public method

public UpdateWordform ( IWfiWordform wordform, ParserPriority priority ) : bool
wordform IWfiWordform
priority ParserPriority
return bool