mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-27 05:23:28 +00:00
Add Terminal_Punctuation support from PropList.txt.
This commit is contained in:
+16
-14
@@ -329,13 +329,14 @@ ucd_script ucd_lookup_script(codepoint_t c);
|
||||
*/
|
||||
typedef enum ucd_property_
|
||||
{
|
||||
UCD_PROPERTY_WHITE_SPACE = 0x00000001, /**< @brief White_Space */
|
||||
UCD_PROPERTY_NO_BREAK = 0x00000002, /**< @brief <noBreak> */
|
||||
UCD_PROPERTY_BIDI_CONTROL = 0x00000004, /**< @brief Bidi_Control */
|
||||
UCD_PROPERTY_JOIN_CONTROL = 0x00000008, /**< @brief Join_Control */
|
||||
UCD_PROPERTY_DASH = 0x00000010, /**< @brief Dash */
|
||||
UCD_PROPERTY_HYPHEN = 0x00000020, /**< @brief Hyphen */
|
||||
UCD_PROPERTY_QUOTATION_MARK = 0x00000040, /**< @brief Quotation_Mark */
|
||||
UCD_PROPERTY_WHITE_SPACE = 0x00000001, /**< @brief White_Space PropList */
|
||||
UCD_PROPERTY_NO_BREAK = 0x00000002, /**< @brief <noBreak> DispositionType (enabled check only) */
|
||||
UCD_PROPERTY_BIDI_CONTROL = 0x00000004, /**< @brief Bidi_Control PropList */
|
||||
UCD_PROPERTY_JOIN_CONTROL = 0x00000008, /**< @brief Join_Control PropList */
|
||||
UCD_PROPERTY_DASH = 0x00000010, /**< @brief Dash PropList */
|
||||
UCD_PROPERTY_HYPHEN = 0x00000020, /**< @brief Hyphen PropList */
|
||||
UCD_PROPERTY_QUOTATION_MARK = 0x00000040, /**< @brief Quotation_Mark PropList */
|
||||
UCD_PROPERTY_TERMINAL_PUNCTUATION = 0x00000080, /**< @brief Terminal_Punctuation PropList */
|
||||
} ucd_property;
|
||||
|
||||
/** @brief Return the properties of the specified codepoint.
|
||||
@@ -795,13 +796,14 @@ namespace ucd
|
||||
*/
|
||||
enum property
|
||||
{
|
||||
White_Space = UCD_PROPERTY_WHITE_SPACE, /**< @brief White_Space */
|
||||
noBreak = UCD_PROPERTY_NO_BREAK, /**< @brief <noBreak> */
|
||||
Bidi_Control = UCD_PROPERTY_BIDI_CONTROL, /**< @brief Bidi_Control */
|
||||
Join_Control = UCD_PROPERTY_JOIN_CONTROL, /**< @brief Join_Control */
|
||||
Dash = UCD_PROPERTY_DASH, /**< @brief Dash */
|
||||
Hyphen = UCD_PROPERTY_HYPHEN, /**< @brief Hyphen */
|
||||
Quotation_Mark = UCD_PROPERTY_QUOTATION_MARK, /**< @brief Quotation_Mark */
|
||||
White_Space = UCD_PROPERTY_WHITE_SPACE, /**< @brief White_Space PropList */
|
||||
noBreak = UCD_PROPERTY_NO_BREAK, /**< @brief <noBreak> DispositionType (enabled check only) */
|
||||
Bidi_Control = UCD_PROPERTY_BIDI_CONTROL, /**< @brief Bidi_Control PropList */
|
||||
Join_Control = UCD_PROPERTY_JOIN_CONTROL, /**< @brief Join_Control PropList */
|
||||
Dash = UCD_PROPERTY_DASH, /**< @brief Dash PropList */
|
||||
Hyphen = UCD_PROPERTY_HYPHEN, /**< @brief Hyphen PropList */
|
||||
Quotation_Mark = UCD_PROPERTY_QUOTATION_MARK, /**< @brief Quotation_Mark PropList */
|
||||
Terminal_Punctuation = UCD_PROPERTY_TERMINAL_PUNCTUATION, /**< @brief Terminal_Punctuation PropList */
|
||||
};
|
||||
|
||||
/** @brief Return the properties of the specified codepoint.
|
||||
|
||||
Reference in New Issue
Block a user