From d4fa67be4b172654f7b866c11d695123099baaac Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 8 Sep 2021 21:07:39 +0200 Subject: m + add TODO MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- TODO | 5 +++++ libnumtext.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 TODO diff --git a/TODO b/TODO new file mode 100644 index 0000000..0217292 --- /dev/null +++ b/TODO @@ -0,0 +1,5 @@ +Add [libnumtext_]text2num: text to digits, with analysis (possible flags from num2text) +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 +Add man pages and README diff --git a/libnumtext.h b/libnumtext.h index 7e8f944..27bd73f 100644 --- a/libnumtext.h +++ b/libnumtext.h @@ -51,10 +51,10 @@ enum libnumtext_language { #define LIBNUMTEXT_N2T_SWEDISH_LATEX_TRIPLETS UINT32_C(0x00002000) /* …, e"ttusen, … (for use in LaTeX) */ /* [1] If used, also use LIBNUMTEXT_N2T_SWEDISH_IMPLICIT_ONE, otherwise the Swedish becomes odd, and arguably incorrect */ -/* [2] Requires LIBNUMTEXT_N2T_SWEDISH_ORDINAL (no effect) or LIBNUMTEXT_N2T_SWEDISH_DENOMINATOR */ +/* [2] Requires LIBNUMTEXT_N2T_SWEDISH_ORDINAL (no effect) or LIBNUMTEXT_N2T_SWEDISH_DENOMINATOR */ -/* input to libnumtext_num2str may not contain separators */ +/* input to libnumtext_num2text may not contain separators */ ssize_t libnumtext_remove_separators(char *outbuf, size_t outbuf_size, const char *num, size_t num_len, enum libnumtext_language lang); -- cgit v1.2.3-70-g09d2