diff --git a/.NET/Microsoft.Recognizers.Definitions.Common/Swedish/NumbersWithUnitDefinitions.cs b/.NET/Microsoft.Recognizers.Definitions.Common/Swedish/NumbersWithUnitDefinitions.cs index 46da5e91d4..9ff13d7cde 100644 --- a/.NET/Microsoft.Recognizers.Definitions.Common/Swedish/NumbersWithUnitDefinitions.cs +++ b/.NET/Microsoft.Recognizers.Definitions.Common/Swedish/NumbersWithUnitDefinitions.cs @@ -740,6 +740,7 @@ public static class NumbersWithUnitDefinitions }; public static readonly IList AmbiguousCurrencyUnitList = new List { + @"att", @"din.", @"kiwi", @"kina", diff --git a/Patterns/Swedish/Swedish-NumbersWithUnit.yaml b/Patterns/Swedish/Swedish-NumbersWithUnit.yaml index f729bf486c..8bc56243f6 100644 --- a/Patterns/Swedish/Swedish-NumbersWithUnit.yaml +++ b/Patterns/Swedish/Swedish-NumbersWithUnit.yaml @@ -842,6 +842,7 @@ CurrencyPrefixList: !dictionary AmbiguousCurrencyUnitList: !list types: [ string ] entries: + - att - din. - kiwi - kina diff --git a/Specs/NumberWithUnit/Swedish/CurrencyModel.json b/Specs/NumberWithUnit/Swedish/CurrencyModel.json index 93e3e76a47..cc9d1fde73 100644 --- a/Specs/NumberWithUnit/Swedish/CurrencyModel.json +++ b/Specs/NumberWithUnit/Swedish/CurrencyModel.json @@ -600,5 +600,26 @@ "End": 5 } ] + }, + { + "Input": "Se till att rymma västkustens tidszon", + "NotSupported": "javascript,python,java", + "Results": [] + }, + { + "Input": "vi har 100 Att", + "NotSupported": "javascript, python, java", + "Results": [ + { + "Text": "100 att", + "TypeName": "currency", + "Resolution": { + "value": "100", + "unit": "Att" + }, + "Start": 7, + "End": 13 + } + ] } ] \ No newline at end of file