From 0b2f3387a3afec535a9973dde37929d48da62aa5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 8 Sep 2021 21:21:24 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- TODO | 2 +- libnumtext.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 0217292..8e4539f 100644 --- a/TODO +++ b/TODO @@ -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å, … */ -- cgit v1.2.3-70-g09d2