|
libthai
0.1.21
|
Thai wide-char word segmentation. More...
Functions | |
| int | th_wbrk (const thwchar_t *s, int pos[], size_t n) |
| Find word break positions in Thai wide-char string. More... | |
| int | th_wbrk_line (const thwchar_t *in, thwchar_t *out, size_t n, const thwchar_t *delim) |
| Insert word delimitors in given wide-char string. More... | |
Thai wide-char word segmentation.
| int th_wbrk | ( | const thwchar_t * | s, |
| int | pos[], | ||
| size_t | n | ||
| ) |
Find word break positions in Thai wide-char string.
| s | : the input string to be processed |
| pos | : array to keep breaking positions |
| n | : size of pos[] |
Finds word break positions in Thai string s and stores at most n breaking positions in pos[], from left to right.
Insert word delimitors in given wide-char string.
| in | : the input wide-char string to be processed |
| out | : the output wide-char buffer |
| n | : the size of out (as number of elements) |
| delim | : the wide-char word delimitor to insert |
Analyzes the input string and store the string in output buffer with the given word delimitor inserted at every word boundary.
1.8.8