table of contents
thai/thwbrk.h(3) | libthai | thai/thwbrk.h(3) |
NAME¶
thai/thwbrk.h -
Thai wide-char word segmentation.
SYNOPSIS¶
Functions¶
int th_wbrk (const thwchar_t *s, int pos[], size_t
n)
Find word break positions in Thai wide-char string. 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.
Detailed Description¶
Thai wide-char word segmentation.
Function Documentation¶
int th_wbrk (const thwchar_t *s, intpos[], size_tn)¶
Find word break positions in Thai wide-char string.
Parameters:
pos : array to keep breaking positions
n : size of pos[]
Returns:
Finds word break positions in Thai string s and stores at most n breaking positions in pos[], from left to right.
int th_wbrk_line (const thwchar_t *in, thwchar_t *out, size_tn, const thwchar_t *delim)¶
Insert word delimitors in given wide-char string.
Parameters:
out : the output wide-char buffer
n : the size of out (as number of elements)
delim : the wide-char word delimitor to insert
Returns:
Analyzes the input string and store the string in output buffer with the given word delimitor inserted at every word boundary.
Author¶
Generated automatically by Doxygen for libthai from the source code.
Fri May 2 2014 | Version 0.1.14 |