Rechercher une page de manuel
thbrk.h
Langue: en
Version: 374349 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
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.
Function Documentation
int th_brk (const thchar_t * s, int pos[], size_t n)
Find word break positions in Thai string. Parameters:
- s : the input string to be processed
pos : array to keep breaking positions
n : size of pos[]
Returns:
- the actual number of breaking positions occurred
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:
- in : the input string to be processed
out : the output buffer
n : the size of out
delim : the word delimitor to insert
Returns:
- the actual size of the processed string
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre