#include <config.h>
Public Types | |
| enum | Mode { SENTENCE_MODE, WORD_MODE } |
| Context window mode - can be one of SENTENCE_MODE or WINDOW_MODE. More... | |
Public Member Functions | |
| ContextWindow (Mode m=SENTENCE_MODE, size_t r=0) | |
| Constructor inits struct with given values. | |
| bool | check (void) |
Public Attributes | |
| enum ace::ContextWindow::Mode | mode |
| Context window mode - can be one of SENTENCE_MODE or WINDOW_MODE. | |
| size_t | radius |
| Context window radius. | |
| ace::ContextWindow::ContextWindow | ( | Mode | m = SENTENCE_MODE, |
|
| size_t | r = 0 | |||
| ) | [inline] |
Constructor inits struct with given values.
| m | Context window mode (default is SENTENCE_MODE). | |
| r | Context window radius (default is 0 - valid only in SENTENCE_MODE!). |
| bool ace::ContextWindow::check | ( | void | ) | [inline] |
Context window mode - can be one of SENTENCE_MODE or WINDOW_MODE.
| size_t ace::ContextWindow::radius |
Context window radius.
1.5.6