59 #define WORDBREAK_BREAK 0 60 #define WORDBREAK_NOBREAK 1 61 #define WORDBREAK_INSIDEACHAR 2 63 void init_wordbreak(void); 65 const utf8_t *s,
size_t len,
const char*
lang,
char *brks);
67 const utf16_t *s,
size_t len,
const char*
lang,
char *brks);
69 const utf32_t *s,
size_t len,
const char*
lang,
char *brks);
unsigned char utf8_t
Type for UTF-8 data points.
Definition: unibreakbase.h:47
unsigned short utf16_t
Type for UTF-16 data points.
Definition: unibreakbase.h:48
void set_wordbreaks_utf32(const utf32_t *s, size_t len, const char *lang, char *brks)
Sets the word breaking information for a UTF-32 input string.
Definition: wordbreak.c:546
const char * lang
Language name.
Definition: linebreakdef.h:131
unsigned int utf32_t
Type for UTF-32 data points.
Definition: unibreakbase.h:49
void set_wordbreaks_utf8(const utf8_t *s, size_t len, const char *lang, char *brks)
Sets the word breaking information for a UTF-8 input string.
Definition: wordbreak.c:506
void set_wordbreaks_utf16(const utf16_t *s, size_t len, const char *lang, char *brks)
Sets the word breaking information for a UTF-16 input string.
Definition: wordbreak.c:526
Header file for common definitions in the libunibreak library.