table of contents
thai/thbrk.h(3) | libthai | thai/thbrk.h(3) |
NAME¶
thai/thbrk.h -
Thai word segmentation.
SYNOPSIS¶
Functions¶
int th_brk (const thchar_t *s, int pos[], size_t n)
Find word break positions in Thai string. int th_brk_line
(const thchar_t *in, thchar_t *out, size_t n, const char
*delim)
Insert word delimitors in given string.
Detailed Description¶
Thai word segmentation.
Id.RS 4 thbrk.h,v 1.6 2006-07-31 12:54:02 thep Exp
thbrk.h - Thai word segmentation Created: 2001-05-17
Function Documentation¶
int th_brk (const thchar_t * s, int pos[], size_t n)¶
Find word break positions in Thai 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_brk_line (const thchar_t * in, thchar_t * out, size_t n, const char * delim)¶
Insert word delimitors in given string. Parameters:
out : the output buffer
n : the size of out
delim : the 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.
23 Nov 2010 | Version 0.1.12 |