WordPredictionEngine Class Reference
Inheritance diagram for WordPredictionEngine:
WordPredictionInterface

List of all members.

Public Member Functions

virtual std::vector
< std::string > * 
getMostProbableWords (const std::string &prefix, OpenViBE::uint32 nWords)

Detailed Description

A dummy class for word prediction/completion


Member Function Documentation

virtual std::vector<std::string>* getMostProbableWords ( const std::string &  prefix,
OpenViBE::uint32  nWords 
) [virtual]
Parameters:
prefixthe letters or words previously spelled on which we need to base our predictions for the next word or the word to complete
nWordsnumber of words we want to get back in the result vector
Returns:
vector of strings with the nWords most probable words given the prefix

Implements WordPredictionInterface.