From fe40218281ebc03c356d95b51f400fddea09d014 Mon Sep 17 00:00:00 2001 From: Andrew Gradinari Date: Wed, 26 Apr 2023 11:47:19 +0100 Subject: [PATCH 1/3] NLU-3534: Fix for case like 'March one 2020' --- .../date_time/base_date.py | 13 +- Specs/DateTime/English/DateExtractor.json | 104 ++++++++ Specs/DateTime/English/DateParser.json | 212 ++++++++++++++++ Specs/DateTime/English/DateTimeModel.json | 236 +++++++++++++++++- 4 files changed, 559 insertions(+), 6 deletions(-) diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_date.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_date.py index 8baba95566..fb52199027 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_date.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_date.py @@ -1385,7 +1385,7 @@ def _get_year_in_affix(self, affix, in_prefix): + match_year.end() == len(affix.strip()) if success: - year = self.config.date_extractor.get_year_from_text(match_year) + year = self.config.date_extractor.get_year_from_text(match_year) if Constants.MIN_YEAR_NUM <= year <= Constants.MAX_YEAR_NUM: return year @@ -1417,8 +1417,13 @@ def parse_number_with_month(self, source: str, reference: datetime) -> DateTimeP if match: month = self.config.month_of_year.get(match.group()) day = num - suffix = trimmed_source[match.end():] - prefix = trimmed_source[0: match.start()] + + prefix_end = min(ers[0].start, match.start()) + prefix = trimmed_source[0:prefix_end] + + suffix_start = max(ers[0].start + ers[0].length, match.end()) + suffix = trimmed_source[suffix_start:] + year = self._get_year_in_affix(suffix, False) if year == Constants.INVALID_YEAR and self.config.check_both_before_after: @@ -1472,7 +1477,7 @@ def parse_number_with_month(self, source: str, reference: datetime) -> DateTimeP future_date = future_date.replace(year=future_date.year+1) if past_date >= reference: - past_date = past_date.replace(year=past_date.year+1) + past_date = past_date.replace(year=past_date.year-1) else: result.timex = DateTimeFormatUtil.luis_date(year, month, day) diff --git a/Specs/DateTime/English/DateExtractor.json b/Specs/DateTime/English/DateExtractor.json index 12694e4b53..e0c85a7828 100644 --- a/Specs/DateTime/English/DateExtractor.json +++ b/Specs/DateTime/English/DateExtractor.json @@ -745,6 +745,110 @@ } ] }, + { + "Input": "I'll go back on April first 2021.", + "NotSupported": "javascript", + "Results": [ + { + "Text": "April first 2021", + "Type": "date", + "Start": 16, + "Length": 16 + } + ] + }, + { + "Input": "I'll go back Jun third 2023", + "NotSupported": "javascript", + "Results": [ + { + "Text": "Jun third 2023", + "Type": "date", + "Start": 13, + "Length": 14 + } + ] + }, + { + "Input": "I'll go back September the second 2025.", + "NotSupported": "javascript", + "Results": [ + { + "Text": "September the second 2025", + "Type": "date", + "Start": 13, + "Length": 25 + } + ] + }, + { + "Input": "I'll go back March one 2020", + "NotSupported": "javascript", + "Results": [ + { + "Text": "March one 2020", + "Type": "date", + "Start": 13, + "Length": 14 + } + ] + }, + { + "Input": "I'll go back Aug twelve 2024.", + "NotSupported": "javascript", + "Results": [ + { + "Text": "Aug twelve 2024", + "Type": "date", + "Start": 13, + "Length": 15 + } + ] + }, + { + "Input": "I'll go back February twenty fifth", + "Results": [ + { + "Text": "February twenty fifth", + "Type": "date", + "Start": 13, + "Length": 21 + } + ] + }, + { + "Input": "I'll go back on Nov the twelfth.", + "Results": [ + { + "Text": "Nov the twelfth", + "Type": "date", + "Start": 16, + "Length": 15 + } + ] + }, + { + "Input": "I'll go back January thirty one", + "Results": [ + { + "Text": "January thirty one", + "Type": "date", + "Start": 13, + "Length": 18 + } + ] + }, + { + "Input": "I'll go back Oct twenty three.", + "Results": [ + { + "Text": "Oct twenty three", + "Type": "date", + "Start": 13, + "Length": 16 + } + ] + }, { "Input": "i went back two months ago", "Results": [ diff --git a/Specs/DateTime/English/DateParser.json b/Specs/DateTime/English/DateParser.json index ec592e994f..5b9221f82c 100644 --- a/Specs/DateTime/English/DateParser.json +++ b/Specs/DateTime/English/DateParser.json @@ -728,6 +728,218 @@ } ] }, + { + "Input": "I'll go back on April first 2021.", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "NotSupported": "javascript", + "Results": [ + { + "Text": "April first 2021", + "Type": "date", + "Value": { + "Timex": "2021-04-01", + "FutureResolution": { + "date": "2021-04-01" + }, + "PastResolution": { + "date": "2021-04-01" + } + }, + "Start": 16, + "Length": 16 + } + ] + }, + { + "Input": "I'll go back Jun third 2023", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "NotSupported": "javascript", + "Results": [ + { + "Text": "Jun third 2023", + "Type": "date", + "Value": { + "Timex": "2023-06-03", + "FutureResolution": { + "date": "2023-06-03" + }, + "PastResolution": { + "date": "2023-06-03" + } + }, + "Start": 13, + "Length": 14 + } + ] + }, + { + "Input": "I'll go back September the second 2025.", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "NotSupported": "javascript", + "Results": [ + { + "Text": "September the second 2025", + "Type": "date", + "Value": { + "Timex": "2025-09-02", + "FutureResolution": { + "date": "2025-09-02" + }, + "PastResolution": { + "date": "2025-09-02" + } + }, + "Start": 13, + "Length": 25 + } + ] + }, + { + "Input": "I'll go back March one 2020", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "NotSupported": "javascript", + "Results": [ + { + "Text": "March one 2020", + "Type": "date", + "Value": { + "Timex": "2020-03-01", + "FutureResolution": { + "date": "2020-03-01" + }, + "PastResolution": { + "date": "2020-03-01" + } + }, + "Start": 13, + "Length": 14 + } + ] + }, + { + "Input": "I'll go back Aug twelve 2024.", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "NotSupported": "javascript", + "Results": [ + { + "Text": "Aug twelve 2024", + "Type": "date", + "Value": { + "Timex": "2024-08-12", + "FutureResolution": { + "date": "2024-08-12" + }, + "PastResolution": { + "date": "2024-08-12" + } + }, + "Start": 13, + "Length": 15 + } + ] + }, + { + "Input": "I'll go back February twenty fifth", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "Results": [ + { + "Text": "February twenty fifth", + "Type": "date", + "Value": { + "Timex": "XXXX-02-25", + "FutureResolution": { + "date": "2024-02-25" + }, + "PastResolution": { + "date": "2023-02-25" + } + }, + "Start": 13, + "Length": 21 + } + ] + }, + { + "Input": "I'll go back on Nov the twelfth.", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "Results": [ + { + "Text": "Nov the twelfth", + "Type": "date", + "Value": { + "Timex": "XXXX-11-12", + "FutureResolution": { + "date": "2023-11-12" + }, + "PastResolution": { + "date": "2022-11-12" + } + }, + "Start": 16, + "Length": 15 + } + ] + }, + { + "Input": "I'll go back January thirty one", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "Results": [ + { + "Text": "January thirty one", + "Type": "date", + "Value": { + "Timex": "XXXX-01-31", + "FutureResolution": { + "date": "2024-01-31" + }, + "PastResolution": { + "date": "2023-01-31" + } + }, + "Start": 13, + "Length": 18 + } + ] + }, + { + "Input": "I'll go back Oct twenty three.", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "Results": [ + { + "Text": "Oct twenty three", + "Type": "date", + "Value": { + "Timex": "XXXX-10-23", + "FutureResolution": { + "date": "2023-10-23" + }, + "PastResolution": { + "date": "2022-10-23" + } + }, + "Start": 13, + "Length": 16 + } + ] + }, { "Input": "I'll go back on Friday", "Context": { diff --git a/Specs/DateTime/English/DateTimeModel.json b/Specs/DateTime/English/DateTimeModel.json index 5313e94509..661bdebe3d 100644 --- a/Specs/DateTime/English/DateTimeModel.json +++ b/Specs/DateTime/English/DateTimeModel.json @@ -228,6 +228,238 @@ } ] }, + { + "Input": "I'll go back on April first 2021.", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "NotSupported": "javascript", + "Results": [ + { + "Text": "april first 2021", + "Start": 16, + "End": 31, + "TypeName": "datetimeV2.date", + "Resolution": { + "values": [ + { + "timex": "2021-04-01", + "type": "date", + "value": "2021-04-01" + } + ] + } + } + ] + }, + { + "Input": "I'll go back Jun third 2023", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "NotSupported": "javascript", + "Results": [ + { + "Text": "jun third 2023", + "Start": 13, + "End": 26, + "TypeName": "datetimeV2.date", + "Resolution": { + "values": [ + { + "timex": "2023-06-03", + "type": "date", + "value": "2023-06-03" + } + ] + } + } + ] + }, + { + "Input": "I'll go back September the second 2025.", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "NotSupported": "javascript", + "Results": [ + { + "Text": "september the second 2025", + "Start": 13, + "End": 37, + "TypeName": "datetimeV2.date", + "Resolution": { + "values": [ + { + "timex": "2025-09-02", + "type": "date", + "value": "2025-09-02" + } + ] + } + } + ] + }, + { + "Input": "I'll go back March one 2020", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "NotSupported": "javascript", + "Results": [ + { + "Text": "march one 2020", + "TypeName": "datetimeV2.date", + "Start": 13, + "End": 26, + "Resolution": { + "values": [ + { + "timex": "2020-03-01", + "type": "date", + "value": "2020-03-01" + } + ] + } + } + ] + }, + { + "Input": "I'll go back Aug twelve 2024.", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "NotSupported": "javascript", + "Results": [ + { + "Text": "aug twelve 2024", + "TypeName": "datetimeV2.date", + "Start": 13, + "End": 27, + "Resolution": { + "values": [ + { + "timex": "2024-08-12", + "type": "date", + "value": "2024-08-12" + } + ] + } + } + ] + }, + { + "Input": "I'll go back February twenty fifth", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "Results": [ + { + "Text": "february twenty fifth", + "Start": 13, + "End": 33, + "TypeName": "datetimeV2.date", + "Resolution": { + "values": [ + { + "timex": "XXXX-02-25", + "type": "date", + "value": "2023-02-25" + }, + { + "timex": "XXXX-02-25", + "type": "date", + "value": "2024-02-25" + } + ] + } + } + ] + }, + { + "Input": "I'll go back on Nov the twelfth.", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "Results": [ + { + "Text": "nov the twelfth", + "Start": 16, + "End": 30, + "TypeName": "datetimeV2.date", + "Resolution": { + "values": [ + { + "timex": "XXXX-11-12", + "type": "date", + "value": "2022-11-12" + }, + { + "timex": "XXXX-11-12", + "type": "date", + "value": "2023-11-12" + } + ] + } + } + ] + }, + { + "Input": "I'll go back January thirty one", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "Results": [ + { + "Text": "january thirty one", + "Start": 13, + "End": 30, + "TypeName": "datetimeV2.date", + "Resolution": { + "values": [ + { + "timex": "XXXX-01-31", + "type": "date", + "value": "2023-01-31" + }, + { + "timex": "XXXX-01-31", + "type": "date", + "value": "2024-01-31" + } + ] + } + } + ] + }, + { + "Input": "I'll go back Oct twenty three.", + "Context": { + "ReferenceDateTime": "2023-04-25T00:00:00" + }, + "Results": [ + { + "Text": "oct twenty three", + "Start": 13, + "End": 28, + "TypeName": "datetimeV2.date", + "Resolution": { + "values": [ + { + "timex": "XXXX-10-23", + "type": "date", + "value": "2022-10-23" + }, + { + "timex": "XXXX-10-23", + "type": "date", + "value": "2023-10-23" + } + ] + } + } + ] + }, { "Input": "I'll go back today", "Context": { @@ -21751,7 +21983,7 @@ "Context": { "ReferenceDateTime": "2018-01-07T00:00:00" }, - "NotSupported": "javascript, python", + "NotSupported": "javascript", "Results": [ { "Text": "april of 1987", @@ -21776,7 +22008,7 @@ "Context": { "ReferenceDateTime": "2018-01-07T00:00:00" }, - "NotSupported": "javascript, python", + "NotSupported": "javascript", "Results": [ { "Text": "april of 87", From f93a191238b2f874911b8b7e5a1a22cc61a4db32 Mon Sep 17 00:00:00 2001 From: Andrew Gradinari Date: Fri, 28 Apr 2023 09:26:40 +0100 Subject: [PATCH 2/3] Update version --- .../libraries/datatypes-timex-expression/setup.py | 2 +- Python/libraries/recognizers-choice/setup.py | 2 +- Python/libraries/recognizers-date-time/setup.py | 2 +- .../recognizers-number-with-unit/setup.py | 2 +- Python/libraries/recognizers-number/setup.py | 2 +- Python/libraries/recognizers-sequence/setup.py | 2 +- Python/libraries/recognizers-suite/setup.py | 14 +++++++------- Python/libraries/recognizers-text/setup.py | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Python/libraries/datatypes-timex-expression/setup.py b/Python/libraries/datatypes-timex-expression/setup.py index 0155f800a3..140d7ac065 100644 --- a/Python/libraries/datatypes-timex-expression/setup.py +++ b/Python/libraries/datatypes-timex-expression/setup.py @@ -11,7 +11,7 @@ def read(fname): NAME = 'datatypes_timex_expression_genesys' -VERSION = '1.0.47' +VERSION = '1.0.50a1' REQUIRES = [] setup( diff --git a/Python/libraries/recognizers-choice/setup.py b/Python/libraries/recognizers-choice/setup.py index 37fe51c677..bfb5a0e9ad 100644 --- a/Python/libraries/recognizers-choice/setup.py +++ b/Python/libraries/recognizers-choice/setup.py @@ -11,7 +11,7 @@ def read(fname): NAME = 'recognizers-text-choice-genesys' -VERSION = '1.0.47' +VERSION = '1.0.50a1' REQUIRES = ['recognizers-text-genesys', 'regex', 'grapheme'] setup( diff --git a/Python/libraries/recognizers-date-time/setup.py b/Python/libraries/recognizers-date-time/setup.py index e0fad12fb9..2d9c6dbec6 100644 --- a/Python/libraries/recognizers-date-time/setup.py +++ b/Python/libraries/recognizers-date-time/setup.py @@ -10,7 +10,7 @@ def read(fname): NAME = 'recognizers-text-date-time-genesys' -VERSION = '1.0.47' +VERSION = '1.0.50a1' REQUIRES = ['recognizers-text-genesys', 'recognizers-text-number-genesys', 'recognizers-text-number-with-unit-genesys', 'regex', 'datedelta'] diff --git a/Python/libraries/recognizers-number-with-unit/setup.py b/Python/libraries/recognizers-number-with-unit/setup.py index fc15eb86f1..53a839959c 100644 --- a/Python/libraries/recognizers-number-with-unit/setup.py +++ b/Python/libraries/recognizers-number-with-unit/setup.py @@ -10,7 +10,7 @@ def read(fname): NAME = "recognizers-text-number-with-unit-genesys" -VERSION = "1.0.47" +VERSION = "1.0.50a1" REQUIRES = ['recognizers-text-genesys', 'recognizers-text-number-genesys', 'regex'] setup( diff --git a/Python/libraries/recognizers-number/setup.py b/Python/libraries/recognizers-number/setup.py index 4ffc1b12dd..449e4f88f7 100644 --- a/Python/libraries/recognizers-number/setup.py +++ b/Python/libraries/recognizers-number/setup.py @@ -10,7 +10,7 @@ def read(fname): NAME = "recognizers-text-number-genesys" -VERSION = "1.0.47" +VERSION = "1.0.50a1" REQUIRES = ['recognizers-text-genesys', 'regex'] setup( diff --git a/Python/libraries/recognizers-sequence/setup.py b/Python/libraries/recognizers-sequence/setup.py index f0eefbfcd2..c14d69afc3 100644 --- a/Python/libraries/recognizers-sequence/setup.py +++ b/Python/libraries/recognizers-sequence/setup.py @@ -10,7 +10,7 @@ def read(fname): NAME = "recognizers-text-sequence-genesys" -VERSION = "1.0.47" +VERSION = "1.0.50a1" REQUIRES = ['recognizers-text-genesys', 'recognizers-text-number-genesys', 'regex'] setup( diff --git a/Python/libraries/recognizers-suite/setup.py b/Python/libraries/recognizers-suite/setup.py index 490c200b7a..4e5b94cd26 100644 --- a/Python/libraries/recognizers-suite/setup.py +++ b/Python/libraries/recognizers-suite/setup.py @@ -10,14 +10,14 @@ def read(fname): NAME = 'recognizers-text-suite-genesys' -VERSION = '1.0.47' +VERSION = '1.0.50a1' REQUIRES = [ - 'recognizers-text-genesys==1.0.47', - 'recognizers-text-number-genesys==1.0.47', - 'recognizers-text-number-with-unit-genesys==1.0.47', - 'recognizers-text-date-time-genesys==1.0.47', - 'recognizers-text-sequence-genesys==1.0.47', - 'recognizers-text-choice-genesys==1.0.47' + 'recognizers-text-genesys==1.0.50a1', + 'recognizers-text-number-genesys==1.0.50a1', + 'recognizers-text-number-with-unit-genesys==1.0.50a1', + 'recognizers-text-date-time-genesys==1.0.50a1', + 'recognizers-text-sequence-genesys==1.0.50a1', + 'recognizers-text-choice-genesys==1.0.50a1' ] setup( diff --git a/Python/libraries/recognizers-text/setup.py b/Python/libraries/recognizers-text/setup.py index 582032e506..9d95ed0011 100644 --- a/Python/libraries/recognizers-text/setup.py +++ b/Python/libraries/recognizers-text/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "recognizers-text-genesys" -VERSION = "1.0.47" +VERSION = "1.0.50a1" REQUIRES = ['emoji==1.1.0', 'multipledispatch'] setup( From fbdfe1f2e108832b74f4d6388e172d18912f0332 Mon Sep 17 00:00:00 2001 From: Andrew Gradinari Date: Tue, 2 May 2023 14:43:35 +0100 Subject: [PATCH 3/3] Release version --- .../libraries/datatypes-timex-expression/setup.py | 2 +- Python/libraries/recognizers-choice/setup.py | 2 +- Python/libraries/recognizers-date-time/setup.py | 2 +- .../recognizers-number-with-unit/setup.py | 2 +- Python/libraries/recognizers-number/setup.py | 2 +- Python/libraries/recognizers-sequence/setup.py | 2 +- Python/libraries/recognizers-suite/setup.py | 14 +++++++------- Python/libraries/recognizers-text/setup.py | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Python/libraries/datatypes-timex-expression/setup.py b/Python/libraries/datatypes-timex-expression/setup.py index 140d7ac065..47a86debed 100644 --- a/Python/libraries/datatypes-timex-expression/setup.py +++ b/Python/libraries/datatypes-timex-expression/setup.py @@ -11,7 +11,7 @@ def read(fname): NAME = 'datatypes_timex_expression_genesys' -VERSION = '1.0.50a1' +VERSION = '1.0.50' REQUIRES = [] setup( diff --git a/Python/libraries/recognizers-choice/setup.py b/Python/libraries/recognizers-choice/setup.py index bfb5a0e9ad..e27e3fe802 100644 --- a/Python/libraries/recognizers-choice/setup.py +++ b/Python/libraries/recognizers-choice/setup.py @@ -11,7 +11,7 @@ def read(fname): NAME = 'recognizers-text-choice-genesys' -VERSION = '1.0.50a1' +VERSION = '1.0.50' REQUIRES = ['recognizers-text-genesys', 'regex', 'grapheme'] setup( diff --git a/Python/libraries/recognizers-date-time/setup.py b/Python/libraries/recognizers-date-time/setup.py index 2d9c6dbec6..e47fa77baa 100644 --- a/Python/libraries/recognizers-date-time/setup.py +++ b/Python/libraries/recognizers-date-time/setup.py @@ -10,7 +10,7 @@ def read(fname): NAME = 'recognizers-text-date-time-genesys' -VERSION = '1.0.50a1' +VERSION = '1.0.50' REQUIRES = ['recognizers-text-genesys', 'recognizers-text-number-genesys', 'recognizers-text-number-with-unit-genesys', 'regex', 'datedelta'] diff --git a/Python/libraries/recognizers-number-with-unit/setup.py b/Python/libraries/recognizers-number-with-unit/setup.py index 53a839959c..23a2f3eb20 100644 --- a/Python/libraries/recognizers-number-with-unit/setup.py +++ b/Python/libraries/recognizers-number-with-unit/setup.py @@ -10,7 +10,7 @@ def read(fname): NAME = "recognizers-text-number-with-unit-genesys" -VERSION = "1.0.50a1" +VERSION = "1.0.50" REQUIRES = ['recognizers-text-genesys', 'recognizers-text-number-genesys', 'regex'] setup( diff --git a/Python/libraries/recognizers-number/setup.py b/Python/libraries/recognizers-number/setup.py index 449e4f88f7..4f324c0b3c 100644 --- a/Python/libraries/recognizers-number/setup.py +++ b/Python/libraries/recognizers-number/setup.py @@ -10,7 +10,7 @@ def read(fname): NAME = "recognizers-text-number-genesys" -VERSION = "1.0.50a1" +VERSION = "1.0.50" REQUIRES = ['recognizers-text-genesys', 'regex'] setup( diff --git a/Python/libraries/recognizers-sequence/setup.py b/Python/libraries/recognizers-sequence/setup.py index c14d69afc3..47f4b97b8a 100644 --- a/Python/libraries/recognizers-sequence/setup.py +++ b/Python/libraries/recognizers-sequence/setup.py @@ -10,7 +10,7 @@ def read(fname): NAME = "recognizers-text-sequence-genesys" -VERSION = "1.0.50a1" +VERSION = "1.0.50" REQUIRES = ['recognizers-text-genesys', 'recognizers-text-number-genesys', 'regex'] setup( diff --git a/Python/libraries/recognizers-suite/setup.py b/Python/libraries/recognizers-suite/setup.py index 4e5b94cd26..47c88362de 100644 --- a/Python/libraries/recognizers-suite/setup.py +++ b/Python/libraries/recognizers-suite/setup.py @@ -10,14 +10,14 @@ def read(fname): NAME = 'recognizers-text-suite-genesys' -VERSION = '1.0.50a1' +VERSION = '1.0.50' REQUIRES = [ - 'recognizers-text-genesys==1.0.50a1', - 'recognizers-text-number-genesys==1.0.50a1', - 'recognizers-text-number-with-unit-genesys==1.0.50a1', - 'recognizers-text-date-time-genesys==1.0.50a1', - 'recognizers-text-sequence-genesys==1.0.50a1', - 'recognizers-text-choice-genesys==1.0.50a1' + 'recognizers-text-genesys==1.0.50', + 'recognizers-text-number-genesys==1.0.50', + 'recognizers-text-number-with-unit-genesys==1.0.50', + 'recognizers-text-date-time-genesys==1.0.50', + 'recognizers-text-sequence-genesys==1.0.50', + 'recognizers-text-choice-genesys==1.0.50' ] setup( diff --git a/Python/libraries/recognizers-text/setup.py b/Python/libraries/recognizers-text/setup.py index 9d95ed0011..8c9e085663 100644 --- a/Python/libraries/recognizers-text/setup.py +++ b/Python/libraries/recognizers-text/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages NAME = "recognizers-text-genesys" -VERSION = "1.0.50a1" +VERSION = "1.0.50" REQUIRES = ['emoji==1.1.0', 'multipledispatch'] setup(