srchilite::WordTokenizer Class Reference
Tokenizes a paragraph separating words from spaces.
More...
#include <wordtokenizer.h>
Public Types
Results of the tokenizer; each element is a pair where the first string represents a possible space and the second string a possible word.
More...
Static Public Member Functions
Tokenizes the passed string and stores the results.
More...
Detailed Description
Tokenizes a paragraph separating words from spaces.
Member Typedef Documentation
Results of the tokenizer; each element is a pair where the first string represents a possible space and the second string a possible word.
The two elements are mutually exclusive
Member Function Documentation
void srchilite::WordTokenizer::tokenize
(
const std::string &
s,
)
static
Tokenizes the passed string and stores the results.
- Parameters
-
s the string to tokenize
results where to store the results
The documentation for this class was generated from the following files:
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/wordtokenizer.h
- /home/bettini/work/source-highlight/src-highlite/lib/srchilite/wordtokenizer.cpp