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

Summary description for ParserWorker.
Inheritance: IFWDisposable
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
DisposeManagedResources ( ) : void

Private Methods

Méthode Description
CheckNeedsUpdate ( ) : void

Method Details

DisposeManagedResources() protected méthode

protected DisposeManagedResources ( ) : void
Résultat void

ParserWorker() public méthode

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
Résultat System

ReloadGrammarAndLexicon() public méthode

public ReloadGrammarAndLexicon ( ) : void
Résultat void

TryAWord() public méthode

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
Résultat void

UpdateWordform() public méthode

public UpdateWordform ( IWfiWordform wordform, ParserPriority priority ) : bool
wordform IWfiWordform
priority ParserPriority
Résultat bool