diff options
author | Mattias Andrée <maandree@kth.se> | 2021-09-08 21:21:24 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-09-08 21:21:24 +0200 |
commit | 0b2f3387a3afec535a9973dde37929d48da62aa5 (patch) | |
tree | fcc21b171cd5363a1aa73722f871201f50121ee1 | |
parent | Swedish: rename pascal case to money case (diff) | |
download | libnumtext-0b2f3387a3afec535a9973dde37929d48da62aa5.tar.gz libnumtext-0b2f3387a3afec535a9973dde37929d48da62aa5.tar.bz2 libnumtext-0b2f3387a3afec535a9973dde37929d48da62aa5.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | libnumtext.h | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -Add [libnumtext_]text2num: text to digits, with analysis (possible flags from num2text) +Add [libnumtext_]text2num: text to numerals, with analysis (possible flags from num2text), use support mixed in numerals Add [libnumtext_]card2ord: convert cardinal in digits to ordinal in digits with necessary text (like superiors in English) Add num2text: conversion utility that wraps libnumtext_num2text Add numtext-strip: utility that wraps libnumtext_remove_separators diff --git a/libnumtext.h b/libnumtext.h index c484e51..933588e 100644 --- a/libnumtext.h +++ b/libnumtext.h @@ -31,10 +31,10 @@ enum libnumtext_language { #define LIBNUMTEXT_N2T_SWEDISH_FEMININE_GENDER UINT32_C(0x00000030) /* en/första, två/andra, … */ #define LIBNUMTEXT_N2T_SWEDISH_EXPLICIT_ONE UINT32_C(0x00000000) /* …, ettusen, … */ -#define LIBNUMTEXT_N2T_SWEDISH_IMPLICIT_ONE UINT32_C(0x00000040) /* …, tusen, … */ +#define LIBNUMTEXT_N2T_SWEDISH_IMPLICIT_ONE UINT32_C(0x00000040) /* …, tusen, … (informal unless used with DENOMINATOR) */ #define LIBNUMTEXT_N2T_SWEDISH_NOT_HYPHENATED UINT32_C(0) -#define LIBNUMTEXT_N2T_SWEDISH_HYPHENATED UINT32_C(0x00000080) /* …, femhundra-trettio-två, … */ +#define LIBNUMTEXT_N2T_SWEDISH_HYPHENATED UINT32_C(0x00000080) /* …, femhundra-trettio-två, … (avoid) */ #define LIBNUMTEXT_N2T_SWEDISH_LOWER_CASE UINT32_C(0) /* …, femhundratrettiotvå, … */ #define LIBNUMTEXT_N2T_SWEDISH_MONEY_CASE UINT32_C(0x00000100) /* …, FemhundraTrettioTvå, … */ |