C# Class CK.WordPredictor.Engines.SybilleWordPredictorEngine

Inheritance: IWordPredictorEngine, IDisposable
Show file Open project: Invenietis/ck-certified

Public Methods

Method Description
Dispose ( ) : void
Predict ( string rawContext, int maxSuggestedWords ) : ICKReadOnlyList
PredictAsync ( string rawContext, int maxSuggestedWords ) : Task>
SybilleWordPredictorEngine ( IService wordPredictionFeature, string languageFileName, string userLanguageFileName, string userTextsFileName ) : System
SybilleWordPredictorEngine ( IService wordPredictionFeature, string languageFileName, string userLanguageFileName, string userTextsFileName, string semMatrix, string semWords, string semLambdas ) : System

Private Methods

Method Description
InternalPredict ( string rawContext, int maxSuggestedWords, int &retryCount ) : ICKReadOnlyList
LoadSybilleWordPredictor ( string languageFileName, string userLanguageFileName, string userTextsFileName ) : void
LoadSybilleWordPredictor ( string languageFileName, string userLanguageFileName, string userTextsFileName, string semMatrix, string semWords, string semLambdas ) : void
OnWordPredictionFeaturePropertyChanged ( object sender, System e ) : void
RetryPredict ( string rawContext, int maxSuggestedWords, int &retryCount ) : ICKReadOnlyList

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Predict() public method

public Predict ( string rawContext, int maxSuggestedWords ) : ICKReadOnlyList
rawContext string
maxSuggestedWords int
return ICKReadOnlyList

PredictAsync() public method

public PredictAsync ( string rawContext, int maxSuggestedWords ) : Task>
rawContext string
maxSuggestedWords int
return Task>

SybilleWordPredictorEngine() public method

public SybilleWordPredictorEngine ( IService wordPredictionFeature, string languageFileName, string userLanguageFileName, string userTextsFileName ) : System
wordPredictionFeature IService
languageFileName string
userLanguageFileName string
userTextsFileName string
return System

SybilleWordPredictorEngine() public method

public SybilleWordPredictorEngine ( IService wordPredictionFeature, string languageFileName, string userLanguageFileName, string userTextsFileName, string semMatrix, string semWords, string semLambdas ) : System
wordPredictionFeature IService
languageFileName string
userLanguageFileName string
userTextsFileName string
semMatrix string
semWords string
semLambdas string
return System