From d21f8135f34c0714819d8d368374cf7c1c024554 Mon Sep 17 00:00:00 2001 From: Al Date: Fri, 26 Jun 2015 12:35:53 -0400 Subject: [PATCH] [numex] Adding full stop ordinal indicators to German, Danish and Polish --- data/numex/rules/da.json | 16 ++++++++++++++++ data/numex/rules/de.json | 16 ++++++++++++++++ data/numex/rules/pl.json | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/data/numex/rules/da.json b/data/numex/rules/da.json index a60b54c0..23e7881f 100644 --- a/data/numex/rules/da.json +++ b/data/numex/rules/da.json @@ -225,6 +225,22 @@ "right": "add" } ], + "ordinal_indicators": [ + { + "suffixes": { + "0": ["."], + "1": ["."], + "2": ["."], + "3": ["."], + "4": ["."], + "5": ["."], + "6": ["."], + "7": ["."], + "8": ["."], + "9": ["."] + } + } + ], "stopwords": [ "og" ] diff --git a/data/numex/rules/de.json b/data/numex/rules/de.json index f8ae67ea..9679afda 100644 --- a/data/numex/rules/de.json +++ b/data/numex/rules/de.json @@ -1063,6 +1063,22 @@ "left": "multiply" } ], + "ordinal_indicators": [ + { + "suffixes": { + "0": ["."], + "1": ["."], + "2": ["."], + "3": ["."], + "4": ["."], + "5": ["."], + "6": ["."], + "7": ["."], + "8": ["."], + "9": ["."] + } + } + ], "stopwords": [ "und" ] diff --git a/data/numex/rules/pl.json b/data/numex/rules/pl.json index 67c43ca0..0d684192 100644 --- a/data/numex/rules/pl.json +++ b/data/numex/rules/pl.json @@ -483,5 +483,21 @@ "left": "multiply", "right": "add" } + ], + "ordinal_indicators": [ + { + "suffixes": { + "0": ["."], + "1": ["."], + "2": ["."], + "3": ["."], + "4": ["."], + "5": ["."], + "6": ["."], + "7": ["."], + "8": ["."], + "9": ["."] + } + } ] } \ No newline at end of file