From eda70eb70e984c0a97619251814f04868d459af5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=B6rje=20Karlsson?= Date: Mon, 19 Jul 2021 12:11:55 +0800 Subject: [PATCH] Adding missing headers and minor fixes (#2676) * Modifying base time of day resolution code to improve re-use and facilitate changing policy. * Adding spec for reported misspelt English number case. * Adding holiday variations in German. * Add missing code file headers across platforms. * Fixing Flake8 failures. * Removing null-coalescing assignment operator due to issue with .Net Core 2.1. --- .../English/NumbersDefinitions.cs | 4 +- .../English/NumbersWithUnitDefinitions.cs | 2 +- .../German/DateTimeDefinitions.cs | 4 +- .../Utilities/DefinitionLoader.cs | 5 +- .../ArabicBooleanExtractorConfiguration.cs | 5 +- .../BulgarianBooleanExtractorConfiguration.cs | 5 +- .../ChineseBooleanExtractorConfiguration.cs | 5 +- .../ChoiceOptions.cs | 5 +- .../ChoiceRecognizer.cs | 5 +- .../Config/BooleanParserConfiguration.cs | 5 +- .../Config/IChoiceParserConfiguration.cs | 5 +- .../Constants.cs | 5 +- .../DutchBooleanExtractorConfiguration.cs | 5 +- .../EnglishBooleanExtractorConfiguration.cs | 5 +- .../Extractors/BooleanExtractor.cs | 5 +- .../Extractors/ChoiceExtractDataResult.cs | 5 +- .../Extractors/ChoiceExtractor.cs | 5 +- .../IBooleanExtractorConfiguration.cs | 5 +- .../IChoiceExtractorConfiguration.cs | 5 +- .../FrenchBooleanExtractorConfiguration.cs | 5 +- .../GermanBooleanExtractorConfiguration.cs | 5 +- .../HindiBooleanExtractorConfiguration.cs | 5 +- .../ItalianBooleanExtractorConfiguration.cs | 5 +- .../JapaneseBooleanExtractorConfiguration.cs | 5 +- .../Models/BooleanModel.cs | 5 +- .../Models/ChoiceModel.cs | 5 +- .../Parsers/BooleanParser.cs | 5 +- .../Parsers/ChoiceParseDataResult.cs | 5 +- .../Parsers/ChoiceParser.cs | 5 +- .../Parsers/OtherMatchParseResult.cs | 5 +- ...PortugueseBooleanExtractorConfiguration.cs | 5 +- .../SpanishBooleanExtractorConfiguration.cs | 5 +- .../SwedishBooleanExtractorConfiguration.cs | 5 +- .../TurkishBooleanExtractorConfiguration.cs | 5 +- .../Utilities/UnicodeUtils.cs | 5 +- .../Choice/TestChoiceRecognizerCache.cs | 5 +- .../TestChoiceRecognizerInitialization.cs | 5 +- .../Choice/TestChoice_Arabic.cs | 5 +- .../Choice/TestChoice_Bulgarian.cs | 5 +- .../Choice/TestChoice_Chinese.cs | 5 +- .../Choice/TestChoice_Dutch.cs | 5 +- .../Choice/TestChoice_English.cs | 5 +- .../Choice/TestChoice_French.cs | 5 +- .../Choice/TestChoice_German.cs | 5 +- .../Choice/TestChoice_Hindi.cs | 5 +- .../Choice/TestChoice_Italian.cs | 5 +- .../Choice/TestChoice_Japanese.cs | 5 +- .../Choice/TestChoice_Portuguese.cs | 5 +- .../Choice/TestChoice_Spanish.cs | 5 +- .../Choice/TestChoice_Swedish.cs | 5 +- .../Choice/TestChoice_Turkish.cs | 5 +- .../DateTime/TestDateTimeRecognizerCache.cs | 5 +- .../TestDateTimeRecognizerInitialization.cs | 5 +- .../DateTime/TestDateTime_Arabic.cs | 5 +- .../DateTime/TestDateTime_Chinese.cs | 5 +- .../DateTime/TestDateTime_Dutch.cs | 5 +- .../DateTime/TestDateTime_English.cs | 5 +- .../DateTime/TestDateTime_EnglishOthers.cs | 5 +- .../DateTime/TestDateTime_French.cs | 5 +- .../DateTime/TestDateTime_German.cs | 5 +- .../DateTime/TestDateTime_Hindi.cs | 5 +- .../DateTime/TestDateTime_Italian.cs | 5 +- .../DateTime/TestDateTime_Japanese.cs | 5 +- .../DateTime/TestDateTime_Korean.cs | 5 +- .../DateTime/TestDateTime_Portuguese.cs | 5 +- .../DateTime/TestDateTime_Spanish.cs | 5 +- .../DateTime/TestDateTime_Turkish.cs | 5 +- .../Matcher/SimpleTokenizerTest.cs | 7 +- .../Matcher/StringMatcherTest.cs | 5 +- .../NetCoreTestDataSourceAttribute.cs | 5 +- .../Number/LongFormTestConfiguration.cs | 5 +- .../TestDecimalAndThousandsSeparators.cs | 5 +- .../Number/TestNumberRecognizerCache.cs | 5 +- .../TestNumberRecognizerInitialization.cs | 5 +- .../Number/TestNumber_Arabic.cs | 5 +- .../Number/TestNumber_Chinese.cs | 5 +- .../Number/TestNumber_Dutch.cs | 5 +- .../Number/TestNumber_English.cs | 5 +- .../Number/TestNumber_French.cs | 5 +- .../Number/TestNumber_German.cs | 5 +- .../Number/TestNumber_Hindi.cs | 5 +- .../Number/TestNumber_Italian.cs | 5 +- .../Number/TestNumber_Japanese.cs | 5 +- .../Number/TestNumber_Korean.cs | 5 +- .../Number/TestNumber_Portuguese.cs | 5 +- .../Number/TestNumber_Spanish.cs | 5 +- .../Number/TestNumber_SpanishMexican.cs | 5 +- .../Number/TestNumber_Swedish.cs | 5 +- .../Number/TestNumber_Turkish.cs | 5 +- .../Number/TestParserFactory.cs | 5 +- .../TestNumberWithUnitRecognizerCache.cs | 5 +- ...tNumberWithUnitRecognizerInitialization.cs | 5 +- .../TestNumberWithUnit_Chinese.cs | 5 +- .../TestNumberWithUnit_Dutch.cs | 5 +- .../TestNumberWithUnit_English.cs | 5 +- .../TestNumberWithUnit_French.cs | 5 +- .../TestNumberWithUnit_German.cs | 5 +- .../TestNumberWithUnit_Hindi.cs | 5 +- .../TestNumberWithUnit_Italian.cs | 5 +- .../TestNumberWithUnit_Japanese.cs | 5 +- .../TestNumberWithUnit_Korean.cs | 5 +- .../TestNumberWithUnit_Portuguese.cs | 5 +- .../TestNumberWithUnit_Spanish.cs | 5 +- .../TestNumberWithUnit_Swedish.cs | 5 +- .../TestNumberWithUnit_Turkish.cs | 5 +- .../Sequence/TestSequenceRecognizerCache.cs | 5 +- .../TestSequenceRecognizerInitialization.cs | 5 +- .../Sequence/TestSequence_Chinese.cs | 5 +- .../Sequence/TestSequence_Dutch.cs | 5 +- .../Sequence/TestSequence_English.cs | 5 +- .../Sequence/TestSequence_French.cs | 5 +- .../Sequence/TestSequence_German.cs | 5 +- .../Sequence/TestSequence_Hindi.cs | 5 +- .../Sequence/TestSequence_Italian.cs | 5 +- .../Sequence/TestSequence_Japanese.cs | 5 +- .../Sequence/TestSequence_Korean.cs | 5 +- .../Sequence/TestSequence_Portuguese.cs | 5 +- .../Sequence/TestSequence_Spanish.cs | 5 +- .../Sequence/TestSequence_Turkish.cs | 5 +- .../TestBase.cs | 5 +- .../TestHelpers.cs | 5 +- .../TestModel.cs | 5 +- .../TestResources.cs | 5 +- .../DateRange.cs | 1 + .../ArabicDateExtractorConfiguration.cs | 5 +- .../ArabicDatePeriodExtractorConfiguration.cs | 4 +- ...ArabicDateTimeAltExtractorConfiguration.cs | 5 +- .../ArabicDateTimeExtractorConfiguration.cs | 5 +- ...bicDateTimePeriodExtractorConfiguration.cs | 5 +- .../ArabicDurationExtractorConfiguration.cs | 5 +- .../ArabicHolidayExtractorConfiguration.cs | 5 +- .../ArabicMergedExtractorConfiguration.cs | 5 +- .../ArabicSetExtractorConfiguration.cs | 5 +- .../ArabicTimeExtractorConfiguration.cs | 5 +- .../ArabicTimePeriodExtractorConfiguration.cs | 5 +- ...ArabicCommonDateTimeParserConfiguration.cs | 5 +- .../Parsers/ArabicDateParserConfiguration.cs | 5 +- .../ArabicDatePeriodParserConfiguration.cs | 5 +- .../ArabicDateTimeAltParserConfiguration.cs | 5 +- .../ArabicDateTimeParserConfiguration.cs | 5 +- ...ArabicDateTimePeriodParserConfiguration.cs | 17 ++-- .../ArabicDurationParserConfiguration.cs | 5 +- .../ArabicHolidayParserConfiguration.cs | 5 +- .../ArabicMergedParserConfiguration.cs | 5 +- .../Parsers/ArabicSetParserConfiguration.cs | 5 +- .../Parsers/ArabicTimeParserConfiguration.cs | 5 +- .../ArabicTimePeriodParserConfiguration.cs | 10 ++- .../Arabic/Parsers/TimeParser.cs | 5 +- .../ArabicDatetimeUtilityConfiguration.cs | 5 +- .../ChineseDateExtractorConfiguration.cs | 5 +- ...ChineseDatePeriodExtractorConfiguration.cs | 5 +- .../ChineseDateTimeExtractorConfiguration.cs | 5 +- ...eseDateTimePeriodExtractorConfiguration.cs | 5 +- .../ChineseDurationExtractorConfiguration.cs | 5 +- .../ChineseHolidayExtractorConfiguration.cs | 5 +- .../ChineseMergedExtractorConfiguration.cs | 5 +- .../ChineseSetExtractorConfiguration.cs | 5 +- .../ChineseTimeExtractorConfiguration.cs | 5 +- ...ChineseTimePeriodExtractorConfiguration.cs | 5 +- ...hineseCommonDateTimeParserConfiguration.cs | 5 +- .../Parsers/ChineseDateParserConfiguration.cs | 5 +- .../ChineseDatePeriodParserConfiguration.cs | 5 +- .../ChineseDateTimeParserConfiguration.cs | 5 +- ...hineseDateTimePeriodParserConfiguration.cs | 80 ++++++++----------- .../ChineseDurationParserConfiguration.cs | 5 +- .../ChineseHolidayParserConfiguration.cs | 5 +- .../ChineseMergedParserConfiguration.cs | 5 +- .../Parsers/ChineseSetParserConfiguration.cs | 5 +- .../Parsers/ChineseTimeParserConfiguration.cs | 5 +- .../ChineseTimePeriodParserConfiguration.cs | 7 +- .../BaseDateTimeOptionsConfiguration.cs | 5 +- .../Config/IDateTimeOptionsConfiguration.cs | 5 +- .../Constants.cs | 22 +++-- .../DataStructure.cs | 5 +- .../DateTimeOptions.cs | 5 +- .../DateTimeRecognizer.cs | 5 +- .../DateTimeResolutionKey.cs | 5 +- .../DutchDateExtractorConfiguration.cs | 5 +- .../DutchDatePeriodExtractorConfiguration.cs | 5 +- .../DutchDateTimeAltExtractorConfiguration.cs | 5 +- .../DutchDateTimeExtractorConfiguration.cs | 5 +- ...tchDateTimePeriodExtractorConfiguration.cs | 5 +- .../DutchDurationExtractorConfiguration.cs | 5 +- .../DutchHolidayExtractorConfiguration.cs | 5 +- .../DutchMergedExtractorConfiguration.cs | 5 +- .../DutchSetExtractorConfiguration.cs | 5 +- .../DutchTimeExtractorConfiguration.cs | 5 +- .../DutchTimePeriodExtractorConfiguration.cs | 5 +- .../DutchTimeZoneExtractorConfiguration.cs | 5 +- .../DutchCommonDateTimeParserConfiguration.cs | 5 +- .../Parsers/DutchDateParserConfiguration.cs | 5 +- .../DutchDatePeriodParserConfiguration.cs | 5 +- .../DutchDateTimeAltParserConfiguration.cs | 5 +- .../DutchDateTimeParserConfiguration.cs | 5 +- .../DutchDateTimePeriodParserConfiguration.cs | 33 ++++---- .../DutchDurationParserConfiguration.cs | 5 +- .../DutchHolidayParserConfiguration.cs | 5 +- .../Parsers/DutchMergedParserConfiguration.cs | 5 +- .../Parsers/DutchSetParserConfiguration.cs | 5 +- .../Parsers/DutchTimeParserConfiguration.cs | 5 +- .../DutchTimePeriodParserConfiguration.cs | 9 ++- .../Dutch/Parsers/TimeParser.cs | 5 +- .../DutchDatetimeUtilityConfiguration.cs | 5 +- ...nglishDateTimeAltExtractorConfiguration.cs | 5 +- .../EnglishDateTimeExtractorConfiguration.cs | 5 +- ...ishDateTimePeriodExtractorConfiguration.cs | 5 +- .../EnglishDurationExtractorConfiguration.cs | 5 +- .../EnglishHolidayExtractorConfiguration.cs | 5 +- .../EnglishMergedExtractorConfiguration.cs | 5 +- .../EnglishSetExtractorConfiguration.cs | 5 +- .../EnglishTimeExtractorConfiguration.cs | 5 +- ...EnglishTimePeriodExtractorConfiguration.cs | 5 +- .../EnglishTimeZoneExtractorConfiguration.cs | 5 +- ...nglishCommonDateTimeParserConfiguration.cs | 5 +- .../Parsers/EnglishDateParserConfiguration.cs | 5 +- .../EnglishDatePeriodParserConfiguration.cs | 5 +- .../EnglishDateTimeAltParserConfiguration.cs | 5 +- .../EnglishDateTimeParserConfiguration.cs | 5 +- ...nglishDateTimePeriodParserConfiguration.cs | 17 ++-- .../EnglishDurationParserConfiguration.cs | 5 +- .../EnglishHolidayParserConfiguration.cs | 5 +- .../EnglishMergedParserConfiguration.cs | 5 +- .../Parsers/EnglishSetParserConfiguration.cs | 5 +- .../Parsers/EnglishTimeParserConfiguration.cs | 5 +- .../EnglishTimePeriodParserConfiguration.cs | 9 ++- .../English/Parsers/TimeParser.cs | 5 +- .../EnglishDatetimeUtilityConfiguration.cs | 5 +- .../Extractors/AbstractYearExtractor.cs | 5 +- .../Extractors/BaseDateExtractor.cs | 5 +- .../Extractors/BaseDatePeriodExtractor.cs | 5 +- .../Extractors/BaseDateTimeAltExtractor.cs | 5 +- .../Extractors/BaseDateTimeExtractor.cs | 5 +- .../Extractors/BaseDateTimePeriodExtractor.cs | 5 +- .../Extractors/BaseDurationExtractor.cs | 5 +- .../Extractors/BaseHolidayExtractor.cs | 5 +- .../Extractors/BaseMergedDateTimeExtractor.cs | 5 +- .../Extractors/BaseSetExtractor.cs | 5 +- .../Extractors/BaseTimeExtractor.cs | 5 +- .../Extractors/BaseTimePeriodExtractor.cs | 5 +- .../Extractors/BaseTimeZoneExtractor.cs | 5 +- .../Extractors/CJK/BaseCJKDateExtractor.cs | 5 +- .../CJK/BaseCJKDatePeriodExtractor.cs | 5 +- .../CJK/BaseCJKDateTimeExtractor.cs | 5 +- .../CJK/BaseCJKDateTimePeriodExtractor.cs | 5 +- .../CJK/BaseCJKDurationExtractor.cs | 5 +- .../Extractors/CJK/BaseCJKHolidayExtractor.cs | 5 +- .../CJK/BaseCJKMergedDateTimeExtractor.cs | 5 +- .../Extractors/CJK/BaseCJKSetExtractor.cs | 5 +- .../Extractors/CJK/BaseCJKTimeExtractor.cs | 5 +- .../CJK/BaseCJKTimePeriodExtractor.cs | 5 +- .../CJK/ICJKDateExtractorConfiguration.cs | 5 +- .../ICJKDatePeriodExtractorConfiguration.cs | 5 +- .../CJK/ICJKDateTimeExtractorConfiguration.cs | 5 +- ...CJKDateTimePeriodExtractorConfiguration.cs | 5 +- .../CJK/ICJKDurationExtractorConfiguration.cs | 5 +- .../CJK/ICJKHolidayExtractorConfiguration.cs | 5 +- .../CJK/ICJKMergedExtractorConfiguration.cs | 5 +- .../CJK/ICJKSetExtractorConfiguration.cs | 5 +- .../CJK/ICJKTimeExtractorConfiguration.cs | 5 +- .../ICJKTimePeriodExtractorConfiguration.cs | 5 +- .../Extractors/IDateExtractor.cs | 3 +- .../Extractors/IDateExtractorConfiguration.cs | 5 +- .../IDatePeriodExtractorConfiguration.cs | 5 +- .../IDateTimeAltExtractorConfiguration.cs | 5 +- .../Extractors/IDateTimeExtractor.cs | 3 +- .../IDateTimeExtractorConfiguration.cs | 5 +- .../Extractors/IDateTimeListExtractor.cs | 3 +- .../IDateTimePeriodExtractorConfiguration.cs | 5 +- .../Extractors/IDateTimeZoneExtractor.cs | 5 +- .../IDurationExtractorConfiguration.cs | 5 +- .../IHolidayExtractorConfiguration.cs | 5 +- .../IMergedExtractorConfiguration.cs | 5 +- .../Extractors/ISetExtractorConfiguration.cs | 5 +- .../Extractors/ITimeExtractorConfiguration.cs | 5 +- .../ITimePeriodExtractorConfiguration.cs | 5 +- .../ITimeZoneExtractorConfiguration.cs | 5 +- .../FrenchDateExtractorConfiguration.cs | 5 +- .../FrenchDatePeriodExtractorConfiguration.cs | 5 +- ...FrenchDateTimeAltExtractorConfiguration.cs | 5 +- .../FrenchDateTimeExtractorConfiguration.cs | 5 +- ...nchDateTimePeriodExtractorConfiguration.cs | 5 +- .../FrenchDurationExtractorConfiguration.cs | 5 +- .../FrenchHolidayExtractorConfiguration.cs | 5 +- .../FrenchMergedExtractorConfiguration.cs | 5 +- .../FrenchSetExtractorConfiguration.cs | 5 +- .../FrenchTimeExtractorConfiguration.cs | 5 +- .../FrenchTimePeriodExtractorConfiguration.cs | 5 +- .../FrenchTimeZoneExtractorConfiguration.cs | 5 +- ...FrenchCommonDateTimeParserConfiguration.cs | 5 +- .../Parsers/FrenchDateParserConfiguration.cs | 5 +- .../FrenchDatePeriodParserConfiguration.cs | 5 +- .../FrenchDateTimeAltParserConfiguration.cs | 5 +- .../FrenchDateTimeParserConfiguration.cs | 5 +- ...FrenchDateTimePeriodParserConfiguration.cs | 32 ++++---- .../FrenchDurationParserConfiguration.cs | 5 +- .../FrenchHolidayParserConfiguration.cs | 5 +- .../FrenchMergedParserConfiguration.cs | 5 +- .../Parsers/FrenchSetParserConfiguration.cs | 5 +- .../Parsers/FrenchTimeParserConfiguration.cs | 5 +- .../FrenchTimePeriodParserConfiguration.cs | 9 ++- .../French/Parsers/TimeParser.cs | 5 +- .../FrenchDatetimeUtilityConfiguration.cs | 5 +- .../GermanDateExtractorConfiguration.cs | 5 +- .../GermanDatePeriodExtractorConfiguration.cs | 5 +- ...GermanDateTimeAltExtractorConfiguration.cs | 5 +- .../GermanDateTimeExtractorConfiguration.cs | 5 +- ...manDateTimePeriodExtractorConfiguration.cs | 5 +- .../GermanDurationExtractorConfiguration.cs | 5 +- .../GermanHolidayExtractorConfiguration.cs | 5 +- .../GermanMergedExtractorConfiguration.cs | 5 +- .../GermanSetExtractorConfiguration.cs | 5 +- .../GermanTimeExtractorConfiguration.cs | 5 +- .../GermanTimePeriodExtractorConfiguration.cs | 5 +- .../GermanTimeZoneExtractorConfiguration.cs | 5 +- ...GermanCommonDateTimeParserConfiguration.cs | 5 +- .../Parsers/GermanDateParserConfiguration.cs | 5 +- .../GermanDatePeriodParserConfiguration.cs | 5 +- .../GermanDateTimeParserConfiguration.cs | 5 +- ...GermanDateTimePeriodParserConfiguration.cs | 33 ++++---- .../GermanDurationParserConfiguration.cs | 5 +- .../GermanHolidayParserConfiguration.cs | 5 +- .../GermanMergedParserConfiguration.cs | 5 +- .../Parsers/GermanSetParserConfiguration.cs | 5 +- .../Parsers/GermanTimeParserConfiguration.cs | 5 +- .../GermanTimePeriodParserConfiguration.cs | 9 ++- .../German/Parsers/HolidayParserGer.cs | 25 +++--- .../German/Parsers/TimeParser.cs | 5 +- .../GermanDatetimeUtilityConfiguration.cs | 5 +- .../HindiDateExtractorConfiguration.cs | 5 +- .../HindiDatePeriodExtractorConfiguration.cs | 5 +- .../HindiDateTimeAltExtractorConfiguration.cs | 5 +- .../HindiDateTimeExtractorConfiguration.cs | 5 +- ...ndiDateTimePeriodExtractorConfiguration.cs | 5 +- .../HindiDurationExtractorConfiguration.cs | 5 +- .../HindiHolidayExtractorConfiguration.cs | 5 +- .../HindiMergedExtractorConfiguration.cs | 5 +- .../HindiSetExtractorConfiguration.cs | 5 +- .../HindiTimeExtractorConfiguration.cs | 5 +- .../HindiTimePeriodExtractorConfiguration.cs | 5 +- .../HindiCommonDateTimeParserConfiguration.cs | 5 +- .../Parsers/HindiDateParserConfiguration.cs | 5 +- .../HindiDatePeriodParserConfiguration.cs | 5 +- .../HindiDateTimeAltParserConfiguration.cs | 5 +- .../HindiDateTimeParserConfiguration.cs | 5 +- .../HindiDateTimePeriodParserConfiguration.cs | 33 ++++---- .../HindiDurationParserConfiguration.cs | 5 +- .../HindiHolidayParserConfiguration.cs | 5 +- .../Parsers/HindiMergedParserConfiguration.cs | 5 +- .../Parsers/HindiSetParserConfiguration.cs | 5 +- .../Parsers/HindiTimeParserConfiguration.cs | 5 +- .../HindiTimePeriodParserConfiguration.cs | 9 ++- .../Hindi/Parsers/TimeParser.cs | 5 +- .../HindiDatetimeUtilityConfiguration.cs | 5 +- .../ItalianDateExtractorConfiguration.cs | 5 +- ...ItalianDatePeriodExtractorConfiguration.cs | 5 +- ...talianDateTimeAltExtractorConfiguration.cs | 5 +- .../ItalianDateTimeExtractorConfiguration.cs | 5 +- ...ianDateTimePeriodExtractorConfiguration.cs | 5 +- .../ItalianDurationExtractorConfiguration.cs | 5 +- .../ItalianHolidayExtractorConfiguration.cs | 5 +- .../ItalianMergedExtractorConfiguration.cs | 5 +- .../ItalianSetExtractorConfiguration.cs | 5 +- .../ItalianTimeExtractorConfiguration.cs | 5 +- ...ItalianTimePeriodExtractorConfiguration.cs | 5 +- .../ItalianTimeZoneExtractorConfiguration.cs | 5 +- ...talianCommonDateTimeParserConfiguration.cs | 5 +- .../Parsers/ItalianDateParserConfiguration.cs | 5 +- .../ItalianDatePeriodParserConfiguration.cs | 5 +- .../ItalianDateTimeAltParserConfiguration.cs | 5 +- .../ItalianDateTimeParserConfiguration.cs | 5 +- ...talianDateTimePeriodParserConfiguration.cs | 34 ++++---- .../ItalianDurationParserConfiguration.cs | 5 +- .../ItalianHolidayParserConfiguration.cs | 5 +- .../ItalianMergedParserConfiguration.cs | 5 +- .../Parsers/ItalianSetParserConfiguration.cs | 5 +- .../Parsers/ItalianTimeParserConfiguration.cs | 5 +- .../ItalianTimePeriodParserConfiguration.cs | 9 ++- .../Italian/Parsers/TimeParser.cs | 5 +- .../ItalianDatetimeUtilityConfiguration.cs | 5 +- .../JapaneseDateExtractorConfiguration.cs | 5 +- ...apaneseDatePeriodExtractorConfiguration.cs | 5 +- .../JapaneseDateTimeExtractorConfiguration.cs | 5 +- ...eseDateTimePeriodExtractorConfiguration.cs | 5 +- .../JapaneseDurationExtractorConfiguration.cs | 5 +- .../JapaneseHolidayExtractorConfiguration.cs | 5 +- .../JapaneseMergedExtractorConfiguration.cs | 5 +- .../JapaneseSetExtractorConfiguration.cs | 5 +- .../JapaneseTimeExtractorConfiguration.cs | 5 +- ...apaneseTimePeriodExtractorConfiguration.cs | 5 +- ...paneseCommonDateTimeParserConfiguration.cs | 5 +- .../JapaneseDateParserConfiguration.cs | 5 +- .../JapaneseDatePeriodParserConfiguration.cs | 5 +- .../JapaneseDateTimeParserConfiguration.cs | 5 +- ...paneseDateTimePeriodParserConfiguration.cs | 80 ++++++++----------- .../JapaneseDurationParserConfiguration.cs | 5 +- .../JapaneseHolidayParserConfiguration.cs | 5 +- .../JapaneseMergedParserConfiguration.cs | 5 +- .../Parsers/JapaneseSetParserConfiguration.cs | 5 +- .../JapaneseTimeParserConfiguration.cs | 5 +- .../JapaneseTimePeriodParserConfiguration.cs | 7 +- .../KoreanDateExtractorConfiguration.cs | 5 +- .../KoreanDatePeriodExtractorConfiguration.cs | 5 +- .../KoreanDateTimeExtractorConfiguration.cs | 5 +- ...eanDateTimePeriodExtractorConfiguration.cs | 5 +- .../KoreanDurationExtractorConfiguration.cs | 5 +- .../KoreanHolidayExtractorConfiguration.cs | 5 +- .../KoreanMergedExtractorConfiguration.cs | 5 +- .../KoreanSetExtractorConfiguration.cs | 5 +- .../KoreanTimeExtractorConfiguration.cs | 5 +- .../KoreanTimePeriodExtractorConfiguration.cs | 5 +- ...KoreanCommonDateTimeParserConfiguration.cs | 5 +- .../Parsers/KoreanDateParserConfiguration.cs | 5 +- .../KoreanDatePeriodParserConfiguration.cs | 5 +- .../KoreanDateTimeParserConfiguration.cs | 5 +- ...KoreanDateTimePeriodParserConfiguration.cs | 80 ++++++++----------- .../KoreanDurationParserConfiguration.cs | 5 +- .../KoreanHolidayParserConfiguration.cs | 5 +- .../KoreanMergedParserConfiguration.cs | 5 +- .../Parsers/KoreanSetParserConfiguration.cs | 5 +- .../Parsers/KoreanTimeParserConfiguration.cs | 5 +- .../KoreanTimePeriodParserConfiguration.cs | 7 +- .../Models/DateTimeModel.cs | 5 +- .../Parsers/BaseDateParser.cs | 5 +- .../Parsers/BaseDateParserConfiguration.cs | 5 +- .../Parsers/BaseDatePeriodParser.cs | 5 +- .../Parsers/BaseDateTimeAltParser.cs | 5 +- .../Parsers/BaseDateTimeParser.cs | 5 +- .../Parsers/BaseDateTimePeriodParser.cs | 11 ++- .../Parsers/BaseDurationParser.cs | 5 +- .../Parsers/BaseHolidayParser.cs | 5 +- .../Parsers/BaseHolidayParserConfiguration.cs | 5 +- .../Parsers/BaseMergedDateTimeParser.cs | 44 +++------- .../Parsers/BaseSetParser.cs | 5 +- .../Parsers/BaseTimeParser.cs | 5 +- .../Parsers/BaseTimePeriodParser.cs | 19 +++-- .../Parsers/BaseTimeZoneParser.cs | 5 +- .../Parsers/CJK/BaseCJKDateParser.cs | 5 +- .../CJK/BaseCJKDateParserConfiguration.cs | 5 +- .../Parsers/CJK/BaseCJKDatePeriodParser.cs | 5 +- .../Parsers/CJK/BaseCJKDateTimeParser.cs | 5 +- .../CJK/BaseCJKDateTimePeriodParser.cs | 13 +-- .../Parsers/CJK/BaseCJKDurationParser.cs | 5 +- .../Parsers/CJK/BaseCJKHolidayParser.cs | 5 +- .../CJK/BaseCJKMergedDateTimeParser.cs | 5 +- .../Parsers/CJK/BaseCJKSetParser.cs | 5 +- .../Parsers/CJK/BaseCJKTimeParser.cs | 5 +- .../Parsers/CJK/BaseCJKTimePeriodParser.cs | 5 +- .../ICJKCommonDateTimeParserConfiguration.cs | 5 +- .../CJK/ICJKDateParserConfiguration.cs | 5 +- .../CJK/ICJKDatePeriodParserConfiguration.cs | 5 +- .../CJK/ICJKDateTimeParserConfiguration.cs | 5 +- .../ICJKDateTimePeriodParserConfiguration.cs | 9 ++- .../CJK/ICJKDurationParserConfiguration.cs | 5 +- .../CJK/ICJKHolidayParserConfiguration.cs | 5 +- .../CJK/ICJKMergedParserConfiguration.cs | 5 +- .../Parsers/CJK/ICJKSetParserConfiguration.cs | 5 +- .../CJK/ICJKTimeParserConfiguration.cs | 5 +- .../CJK/ICJKTimePeriodParserConfiguration.cs | 5 +- .../Parsers/DummyTimeZoneParser.cs | 5 +- .../ICommonDateTimeParserConfiguration.cs | 5 +- .../Parsers/IDateParserConfiguration.cs | 5 +- .../Parsers/IDatePeriodParserConfiguration.cs | 5 +- .../IDateTimeAltParserConfiguration.cs | 5 +- .../Parsers/IDateTimeParser.cs | 5 +- .../Parsers/IDateTimeParserConfiguration.cs | 5 +- .../IDateTimePeriodParserConfiguration.cs | 7 +- .../Parsers/IDurationParserConfiguration.cs | 5 +- .../Parsers/IHolidayParserConfiguration.cs | 5 +- .../Parsers/IMergedParserConfiguration.cs | 5 +- .../Parsers/ISetParserConfiguration.cs | 5 +- .../ISimpleDatePeriodParserConfiguration.cs | 5 +- .../Parsers/ITimeParserConfiguration.cs | 5 +- .../Parsers/ITimePeriodParserConfiguration.cs | 7 +- .../PortugueseDateExtractorConfiguration.cs | 5 +- ...tugueseDatePeriodExtractorConfiguration.cs | 5 +- ...ugueseDateTimeAltExtractorConfiguration.cs | 5 +- ...ortugueseDateTimeExtractorConfiguration.cs | 5 +- ...eseDateTimePeriodExtractorConfiguration.cs | 5 +- ...ortugueseDurationExtractorConfiguration.cs | 5 +- ...PortugueseHolidayExtractorConfiguration.cs | 5 +- .../PortugueseMergedExtractorConfiguration.cs | 5 +- .../PortugueseSetExtractorConfiguration.cs | 5 +- .../PortugueseTimeExtractorConfiguration.cs | 5 +- ...tugueseTimePeriodExtractorConfiguration.cs | 5 +- ...ortugueseTimeZoneExtractorConfiguration.cs | 5 +- .../Parsers/DateTimePeriodParser.cs | 5 +- ...ugueseCommonDateTimeParserConfiguration.cs | 5 +- .../PortugueseDateParserConfiguration.cs | 5 +- ...PortugueseDatePeriodParserConfiguration.cs | 5 +- .../PortugueseDateTimeParserConfiguration.cs | 5 +- ...ugueseDateTimePeriodParserConfiguration.cs | 36 ++++----- .../PortugueseDurationParserConfiguration.cs | 5 +- .../PortugueseHolidayParserConfiguration.cs | 5 +- .../PortugueseMergedParserConfiguration.cs | 5 +- .../PortugueseSetParserConfiguration.cs | 5 +- .../PortugueseTimeParserConfiguration.cs | 5 +- ...PortugueseTimePeriodParserConfiguration.cs | 9 ++- .../PortugueseDatetimeUtilityConfiguration.cs | 5 +- .../Properties/AssemblyInfo.cs | 5 +- .../SpanishDateExtractorConfiguration.cs | 5 +- ...SpanishDatePeriodExtractorConfiguration.cs | 5 +- ...panishDateTimeAltExtractorConfiguration.cs | 5 +- .../SpanishDateTimeExtractorConfiguration.cs | 5 +- ...ishDateTimePeriodExtractorConfiguration.cs | 5 +- .../SpanishDurationExtractorConfiguration.cs | 5 +- .../SpanishHolidayExtractorConfiguration.cs | 5 +- .../SpanishMergedExtractorConfiguration.cs | 5 +- .../SpanishSetExtractorConfiguration.cs | 5 +- .../SpanishTimeExtractorConfiguration.cs | 5 +- ...SpanishTimePeriodExtractorConfiguration.cs | 5 +- .../SpanishTimeZoneExtractorConfiguration.cs | 5 +- .../Spanish/Parsers/DateTimePeriodParser.cs | 5 +- ...panishCommonDateTimeParserConfiguration.cs | 5 +- .../Parsers/SpanishDateParserConfiguration.cs | 5 +- .../SpanishDatePeriodParserConfiguration.cs | 5 +- .../SpanishDateTimeAltParserConfiguration.cs | 5 +- .../SpanishDateTimeParserConfiguration.cs | 5 +- ...panishDateTimePeriodParserConfiguration.cs | 38 ++++----- .../SpanishDurationParserConfiguration.cs | 5 +- .../SpanishHolidayParserConfiguration.cs | 5 +- .../SpanishMergedParserConfiguration.cs | 5 +- .../Parsers/SpanishSetParserConfiguration.cs | 5 +- .../Parsers/SpanishTimeParserConfiguration.cs | 5 +- .../SpanishTimePeriodParserConfiguration.cs | 9 ++- .../SpanishDatetimeUtilityConfiguration.cs | 5 +- .../TimeTypeConstants.cs | 5 +- .../TurkishDateExtractorConfiguration.cs | 5 +- ...TurkishDatePeriodExtractorConfiguration.cs | 5 +- ...urkishDateTimeAltExtractorConfiguration.cs | 5 +- .../TurkishDateTimeExtractorConfiguration.cs | 5 +- ...ishDateTimePeriodExtractorConfiguration.cs | 5 +- .../TurkishDurationExtractorConfiguration.cs | 5 +- .../TurkishHolidayExtractorConfiguration.cs | 5 +- .../TurkishMergedExtractorConfiguration.cs | 5 +- .../TurkishSetExtractorConfiguration.cs | 5 +- .../TurkishTimeExtractorConfiguration.cs | 5 +- ...TurkishTimePeriodExtractorConfiguration.cs | 5 +- .../Turkish/Parsers/TimeParser.cs | 5 +- ...urkishCommonDateTimeParserConfiguration.cs | 5 +- .../Parsers/TurkishDateParserConfiguration.cs | 5 +- .../TurkishDatePeriodParserConfiguration.cs | 5 +- .../TurkishDateTimeAltParserConfiguration.cs | 5 +- .../TurkishDateTimeParserConfiguration.cs | 5 +- ...urkishDateTimePeriodParserConfiguration.cs | 33 ++++---- .../TurkishDurationParserConfiguration.cs | 5 +- .../TurkishHolidayParserConfiguration.cs | 5 +- .../TurkishMergedParserConfiguration.cs | 5 +- .../Parsers/TurkishSetParserConfiguration.cs | 5 +- .../Parsers/TurkishTimeParserConfiguration.cs | 5 +- .../TurkishTimePeriodParserConfiguration.cs | 9 ++- .../TurkishDatetimeUtilityConfiguration.cs | 5 +- .../Utilities/AgoLaterUtil.cs | 5 +- .../Utilities/DateContext.cs | 5 +- .../Utilities/DateObjectExtension.cs | 5 +- .../Utilities/DateTimeExtra.cs | 5 +- .../Utilities/DateTimeFormatUtil.cs | 5 +- .../Utilities/DateTimeResolutionResult.cs | 5 +- .../Utilities/DurationParsingUtil.cs | 5 +- .../Utilities/ExtractResultExtension.cs | 5 +- .../Utilities/HolidayFunctions.cs | 5 +- .../IDateTimeUtilityConfiguration.cs | 5 +- .../Utilities/MatchingUtil.cs | 5 +- .../Utilities/ModAndDateResult.cs | 5 +- .../Utilities/RangeTimexComponents.cs | 5 +- .../Utilities/SetHandler.cs | 5 +- .../Utilities/StringExtension.cs | 5 +- .../Utilities/TimeFunctions.cs | 5 +- .../Utilities/TimeOfDayResolutionResult.cs | 7 +- .../Utilities/TimePeriodFunctions.cs | 5 +- .../Utilities/TimeResult.cs | 5 +- .../Utilities/TimeZoneResolutionResult.cs | 5 +- .../Utilities/TimeZoneUtility.cs | 5 +- .../Utilities/TimexUtility.cs | 37 ++++++++- .../Utilities/Token.cs | 5 +- .../Arabic/Extractors/CardinalExtractor.cs | 5 +- .../Arabic/Extractors/DoubleExtractor.cs | 5 +- .../Arabic/Extractors/FractionExtractor.cs | 5 +- .../Arabic/Extractors/IntegerExtractor.cs | 5 +- .../Arabic/Extractors/NumberExtractor.cs | 5 +- .../Arabic/Extractors/NumberRangeExtractor.cs | 5 +- .../Arabic/Extractors/OrdinalExtractor.cs | 5 +- .../Arabic/Extractors/PercentageExtractor.cs | 5 +- .../ArabicNumberParserConfiguration.cs | 5 +- .../ArabicNumberRangeParserConfiguration.cs | 5 +- .../Chinese/Extractors/CardinalExtractor.cs | 5 +- .../Chinese/Extractors/DoubleExtractor.cs | 5 +- .../Chinese/Extractors/FractionExtractor.cs | 5 +- .../Chinese/Extractors/IntegerExtractor.cs | 5 +- .../Chinese/Extractors/NumberExtractor.cs | 5 +- .../Extractors/NumberRangeExtractor.cs | 5 +- .../Chinese/Extractors/OrdinalExtractor.cs | 5 +- .../Chinese/Extractors/PercentageExtractor.cs | 5 +- .../ChineseNumberParserConfiguration.cs | 5 +- .../ChineseNumberRangeParserConfiguration.cs | 5 +- .../Config/BaseNumberOptionsConfiguration.cs | 5 +- .../Config/CJKNumberExtractorMode.cs | 5 +- .../Config/INumberOptionsConfiguration.cs | 5 +- .../Constants.cs | 5 +- .../Dutch/Extractors/CardinalExtractor.cs | 5 +- .../Dutch/Extractors/DoubleExtractor.cs | 5 +- .../Dutch/Extractors/FractionExtractor.cs | 5 +- .../Dutch/Extractors/IntegerExtractor.cs | 5 +- .../Dutch/Extractors/NumberExtractor.cs | 5 +- .../Dutch/Extractors/NumberRangeExtractor.cs | 5 +- .../Dutch/Extractors/OrdinalExtractor.cs | 5 +- .../Dutch/Extractors/PercentageExtractor.cs | 5 +- .../Parsers/DutchNumberParserConfiguration.cs | 5 +- .../DutchNumberRangeParserConfiguration.cs | 5 +- .../English/Extractors/CardinalExtractor.cs | 5 +- .../English/Extractors/DoubleExtractor.cs | 5 +- .../English/Extractors/FractionExtractor.cs | 5 +- .../English/Extractors/IntegerExtractor.cs | 5 +- .../Extractors/MergedNumberExtractor.cs | 5 +- .../English/Extractors/NumberExtractor.cs | 5 +- .../Extractors/NumberRangeExtractor.cs | 5 +- .../English/Extractors/OrdinalExtractor.cs | 5 +- .../English/Extractors/PercentageExtractor.cs | 5 +- .../EnglishNumberParserConfiguration.cs | 5 +- .../EnglishNumberRangeParserConfiguration.cs | 5 +- .../Extractors/BaseMergedNumberExtractor.cs | 5 +- .../Extractors/BaseNumberExtractor.cs | 5 +- .../Extractors/BaseNumberRangeExtractor.cs | 5 +- .../Extractors/BasePercentageExtractor.cs | 5 +- .../Extractors/CachedNumberExtractor.cs | 5 +- .../French/Extractors/CardinalExtractor.cs | 5 +- .../French/Extractors/DoubleExtractor.cs | 5 +- .../French/Extractors/FractionExtractor.cs | 5 +- .../French/Extractors/IntegerExtractor.cs | 5 +- .../French/Extractors/NumberExtractor.cs | 5 +- .../French/Extractors/NumberRangeExtractor.cs | 5 +- .../French/Extractors/OrdinalExtractor.cs | 5 +- .../French/Extractors/PercentageExtractor.cs | 5 +- .../FrenchNumberParserConfiguration.cs | 5 +- .../FrenchNumberRangeParserConfiguration.cs | 5 +- .../German/Extractors/CardinalExtractor.cs | 5 +- .../German/Extractors/DoubleExtractor.cs | 5 +- .../German/Extractors/FractionExtractor.cs | 5 +- .../German/Extractors/IntegerExtractor.cs | 5 +- .../German/Extractors/NumberExtractor.cs | 5 +- .../German/Extractors/NumberRangeExtractor.cs | 5 +- .../German/Extractors/OrdinalExtractor.cs | 5 +- .../German/Extractors/PercentageExtractor.cs | 5 +- .../GermanNumberParserConfiguration.cs | 5 +- .../GermanNumberRangeParserConfiguration.cs | 5 +- .../Hindi/Extractors/CardinalExtractor.cs | 5 +- .../Hindi/Extractors/DoubleExtractor.cs | 5 +- .../Hindi/Extractors/FractionExtractor.cs | 5 +- .../Hindi/Extractors/IntegerExtractor.cs | 5 +- .../Hindi/Extractors/MergedNumberExtractor.cs | 5 +- .../Hindi/Extractors/NumberExtractor.cs | 5 +- .../Hindi/Extractors/NumberRangeExtractor.cs | 5 +- .../Hindi/Extractors/OrdinalExtractor.cs | 5 +- .../Hindi/Extractors/PercentageExtractor.cs | 5 +- .../Parsers/HindiNumberParserConfiguration.cs | 5 +- .../HindiNumberRangeParserConfiguration.cs | 5 +- .../Italian/Extractors/CardinalExtractor.cs | 5 +- .../Italian/Extractors/DoubleExtractor.cs | 5 +- .../Italian/Extractors/FractionExtractor.cs | 5 +- .../Italian/Extractors/IntegerExtractor.cs | 5 +- .../Italian/Extractors/NumberExtractor.cs | 5 +- .../Extractors/NumberRangeExtractor.cs | 5 +- .../Italian/Extractors/OrdinalExtractor.cs | 5 +- .../Italian/Extractors/PercentageExtractor.cs | 5 +- .../ItalianNumberParserConfiguration.cs | 5 +- .../ItalianNumberRangeParserConfiguration.cs | 5 +- .../Japanese/Extractors/CardinalExtractor.cs | 5 +- .../Japanese/Extractors/DoubleExtractor.cs | 5 +- .../Japanese/Extractors/FractionExtractor.cs | 5 +- .../Japanese/Extractors/IntegerExtractor.cs | 5 +- .../Japanese/Extractors/NumberExtractor.cs | 5 +- .../Extractors/NumberRangeExtractor.cs | 5 +- .../Japanese/Extractors/OrdinalExtractor.cs | 5 +- .../Extractors/PercentageExtractor.cs | 5 +- .../JapaneseNumberParserConfiguration.cs | 5 +- .../JapaneseNumberRangeParserConfiguration.cs | 5 +- .../Korean/Extractors/CardinalExtractor.cs | 5 +- .../Korean/Extractors/DoubleExtractor.cs | 5 +- .../Korean/Extractors/FractionExtractor.cs | 5 +- .../Korean/Extractors/IntegerExtractor.cs | 5 +- .../Korean/Extractors/NumberExtractor.cs | 5 +- .../Korean/Extractors/NumberRangeExtractor.cs | 5 +- .../Korean/Extractors/OrdinalExtractor.cs | 5 +- .../Korean/Extractors/PercentageExtractor.cs | 5 +- .../KoreanNumberParserConfiguration.cs | 5 +- .../KoreanNumberRangeParserConfiguration.cs | 5 +- .../LongFormatType.cs | 5 +- .../Models/AbstractNumberModel.cs | 5 +- .../Models/NumberModel.cs | 5 +- .../Models/NumberRangeModel.cs | 5 +- .../Models/OrdinalModel.cs | 5 +- .../Models/PercentModel.cs | 5 +- .../NumberMapGenerator.cs | 5 +- .../NumberMode.cs | 5 +- .../NumberOptions.cs | 5 +- .../NumberRangeConstants.cs | 5 +- .../NumberRecognizer.cs | 5 +- .../Parsers/AgnosticNumberParserFactory.cs | 5 +- .../Parsers/BaseCJKNumberParser.cs | 5 +- .../Parsers/BaseIndianNumberParser.cs | 5 +- .../BaseIndianNumberParserConfiguration.cs | 5 +- .../Parsers/BaseNumberParser.cs | 5 +- .../Parsers/BaseNumberRangeParser.cs | 5 +- .../Parsers/BasePercentageParser.cs | 5 +- .../Parsers/ICJKNumberParserConfiguration.cs | 5 +- .../IIndianNumberParserConfiguration.cs | 5 +- .../Parsers/INumberParserConfiguration.cs | 5 +- .../INumberRangeParserConfiguration.cs | 5 +- .../Extractors/CardinalExtractor.cs | 5 +- .../Portuguese/Extractors/DoubleExtractor.cs | 5 +- .../Extractors/FractionExtractor.cs | 5 +- .../Portuguese/Extractors/IntegerExtractor.cs | 5 +- .../Portuguese/Extractors/NumberExtractor.cs | 5 +- .../Portuguese/Extractors/OrdinalExtractor.cs | 5 +- .../Extractors/PercentageExtractor.cs | 5 +- .../PortugueseNumberParserConfiguration.cs | 5 +- .../Properties/AssemblyInfo.cs | 5 +- .../RegexTagGenerator.cs | 5 +- .../Spanish/Extractors/CardinalExtractor.cs | 5 +- .../Spanish/Extractors/DoubleExtractor.cs | 5 +- .../Spanish/Extractors/FractionExtractor.cs | 5 +- .../Spanish/Extractors/IntegerExtractor.cs | 5 +- .../Spanish/Extractors/NumberExtractor.cs | 5 +- .../Extractors/NumberRangeExtractor.cs | 5 +- .../Spanish/Extractors/OrdinalExtractor.cs | 5 +- .../Spanish/Extractors/PercentageExtractor.cs | 5 +- .../SpanishNumberParserConfiguration.cs | 5 +- .../SpanishNumberRangeParserConfiguration.cs | 5 +- .../Swedish/Extractors/CardinalExtractor.cs | 5 +- .../Swedish/Extractors/DoubleExtractor.cs | 5 +- .../Swedish/Extractors/FractionExtractor.cs | 5 +- .../Swedish/Extractors/IntegerExtractor.cs | 5 +- .../Swedish/Extractors/NumberExtractor.cs | 5 +- .../Extractors/NumberRangeExtractor.cs | 5 +- .../Swedish/Extractors/OrdinalExtractor.cs | 5 +- .../Swedish/Extractors/PercentageExtractor.cs | 5 +- .../SwedishNumberParserConfiguration.cs | 5 +- .../SwedishNumberRangeParserConfiguration.cs | 5 +- .../Turkish/Extractors/CardinalExtractor.cs | 5 +- .../Turkish/Extractors/DoubleExtractor.cs | 5 +- .../Turkish/Extractors/FractionExtractor.cs | 5 +- .../Turkish/Extractors/IntegerExtractor.cs | 5 +- .../Extractors/MergedNumberExtractor.cs | 5 +- .../Turkish/Extractors/NumberExtractor.cs | 5 +- .../Extractors/NumberRangeExtractor.cs | 5 +- .../Turkish/Extractors/OrdinalExtractor.cs | 5 +- .../Turkish/Extractors/PercentageExtractor.cs | 5 +- .../TurkishNumberParserConfiguration.cs | 5 +- .../TurkishNumberRangeParserConfiguration.cs | 5 +- .../TypeTag.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- ...eseNumberWithUnitExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- .../DimensionExtractorConfiguration.cs | 5 +- .../TemperatureExtractorConfiguration.cs | 5 +- .../Chinese/Parsers/AgeParserConfiguration.cs | 5 +- ...hineseNumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- .../Parsers/DimensionParserConfiguration.cs | 5 +- .../Parsers/TemperatureParserConfiguration.cs | 5 +- .../Constants.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- .../Extractors/AreaExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- .../DimensionExtractorConfiguration.cs | 5 +- ...tchNumberWithUnitExtractorConfiguration.cs | 5 +- .../LengthExtractorConfiguration.cs | 5 +- .../Extractors/SpeedExtractorConfiguration.cs | 5 +- .../TemperatureExtractorConfiguration.cs | 5 +- .../VolumeExtractorConfiguration.cs | 5 +- .../WeightExtractorConfiguration.cs | 5 +- .../Dutch/Parsers/AgeParserConfiguration.cs | 5 +- .../Dutch/Parsers/AreaParserConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- .../Parsers/DimensionParserConfiguration.cs | 5 +- .../DutchNumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/LengthParserConfiguration.cs | 5 +- .../Dutch/Parsers/SpeedParserConfiguration.cs | 5 +- .../Parsers/TemperatureParserConfiguration.cs | 5 +- .../Parsers/VolumeParserConfiguration.cs | 5 +- .../Parsers/WeightParserConfiguration.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- .../Extractors/AreaExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- .../DimensionExtractorConfiguration.cs | 5 +- ...ishNumberWithUnitExtractorConfiguration.cs | 5 +- .../LengthExtractorConfiguration.cs | 5 +- .../Extractors/SpeedExtractorConfiguration.cs | 5 +- .../TemperatureExtractorConfiguration.cs | 5 +- .../VolumeExtractorConfiguration.cs | 5 +- .../WeightExtractorConfiguration.cs | 5 +- .../English/Parsers/AgeParserConfiguration.cs | 5 +- .../Parsers/AreaParserConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- .../Parsers/DimensionParserConfiguration.cs | 5 +- ...nglishNumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/LengthParserConfiguration.cs | 5 +- .../Parsers/SpeedParserConfiguration.cs | 5 +- .../Parsers/TemperatureParserConfiguration.cs | 5 +- .../Parsers/VolumeParserConfiguration.cs | 5 +- .../Parsers/WeightParserConfiguration.cs | 5 +- .../Extractors/BaseMergedUnitExtractor.cs | 5 +- .../INumberWithUnitExtractorConfiguration.cs | 5 +- .../Extractors/NumberWithUnitExtractor.cs | 5 +- .../Extractors/PrefixUnitResult.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- .../Extractors/AreaExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- .../DimensionExtractorConfiguration.cs | 5 +- ...nchNumberWithUnitExtractorConfiguration.cs | 5 +- .../LengthExtractorConfiguration.cs | 5 +- .../Extractors/SpeedExtractorConfiguration.cs | 5 +- .../TemperatureExtractorConfiguration.cs | 5 +- .../VolumeExtractorConfiguration.cs | 5 +- .../WeightExtractorConfiguration.cs | 5 +- .../French/Parsers/AgeParserConfiguration.cs | 5 +- .../French/Parsers/AreaParserConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- .../Parsers/DimensionParserConfiguration.cs | 5 +- ...FrenchNumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/LengthParserConfiguration.cs | 5 +- .../Parsers/SpeedParserConfiguration.cs | 5 +- .../Parsers/TemperatureParserConfiguration.cs | 5 +- .../Parsers/VolumeParserConfiguration.cs | 5 +- .../Parsers/WeightParserConfiguration.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- .../Extractors/AreaExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- .../DimensionExtractorConfiguration.cs | 5 +- ...manNumberWithUnitExtractorConfiguration.cs | 5 +- .../LengthExtractorConfiguration.cs | 5 +- .../Extractors/SpeedExtractorConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- .../Parsers/DimensionParserConfiguration.cs | 5 +- ...GermanNumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/LengthParserConfiguration.cs | 5 +- .../Parsers/SpeedParserConfiguration.cs | 5 +- .../Parsers/TemperatureParserConfiguration.cs | 5 +- .../Parsers/VolumeParserConfiguration.cs | 5 +- .../Parsers/WeightParserConfiguration.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- .../Extractors/AreaExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- .../DimensionExtractorConfiguration.cs | 5 +- ...ndiNumberWithUnitExtractorConfiguration.cs | 5 +- .../LengthExtractorConfiguration.cs | 5 +- .../Extractors/SpeedExtractorConfiguration.cs | 5 +- .../TemperatureExtractorConfiguration.cs | 5 +- .../VolumeExtractorConfiguration.cs | 5 +- .../WeightExtractorConfiguration.cs | 5 +- .../Hindi/Parsers/AgeParserConfiguration.cs | 5 +- .../Hindi/Parsers/AreaParserConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- .../Parsers/DimensionParserConfiguration.cs | 5 +- .../HindiNumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/LengthParserConfiguration.cs | 5 +- .../Hindi/Parsers/SpeedParserConfiguration.cs | 5 +- .../Parsers/TemperatureParserConfiguration.cs | 5 +- .../Parsers/VolumeParserConfiguration.cs | 5 +- .../Parsers/WeightParserConfiguration.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- .../Extractors/AreaExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- .../DimensionExtractorConfiguration.cs | 5 +- ...ianNumberWithUnitExtractorConfiguration.cs | 5 +- .../LengthExtractorConfiguration.cs | 5 +- .../Extractors/SpeedExtractorConfiguration.cs | 5 +- .../TemperatureExtractorConfiguration.cs | 5 +- .../VolumeExtractorConfiguration.cs | 5 +- .../WeightExtractorConfiguration.cs | 5 +- .../Italian/Parsers/AgeParserConfiguration.cs | 5 +- .../Parsers/AreaParserConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- .../Parsers/DimensionParserConfiguration.cs | 5 +- ...talianNumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/LengthParserConfiguration.cs | 5 +- .../Parsers/SpeedParserConfiguration.cs | 5 +- .../Parsers/TemperatureParserConfiguration.cs | 5 +- .../Parsers/VolumeParserConfiguration.cs | 5 +- .../Parsers/WeightParserConfiguration.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- ...eseNumberWithUnitExtractorConfiguration.cs | 5 +- .../Parsers/AgeParserConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- ...paneseNumberWithUnitParserConfiguration.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- .../DimensionExtractorConfiguration.cs | 5 +- ...eanNumberWithUnitExtractorConfiguration.cs | 5 +- .../TemperatureExtractorConfiguration.cs | 5 +- .../Korean/Parsers/AgeParserConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- .../Parsers/DimensionParserConfiguration.cs | 5 +- ...KoreanNumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/TemperatureParserConfiguration.cs | 5 +- .../Models/AbstractNumberWithUnitModel.cs | 5 +- .../Models/AgeModel.cs | 5 +- .../Models/CurrencyModel.cs | 5 +- .../Models/DimensionModel.cs | 5 +- .../Models/TemperatureModel.cs | 5 +- .../NumberWithUnitOptions.cs | 5 +- .../NumberWithUnitRecognizer.cs | 5 +- .../Parsers/BaseCurrencyParser.cs | 5 +- .../Parsers/BaseMergedUnitParser.cs | 5 +- .../Parsers/CurrencyUnitValue.cs | 5 +- .../INumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/NumberWithUnitParser.cs | 5 +- .../Parsers/UnitValue.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- .../Extractors/AreaExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- .../DimensionExtractorConfiguration.cs | 5 +- .../LengthExtractorConfiguration.cs | 5 +- ...eseNumberWithUnitExtractorConfiguration.cs | 5 +- .../Extractors/SpeedExtractorConfiguration.cs | 5 +- .../TemperatureExtractorConfiguration.cs | 5 +- .../VolumeExtractorConfiguration.cs | 5 +- .../WeightExtractorConfiguration.cs | 5 +- .../Parsers/AgeParserConfiguration.cs | 5 +- .../Parsers/AreaParserConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- .../Parsers/DimensionParserConfiguration.cs | 5 +- .../Parsers/LengthParserConfiguration.cs | 5 +- ...ugueseNumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/SpeedParserConfiguration.cs | 5 +- .../Parsers/TemperatureParserConfiguration.cs | 5 +- .../Parsers/VolumeParserConfiguration.cs | 5 +- .../Parsers/WeightParserConfiguration.cs | 5 +- .../Properties/AssemblyInfo.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- .../Extractors/AreaExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- .../DimensionExtractorConfiguration.cs | 5 +- .../LengthExtractorConfiguration.cs | 5 +- ...ishNumberWithUnitExtractorConfiguration.cs | 5 +- .../Extractors/SpeedExtractorConfiguration.cs | 5 +- .../TemperatureExtractorConfiguration.cs | 5 +- .../VolumeExtractorConfiguration.cs | 5 +- .../WeightExtractorConfiguration.cs | 5 +- .../Spanish/Parsers/AgeParserConfiguration.cs | 5 +- .../Parsers/AreaParserConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- .../Parsers/DimensionParserConfiguration.cs | 5 +- .../Parsers/LengthParserConfiguration.cs | 5 +- ...panishNumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/SpeedParserConfiguration.cs | 5 +- .../Parsers/TemperatureParserConfiguration.cs | 5 +- .../Parsers/VolumeParserConfiguration.cs | 5 +- .../Parsers/WeightParserConfiguration.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- .../Extractors/AreaExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- .../DimensionExtractorConfiguration.cs | 5 +- .../LengthExtractorConfiguration.cs | 5 +- .../Extractors/SpeedExtractorConfiguration.cs | 5 +- ...ishNumberWithUnitExtractorConfiguration.cs | 5 +- .../TemperatureExtractorConfiguration.cs | 5 +- .../VolumeExtractorConfiguration.cs | 5 +- .../WeightExtractorConfiguration.cs | 5 +- .../Swedish/Parsers/AgeParserConfiguration.cs | 5 +- .../Parsers/AreaParserConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- .../Parsers/DimensionParserConfiguration.cs | 5 +- .../Parsers/LengthParserConfiguration.cs | 5 +- .../Parsers/SpeedParserConfiguration.cs | 5 +- ...wedishNumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/TemperatureParserConfiguration.cs | 5 +- .../Parsers/VolumeParserConfiguration.cs | 5 +- .../Parsers/WeightParserConfiguration.cs | 5 +- .../Extractors/AgeExtractorConfiguration.cs | 5 +- .../Extractors/AreaExtractorConfiguration.cs | 5 +- .../CurrencyExtractorConfiguration.cs | 5 +- .../DimensionExtractorConfiguration.cs | 5 +- .../LengthExtractorConfiguration.cs | 5 +- .../Extractors/SpeedExtractorConfiguration.cs | 5 +- .../TemperatureExtractorConfiguration.cs | 5 +- ...ishNumberWithUnitExtractorConfiguration.cs | 5 +- .../VolumeExtractorConfiguration.cs | 5 +- .../WeightExtractorConfiguration.cs | 5 +- .../Turkish/Parsers/AgeParserConfiguration.cs | 5 +- .../Parsers/AreaParserConfiguration.cs | 5 +- .../Parsers/CurrencyParserConfiguration.cs | 5 +- .../Parsers/DimensionParserConfiguration.cs | 5 +- .../Parsers/LengthParserConfiguration.cs | 5 +- .../Parsers/SpeedParserConfiguration.cs | 5 +- .../Parsers/TemperatureParserConfiguration.cs | 5 +- ...urkishNumberWithUnitParserConfiguration.cs | 5 +- .../Parsers/VolumeParserConfiguration.cs | 5 +- .../Parsers/WeightParserConfiguration.cs | 5 +- .../Utilities/DictionaryUtils.cs | 5 +- .../Utilities/StringComparer.cs | 5 +- .../ChineseIpExtractorConfiguration.cs | 5 +- ...hinesePhoneNumberExtractorConfiguration.cs | 5 +- ...ChineseQuotedTextExtractorConfiguration.cs | 5 +- .../ChineseURLExtractorConfiguration.cs | 5 +- .../Config/BaseSequenceConfiguration.cs | 5 +- .../Config/ISequenceConfiguration.cs | 5 +- .../Config/IpConfiguration.cs | 5 +- .../Config/PhoneNumberConfiguration.cs | 5 +- .../Config/QuotedTextConfiguration.cs | 5 +- .../Config/URLConfiguration.cs | 5 +- .../Constants.cs | 5 +- .../DutchPhoneNumberExtractorConfiguration.cs | 5 +- .../DutchQuotedTextExtractorConfiguration.cs | 5 +- .../English/Extractors/EmailExtractor.cs | 5 +- .../EnglishIpExtractorConfiguration.cs | 5 +- ...nglishPhoneNumberExtractorConfiguration.cs | 5 +- ...EnglishQuotedTextExtractorConfiguration.cs | 6 +- .../EnglishURLExtractorConfiguration.cs | 5 +- .../English/Extractors/GUIDExtractor.cs | 5 +- .../English/Extractors/HashTagExtractor.cs | 5 +- .../English/Extractors/MentionExtractor.cs | 5 +- .../English/Parsers/EmailParser.cs | 5 +- .../English/Parsers/GUIDParser.cs | 5 +- .../English/Parsers/HashTagParser.cs | 5 +- .../English/Parsers/IpParser.cs | 5 +- .../English/Parsers/MentionParser.cs | 5 +- .../English/Parsers/PhoneNumberParser.cs | 5 +- .../English/Parsers/QuotedTextParser.cs | 5 +- .../English/Parsers/URLParser.cs | 5 +- .../Extractors/BaseEmailExtractor.cs | 5 +- .../Extractors/BaseGUIDExtractor.cs | 5 +- .../Extractors/BaseHashTagExtractor.cs | 5 +- .../Extractors/BaseIpExtractor.cs | 5 +- .../Extractors/BaseMentionExtractor.cs | 5 +- .../Extractors/BasePhoneNumberExtractor.cs | 5 +- .../BasePhoneNumberExtractorConfiguration.cs | 5 +- .../Extractors/BaseQuotedTextExtractor.cs | 5 +- .../Extractors/BaseSequenceExtractor.cs | 5 +- .../Extractors/BaseURLExtractor.cs | 5 +- ...FrenchPhoneNumberExtractorConfiguration.cs | 4 +- .../FrenchQuotedTextExtractorConfiguration.cs | 6 +- ...GermanPhoneNumberExtractorConfiguration.cs | 4 +- .../GermanQuotedTextExtractorConfiguration.cs | 6 +- .../HindiPhoneNumberExtractorConfiguration.cs | 4 +- .../HindiQuotedTextExtractorConfiguration.cs | 6 +- ...talianPhoneNumberExtractorConfiguration.cs | 4 +- ...ItalianQuotedTextExtractorConfiguration.cs | 6 +- ...apaneseQuotedTextExtractorConfiguration.cs | 8 +- ...KoreanPhoneNumberExtractorConfiguration.cs | 4 +- .../KoreanQuotedTextExtractorConfiguration.cs | 8 +- .../Models/AbstractSequenceModel.cs | 5 +- .../Models/EmailModel.cs | 5 +- .../Models/GUIDModel.cs | 5 +- .../Models/HashTagModel.cs | 5 +- .../Models/IpAddressModel.cs | 5 +- .../Models/MentionModel.cs | 5 +- .../Models/PhoneNumberModel.cs | 5 +- .../Models/QuotedTextModel.cs | 5 +- .../Models/URLModel.cs | 5 +- .../Parsers/BaseIpParser.cs | 5 +- .../Parsers/BaseSequenceParser.cs | 5 +- ...uguesePhoneNumberExtractorConfiguration.cs | 5 +- ...tugueseQuotedTextExtractorConfiguration.cs | 6 +- .../SequenceOptions.cs | 5 +- .../SequenceRecognizer.cs | 5 +- ...panishPhoneNumberExtractorConfiguration.cs | 4 +- ...SpanishQuotedTextExtractorConfiguration.cs | 6 +- ...urkishPhoneNumberExtractorConfiguration.cs | 4 +- ...TurkishQuotedTextExtractorConfiguration.cs | 6 +- .NET/Microsoft.Recognizers.Text.sln | 8 +- ...Microsoft.Recognizers.Text.sln.DotSettings | 15 ++++ .../Config/IConfiguration.cs | 5 +- .NET/Microsoft.Recognizers.Text/Constants.cs | 5 +- .NET/Microsoft.Recognizers.Text/Culture.cs | 5 +- .../Extractors/IExtractor.cs | 5 +- .../Extractors/Metadata.cs | 5 +- .../InternalCache/ICloneableType.cs | 5 +- .../InternalCache/ResultsCache.cs | 5 +- .../Matcher/AaNode.cs | 5 +- .../Matcher/AbstractMatcher.cs | 5 +- .../Matcher/AcAutomaton.cs | 5 +- .../Matcher/IMatcher.cs | 5 +- .../Matcher/ITokenizer.cs | 5 +- .../Matcher/MatchResult.cs | 5 +- .../Matcher/MatchStrategy.cs | 7 +- .../Matcher/Node.cs | 5 +- .../Matcher/NumberWithUnitTokenizer.cs | 13 ++- .../Matcher/SimpleTokenizer.cs | 5 +- .../Matcher/StringMatcher.cs | 5 +- .../Matcher/Token.cs | 5 +- .../Matcher/TrieTree.cs | 5 +- .../Microsoft.Recognizers.Text.xml | 2 +- .../ModelFactory.cs | 5 +- .../Models/ExtendedModelResult.cs | 5 +- .../Models/IModel.cs | 5 +- .../Models/ModelResult.cs | 5 +- .../Models/ResolutionKey.cs | 5 +- .../Parsers/IParser.cs | 5 +- .NET/Microsoft.Recognizers.Text/Recognizer.cs | 5 +- .../Utilities/ConditionalMatch.cs | 5 +- .../Utilities/EnumUtils.cs | 8 +- .../Utilities/QueryProcessor.cs | 5 +- .../Utilities/RegExpUtility.cs | 5 +- .../Utilities/ResultsProcessor.cs | 5 +- .../BotBuilder/Dialogs/DeliveryDialog.cs | 5 +- .../BotBuilder/Dialogs/DeliveryState.cs | 5 +- .../RecognizerFunction/AnalyzeEntities.cs | 3 + .NET/Samples/SimpleConsole/Program.cs | 5 +- .../text/choice/ChoiceOptions.java | 3 + .../text/choice/ChoiceRecognizer.java | 3 + .../recognizers/text/choice/Constants.java | 3 + .../config/BooleanParserConfiguration.java | 3 + .../config/IChoiceParserConfiguration.java | 3 + .../EnglishBooleanExtractorConfiguration.java | 3 + .../choice/extractors/BooleanExtractor.java | 3 + .../extractors/ChoiceExtractDataResult.java | 3 + .../choice/extractors/ChoiceExtractor.java | 3 + .../IBooleanExtractorConfiguration.java | 3 + .../IChoiceExtractorConfiguration.java | 3 + .../text/choice/models/BooleanModel.java | 3 + .../text/choice/models/ChoiceModel.java | 3 + .../text/choice/parsers/BooleanParser.java | 3 + .../text/choice/parsers/ChoiceParser.java | 3 + .../parsers/OptionsOtherMatchParseResult.java | 3 + .../parsers/OptionsParseDataResult.java | 3 + .../text/choice/utilities/UnicodeUtils.java | 3 + .../recognizers/text/datetime/Constants.java | 3 + .../text/datetime/DatePeriodTimexType.java | 3 + .../text/datetime/DateTimeOptions.java | 3 + .../text/datetime/DateTimeRecognizer.java | 3 + .../text/datetime/DateTimeResolutionKey.java | 3 + .../text/datetime/TimeTypeConstants.java | 3 + .../config/BaseOptionsConfiguration.java | 3 + .../config/IOptionsConfiguration.java | 3 + .../EnglishDateExtractorConfiguration.java | 3 + ...glishDatePeriodExtractorConfiguration.java | 3 + ...lishDateTimeAltExtractorConfiguration.java | 3 + ...EnglishDateTimeExtractorConfiguration.java | 3 + ...hDateTimePeriodExtractorConfiguration.java | 3 + ...EnglishDurationExtractorConfiguration.java | 3 + .../EnglishHolidayExtractorConfiguration.java | 3 + .../EnglishMergedExtractorConfiguration.java | 3 + .../EnglishSetExtractorConfiguration.java | 3 + .../EnglishTimeExtractorConfiguration.java | 3 + ...glishTimePeriodExtractorConfiguration.java | 3 + ...EnglishTimeZoneExtractorConfiguration.java | 3 + ...lishCommonDateTimeParserConfiguration.java | 3 + .../EnglishDateParserConfiguration.java | 3 + .../EnglishDatePeriodParserConfiguration.java | 3 + ...EnglishDateTimeAltParserConfiguration.java | 3 + .../EnglishDateTimeParserConfiguration.java | 3 + ...lishDateTimePeriodParserConfiguration.java | 3 + .../EnglishDurationParserConfiguration.java | 3 + .../EnglishHolidayParserConfiguration.java | 3 + .../EnglishMergedParserConfiguration.java | 3 + .../EnglishSetParserConfiguration.java | 3 + .../EnglishTimeParserConfiguration.java | 3 + .../EnglishTimePeriodParserConfiguration.java | 3 + .../datetime/english/parsers/TimeParser.java | 3 + .../EnglishDatetimeUtilityConfiguration.java | 3 + .../extractors/AbstractYearExtractor.java | 3 + .../extractors/BaseDateExtractor.java | 3 + .../extractors/BaseDatePeriodExtractor.java | 3 + .../extractors/BaseDateTimeAltExtractor.java | 3 + .../extractors/BaseDateTimeExtractor.java | 3 + .../BaseDateTimePeriodExtractor.java | 3 + .../extractors/BaseDurationExtractor.java | 3 + .../extractors/BaseHolidayExtractor.java | 3 + .../BaseMergedDateTimeExtractor.java | 3 + .../datetime/extractors/BaseSetExtractor.java | 3 + .../extractors/BaseTimeExtractor.java | 3 + .../extractors/BaseTimePeriodExtractor.java | 3 + .../extractors/BaseTimeZoneExtractor.java | 3 + .../datetime/extractors/IDateExtractor.java | 3 + .../extractors/IDateTimeExtractor.java | 3 + .../extractors/IDateTimeListExtractor.java | 3 + .../extractors/IDateTimeZoneExtractor.java | 3 + .../config/IDateExtractorConfiguration.java | 3 + .../IDatePeriodExtractorConfiguration.java | 3 + .../IDateTimeAltExtractorConfiguration.java | 3 + .../IDateTimeExtractorConfiguration.java | 3 + ...IDateTimePeriodExtractorConfiguration.java | 3 + .../IDurationExtractorConfiguration.java | 3 + .../IHolidayExtractorConfiguration.java | 3 + .../config/IMergedExtractorConfiguration.java | 3 + .../config/ISetExtractorConfiguration.java | 3 + .../config/ITimeExtractorConfiguration.java | 3 + .../ITimePeriodExtractorConfiguration.java | 3 + .../ITimeZoneExtractorConfiguration.java | 3 + .../config/ProcessedSuperfluousWords.java | 3 + .../extractors/config/ResultIndex.java | 3 + .../extractors/config/ResultTimex.java | 3 + .../FrenchDateExtractorConfiguration.java | 3 + ...renchDatePeriodExtractorConfiguration.java | 3 + ...enchDateTimeAltExtractorConfiguration.java | 3 + .../FrenchDateTimeExtractorConfiguration.java | 3 + ...hDateTimePeriodExtractorConfiguration.java | 3 + .../FrenchDurationExtractorConfiguration.java | 3 + .../FrenchHolidayExtractorConfiguration.java | 3 + .../FrenchMergedExtractorConfiguration.java | 3 + .../FrenchSetExtractorConfiguration.java | 3 + .../FrenchTimeExtractorConfiguration.java | 3 + ...renchTimePeriodExtractorConfiguration.java | 3 + .../FrenchTimeZoneExtractorConfiguration.java | 3 + ...enchCommonDateTimeParserConfiguration.java | 3 + .../FrenchDateParserConfiguration.java | 3 + .../FrenchDatePeriodParserConfiguration.java | 3 + .../FrenchDateTimeAltParserConfiguration.java | 3 + .../FrenchDateTimeParserConfiguration.java | 3 + ...enchDateTimePeriodParserConfiguration.java | 3 + .../FrenchDurationParserConfiguration.java | 3 + .../FrenchHolidayParserConfiguration.java | 3 + .../FrenchMergedParserConfiguration.java | 3 + .../parsers/FrenchSetParserConfiguration.java | 3 + .../french/parsers/FrenchTimeParser.java | 3 + .../FrenchTimeParserConfiguration.java | 3 + .../FrenchTimePeriodParserConfiguration.java | 3 + .../FrenchDatetimeUtilityConfiguration.java | 3 + .../text/datetime/models/DateTimeModel.java | 3 + .../text/datetime/parsers/BaseDateParser.java | 3 + .../parsers/BaseDatePeriodParser.java | 3 + .../parsers/BaseDateTimeAltParser.java | 3 + .../datetime/parsers/BaseDateTimeParser.java | 3 + .../parsers/BaseDateTimePeriodParser.java | 3 + .../datetime/parsers/BaseDurationParser.java | 3 + .../datetime/parsers/BaseHolidayParser.java | 3 + .../BaseHolidayParserConfiguration.java | 3 + .../parsers/BaseMergedDateTimeParser.java | 3 + .../text/datetime/parsers/BaseSetParser.java | 3 + .../text/datetime/parsers/BaseTimeParser.java | 3 + .../parsers/BaseTimePeriodParser.java | 3 + .../datetime/parsers/BaseTimeZoneParser.java | 3 + .../datetime/parsers/DateTimeParseResult.java | 3 + .../datetime/parsers/IDateTimeParser.java | 3 + .../config/BaseDateParserConfiguration.java | 3 + .../ICommonDateTimeParserConfiguration.java | 3 + .../config/IDateParserConfiguration.java | 3 + .../IDatePeriodParserConfiguration.java | 3 + .../IDateTimeAltParserConfiguration.java | 3 + .../config/IDateTimeParserConfiguration.java | 3 + .../IDateTimePeriodParserConfiguration.java | 3 + .../config/IDurationParserConfiguration.java | 3 + .../config/IHolidayParserConfiguration.java | 3 + .../config/IMergedParserConfiguration.java | 3 + .../config/ISetParserConfiguration.java | 3 + .../config/ITimeParserConfiguration.java | 3 + .../ITimePeriodParserConfiguration.java | 3 + .../config/MatchedTimeRangeResult.java | 3 + .../parsers/config/PrefixAdjustResult.java | 3 + .../parsers/config/SuffixAdjustResult.java | 3 + .../SpanishDateExtractorConfiguration.java | 3 + ...anishDatePeriodExtractorConfiguration.java | 3 + ...nishDateTimeAltExtractorConfiguration.java | 3 + ...SpanishDateTimeExtractorConfiguration.java | 3 + ...hDateTimePeriodExtractorConfiguration.java | 3 + ...SpanishDurationExtractorConfiguration.java | 3 + .../SpanishHolidayExtractorConfiguration.java | 3 + .../SpanishMergedExtractorConfiguration.java | 3 + .../SpanishSetExtractorConfiguration.java | 3 + .../SpanishTimeExtractorConfiguration.java | 3 + ...anishTimePeriodExtractorConfiguration.java | 3 + ...SpanishTimeZoneExtractorConfiguration.java | 3 + .../spanish/parsers/DateTimePeriodParser.java | 3 + ...nishCommonDateTimeParserConfiguration.java | 3 + .../SpanishDateParserConfiguration.java | 3 + .../SpanishDatePeriodParserConfiguration.java | 3 + ...SpanishDateTimeAltParserConfiguration.java | 3 + .../SpanishDateTimeParserConfiguration.java | 3 + ...nishDateTimePeriodParserConfiguration.java | 3 + .../SpanishDurationParserConfiguration.java | 3 + .../SpanishHolidayParserConfiguration.java | 3 + .../SpanishMergedParserConfiguration.java | 3 + .../SpanishSetParserConfiguration.java | 3 + .../SpanishTimeParserConfiguration.java | 3 + .../SpanishTimePeriodParserConfiguration.java | 3 + .../SpanishDatetimeUtilityConfiguration.java | 3 + .../text/datetime/utilities/AgoLaterUtil.java | 3 + .../datetime/utilities/ConditionalMatch.java | 3 + .../text/datetime/utilities/DateContext.java | 3 + .../utilities/DateTimeFormatUtil.java | 3 + .../utilities/DateTimeResolutionResult.java | 3 + .../text/datetime/utilities/DateUtil.java | 3 + .../utilities/DurationParsingUtil.java | 3 + .../utilities/GetModAndDateResult.java | 3 + .../datetime/utilities/HolidayFunctions.java | 3 + .../IDateTimeUtilityConfiguration.java | 3 + .../utilities/MatchedTimexResult.java | 3 + .../text/datetime/utilities/MatchingUtil.java | 3 + .../utilities/MatchingUtilResult.java | 3 + .../utilities/NthBusinessDayResult.java | 3 + .../utilities/RangeTimexComponents.java | 3 + .../datetime/utilities/RegexExtension.java | 3 + .../datetime/utilities/StringExtension.java | 3 + .../utilities/TimeOfDayResolutionResult.java | 3 + .../utilities/TimeZoneResolutionResult.java | 21 ++--- .../datetime/utilities/TimeZoneUtility.java | 3 + .../text/datetime/utilities/TimexUtility.java | 3 + .../text/datetime/utilities/Token.java | 3 + .../text/numberwithunit/Constants.java | 3 + .../numberwithunit/NumberWithUnitOptions.java | 3 + .../NumberWithUnitRecognizer.java | 3 + .../extractors/AgeExtractorConfiguration.java | 3 + ...eNumberWithUnitExtractorConfiguration.java | 3 + .../CurrencyExtractorConfiguration.java | 3 + .../DimensionExtractorConfiguration.java | 3 + .../TemperatureExtractorConfiguration.java | 3 + .../parsers/AgeParserConfiguration.java | 3 + ...neseNumberWithUnitParserConfiguration.java | 3 + .../parsers/CurrencyParserConfiguration.java | 3 + .../parsers/DimensionParserConfiguration.java | 3 + .../TemperatureParserConfiguration.java | 3 + .../extractors/AgeExtractorConfiguration.java | 3 + .../AreaExtractorConfiguration.java | 3 + .../CurrencyExtractorConfiguration.java | 3 + .../DimensionExtractorConfiguration.java | 3 + ...hNumberWithUnitExtractorConfiguration.java | 3 + .../LengthExtractorConfiguration.java | 3 + .../SpeedExtractorConfiguration.java | 3 + .../TemperatureExtractorConfiguration.java | 3 + .../VolumeExtractorConfiguration.java | 3 + .../WeightExtractorConfiguration.java | 3 + .../parsers/AgeParserConfiguration.java | 3 + .../parsers/AreaParserConfiguration.java | 3 + .../parsers/CurrencyParserConfiguration.java | 3 + .../parsers/DimensionParserConfiguration.java | 3 + ...lishNumberWithUnitParserConfiguration.java | 3 + .../parsers/LengthParserConfiguration.java | 3 + .../parsers/SpeedParserConfiguration.java | 3 + .../TemperatureParserConfiguration.java | 3 + .../parsers/VolumeParserConfiguration.java | 3 + .../parsers/WeightParserConfiguration.java | 3 + .../extractors/BaseMergedUnitExtractor.java | 3 + ...INumberWithUnitExtractorConfiguration.java | 3 + .../extractors/NumberWithUnitExtractor.java | 3 + .../extractors/AgeExtractorConfiguration.java | 3 + .../AreaExtractorConfiguration.java | 3 + .../CurrencyExtractorConfiguration.java | 3 + .../DimensionExtractorConfiguration.java | 3 + ...hNumberWithUnitExtractorConfiguration.java | 3 + .../LengthExtractorConfiguration.java | 3 + .../SpeedExtractorConfiguration.java | 3 + .../TemperatureExtractorConfiguration.java | 3 + .../VolumeExtractorConfiguration.java | 3 + .../WeightExtractorConfiguration.java | 3 + .../parsers/AgeParserConfiguration.java | 3 + .../parsers/AreaParserConfiguration.java | 3 + .../parsers/CurrencyParserConfiguration.java | 3 + .../parsers/DimensionParserConfiguration.java | 3 + ...enchNumberWithUnitParserConfiguration.java | 3 + .../parsers/LengthParserConfiguration.java | 3 + .../parsers/SpeedParserConfiguration.java | 3 + .../TemperatureParserConfiguration.java | 3 + .../parsers/VolumeParserConfiguration.java | 3 + .../parsers/WeightParserConfiguration.java | 3 + .../extractors/AgeExtractorConfiguration.java | 3 + .../AreaExtractorConfiguration.java | 3 + .../CurrencyExtractorConfiguration.java | 3 + .../DimensionExtractorConfiguration.java | 3 + ...nNumberWithUnitExtractorConfiguration.java | 3 + .../LengthExtractorConfiguration.java | 3 + .../SpeedExtractorConfiguration.java | 3 + .../TemperatureExtractorConfiguration.java | 3 + .../VolumeExtractorConfiguration.java | 3 + .../WeightExtractorConfiguration.java | 3 + .../parsers/AgeParserConfiguration.java | 3 + .../parsers/AreaParserConfiguration.java | 3 + .../parsers/CurrencyParserConfiguration.java | 3 + .../parsers/DimensionParserConfiguration.java | 3 + ...rmanNumberWithUnitParserConfiguration.java | 3 + .../parsers/LengthParserConfiguration.java | 3 + .../parsers/SpeedParserConfiguration.java | 3 + .../TemperatureParserConfiguration.java | 3 + .../parsers/VolumeParserConfiguration.java | 3 + .../parsers/WeightParserConfiguration.java | 3 + .../models/AbstractNumberWithUnitModel.java | 3 + .../text/numberwithunit/models/AgeModel.java | 3 + .../numberwithunit/models/CurrencyModel.java | 3 + .../models/CurrencyUnitValue.java | 3 + .../numberwithunit/models/DimensionModel.java | 3 + .../models/PrefixUnitResult.java | 3 + .../models/TemperatureModel.java | 3 + .../text/numberwithunit/models/UnitValue.java | 3 + .../parsers/BaseCurrencyParser.java | 3 + .../parsers/BaseMergedUnitParser.java | 3 + ...BaseNumberWithUnitParserConfiguration.java | 3 + .../INumberWithUnitParserConfiguration.java | 3 + .../parsers/NumberWithUnitParser.java | 3 + .../extractors/AgeExtractorConfiguration.java | 3 + .../AreaExtractorConfiguration.java | 3 + .../CurrencyExtractorConfiguration.java | 3 + .../DimensionExtractorConfiguration.java | 3 + .../LengthExtractorConfiguration.java | 3 + ...eNumberWithUnitExtractorConfiguration.java | 3 + .../SpeedExtractorConfiguration.java | 3 + .../TemperatureExtractorConfiguration.java | 3 + .../VolumeExtractorConfiguration.java | 3 + .../WeightExtractorConfiguration.java | 3 + .../parsers/AgeParserConfiguration.java | 3 + .../parsers/AreaParserConfiguration.java | 3 + .../parsers/CurrencyParserConfiguration.java | 3 + .../parsers/DimensionParserConfiguration.java | 3 + .../parsers/LengthParserConfiguration.java | 3 + ...ueseNumberWithUnitParserConfiguration.java | 3 + .../parsers/SpeedParserConfiguration.java | 3 + .../TemperatureParserConfiguration.java | 3 + .../parsers/VolumeParserConfiguration.java | 3 + .../parsers/WeightParserConfiguration.java | 3 + .../resources/EnglishNumericWithUnit.java | 2 +- .../extractors/AgeExtractorConfiguration.java | 3 + .../AreaExtractorConfiguration.java | 3 + .../CurrencyExtractorConfiguration.java | 3 + .../DimensionExtractorConfiguration.java | 3 + .../LengthExtractorConfiguration.java | 3 + ...hNumberWithUnitExtractorConfiguration.java | 3 + .../SpeedExtractorConfiguration.java | 3 + .../TemperatureExtractorConfiguration.java | 3 + .../VolumeExtractorConfiguration.java | 3 + .../WeightExtractorConfiguration.java | 3 + .../parsers/AgeParserConfiguration.java | 3 + .../parsers/AreaParserConfiguration.java | 3 + .../parsers/CurrencyParserConfiguration.java | 3 + .../parsers/DimensionParserConfiguration.java | 3 + .../parsers/LengthParserConfiguration.java | 3 + ...nishNumberWithUnitParserConfiguration.java | 3 + .../parsers/SpeedParserConfiguration.java | 3 + .../TemperatureParserConfiguration.java | 3 + .../parsers/VolumeParserConfiguration.java | 3 + .../parsers/WeightParserConfiguration.java | 3 + .../utilities/DictionaryUtils.java | 3 + .../utilities/StringComparer.java | 3 + .../recognizers/text/number/Constants.java | 3 + .../text/number/LongFormatType.java | 3 + .../recognizers/text/number/NumberMode.java | 3 + .../text/number/NumberOptions.java | 3 + .../text/number/NumberRangeConstants.java | 3 + .../text/number/NumberRecognizer.java | 3 + .../chinese/ChineseNumberExtractorMode.java | 3 + .../chinese/extractors/CardinalExtractor.java | 3 + .../chinese/extractors/DoubleExtractor.java | 3 + .../chinese/extractors/FractionExtractor.java | 3 + .../chinese/extractors/IntegerExtractor.java | 3 + .../chinese/extractors/NumberExtractor.java | 3 + .../extractors/NumberRangeExtractor.java | 3 + .../chinese/extractors/OrdinalExtractor.java | 3 + .../extractors/PercentageExtractor.java | 3 + .../ChineseNumberParserConfiguration.java | 3 + ...ChineseNumberRangeParserConfiguration.java | 3 + .../english/extractors/CardinalExtractor.java | 3 + .../english/extractors/DoubleExtractor.java | 3 + .../english/extractors/FractionExtractor.java | 3 + .../english/extractors/IntegerExtractor.java | 3 + .../english/extractors/NumberExtractor.java | 3 + .../extractors/NumberRangeExtractor.java | 3 + .../english/extractors/OrdinalExtractor.java | 3 + .../extractors/PercentageExtractor.java | 3 + .../EnglishNumberParserConfiguration.java | 3 + ...EnglishNumberRangeParserConfiguration.java | 3 + .../extractors/BaseNumberExtractor.java | 3 + .../extractors/BaseNumberRangeExtractor.java | 3 + .../extractors/BasePercentageExtractor.java | 3 + .../number/extractors/PreProcessResult.java | 3 + .../french/extractors/CardinalExtractor.java | 3 + .../french/extractors/DoubleExtractor.java | 3 + .../french/extractors/FractionExtractor.java | 3 + .../french/extractors/IntegerExtractor.java | 3 + .../french/extractors/NumberExtractor.java | 3 + .../french/extractors/OrdinalExtractor.java | 3 + .../extractors/PercentageExtractor.java | 3 + .../FrenchNumberParserConfiguration.java | 3 + .../german/extractors/CardinalExtractor.java | 3 + .../german/extractors/DoubleExtractor.java | 3 + .../german/extractors/FractionExtractor.java | 3 + .../german/extractors/IntegerExtractor.java | 3 + .../german/extractors/NumberExtractor.java | 3 + .../german/extractors/OrdinalExtractor.java | 3 + .../extractors/PercentageExtractor.java | 3 + .../GermanNumberParserConfiguration.java | 3 + .../number/models/AbstractNumberModel.java | 3 + .../text/number/models/NumberModel.java | 3 + .../text/number/models/NumberRangeModel.java | 3 + .../text/number/models/OrdinalModel.java | 3 + .../text/number/models/PercentModel.java | 3 + .../parsers/AgnosticNumberParserFactory.java | 3 + .../parsers/AgnosticNumberParserType.java | 3 + .../number/parsers/BaseCJKNumberParser.java | 3 + .../BaseCJKNumberParserConfiguration.java | 3 + .../text/number/parsers/BaseNumberParser.java | 3 + .../BaseNumberParserConfiguration.java | 3 + .../number/parsers/BaseNumberRangeParser.java | 3 + .../number/parsers/BasePercentageParser.java | 3 + .../ICJKNumberParserConfiguration.java | 3 + .../parsers/INumberParserConfiguration.java | 3 + .../INumberRangeParserConfiguration.java | 3 + .../number/parsers/NumberFormatUtility.java | 3 + .../extractors/CardinalExtractor.java | 3 + .../extractors/DoubleExtractor.java | 3 + .../extractors/FractionExtractor.java | 3 + .../extractors/IntegerExtractor.java | 3 + .../extractors/NumberExtractor.java | 3 + .../extractors/OrdinalExtractor.java | 3 + .../extractors/PercentageExtractor.java | 3 + .../PortugueseNumberParserConfiguration.java | 3 + .../text/number/resources/EnglishNumeric.java | 4 +- .../spanish/extractors/CardinalExtractor.java | 3 + .../spanish/extractors/DoubleExtractor.java | 3 + .../spanish/extractors/FractionExtractor.java | 3 + .../spanish/extractors/IntegerExtractor.java | 3 + .../spanish/extractors/NumberExtractor.java | 3 + .../spanish/extractors/OrdinalExtractor.java | 3 + .../extractors/PercentageExtractor.java | 3 + .../SpanishNumberParserConfiguration.java | 3 + .../microsoft/recognizers/text/Culture.java | 5 +- .../recognizers/text/CultureInfo.java | 3 + .../recognizers/text/ExtendedModelResult.java | 3 + .../recognizers/text/ExtractResult.java | 3 + .../recognizers/text/IExtractor.java | 3 + .../microsoft/recognizers/text/IModel.java | 3 + .../microsoft/recognizers/text/IParser.java | 3 + .../microsoft/recognizers/text/Metadata.java | 3 + .../recognizers/text/ModelFactory.java | 3 + .../recognizers/text/ModelResult.java | 3 + .../recognizers/text/ParseResult.java | 3 + .../recognizers/text/Recognizer.java | 3 + .../recognizers/text/ResolutionKey.java | 3 + .../recognizers/text/matcher/AaNode.java | 3 + .../text/matcher/AbstractMatcher.java | 3 + .../text/matcher/AcAutomation.java | 3 + .../recognizers/text/matcher/IMatcher.java | 3 + .../recognizers/text/matcher/ITokenizer.java | 3 + .../recognizers/text/matcher/MatchResult.java | 3 + .../text/matcher/MatchStrategy.java | 3 + .../recognizers/text/matcher/Node.java | 3 + .../text/matcher/NumberWithUnitTokenizer.java | 3 + .../text/matcher/SimpleTokenizer.java | 3 + .../text/matcher/StringMatcher.java | 3 + .../recognizers/text/matcher/Token.java | 3 + .../recognizers/text/matcher/TrieTree.java | 3 + .../recognizers/text/utilities/Capture.java | 3 + .../text/utilities/DefinitionLoader.java | 3 + .../text/utilities/DoubleUtility.java | 3 + .../text/utilities/FormatUtility.java | 3 + .../text/utilities/IntegerUtility.java | 3 + .../recognizers/text/utilities/Match.java | 3 + .../text/utilities/MatchGroup.java | 3 + .../text/utilities/QueryProcessor.java | 3 + .../text/utilities/RegExpUtility.java | 3 + .../utilities/StringReplacerCallback.java | 3 + .../text/utilities/StringUtility.java | 3 + .../recognizers/text/ModelFactoryTest.java | 3 + .../microsoft/recognizers/text/TestModel.java | 3 + .../recognizers/text/TestOptionsEnum.java | 3 + .../text/resources/CodeGenerator.java | 3 + .../text/resources/ResourceConfig.java | 3 + .../text/resources/ResourceDefinitions.java | 3 + .../text/resources/ResourcesGenerator.java | 3 + .../text/resources/datatypes/Dictionary.java | 3 + .../text/resources/datatypes/List.java | 3 + .../text/resources/datatypes/NestedRegex.java | 3 + .../text/resources/datatypes/ParamsRegex.java | 3 + .../text/resources/datatypes/SimpleRegex.java | 3 + .../resources/writters/BooleanWriter.java | 3 + .../resources/writters/CharacterWriter.java | 3 + .../resources/writters/DefaultWriter.java | 3 + .../resources/writters/DictionaryWriter.java | 3 + .../text/resources/writters/ICodeWriter.java | 3 + .../resources/writters/IntegerWriter.java | 3 + .../text/resources/writters/ListWriter.java | 3 + .../resources/writters/NestedRegexWriter.java | 3 + .../resources/writters/ParamsRegexWriter.java | 3 + .../resources/writters/SimpleRegexWriter.java | 3 + .../text/samples/simpleconsole/Sample.java | 3 + .../recognizers/text/tests/AbstractTest.java | 3 + .../text/tests/DependencyConstants.java | 3 + .../recognizers/text/tests/Models.java | 3 + .../text/tests/NotSupportedException.java | 3 + .../recognizers/text/tests/Platform.java | 3 + .../recognizers/text/tests/TestCase.java | 3 + .../text/tests/choice/BooleanModelTest.java | 3 + .../tests/datetime/DateTimeExtractorTest.java | 3 + .../tests/datetime/DateTimeParserTest.java | 3 + .../text/tests/datetime/DateTimeTest.java | 3 + .../helpers/DateTimeParseResultMixIn.java | 3 + .../DateTimeResolutionResultMixIn.java | 3 + .../helpers/ExtendedModelResultMixIn.java | 3 + .../tests/helpers/ExtractResultMixIn.java | 3 + .../text/tests/helpers/ModelResultMixIn.java | 3 + .../TimeZoneResolutionResultMixIn.java | 3 + .../DecimalAndThousandsSeparatorsTest.java | 3 + .../number/LongFormTestConfiguration.java | 3 + .../text/tests/number/NumberCacheTest.java | 3 + .../NumberRecognizerInitializationTest.java | 3 + .../text/tests/number/NumberTest.java | 3 + .../text/tests/number/ParserFactoryTest.java | 3 + .../NumberWithUnitCacheTest.java | 3 + ...rWithUnitRecognizerInitializationTest.java | 3 + .../numberwithunit/NumberWithUnitTest.java | 3 + .../packages/datatypes-date-time/index.js | 1 + .../datatypes-date-time/rollup.config.js | 3 + .../src/en/timexConstants.js | 1 + .../src/en/timexConvert.js | 1 + .../src/en/timexRelativeConvert.js | 1 + .../packages/datatypes-date-time/src/time.js | 1 + .../src/timexConstraintsHelper.js | 1 + .../datatypes-date-time/src/timexConvert.js | 1 + .../datatypes-date-time/src/timexCreator.js | 1 + .../src/timexDateHelpers.js | 1 + .../datatypes-date-time/src/timexFormat.js | 1 + .../datatypes-date-time/src/timexHelpers.js | 1 + .../datatypes-date-time/src/timexInference.js | 1 + .../datatypes-date-time/src/timexParsing.js | 1 + .../datatypes-date-time/src/timexProperty.js | 1 + .../src/timexRangeResolver.js | 1 + .../datatypes-date-time/src/timexRegex.js | 1 + .../src/timexRelativeConvert.js | 1 + .../datatypes-date-time/src/timexResolver.js | 1 + .../datatypes-date-time/src/timexSet.js | 1 + .../datatypes-date-time/src/timexValue.js | 1 + .../datatypes-date-time/test/time.spec.js | 1 + .../test/timexConstraints.spec.js | 1 + .../test/timexConvert.spec.js | 1 + .../test/timexCreator.spec.js | 1 + .../test/timexDateHelpers.spec.js | 1 + .../test/timexFormat.spec.js | 1 + .../test/timexHelpers.spec.js | 1 + .../test/timexIntegrated.spec.js | 1 + .../test/timexLuis.spec.js | 1 + .../test/timexParsing.spec.js | 1 + .../test/timexProperty.spec.js | 1 + .../test/timexRangeResolver.spec.js | 1 + .../test/timexRelativeConvert.spec.js | 1 + .../test/timexResolver.spec.js | 1 + .../datatypes-date-time/test/timexSet.spec.js | 1 + .../recognizers-choice/rollup.config.js | 3 + .../src/choice/chinese/boolean.ts | 3 + .../src/choice/choiceRecognizer.ts | 3 + .../src/choice/constants.ts | 3 + .../src/choice/dutch/boolean.ts | 3 + .../src/choice/english/boolean.ts | 3 + .../src/choice/extractors.ts | 3 + .../src/choice/french/boolean.ts | 3 + .../src/choice/german/boolean.ts | 3 + .../src/choice/japanese/boolean.ts | 3 + .../recognizers-choice/src/choice/models.ts | 3 + .../recognizers-choice/src/choice/parsers.ts | 3 + .../src/choice/portuguese/boolean.ts | 3 + .../src/choice/spanish/boolean.ts | 3 + .../src/recognizers-text-choice.ts | 3 + .../recognizers-date-time/rollup.config.js | 3 + .../src/dateTime/baseDate.ts | 3 + .../src/dateTime/baseDatePeriod.ts | 3 + .../src/dateTime/baseDateTime.ts | 3 + .../src/dateTime/baseDateTimePeriod.ts | 3 + .../src/dateTime/baseDuration.ts | 3 + .../src/dateTime/baseHoliday.ts | 3 + .../src/dateTime/baseMerged.ts | 3 + .../src/dateTime/baseSet.ts | 3 + .../src/dateTime/baseTime.ts | 3 + .../src/dateTime/baseTimePeriod.ts | 3 + .../src/dateTime/chinese/baseDateTime.ts | 3 + .../src/dateTime/chinese/dateConfiguration.ts | 3 + .../chinese/datePeriodConfiguration.ts | 3 + .../dateTime/chinese/dateTimeConfiguration.ts | 3 + .../chinese/dateTimePeriodConfiguration.ts | 3 + .../dateTime/chinese/durationConfiguration.ts | 3 + .../dateTime/chinese/holidayConfiguration.ts | 3 + .../dateTime/chinese/mergedConfiguration.ts | 3 + .../src/dateTime/chinese/setConfiguration.ts | 3 + .../src/dateTime/chinese/timeConfiguration.ts | 3 + .../chinese/timePeriodConfiguration.ts | 3 + .../src/dateTime/constants.ts | 3 + .../src/dateTime/dateTimeRecognizer.ts | 3 + .../src/dateTime/english/baseConfiguration.ts | 3 + .../src/dateTime/english/dateConfiguration.ts | 3 + .../english/datePeriodConfiguration.ts | 3 + .../dateTime/english/dateTimeConfiguration.ts | 3 + .../english/dateTimePeriodConfiguration.ts | 3 + .../dateTime/english/durationConfiguration.ts | 3 + .../dateTime/english/holidayConfiguration.ts | 3 + .../dateTime/english/mergedConfiguration.ts | 3 + .../src/dateTime/english/parsers.ts | 3 + .../src/dateTime/english/setConfiguration.ts | 3 + .../src/dateTime/english/timeConfiguration.ts | 3 + .../english/timePeriodConfiguration.ts | 3 + .../src/dateTime/french/baseConfiguration.ts | 3 + .../src/dateTime/french/dateConfiguration.ts | 3 + .../french/datePeriodConfiguration.ts | 3 + .../dateTime/french/dateTimeConfiguration.ts | 3 + .../french/dateTimePeriodConfiguration.ts | 3 + .../dateTime/french/durationConfiguration.ts | 3 + .../dateTime/french/holidayConfiguration.ts | 3 + .../dateTime/french/mergedConfiguration.ts | 3 + .../src/dateTime/french/setConfiguration.ts | 3 + .../src/dateTime/french/timeConfiguration.ts | 3 + .../src/dateTime/french/timeParser.ts | 3 + .../french/timePeriodConfiguration.ts | 3 + .../src/dateTime/models.ts | 3 + .../src/dateTime/parsers.ts | 3 + .../src/dateTime/spanish/baseConfiguration.ts | 3 + .../src/dateTime/spanish/dateConfiguration.ts | 3 + .../spanish/datePeriodConfiguration.ts | 3 + .../dateTime/spanish/dateTimeConfiguration.ts | 3 + .../spanish/dateTimePeriodConfiguration.ts | 3 + .../dateTime/spanish/dateTimePeriodParser.ts | 3 + .../dateTime/spanish/durationConfiguration.ts | 3 + .../dateTime/spanish/holidayConfiguration.ts | 3 + .../dateTime/spanish/mergedConfiguration.ts | 3 + .../src/dateTime/spanish/setConfiguration.ts | 3 + .../src/dateTime/spanish/timeConfiguration.ts | 3 + .../spanish/timePeriodConfiguration.ts | 3 + .../src/dateTime/utilities.ts | 3 + .../src/recognizers-text-date-time.ts | 3 + .../rollup.config.js | 3 + .../src/numberWithUnit/chinese/age.ts | 3 + .../src/numberWithUnit/chinese/base.ts | 3 + .../src/numberWithUnit/chinese/currency.ts | 3 + .../src/numberWithUnit/chinese/dimension.ts | 3 + .../src/numberWithUnit/chinese/temperature.ts | 3 + .../src/numberWithUnit/constants.ts | 3 + .../src/numberWithUnit/english/age.ts | 3 + .../src/numberWithUnit/english/base.ts | 3 + .../src/numberWithUnit/english/currency.ts | 3 + .../src/numberWithUnit/english/dimension.ts | 3 + .../src/numberWithUnit/english/temperature.ts | 3 + .../src/numberWithUnit/extractors.ts | 3 + .../src/numberWithUnit/french/age.ts | 3 + .../src/numberWithUnit/french/base.ts | 3 + .../src/numberWithUnit/french/currency.ts | 3 + .../src/numberWithUnit/french/dimension.ts | 3 + .../src/numberWithUnit/french/temperature.ts | 3 + .../src/numberWithUnit/japanese/age.ts | 3 + .../src/numberWithUnit/japanese/base.ts | 3 + .../src/numberWithUnit/japanese/currency.ts | 3 + .../src/numberWithUnit/models.ts | 3 + .../numberWithUnitRecognizer.ts | 3 + .../src/numberWithUnit/parsers.ts | 3 + .../src/numberWithUnit/portuguese/age.ts | 3 + .../src/numberWithUnit/portuguese/base.ts | 3 + .../src/numberWithUnit/portuguese/currency.ts | 3 + .../numberWithUnit/portuguese/dimension.ts | 3 + .../numberWithUnit/portuguese/temperature.ts | 3 + .../src/numberWithUnit/spanish/age.ts | 3 + .../src/numberWithUnit/spanish/base.ts | 3 + .../src/numberWithUnit/spanish/currency.ts | 3 + .../src/numberWithUnit/spanish/dimension.ts | 3 + .../src/numberWithUnit/spanish/temperature.ts | 3 + .../src/numberWithUnit/utilities.ts | 3 + .../src/recognizers-text-number-with-unit.ts | 3 + .../src/resources/englishNumericWithUnit.ts | 2 +- .../src/resources/spanishNumericWithUnit.ts | 8 -- .../recognizers-number/rollup.config.js | 3 + .../recognizers-number/src/culture.ts | 3 + .../src/number/agnosticNumberParser.ts | 3 + .../src/number/chinese/extractors.ts | 3 + .../src/number/chinese/parserConfiguration.ts | 3 + .../src/number/cjkParsers.ts | 3 + .../src/number/constants.ts | 3 + .../src/number/english/extractors.ts | 3 + .../src/number/english/parserConfiguration.ts | 3 + .../src/number/extractors.ts | 3 + .../src/number/french/extractors.ts | 3 + .../src/number/french/parserConfiguration.ts | 3 + .../src/number/japanese/extractors.ts | 3 + .../number/japanese/parserConfiguration.ts | 3 + .../recognizers-number/src/number/models.ts | 3 + .../src/number/numberRecognizer.ts | 3 + .../recognizers-number/src/number/parsers.ts | 3 + .../src/number/portuguese/extractors.ts | 3 + .../number/portuguese/parserConfiguration.ts | 3 + .../src/number/spanish/extractors.ts | 3 + .../src/number/spanish/parserConfiguration.ts | 3 + .../src/recognizers-text-number.ts | 3 + .../src/resources/englishNumeric.ts | 4 +- .../recognizers-sequence/rollup.config.js | 3 + .../src/recognizers-text-sequence.ts | 3 + .../src/sequence/chinese/extractors.ts | 3 + .../src/sequence/constants.ts | 3 + .../src/sequence/english/extractors.ts | 3 + .../src/sequence/english/parsers.ts | 3 + .../src/sequence/extractors.ts | 3 + .../src/sequence/models.ts | 3 + .../src/sequence/parsers.ts | 3 + .../src/sequence/portuguese/extractors.ts | 3 + .../src/sequence/sequenceRecognizer.ts | 3 + .../recognizers-text-suite/rollup.config.js | 3 + .../src/recognizers-text-suite.ts | 3 + .../recognizers-text/rollup.config.js | 3 + .../packages/recognizers-text/src/culture.ts | 3 + .../recognizers-text/src/extractors.ts | 3 + .../packages/recognizers-text/src/metaData.ts | 3 + .../packages/recognizers-text/src/models.ts | 3 + .../packages/recognizers-text/src/parsers.ts | 3 + .../recognizers-text/src/recognizer.ts | 3 + .../recognizers-text/src/recognizers-text.ts | 3 + .../recognizers-text/src/utilities.ts | 3 + .../packages/resource-generator/index.ts | 3 + .../lib/base-code-generator.ts | 3 + .../resource-generator/lib/code-writers.ts | 3 + .../resource-generator/lib/data-types.ts | 3 + .../resource-generator/lib/yaml-parser.ts | 3 + JavaScript/samples/botbuilder/index.js | 3 + JavaScript/samples/browser/index.js | 3 + JavaScript/samples/simple-console/index.js | 3 + JavaScript/test/browser-specs/index.html | 5 ++ JavaScript/test/browser-specs/index.js | 3 + JavaScript/test/browser-specs/server.js | 3 + JavaScript/test/constants.js | 3 + JavaScript/test/cultures.js | 3 + JavaScript/test/datetime-extractors.js | 3 + JavaScript/test/datetime-parsers.js | 3 + JavaScript/test/index-choice.js | 3 + JavaScript/test/index-datetime.js | 3 + JavaScript/test/index-number-with-unit.js | 3 + JavaScript/test/index-number.js | 3 + JavaScript/test/index-sequence.js | 3 + .../initialization-tests/choiceRecognizer.js | 3 + .../dateTimeRecognizer.js | 3 + JavaScript/test/initialization-tests/index.js | 3 + .../initialization-tests/numberRecognizer.js | 3 + .../numberWithUnitRecognizer.js | 3 + .../sequenceRecognizer.js | 3 + JavaScript/test/runner-browser.js | 3 + JavaScript/test/runner-choice.js | 3 + JavaScript/test/runner-datetime.js | 3 + JavaScript/test/runner-number.js | 3 + JavaScript/test/runner-numberWithUnit.js | 3 + JavaScript/test/runner-sequence.js | 3 + JavaScript/test/runner.js | 3 + JavaScript/test/specs.js | 3 + Patterns/English/English-Numbers.yaml | 4 +- Patterns/English/English-NumbersWithUnit.yaml | 2 +- Patterns/German/German-DateTime.yaml | 4 +- .../datatypes-timex-expression/__init__.py | 2 + .../datatypes_timex_expression/__init__.py | 3 + .../datatypes_timex_expression/date_range.py | 3 + .../english/__init__.py | 3 + .../english/english_timex_convert.py | 3 + .../english/english_timex_relative_convert.py | 3 + .../english/timex_constants.py | 3 + .../datatypes_timex_expression/resolution.py | 3 + .../datatypes_timex_expression/time.py | 3 + .../datatypes_timex_expression/time_range.py | 3 + .../datatypes_timex_expression/timex.py | 3 + .../timex_constants.py | 3 + .../timex_constraints_helper.py | 3 + .../timex_convert.py | 3 + .../timex_creator.py | 3 + .../timex_date_helpers.py | 3 + .../timex_format.py | 3 + .../timex_helpers.py | 3 + .../timex_inference.py | 3 + .../timex_parsing.py | 3 + .../datatypes_timex_expression/timex_range.py | 3 + .../timex_range_resolver.py | 3 + .../datatypes_timex_expression/timex_regex.py | 3 + .../timex_relative_convert.py | 3 + .../timex_resolver.py | 3 + .../datatypes_timex_expression/timex_set.py | 3 + .../datatypes_timex_expression/timex_value.py | 3 + .../libraries/recognizers-choice/__init__.py | 2 + .../recognizers_choice/__init__.py | 3 + .../recognizers_choice/choice/__init__.py | 3 + .../recognizers_choice/choice/constants.py | 3 + .../choice/english/__init__.py | 3 + .../choice/english/boolean.py | 3 + .../recognizers_choice/choice/extractors.py | 3 + .../recognizers_choice/choice/models.py | 3 + .../recognizers_choice/choice/parsers.py | 3 + .../choice/recognizers_choice.py | 3 + .../recognizers_choice/resources/__init__.py | 3 + Python/libraries/recognizers-choice/setup.py | 4 +- .../recognizers_date_time/__init__.py | 3 + .../date_time/__init__.py | 3 + .../date_time/abstract_year_extractor.py | 3 + .../date_time/base_configs.py | 3 + .../date_time/base_date.py | 3 + .../date_time/base_dateperiod.py | 3 + .../date_time/base_datetime.py | 7 +- .../date_time/base_datetimeperiod.py | 3 + .../date_time/base_duration.py | 3 + .../date_time/base_holiday.py | 3 + .../date_time/base_merged.py | 3 + .../date_time/base_set.py | 3 + .../date_time/base_time.py | 3 + .../date_time/base_timeperiod.py | 3 + .../date_time/base_timezone.py | 3 + .../date_time/chinese/__init__.py | 3 + .../chinese/base_date_time_extractor.py | 3 + .../date_time/chinese/date_extractor.py | 3 + .../chinese/date_extractor_config.py | 3 + .../date_time/chinese/date_parser.py | 3 + .../date_time/chinese/date_parser_config.py | 3 + .../date_time/chinese/dateperiod_extractor.py | 3 + .../chinese/dateperiod_extractor_config.py | 3 + .../date_time/chinese/dateperiod_parser.py | 3 + .../chinese/dateperiod_parser_config.py | 3 + .../date_time/chinese/datetime_extractor.py | 3 + .../chinese/datetime_extractor_config.py | 3 + .../date_time/chinese/datetime_parser.py | 3 + .../chinese/datetime_parser_config.py | 3 + .../chinese/datetimeperiod_extractor.py | 3 + .../datetimeperiod_extractor_config.py | 3 + .../chinese/datetimeperiod_parser.py | 3 + .../chinese/datetimeperiod_parser_config.py | 3 + .../date_time/chinese/duration_extractor.py | 3 + .../chinese/duration_extractor_config.py | 3 + .../date_time/chinese/duration_parser.py | 3 + .../chinese/duration_parser_config.py | 3 + .../chinese/holiday_extractor_config.py | 3 + .../date_time/chinese/holiday_parser.py | 3 + .../chinese/holiday_parser_config.py | 3 + .../date_time/chinese/merged_extractor.py | 3 + .../chinese/merged_extractor_config.py | 3 + .../date_time/chinese/merged_parser.py | 3 + .../date_time/chinese/merged_parser_config.py | 3 + .../date_time/chinese/set_extractor.py | 3 + .../date_time/chinese/set_extractor_config.py | 3 + .../date_time/chinese/set_parser.py | 3 + .../date_time/chinese/set_parser_config.py | 3 + .../date_time/chinese/time_extractor.py | 3 + .../date_time/chinese/time_parser.py | 3 + .../date_time/chinese/timeperiod_extractor.py | 3 + .../date_time/chinese/timeperiod_parser.py | 3 + .../chinese/timeperiod_parser_config.py | 3 + .../date_time/constants.py | 3 + .../date_time/date_extractor.py | 3 + .../date_time/date_time_extractor.py | 3 + .../date_time/date_time_recognizer.py | 3 + .../date_time/datetime_list_extractor.py | 3 + .../date_time/datetime_zone_extractor.py | 3 + .../date_time/english/__init__.py | 3 + .../date_time/english/base_configs.py | 3 + .../date_time/english/common_configs.py | 3 + .../english/date_extractor_config.py | 3 + .../date_time/english/date_parser_config.py | 3 + .../english/dateperiod_extractor_config.py | 3 + .../english/dateperiod_parser_config.py | 3 + .../english/datetime_extractor_config.py | 3 + .../english/datetime_parser_config.py | 3 + .../datetimeperiod_extractor_config.py | 3 + .../english/datetimeperiod_parser_config.py | 3 + .../english/duration_extractor_config.py | 3 + .../english/duration_parser_config.py | 3 + .../english/holiday_extractor_config.py | 3 + .../english/holiday_parser_config.py | 3 + .../english/merged_extractor_config.py | 3 + .../date_time/english/merged_parser_config.py | 3 + .../date_time/english/parsers.py | 3 + .../date_time/english/set_extractor_config.py | 3 + .../date_time/english/set_parser_config.py | 3 + .../english/time_extractor_config.py | 3 + .../date_time/english/time_parser_config.py | 3 + .../english/timeperiod_extractor_config.py | 3 + .../english/timeperiod_parser_config.py | 3 + .../english/timezone_extractor_config.py | 3 + .../date_time/extractors.py | 3 + .../date_time/french/__init__.py | 3 + .../date_time/french/base_configs.py | 3 + .../date_time/french/common_configs.py | 3 + .../date_time/french/date_extractor_config.py | 3 + .../date_time/french/date_parser_config.py | 3 + .../french/dateperiod_extractor_config.py | 3 + .../french/dateperiod_parser_config.py | 3 + .../french/datetime_extractor_config.py | 3 + .../french/datetime_parser_config.py | 3 + .../french/datetimeperiod_extractor_config.py | 3 + .../french/datetimeperiod_parser_config.py | 3 + .../french/duration_extractor_config.py | 3 + .../french/duration_parser_config.py | 3 + .../french/holiday_extractor_config.py | 3 + .../date_time/french/holiday_parser_config.py | 3 + .../french/merged_extractor_config.py | 3 + .../date_time/french/merged_parser_config.py | 3 + .../date_time/french/parsers.py | 3 + .../date_time/french/set_extractor_config.py | 3 + .../date_time/french/set_parser_config.py | 3 + .../date_time/french/time_extractor_config.py | 3 + .../date_time/french/time_parser_config.py | 3 + .../french/timeperiod_extractor_config.py | 3 + .../french/timeperiod_parser_config.py | 3 + .../french/timezone_extractor_config.py | 3 + .../recognizers_date_time/date_time/models.py | 3 + .../date_time/parsers.py | 3 + .../date_time/spanish/__init__.py | 3 + .../date_time/spanish/base_configs.py | 3 + .../date_time/spanish/common_configs.py | 3 + .../spanish/date_extractor_config.py | 3 + .../date_time/spanish/date_parser_config.py | 3 + .../spanish/dateperiod_extractor_config.py | 3 + .../spanish/dateperiod_parser_config.py | 3 + .../spanish/datetime_extractor_config.py | 3 + .../spanish/datetime_parser_config.py | 3 + .../datetimeperiod_extractor_config.py | 3 + .../spanish/datetimeperiod_parser_config.py | 3 + .../spanish/duration_extractor_config.py | 3 + .../spanish/duration_parser_config.py | 3 + .../spanish/holiday_extractor_config.py | 3 + .../spanish/holiday_parser_config.py | 3 + .../spanish/merged_extractor_config.py | 3 + .../date_time/spanish/merged_parser_config.py | 3 + .../date_time/spanish/parsers.py | 3 + .../date_time/spanish/set_extractor_config.py | 3 + .../date_time/spanish/set_parser_config.py | 3 + .../spanish/time_extractor_config.py | 3 + .../date_time/spanish/time_parser_config.py | 3 + .../spanish/timeperiod_extractor_config.py | 3 + .../spanish/timeperiod_parser_config.py | 3 + .../spanish/timezone_extractor_config.py | 3 + .../date_time/utilities.py | 3 + .../resources/__init__.py | 3 + .../libraries/recognizers-date-time/setup.py | 4 +- .../recognizers_number_with_unit/__init__.py | 3 + .../number_with_unit/__init__.py | 3 + .../number_with_unit/chinese/__init__.py | 3 + .../number_with_unit/chinese/extractors.py | 3 + .../number_with_unit/chinese/parsers.py | 3 + .../number_with_unit/constants.py | 3 + .../number_with_unit/english/__init__.py | 3 + .../number_with_unit/english/extractors.py | 3 + .../number_with_unit/english/parsers.py | 3 + .../number_with_unit/extractors.py | 3 + .../number_with_unit/french/__init__.py | 3 + .../number_with_unit/french/extractors.py | 3 + .../number_with_unit/french/parsers.py | 3 + .../number_with_unit/models.py | 3 + .../number_with_unit_recognizer.py | 3 + .../number_with_unit/parsers.py | 3 + .../number_with_unit/portuguese/__init__.py | 3 + .../number_with_unit/portuguese/extractors.py | 3 + .../number_with_unit/portuguese/parsers.py | 3 + .../number_with_unit/spanish/__init__.py | 3 + .../number_with_unit/spanish/extractors.py | 3 + .../number_with_unit/spanish/parsers.py | 3 + .../number_with_unit/utilities.py | 3 + .../resources/__init__.py | 3 + .../resources/english_numeric_with_unit.py | 2 +- .../recognizers-number-with-unit/setup.py | 4 +- .../libraries/recognizers-number/__init__.py | 2 + .../recognizers_number/__init__.py | 3 + .../recognizers_number/culture.py | 3 + .../recognizers_number/number/__init__.py | 3 + .../number/chinese/__init__.py | 3 + .../number/chinese/extractors.py | 3 + .../number/chinese/parsers.py | 3 + .../recognizers_number/number/cjk_parsers.py | 3 + .../recognizers_number/number/constants.py | 3 + .../number/english/__init__.py | 3 + .../number/english/extractors.py | 3 + .../number/english/parsers.py | 3 + .../recognizers_number/number/extractors.py | 3 + .../number/french/__init__.py | 3 + .../number/french/extractors.py | 3 + .../number/french/parsers.py | 3 + .../number/german/__init__.py | 3 + .../number/german/extractors.py | 3 + .../number/german/parsers.py | 3 + .../number/japanese/__init__.py | 3 + .../number/japanese/extractors.py | 3 + .../number/japanese/parsers.py | 3 + .../recognizers_number/number/models.py | 3 + .../number/number_options.py | 3 + .../number/number_recognizer.py | 3 + .../number/parser_factory.py | 3 + .../recognizers_number/number/parsers.py | 3 + .../number/portuguese/__init__.py | 3 + .../number/portuguese/extractors.py | 3 + .../number/portuguese/parsers.py | 3 + .../number/spanish/__init__.py | 3 + .../number/spanish/extractors.py | 3 + .../number/spanish/parsers.py | 3 + .../recognizers_number/number/utilities.py | 3 + .../recognizers_number/resources/__init__.py | 3 + .../resources/english_numeric.py | 4 +- Python/libraries/recognizers-number/setup.py | 4 +- .../recognizers_sequence/__init__.py | 3 + .../resources/__init__.py | 3 + .../recognizers_sequence/sequence/__init__.py | 3 + .../sequence/chinese/__init__.py | 3 + .../sequence/chinese/extractors.py | 3 + .../sequence/config/__init__.py | 3 + .../config/base_phone_number_configuration.py | 3 + .../sequence/config/ip_configuration.py | 3 + .../config/phone_number_configuration.py | 3 + .../sequence/config/url_configuration.py | 3 + .../sequence/constants.py | 3 + .../sequence/english/__init__.py | 3 + .../sequence/english/extractors.py | 3 + .../sequence/english/parsers.py | 3 + .../sequence/extractors.py | 3 + .../recognizers_sequence/sequence/models.py | 3 + .../recognizers_sequence/sequence/parsers.py | 3 + .../sequence/portuguese/__init__.py | 3 + .../sequence/portuguese/extractors.py | 3 + .../sequence/sequence_recognizer.py | 3 + .../libraries/recognizers-sequence/setup.py | 4 +- .../recognizers_suite/__init__.py | 3 + Python/libraries/recognizers-suite/setup.py | 4 +- .../recognizers_text/__init__.py | 3 + .../recognizers_text/culture.py | 3 + .../recognizers_text/extractor.py | 3 + .../recognizers_text/matcher/aa_node.py | 3 + .../matcher/abstract_matcher.py | 3 + .../recognizers_text/matcher/ac_automaton.py | 3 + .../recognizers_text/matcher/match_result.py | 3 + .../matcher/match_strategy.py | 3 + .../recognizers_text/matcher/matcher.py | 3 + .../recognizers_text/matcher/node.py | 3 + .../matcher/number_with_unit_tokenizer.py | 3 + .../matcher/simple_tokenizer.py | 3 + .../matcher/string_matcher.py | 3 + .../recognizers_text/matcher/token.py | 3 + .../recognizers_text/matcher/tokenizer.py | 3 + .../recognizers_text/matcher/trie_tree.py | 3 + .../recognizers_text/meta_data.py | 3 + .../recognizers_text/model.py | 3 + .../recognizers_text/parser.py | 3 + .../recognizers_text/recognizer.py | 3 + .../recognizers_text/utilities.py | 3 + Python/libraries/recognizers-text/setup.py | 4 +- Python/libraries/resource-generator/index.py | 3 + .../lib/base_code_generator.py | 2 + .../resource-generator/lib/code_writer.py | 3 + .../resource-generator/lib/yaml_parser.py | 3 + Python/samples/simple_console/sample.py | 3 + Python/setup.py | 4 +- Python/tests/datatypes/test_time.py | 3 + Python/tests/datatypes/test_timex.py | 3 + Python/tests/datatypes/test_timex_convert.py | 3 + .../datatypes/test_timex_date_helpers.py | 3 + Python/tests/datatypes/test_timex_format.py | 3 + Python/tests/datatypes/test_timex_helpers.py | 3 + Python/tests/datatypes/test_timex_parsing.py | 3 + .../datatypes/test_timex_range_resolver.py | 3 + .../datatypes/test_timex_relative_convert.py | 3 + Python/tests/datatypes/test_timex_resolver.py | 3 + Python/tests/matcher/test_simple_tokenizer.py | 3 + Python/tests/matcher/test_string_matcher.py | 3 + Python/tests/runner.py | 3 + .../test_initialization_choice_recognizer.py | 3 + .../test_initialization_number_recognizer.py | 3 + ...tialization_number_with_unit_recognizer.py | 3 + ...test_initialization_sequence_recognizer.py | 3 + Python/tests/test_runner_choice.py | 3 + Python/tests/test_runner_datetime.py | 5 +- Python/tests/test_runner_number.py | 3 + Python/tests/test_runner_number_with_unit.py | 3 + Python/tests/test_runner_sequence.py | 3 + Specs/DateTime/German/DateTimeModel.json | 58 ++++++++++++++ Specs/Number/English/OrdinalModel.json | 17 ++++ Tools/src/ValidationTool/ValidationTool.cs | 5 +- 2140 files changed, 7798 insertions(+), 1547 deletions(-) diff --git a/.NET/Microsoft.Recognizers.Definitions.Common/English/NumbersDefinitions.cs b/.NET/Microsoft.Recognizers.Definitions.Common/English/NumbersDefinitions.cs index 44b701e727..de9ac2bf13 100644 --- a/.NET/Microsoft.Recognizers.Definitions.Common/English/NumbersDefinitions.cs +++ b/.NET/Microsoft.Recognizers.Definitions.Common/English/NumbersDefinitions.cs @@ -50,7 +50,7 @@ public static class NumbersDefinitions public static readonly string AllIntRegexWithLocks = $@"((?<=\b){AllIntRegex}(?=\b))"; public static readonly string AllIntRegexWithDozenSuffixLocks = $@"(?<=\b)(((half\s+)?a\s+dozen)|({AllIntRegex}\s+dozen(s)?))(?=\b)"; public const string RoundNumberOrdinalRegex = @"(?:hundredth|thousandth|millionth|billionth|trillionth)"; - public const string NumberOrdinalRegex = @"(?:first|second|third|fourth|fifth|sixth|seventh|eighth|ninth|tenth|eleventh|twelfth|thirteenth|fourteenth|fifteenth|sixteenth|seventeenth|eighteenth|nineteenth|twentieth|thirtieth|fortieth|fiftieth|sixtieth|seventieth|eightieth|ninetieth)"; + public const string NumberOrdinalRegex = @"(?:first|second|third|fourth|fifth|sixth|seventh|eighth|nine?th|tenth|eleventh|twelfth|thirteenth|fourteenth|fifteenth|sixteenth|seventeenth|eighteenth|nineteenth|twentieth|thirtieth|fortieth|fiftieth|sixtieth|seventieth|eightieth|ninetieth)"; public const string RelativeOrdinalRegex = @"(?(next|previous|current)\s+one|(the\s+second|next)\s+to\s+last|the\s+one\s+before\s+the\s+last(\s+one)?|the\s+last\s+but\s+one|(ante)?penultimate|last|next|previous|current)"; public static readonly string BasicOrdinalRegex = $@"({NumberOrdinalRegex}|{RelativeOrdinalRegex})"; public static readonly string SuffixBasicOrdinalRegex = $@"(?:(((({TensNumberIntegerRegex}(\s+(and\s+)?|\s*-\s*){ZeroToNineIntegerRegex})|{TensNumberIntegerRegex}|{ZeroToNineIntegerRegex}|{AnIntRegex})(\s+{RoundNumberIntegerRegex})+)\s+(and\s+)?)*({TensNumberIntegerRegex}(\s+|\s*-\s*))?{BasicOrdinalRegex})"; @@ -180,6 +180,7 @@ public static class NumbersDefinitions { @"seventh", 7 }, { @"eighth", 8 }, { @"ninth", 9 }, + { @"nineth", 9 }, { @"tenth", 10 }, { @"eleventh", 11 }, { @"twelfth", 12 }, @@ -213,6 +214,7 @@ public static class NumbersDefinitions { @"sevenths", 7 }, { @"eighths", 8 }, { @"ninths", 9 }, + { @"nineths", 9 }, { @"tenths", 10 }, { @"elevenths", 11 }, { @"twelfths", 12 }, diff --git a/.NET/Microsoft.Recognizers.Definitions.Common/English/NumbersWithUnitDefinitions.cs b/.NET/Microsoft.Recognizers.Definitions.Common/English/NumbersWithUnitDefinitions.cs index 4e25155769..0940082344 100644 --- a/.NET/Microsoft.Recognizers.Definitions.Common/English/NumbersWithUnitDefinitions.cs +++ b/.NET/Microsoft.Recognizers.Definitions.Common/English/NumbersWithUnitDefinitions.cs @@ -879,7 +879,7 @@ public static class NumbersWithUnitDefinitions public static readonly Dictionary AmbiguityFiltersDict = new Dictionary { { @"\bm\b", @"((('|’)\s*m)|(m\s*('|’)))" }, - { @"^\d{5} f$", @"\b([a-z]{2} \d{5} f)\b" } + { @"^\d{5} [cf]$", @"\b([a-z]{2} \d{5} [cf])\b" } }; } } \ No newline at end of file diff --git a/.NET/Microsoft.Recognizers.Definitions.Common/German/DateTimeDefinitions.cs b/.NET/Microsoft.Recognizers.Definitions.Common/German/DateTimeDefinitions.cs index c107da7474..4a46c21c69 100644 --- a/.NET/Microsoft.Recognizers.Definitions.Common/German/DateTimeDefinitions.cs +++ b/.NET/Microsoft.Recognizers.Definitions.Common/German/DateTimeDefinitions.cs @@ -190,7 +190,7 @@ public static class DateTimeDefinitions public const string HalfRegex = @"(((ein(e(n|r|s)?)?)\s*)|\b)(?halb(e(n|r|s)?)?\s+(?jahr(e(r|s)?)?|monat(s|e)?|woch(en?)?|tag(e(n|r|s)?)?|stund(en?)?))\b"; public const string ConjunctionRegex = @"\b((und(\s+für)?)|mit|für)\b"; public static readonly string HolidayRegex1 = $@"\b((dieses jahr)\s*)?(?reformations(tag|fest)|gedenktag der reformation|martinstag|st. martin|sankt martin|martinsfest|martini|nikolaustag|dreikönigstag|dreikönigsfest|walpurgisnacht|nationalfeiertag|mariä empfängnis|weihnachten|weihnachts(feier)?tag|erste(r|n)? weihnachtstag|1. weihnachtstag|erste(r|n)? weihnachtsfeiertag|1\. weihnachtsfeiertag|zweite(r|n)? weihnachtstag|zweite(r|n)? weihnachtsfeiertag|2\. weihnachtstag|zweite(r|n)? weihnachtsfeiertag|stefanitag|stafanstag|berchtoldstag|bechtelistag|bächtelistag|berchtelistag|bärzelistag|josefstag|joseftag|josefitag|pfingsten|ostermontag|ostersonntag|bundesfeiertag|bundesfeier|mariä himmelfahrt|tag der deutschen einheit|ostern|vatertag|muttertag|erntedank(fest)?|thanksgiving|martin luther king day|martin luther king jr day|washington's birthday|washington birthday|canberraday|tag der arbeit|columbus day|memorial day|yuandan|mao's birthday|teachersday|teacher day|single day|tag der jugend|kindertag|(Internationaler\s+)?frauentag|treeplanting day|tag des baumes|girlsday|white lover day|loverday|weihnachten|weihnachtstag|xmas|neujahr|neujahrstag|neujahr|neujahrstag|neujahr|inauguration day|murmeltiertag|sommeranfang|winteranfang|frühlingsanfang|herbstanfang|valentinstag|st patrick day|erster april|april scherz|georgstag|mayday|maitag|maifeiertag|geburt johannes des täufers|us unabhängigkeitstag|unabhängigkeitstag|sturm auf die bastille|halloween|guy fawkes day|guy fawkes night|veterans day|heiligabend|silvester|pi-tag|pitag|pi (tag|day))(\s+((diesen)\s+)?(im jahr {YearRegex}|{YearRegex}|(im\s+)?{RelativeRegex}\s+jahr(es)?))?\b"; - public static readonly string HolidayRegex2 = $@"\b((dieses jahr)\s*)?(?martin luther king|martin luther king jr|allerheiligen|tree planting day|white lover|st patrick|st george|independence|us independence|allerseelen|guy fawkes|silvester|weiberfastnacht|karneval|aschermittwoch|palm(en)?sonntag|karsamstag|fastnachtssamstag|fastnachtssonntag|heilige drei könige|barbaratag|reformationstag|weltkindertag|augsburger friedensfest|johannistag|peter und paul|karfreitag|christi himmelfahrt|pfingstsonntag|pfingstmontag|fronleichnam|rosenmontag|fastnacht|gründonnerstag|himmelfahrt|volkstrauertag|buß und bettag|buß- und bettag|buss- und bettag|buss und bettag|totensonntag|erste(r|n)? advent|1\. advent|zweite(r|n)? advent|2\. advent|dritte(r|n)? advent|3\. advent|vierte(r|n)? advent|4\. advent|schweizer buss- und bettag|schweizer buss und bettag|schweizer buß und bettag|schweizer buß- und bettag)(\s+((diesen)\s+)?(im jahr {YearRegex}|{YearRegex}|(im\s+)?{RelativeRegex}\s+jahr(es)?))?\b"; + public static readonly string HolidayRegex2 = $@"\b((dieses jahr)\s*)?(?martin luther king|martin luther king jr|allerheiligen|tree planting day|white lover|st patrick|st george|independence|us independence|allerseelen|guy fawkes|silvester|weiberfastnacht|karneval|aschermittwoch|palm(en)?sonntag|karsamstag|fastnachtssamstag|fastnachtssonntag|heilige drei könige|barbaratag|reformationstag|weltkindertag|augsburger friedensfest|johannistag|peter und paul|karfreitag|christi himmelfahrt|pfingstsonntag|pfingstmontag|fronleichnam|rosenmontag|fastnacht|gründonnerstag|himmelfahrt|volkstrauertag|buß und bettag|buß- und bettag|buss- und bettag|buss und bettag|toten(sonntag|fest)|ewigkeitssonntag|erste(r|n)? advent|1\. advent|zweite(r|n)? advent|2\. advent|dritte(r|n)? advent|3\. advent|vierte(r|n)? advent|4\. advent|schweizer buss- und bettag|schweizer buss und bettag|schweizer buß und bettag|schweizer buß- und bettag)(\s+((diesen)\s+)?(im jahr {YearRegex}|{YearRegex}|(im\s+)?{RelativeRegex}\s+jahr(es)?))?\b"; public static readonly string HolidayRegex3 = $@"((dieses jahr)\s*)?(?(canberra|columbus|thanks\s*giving|groundhog|bastille|halloween|veterans|memorial|spring|lantern|qingming|dragon boat)\s+(day))(\s+((diesen)\s+)?(im jahr {YearRegex}|{YearRegex}|(im\s+)?{RelativeRegex}\s+jahr(es)?))?"; public const string DateTokenPrefix = @"am "; public const string TimeTokenPrefix = @"um "; @@ -711,7 +711,7 @@ public static class DateTimeDefinitions { @"holythursday", new string[] { @"gründonnerstag", @"himmelfahrt" } }, { @"memorialdaygermany", new string[] { @"volkstrauertag" } }, { @"dayofrepentance", new string[] { @"bußundbettag", @"buß-undbettag", @"bussundbettag" } }, - { @"totensonntag", new string[] { @"totensonntag" } }, + { @"totensonntag", new string[] { @"totensonntag", @"totenfest", @"ewigkeitssonntag" } }, { @"firstadvent", new string[] { @"ersteadvent", @"erstenadvent", @"ersteradvent", @"1.advent" } }, { @"secondadvent", new string[] { @"zweiteadvent", @"zweitenadvent", @"zweiteradvent", @"2.advent" } }, { @"thirdadvent", new string[] { @"dritteadvent", @"drittenadvent", @"dritteradvent", @"3.advent" } }, diff --git a/.NET/Microsoft.Recognizers.Definitions/Utilities/DefinitionLoader.cs b/.NET/Microsoft.Recognizers.Definitions/Utilities/DefinitionLoader.cs index 4343e7865a..1f9a53f40c 100644 --- a/.NET/Microsoft.Recognizers.Definitions/Utilities/DefinitionLoader.cs +++ b/.NET/Microsoft.Recognizers.Definitions/Utilities/DefinitionLoader.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Arabic/Extractors/ArabicBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Arabic/Extractors/ArabicBooleanExtractorConfiguration.cs index 2577c42f8b..edf3ee7697 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Arabic/Extractors/ArabicBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Arabic/Extractors/ArabicBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Bulgarian/Extractors/BulgarianBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Bulgarian/Extractors/BulgarianBooleanExtractorConfiguration.cs index 5d1ada5142..f8016c2672 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Bulgarian/Extractors/BulgarianBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Bulgarian/Extractors/BulgarianBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Bulgarian; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Chinese/Extractors/ChineseBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Chinese/Extractors/ChineseBooleanExtractorConfiguration.cs index 09489fe063..dc2935c1a3 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Chinese/Extractors/ChineseBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Chinese/Extractors/ChineseBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/ChoiceOptions.cs b/.NET/Microsoft.Recognizers.Text.Choice/ChoiceOptions.cs index b584f1bc2f..5e512f3820 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/ChoiceOptions.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/ChoiceOptions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; namespace Microsoft.Recognizers.Text.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.Choice/ChoiceRecognizer.cs b/.NET/Microsoft.Recognizers.Text.Choice/ChoiceRecognizer.cs index 56f14a8b5b..dd60b313e7 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/ChoiceRecognizer.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/ChoiceRecognizer.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.Choice.Arabic; using Microsoft.Recognizers.Text.Choice.Bulgarian; using Microsoft.Recognizers.Text.Choice.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Config/BooleanParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Config/BooleanParserConfiguration.cs index e536225950..860cb23cad 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Config/BooleanParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Config/BooleanParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Config/IChoiceParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Config/IChoiceParserConfiguration.cs index 0dfb2cd526..4f9b0090e2 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Config/IChoiceParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Config/IChoiceParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Constants.cs b/.NET/Microsoft.Recognizers.Text.Choice/Constants.cs index a65c25061a..e537d5ba4d 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Constants.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Constants.cs @@ -1,4 +1,7 @@ -using System.Diagnostics.CodeAnalysis; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Diagnostics.CodeAnalysis; namespace Microsoft.Recognizers.Text.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Dutch/Extractors/DutchBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Dutch/Extractors/DutchBooleanExtractorConfiguration.cs index a6e512b3f3..f3453bbc3c 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Dutch/Extractors/DutchBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Dutch/Extractors/DutchBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/English/Extractors/EnglishBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/English/Extractors/EnglishBooleanExtractorConfiguration.cs index cd3fa44cc3..3ba13ef8bd 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/English/Extractors/EnglishBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/English/Extractors/EnglishBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Extractors/BooleanExtractor.cs b/.NET/Microsoft.Recognizers.Text.Choice/Extractors/BooleanExtractor.cs index 026637b6e4..c9334fe86f 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Extractors/BooleanExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Extractors/BooleanExtractor.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Choice +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Choice { public class BooleanExtractor : ChoiceExtractor { diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Extractors/ChoiceExtractDataResult.cs b/.NET/Microsoft.Recognizers.Text.Choice/Extractors/ChoiceExtractDataResult.cs index e32faacb94..bac6a3796b 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Extractors/ChoiceExtractDataResult.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Extractors/ChoiceExtractDataResult.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Extractors/ChoiceExtractor.cs b/.NET/Microsoft.Recognizers.Text.Choice/Extractors/ChoiceExtractor.cs index bd15fcd1e4..2cbd444138 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Extractors/ChoiceExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Extractors/ChoiceExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Extractors/IBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Extractors/IBooleanExtractorConfiguration.cs index 49916de442..6f5e7072ba 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Extractors/IBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Extractors/IBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Extractors/IChoiceExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Extractors/IChoiceExtractorConfiguration.cs index 3ad72699f6..f0985ed168 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Extractors/IChoiceExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Extractors/IChoiceExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.Choice diff --git a/.NET/Microsoft.Recognizers.Text.Choice/French/Extractors/FrenchBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/French/Extractors/FrenchBooleanExtractorConfiguration.cs index b87e33ca7e..c0a13340e8 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/French/Extractors/FrenchBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/French/Extractors/FrenchBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/German/Extractors/GermanBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/German/Extractors/GermanBooleanExtractorConfiguration.cs index 87a3b15efd..e53c5eb5c0 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/German/Extractors/GermanBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/German/Extractors/GermanBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Hindi/Extractors/HindiBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Hindi/Extractors/HindiBooleanExtractorConfiguration.cs index 7f6365e286..8fe468b4ea 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Hindi/Extractors/HindiBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Hindi/Extractors/HindiBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Italian/Extractors/ItalianBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Italian/Extractors/ItalianBooleanExtractorConfiguration.cs index 8fb139db1c..c573be4428 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Italian/Extractors/ItalianBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Italian/Extractors/ItalianBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Japanese/Extractors/JapaneseBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Japanese/Extractors/JapaneseBooleanExtractorConfiguration.cs index 6750939ea2..6035571da8 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Japanese/Extractors/JapaneseBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Japanese/Extractors/JapaneseBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Japanese; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Models/BooleanModel.cs b/.NET/Microsoft.Recognizers.Text.Choice/Models/BooleanModel.cs index 0a952e58cf..9733ed0e83 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Models/BooleanModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Models/BooleanModel.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; namespace Microsoft.Recognizers.Text.Choice diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Models/ChoiceModel.cs b/.NET/Microsoft.Recognizers.Text.Choice/Models/ChoiceModel.cs index 4056810b80..a44f457a73 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Models/ChoiceModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Models/ChoiceModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Parsers/BooleanParser.cs b/.NET/Microsoft.Recognizers.Text.Choice/Parsers/BooleanParser.cs index 0d50f17ef8..a83a904b58 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Parsers/BooleanParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Parsers/BooleanParser.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Choice +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Choice { public class BooleanParser : ChoiceParser { diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Parsers/ChoiceParseDataResult.cs b/.NET/Microsoft.Recognizers.Text.Choice/Parsers/ChoiceParseDataResult.cs index a97fae0201..826f3d06a2 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Parsers/ChoiceParseDataResult.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Parsers/ChoiceParseDataResult.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Parsers/ChoiceParser.cs b/.NET/Microsoft.Recognizers.Text.Choice/Parsers/ChoiceParser.cs index 2ccfc01195..4604540861 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Parsers/ChoiceParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Parsers/ChoiceParser.cs @@ -1,4 +1,7 @@ -using System.Linq; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Linq; namespace Microsoft.Recognizers.Text.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Parsers/OtherMatchParseResult.cs b/.NET/Microsoft.Recognizers.Text.Choice/Parsers/OtherMatchParseResult.cs index ba16369401..a9bbce6b44 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Parsers/OtherMatchParseResult.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Parsers/OtherMatchParseResult.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Choice +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Choice { public class OtherMatchParseResult { diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Portuguese/Extractors/PortugueseBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Portuguese/Extractors/PortugueseBooleanExtractorConfiguration.cs index bfa29dca34..58e8e19db5 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Portuguese/Extractors/PortugueseBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Portuguese/Extractors/PortugueseBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Spanish/Extractors/SpanishBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Spanish/Extractors/SpanishBooleanExtractorConfiguration.cs index d0744675ce..f425b5e6c3 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Spanish/Extractors/SpanishBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Spanish/Extractors/SpanishBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Swedish/Extractors/SwedishBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Swedish/Extractors/SwedishBooleanExtractorConfiguration.cs index 4d65ad0b28..f799ea5241 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Swedish/Extractors/SwedishBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Swedish/Extractors/SwedishBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Swedish; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Turkish/Extractors/TurkishBooleanExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Choice/Turkish/Extractors/TurkishBooleanExtractorConfiguration.cs index 9707ff2fd9..9014edacbb 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Turkish/Extractors/TurkishBooleanExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Turkish/Extractors/TurkishBooleanExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.Choice/Utilities/UnicodeUtils.cs b/.NET/Microsoft.Recognizers.Text.Choice/Utilities/UnicodeUtils.cs index f38a47e0f4..caf1e7b288 100644 --- a/.NET/Microsoft.Recognizers.Text.Choice/Utilities/UnicodeUtils.cs +++ b/.NET/Microsoft.Recognizers.Text.Choice/Utilities/UnicodeUtils.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.Choice.Utilities { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoiceRecognizerCache.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoiceRecognizerCache.cs index 2675b0ef6b..54b7e9b5be 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoiceRecognizerCache.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoiceRecognizerCache.cs @@ -1,4 +1,7 @@ -using System.Linq; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Linq; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoiceRecognizerInitialization.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoiceRecognizerInitialization.cs index dde800280f..bb75cee6bd 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoiceRecognizerInitialization.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoiceRecognizerInitialization.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Arabic.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Arabic.cs index 0a852c34f5..d5cbda7e3d 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Arabic.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Arabic.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Bulgarian.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Bulgarian.cs index c6c3cfeda2..8c1b7eb94b 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Bulgarian.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Bulgarian.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Chinese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Chinese.cs index 5ad6daf679..42d675c0be 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Chinese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Chinese.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Dutch.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Dutch.cs index b01297ae3b..1d2fa4cac5 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Dutch.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Dutch.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_English.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_English.cs index 7a8be01ea6..992f2be60a 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_English.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_English.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_French.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_French.cs index 51ac4fdae7..e17ee2e1e2 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_French.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_French.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_German.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_German.cs index 4d9356de5e..91732900c9 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_German.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_German.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Hindi.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Hindi.cs index 37a734dea4..6954d51799 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Hindi.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Hindi.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Italian.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Italian.cs index 29e1202ddf..fd53e0847f 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Italian.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Italian.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Japanese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Japanese.cs index 8bb6229f74..6c43f42623 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Japanese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Japanese.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Portuguese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Portuguese.cs index e26d3acaf1..30d21e5197 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Portuguese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Portuguese.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Spanish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Spanish.cs index 9e86226f88..e32be8ffb6 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Spanish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Spanish.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Swedish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Swedish.cs index dc467cbdc4..4b8c2364ef 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Swedish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Swedish.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Turkish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Turkish.cs index c594701860..f319ffa72e 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Turkish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Choice/TestChoice_Turkish.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Choice { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTimeRecognizerCache.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTimeRecognizerCache.cs index a07db088a3..0f7d1437e0 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTimeRecognizerCache.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTimeRecognizerCache.cs @@ -1,4 +1,7 @@ -using System.Linq; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Linq; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTimeRecognizerInitialization.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTimeRecognizerInitialization.cs index a06e083939..6578cad489 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTimeRecognizerInitialization.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTimeRecognizerInitialization.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using Microsoft.Recognizers.Text.DateTime.English; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Arabic.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Arabic.cs index 4d36fbb401..9c6eb007e0 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Arabic.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Arabic.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Chinese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Chinese.cs index ed38ef3441..ab3995d8d5 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Chinese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Chinese.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Dutch.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Dutch.cs index f4671d53a2..3c9a2167b8 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Dutch.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Dutch.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_English.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_English.cs index 6dca415aea..f40eb647ee 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_English.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_English.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_EnglishOthers.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_EnglishOthers.cs index 2f9fbb1056..fef7ee0382 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_EnglishOthers.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_EnglishOthers.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_French.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_French.cs index 9b0ccdec93..324c0d326d 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_French.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_French.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_German.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_German.cs index 54a6452db2..74a261bb43 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_German.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_German.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Hindi.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Hindi.cs index 0955816d76..1b7c2c92af 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Hindi.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Hindi.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Italian.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Italian.cs index e39c4c44ea..84eb810022 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Italian.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Italian.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Japanese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Japanese.cs index 7b75f1a4b2..0cf494556b 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Japanese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Japanese.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Korean.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Korean.cs index 4631517942..7dd0ded605 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Korean.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Korean.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Portuguese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Portuguese.cs index 6c974e1ccc..b1e6586c74 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Portuguese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Portuguese.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Spanish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Spanish.cs index 481344786f..db2f3a483a 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Spanish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Spanish.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Turkish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Turkish.cs index 105076c422..48133785c5 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Turkish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/DateTime/TestDateTime_Turkish.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Matcher/SimpleTokenizerTest.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Matcher/SimpleTokenizerTest.cs index 2908008d87..77e7f210e7 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Matcher/SimpleTokenizerTest.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Matcher/SimpleTokenizerTest.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.Matcher; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.Matcher; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.DataDrivenTests.Matcher @@ -6,7 +9,7 @@ namespace Microsoft.Recognizers.Text.DataDrivenTests.Matcher [TestClass] public class SimpleTokenizerTest { - private ITokenizer tokenizer = new SimpleTokenizer(); + private readonly ITokenizer tokenizer = new SimpleTokenizer(); [TestMethod] public void EnglishTokenizedTest() diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Matcher/StringMatcherTest.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Matcher/StringMatcherTest.cs index 5da9415e95..5179515198 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Matcher/StringMatcherTest.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Matcher/StringMatcherTest.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; using Microsoft.Recognizers.Text.Matcher; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NetCoreTestDataSourceAttribute.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NetCoreTestDataSourceAttribute.cs index d0fb3107c0..e0d2d8f9b1 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NetCoreTestDataSourceAttribute.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NetCoreTestDataSourceAttribute.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/LongFormTestConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/LongFormTestConfiguration.cs index 4b333d901a..19459ca230 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/LongFormTestConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/LongFormTestConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestDecimalAndThousandsSeparators.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestDecimalAndThousandsSeparators.cs index 00e1407424..b58e751afc 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestDecimalAndThousandsSeparators.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestDecimalAndThousandsSeparators.cs @@ -1,4 +1,7 @@ -using Microsoft.VisualStudio.TestTools.UnitTesting; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests { diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumberRecognizerCache.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumberRecognizerCache.cs index 28bbd4f527..1db3b43f1e 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumberRecognizerCache.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumberRecognizerCache.cs @@ -1,4 +1,7 @@ -using System.Linq; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Linq; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumberRecognizerInitialization.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumberRecognizerInitialization.cs index 0be68d727f..e1f47f163e 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumberRecognizerInitialization.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumberRecognizerInitialization.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Linq; using Microsoft.Recognizers.Text.Number.English; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Arabic.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Arabic.cs index b17a4a63b6..7dd2f0cb87 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Arabic.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Arabic.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Chinese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Chinese.cs index 1109658612..42c961d540 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Chinese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Chinese.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Dutch.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Dutch.cs index 22cb8fb16f..3f6acc7280 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Dutch.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Dutch.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_English.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_English.cs index 9639b50957..c652efabe1 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_English.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_English.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_French.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_French.cs index 1488ea69fb..e0d1435e43 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_French.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_French.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_German.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_German.cs index 8fba06bf39..7b1e87d4d1 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_German.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_German.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Hindi.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Hindi.cs index e9cb6541ed..feb3df3c86 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Hindi.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Hindi.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Italian.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Italian.cs index 51068e140f..58a9971bc5 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Italian.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Italian.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Japanese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Japanese.cs index 91cfab0fc2..837815735c 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Japanese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Japanese.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Korean.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Korean.cs index 3b8c196e72..1d7bc6f040 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Korean.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Korean.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Portuguese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Portuguese.cs index a01e1f06c5..15a5c23de1 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Portuguese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Portuguese.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Spanish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Spanish.cs index 91c451ec6b..ddd987415b 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Spanish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Spanish.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_SpanishMexican.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_SpanishMexican.cs index 7a84dcdd5e..9399c6182d 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_SpanishMexican.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_SpanishMexican.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Swedish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Swedish.cs index 96e0eaefc8..44bb34318c 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Swedish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Swedish.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Turkish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Turkish.cs index 36424ff0e9..cf7701f72b 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Turkish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestNumber_Turkish.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Number.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestParserFactory.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestParserFactory.cs index 39be5d3b66..29553389f7 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestParserFactory.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Number/TestParserFactory.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.Number.Chinese; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.Number.Chinese; using Microsoft.Recognizers.Text.Number.English; using Microsoft.Recognizers.Text.Number.French; using Microsoft.Recognizers.Text.Number.German; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnitRecognizerCache.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnitRecognizerCache.cs index 1cffd4ea80..58df3d869b 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnitRecognizerCache.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnitRecognizerCache.cs @@ -1,4 +1,7 @@ -using System.Linq; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Linq; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnitRecognizerInitialization.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnitRecognizerInitialization.cs index 09f9a7f426..fcc08ca82a 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnitRecognizerInitialization.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnitRecognizerInitialization.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Chinese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Chinese.cs index 099f9d2b54..c377be9f2f 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Chinese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Chinese.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Dutch.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Dutch.cs index c9c57aefdb..cef65cb170 100755 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Dutch.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Dutch.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_English.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_English.cs index a6990b02a7..394e8acecd 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_English.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_English.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_French.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_French.cs index 43ae602e91..e1272ecbcd 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_French.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_French.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_German.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_German.cs index 00da8c9847..98fe952919 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_German.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_German.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Hindi.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Hindi.cs index c7ab855e2f..281021cd62 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Hindi.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Hindi.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Italian.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Italian.cs index 7f7fbdb5f9..430a4e7e75 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Italian.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Italian.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Japanese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Japanese.cs index 8fc5433010..7043c85aa1 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Japanese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Japanese.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Korean.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Korean.cs index 8ac897d0db..9ec2021968 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Korean.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Korean.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Portuguese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Portuguese.cs index 43e1cffb31..1cb4c48124 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Portuguese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Portuguese.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Spanish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Spanish.cs index 6924041ffe..7e800cf096 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Spanish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Spanish.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Swedish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Swedish.cs index c6cc0963bf..cac7eedddd 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Swedish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Swedish.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Turkish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Turkish.cs index f455a5be70..f6e0241f0c 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Turkish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/NumberWithUnit/TestNumberWithUnit_Turkish.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.NumberWithUnit.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequenceRecognizerCache.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequenceRecognizerCache.cs index 5171ca2f99..61fc2219de 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequenceRecognizerCache.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequenceRecognizerCache.cs @@ -1,4 +1,7 @@ -using System.Linq; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Linq; using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequenceRecognizerInitialization.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequenceRecognizerInitialization.cs index cc2b5cb526..d815185b49 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequenceRecognizerInitialization.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequenceRecognizerInitialization.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Linq; using Microsoft.Recognizers.Text.Sequence.English; using Microsoft.VisualStudio.TestTools.UnitTesting; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Chinese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Chinese.cs index 13bd2f6feb..6f839cb88e 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Chinese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Chinese.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Sequence.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Dutch.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Dutch.cs index ccf2e9a8a0..628c1d846e 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Dutch.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Dutch.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Sequence.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_English.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_English.cs index 4e55c31815..d2c4e809ad 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_English.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_English.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Sequence.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_French.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_French.cs index 2187a85d1f..0a0b360744 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_French.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_French.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Sequence.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_German.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_German.cs index 6d21d3f7cf..eb757dea66 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_German.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_German.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Sequence.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Hindi.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Hindi.cs index 5a43945f50..189e84a1db 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Hindi.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Hindi.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Sequence.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Italian.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Italian.cs index a159881897..b34bbeec88 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Italian.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Italian.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Sequence.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Japanese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Japanese.cs index 4c28a90926..2cf66683f0 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Japanese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Japanese.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Sequence.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Korean.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Korean.cs index a37f0892c4..aabd6237a1 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Korean.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Korean.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Sequence.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Portuguese.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Portuguese.cs index 539cf1f068..75eccbfe9c 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Portuguese.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Portuguese.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Sequence.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Spanish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Spanish.cs index 3b8da0f5a0..9a9e959554 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Spanish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Spanish.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Sequence.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Turkish.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Turkish.cs index 74e2070c3f..292b1580b1 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Turkish.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/Sequence/TestSequence_Turkish.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Text.DataDrivenTests; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Text.DataDrivenTests; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.Recognizers.Text.Sequence.Tests diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestBase.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestBase.cs index c3acdf399e..eb9dcabeda 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestBase.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestBase.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestHelpers.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestHelpers.cs index 98f2aa7d67..dfcae1650f 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestHelpers.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestHelpers.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestModel.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestModel.cs index ff0d952225..028870b5ce 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestModel.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; diff --git a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestResources.cs b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestResources.cs index 2800800d3a..2d9e68ea20 100644 --- a/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestResources.cs +++ b/.NET/Microsoft.Recognizers.Text.DataDrivenTests/TestResources.cs @@ -1,5 +1,6 @@ -using System; -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DataTypes.TimexExpression/DateRange.cs b/.NET/Microsoft.Recognizers.Text.DataTypes.TimexExpression/DateRange.cs index 20261f166f..f98d0f675e 100644 --- a/.NET/Microsoft.Recognizers.Text.DataTypes.TimexExpression/DateRange.cs +++ b/.NET/Microsoft.Recognizers.Text.DataTypes.TimexExpression/DateRange.cs @@ -1,5 +1,6 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. + using DateObject = System.DateTime; namespace Microsoft.Recognizers.Text.DataTypes.TimexExpression diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateExtractorConfiguration.cs index b5477fafba..78ad2be2e2 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDatePeriodExtractorConfiguration.cs index 9c8630051e..f1885c8697 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDatePeriodExtractorConfiguration.cs @@ -1,4 +1,6 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateTimeAltExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateTimeAltExtractorConfiguration.cs index 52cbcc6bf0..42876f55bb 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateTimeAltExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateTimeAltExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateTimeExtractorConfiguration.cs index c6bc5cc8a4..a2074bbb86 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; using Microsoft.Recognizers.Text.DateTime.Arabic.Utilities; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateTimePeriodExtractorConfiguration.cs index a9c6c54a41..873cb7e583 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDurationExtractorConfiguration.cs index b094512a55..0f1c5657f7 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicHolidayExtractorConfiguration.cs index 77dfbbcfec..8eaaa26c43 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicMergedExtractorConfiguration.cs index abe917028b..046d08ed72 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Arabic; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicSetExtractorConfiguration.cs index b2e9b8308d..35ba65595e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicTimeExtractorConfiguration.cs index 95af4bcde3..371dcfd213 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicTimePeriodExtractorConfiguration.cs index 0042c9b0fe..89f3f25e19 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Extractors/ArabicTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicCommonDateTimeParserConfiguration.cs index 9d895e60a2..163bfa65f6 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Arabic; using Microsoft.Recognizers.Text.DateTime.Arabic.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateParserConfiguration.cs index c9a9796595..55be74f973 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDatePeriodParserConfiguration.cs index 0d329508f3..4d9f99176a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateTimeAltParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateTimeAltParserConfiguration.cs index 15feef8db8..7f9f42e058 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateTimeAltParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateTimeAltParserConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime.Arabic +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime.Arabic { public class ArabicDateTimeAltParserConfiguration : IDateTimeAltParserConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateTimeParserConfiguration.cs index 094fc723b4..aa39746797 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateTimePeriodParserConfiguration.cs index d29ff9c7a5..955963cb11 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; @@ -142,7 +145,7 @@ public ArabicDateTimePeriodParserConfiguration(ICommonDateTimeParserConfiguratio // @TODO Move time range resolution to common policy - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); @@ -151,32 +154,32 @@ public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHo endMin = 0; if (MorningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TMO"; + todSymbol = "TMO"; beginHour = 8; endHour = Constants.HalfDayHourCount; } else if (AfternoonStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TAF"; + todSymbol = "TAF"; beginHour = Constants.HalfDayHourCount; endHour = 16; } else if (EveningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TEV"; + todSymbol = "TEV"; beginHour = 16; endHour = 20; } else if (NightStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TNI"; + todSymbol = "TNI"; beginHour = 20; endHour = 23; endMin = 59; } else { - timeStr = null; + todSymbol = null; return false; } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDurationParserConfiguration.cs index 34bcc81dd8..27bfb5ebe4 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicHolidayParserConfiguration.cs index bbee8232d7..a44e0939c6 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicMergedParserConfiguration.cs index 8b626238e2..11fcdcb5cb 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicSetParserConfiguration.cs index f588d6d0f6..e76ee5ba76 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicTimeParserConfiguration.cs index d8d0856c14..61d6687061 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicTimePeriodParserConfiguration.cs index b6f0db9d9e..0b05ea679f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/ArabicTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; @@ -55,7 +58,7 @@ public ArabicTimePeriodParserConfiguration(ICommonDateTimeParserConfiguration co public IDateTimeUtilityConfiguration UtilityConfiguration { get; } - public bool GetMatchedTimexRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); if (trimmedText.EndsWith("s", StringComparison.Ordinal)) @@ -68,6 +71,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou endMin = 0; var timeOfDay = string.Empty; + if (DateTimeDefinitions.MorningTermList.Any(o => trimmedText.EndsWith(o, StringComparison.Ordinal))) { timeOfDay = Constants.Morning; @@ -114,7 +118,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/TimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/TimeParser.cs index fbad1bb909..2023c81afd 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/TimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Parsers/TimeParser.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Utilities/ArabicDatetimeUtilityConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Utilities/ArabicDatetimeUtilityConfiguration.cs index 4b86162107..b782624f27 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Utilities/ArabicDatetimeUtilityConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Arabic/Utilities/ArabicDatetimeUtilityConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDateExtractorConfiguration.cs index a317452610..80ea356f6c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDatePeriodExtractorConfiguration.cs index 535cca43e7..807e64e669 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDateTimeExtractorConfiguration.cs index 07a9fc7cf7..e77eacd9fa 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDateTimePeriodExtractorConfiguration.cs index 3f4682bbb3..a2b5bcceb2 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDurationExtractorConfiguration.cs index f106073c00..28830913b8 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseHolidayExtractorConfiguration.cs index a1ec5d5391..696110de29 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseMergedExtractorConfiguration.cs index e71cd1ad2d..2bec23460e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseSetExtractorConfiguration.cs index 26200a965b..3b8adb83c4 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseTimeExtractorConfiguration.cs index d81f6839e1..5332dbf785 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseTimePeriodExtractorConfiguration.cs index 391d16126f..88bb54fdb0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Extractors/ChineseTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseCommonDateTimeParserConfiguration.cs index 38e33be63e..e54f4464bc 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDateParserConfiguration.cs index 72721a26ef..ac6124b7fd 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDatePeriodParserConfiguration.cs index c66a796e5d..c5784bccd4 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDateTimeParserConfiguration.cs index c9af99fd21..b404d8f34a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDateTimePeriodParserConfiguration.cs index 69e0bd8246..f51887c287 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; @@ -102,101 +105,82 @@ public ChineseDateTimePeriodParserConfiguration(ICJKCommonDateTimeParserConfigur public IImmutableDictionary UnitMap { get; } - public bool GetMatchedTimeRangeAndSwift(string text, out string timeStr, out int beginHour, out int endHour, out int swift) + public bool GetMatchedTimeRangeAndSwift(string text, out string todSymbol, out int beginHour, out int endHour, out int endMinute, out int swift) { var trimmedText = text.Trim(); // @TODO move hardcoded values to resources file beginHour = 0; endHour = 0; + endMinute = 0; swift = 0; + + var tod = string.Empty; + switch (trimmedText) { case "今晚": swift = 0; - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + tod = Constants.Evening; break; case "今早": case "今晨": swift = 0; - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + tod = Constants.Morning; break; case "明晚": swift = 1; - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + tod = Constants.Evening; break; case "明早": case "明晨": swift = 1; - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + tod = Constants.Morning; break; case "昨晚": swift = -1; - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + tod = Constants.Evening; break; - default: - timeStr = null; - return false; } - return true; - } - - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) - { - var trimmedText = text.Trim(); - - beginHour = 0; - endHour = 0; - endMin = 0; if (MORegex.IsMatch(trimmedText)) { - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + tod = Constants.Morning; } else if (MIRegex.IsMatch(trimmedText)) { - timeStr = "TMI"; - beginHour = 11; - endHour = 13; + tod = Constants.MidDay; } else if (AFRegex.IsMatch(trimmedText)) { - timeStr = "TAF"; - beginHour = Constants.HalfDayHourCount; - endHour = 16; + tod = Constants.Afternoon; } else if (EVRegex.IsMatch(trimmedText)) { - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + tod = Constants.Evening; } else if (NIRegex.IsMatch(trimmedText)) { - timeStr = "TNI"; - beginHour = 20; - endHour = 23; - endMin = 59; + tod = Constants.Night; } - else + else if (string.IsNullOrEmpty(tod)) { - timeStr = null; + todSymbol = null; return false; } + var parseResult = TimexUtility.ResolveTimeOfDay(tod); + todSymbol = parseResult.Timex; + beginHour = parseResult.BeginHour; + endHour = parseResult.EndHour; + endMinute = parseResult.EndMin; + return true; } + + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) + { + return GetMatchedTimeRangeAndSwift(text, out todSymbol, out beginHour, out endHour, out endMin, out int swift); + } } } \ No newline at end of file diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDurationParserConfiguration.cs index db21b70bb1..1c73ff136b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.NumberWithUnit; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseHolidayParserConfiguration.cs index 00c656e2da..7a935ea954 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseMergedParserConfiguration.cs index 266b327fb1..16a1edd4d9 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseSetParserConfiguration.cs index a06c8372ae..b8742dddd2 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseTimeParserConfiguration.cs index 65df010ec0..f89bdd681a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Definitions.Chinese; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseTimePeriodParserConfiguration.cs index 8b52f3d71c..ff54719c61 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Chinese/Parsers/ChineseTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; @@ -69,7 +72,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Config/BaseDateTimeOptionsConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Config/BaseDateTimeOptionsConfiguration.cs index bdc8bf14b7..6b26613b19 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Config/BaseDateTimeOptionsConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Config/BaseDateTimeOptionsConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime { public class BaseDateTimeOptionsConfiguration : IDateTimeOptionsConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Config/IDateTimeOptionsConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Config/IDateTimeOptionsConfiguration.cs index c023d30390..5415326b4d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Config/IDateTimeOptionsConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Config/IDateTimeOptionsConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime { public interface IDateTimeOptionsConfiguration : IConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Constants.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Constants.cs index 6369c626c6..a689ff1a47 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Constants.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Constants.cs @@ -1,4 +1,7 @@ -using System.Diagnostics.CodeAnalysis; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Diagnostics.CodeAnalysis; using System.Globalization; using Microsoft.Recognizers.Definitions; @@ -113,22 +116,22 @@ public static class Constants // Day start hour public const int DayHourStart = 0; - // hours of one day + // Hours in a day public const int DayHourCount = 24; - // hours of one half day + // Hours in a half day public const int HalfDayHourCount = 12; - // hours of one quarter day + // Hours in a quarter of a day public const int QuarterDayHourCount = 6; - // hours of a half mid-day-duration + // Hours is a half mid-day-duration public const int HalfMidDayDurationHourCount = 2; - // the length of four digits year, e.g., 2018 + // Char length of four digits year, e.g., 2018 public const int FourDigitsYearLength = 4; - // Times of day begin/end hours + // Default boundaries for time of day resolution public const int EarlyMorningBeginHour = 4; public const int EarlyMorningEndHour = 8; public const int MorningBeginHour = 8; @@ -157,7 +160,10 @@ public static class Constants public const int MealtimeDinnerBeginHour = 16; public const int MealtimeDinnerEndHour = 20; - // specifies the priority interpreting month and day order + // Default period range modifier deltas + public const int EARLY_LATE_TIME_DELTA = 2; + + // Constants specifying the priority of interpreting month and day order public const string DefaultLanguageFallback_MDY = "MDY"; public const string DefaultLanguageFallback_DMY = "DMY"; public const string DefaultLanguageFallback_YMD = "YMD"; // ZH diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/DataStructure.cs b/.NET/Microsoft.Recognizers.Text.DateTime/DataStructure.cs index 86161bfb41..db141a042c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/DataStructure.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/DataStructure.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime { public enum DatePeriodTimexType { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/DateTimeOptions.cs b/.NET/Microsoft.Recognizers.Text.DateTime/DateTimeOptions.cs index 025b3b0d1b..19b56a2682 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/DateTimeOptions.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/DateTimeOptions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; namespace Microsoft.Recognizers.Text.DateTime { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/DateTimeRecognizer.cs b/.NET/Microsoft.Recognizers.Text.DateTime/DateTimeRecognizer.cs index 010dfdfd21..8427e182d2 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/DateTimeRecognizer.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/DateTimeRecognizer.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.DateTime.Arabic; using Microsoft.Recognizers.Text.DateTime.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/DateTimeResolutionKey.cs b/.NET/Microsoft.Recognizers.Text.DateTime/DateTimeResolutionKey.cs index 1f7fb733b0..b16f99e016 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/DateTimeResolutionKey.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/DateTimeResolutionKey.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime { public static class DateTimeResolutionKey { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateExtractorConfiguration.cs index fe87c173fd..25bd48663f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDatePeriodExtractorConfiguration.cs index f1dc3c12b0..e69f79d430 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateTimeAltExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateTimeAltExtractorConfiguration.cs index b66d3669b8..4293396cea 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateTimeAltExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateTimeAltExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateTimeExtractorConfiguration.cs index b0c44efb06..8e50e9544b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; using Microsoft.Recognizers.Text.DateTime.Dutch.Utilities; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateTimePeriodExtractorConfiguration.cs index 78cefb4d7f..d0db135837 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDurationExtractorConfiguration.cs index 7e072b02c3..5fcb9cbe91 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchHolidayExtractorConfiguration.cs index 66b92467b2..64b7b7a047 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchMergedExtractorConfiguration.cs index bdeb4e3f28..df3c719f42 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchSetExtractorConfiguration.cs index a097914cf6..9768bfafc7 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchTimeExtractorConfiguration.cs index 0b5d24a564..6d37bff785 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchTimePeriodExtractorConfiguration.cs index d5572cd2e0..77d5a5762e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchTimeZoneExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchTimeZoneExtractorConfiguration.cs index 8d62a41b11..d98e19d4a1 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchTimeZoneExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Extractors/DutchTimeZoneExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchCommonDateTimeParserConfiguration.cs index 58fd2c7740..6a0c1ea3fd 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Dutch; using Microsoft.Recognizers.Text.DateTime.Dutch.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateParserConfiguration.cs index f142433bfa..e239557d39 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDatePeriodParserConfiguration.cs index 706f0ee53d..f6a1d61a93 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateTimeAltParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateTimeAltParserConfiguration.cs index 953caa98cb..438554887c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateTimeAltParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateTimeAltParserConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime.Dutch +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime.Dutch { public class DutchDateTimeAltParserConfiguration : IDateTimeAltParserConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateTimeParserConfiguration.cs index d38d3d3342..6cfcedd24b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateTimePeriodParserConfiguration.cs index 72d4da17cc..1f06ed718e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; @@ -142,44 +145,42 @@ public DutchDateTimePeriodParserConfiguration(ICommonDateTimeParserConfiguration public IImmutableDictionary Numbers { get; } - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); beginHour = 0; endHour = 0; endMin = 0; + if (MorningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + todSymbol = Constants.Morning; } else if (AfternoonStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TAF"; - beginHour = Constants.HalfDayHourCount; - endHour = 16; + todSymbol = Constants.Afternoon; } else if (EveningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + todSymbol = Constants.Evening; } else if (NightStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TNI"; - beginHour = 20; - endHour = 23; - endMin = 59; + todSymbol = Constants.Night; } else { - timeStr = null; + todSymbol = null; return false; } + var parseResult = TimexUtility.ResolveTimeOfDay(todSymbol); + todSymbol = parseResult.Timex; + beginHour = parseResult.BeginHour; + endHour = parseResult.EndHour; + endMin = parseResult.EndMin; + return true; } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDurationParserConfiguration.cs index 0c5a2ee4be..5a26ed1305 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchHolidayParserConfiguration.cs index 2ebbbff778..d868d96b3f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchMergedParserConfiguration.cs index 2ab0290c3b..8b74446cd1 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchSetParserConfiguration.cs index 23be69a66d..0dfa4b365a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchTimeParserConfiguration.cs index 623bde5e7c..a5eb69baaa 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchTimePeriodParserConfiguration.cs index 47d766091c..ce00be927f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/DutchTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; @@ -54,7 +57,7 @@ public DutchTimePeriodParserConfiguration(ICommonDateTimeParserConfiguration con public IDateTimeUtilityConfiguration UtilityConfiguration { get; } - public bool GetMatchedTimexRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); if (trimmedText.EndsWith("s", StringComparison.Ordinal)) @@ -102,7 +105,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/TimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/TimeParser.cs index 093aee32ed..4b6f8966e7 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/TimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Parsers/TimeParser.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Utilities/DutchDatetimeUtilityConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Utilities/DutchDatetimeUtilityConfiguration.cs index c3c815d286..445c5b9c2f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Utilities/DutchDatetimeUtilityConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Dutch/Utilities/DutchDatetimeUtilityConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDateTimeAltExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDateTimeAltExtractorConfiguration.cs index 899358f88f..a187e604f0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDateTimeAltExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDateTimeAltExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDateTimeExtractorConfiguration.cs index 4765780432..82e559c1b3 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; using Microsoft.Recognizers.Text.DateTime.English.Utilities; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDateTimePeriodExtractorConfiguration.cs index 1626628142..854fd4af53 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDurationExtractorConfiguration.cs index b23398ec0e..4844dee304 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishHolidayExtractorConfiguration.cs index 5ce0facc45..50aab4998a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishMergedExtractorConfiguration.cs index cb819359d4..d55211b500 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishSetExtractorConfiguration.cs index 19d66ab68c..fff89bb099 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimeExtractorConfiguration.cs index 182ca6a0cb..849ef92efa 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimePeriodExtractorConfiguration.cs index 55ba82fca5..27804ed045 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimeZoneExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimeZoneExtractorConfiguration.cs index 6fb26914b0..1761c4e74c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimeZoneExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Extractors/EnglishTimeZoneExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishCommonDateTimeParserConfiguration.cs index f624438896..089cb69d92 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.English; using Microsoft.Recognizers.Text.DateTime.English.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateParserConfiguration.cs index cd684c6bdb..d596c79db3 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDatePeriodParserConfiguration.cs index 0ac64e9faf..2513c7a3dd 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateTimeAltParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateTimeAltParserConfiguration.cs index db64393b12..b4707c3b1d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateTimeAltParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateTimeAltParserConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime.English +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime.English { public class EnglishDateTimeAltParserConfiguration : IDateTimeAltParserConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateTimeParserConfiguration.cs index f080c9fdb3..74a1f7a18e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateTimePeriodParserConfiguration.cs index 3c09e4a06a..b3bc5de52e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; @@ -142,7 +145,7 @@ public EnglishDateTimePeriodParserConfiguration(ICommonDateTimeParserConfigurati // @TODO Move time range resolution to common policy - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); @@ -151,32 +154,32 @@ public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHo endMin = 0; if (MorningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TMO"; + todSymbol = "TMO"; beginHour = 8; endHour = Constants.HalfDayHourCount; } else if (AfternoonStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TAF"; + todSymbol = "TAF"; beginHour = Constants.HalfDayHourCount; endHour = 16; } else if (EveningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TEV"; + todSymbol = "TEV"; beginHour = 16; endHour = 20; } else if (NightStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TNI"; + todSymbol = "TNI"; beginHour = 20; endHour = 23; endMin = 59; } else { - timeStr = null; + todSymbol = null; return false; } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDurationParserConfiguration.cs index b0675b1a8b..752b1134a2 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishHolidayParserConfiguration.cs index 1884072d70..2cca3a9f17 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishMergedParserConfiguration.cs index bf098be1c7..eb5c98588b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishSetParserConfiguration.cs index 0d55f42f0c..22e97b3dbe 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishTimeParserConfiguration.cs index aa4a588da6..7a44bb083f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishTimePeriodParserConfiguration.cs index 79867295db..9c9bf5297a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/EnglishTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; @@ -55,7 +58,7 @@ public EnglishTimePeriodParserConfiguration(ICommonDateTimeParserConfiguration c public IDateTimeUtilityConfiguration UtilityConfiguration { get; } - public bool GetMatchedTimexRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); if (trimmedText.EndsWith("s", StringComparison.Ordinal)) @@ -118,7 +121,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/TimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/TimeParser.cs index 09b063b052..8b7d7abc96 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/TimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Parsers/TimeParser.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/English/Utilities/EnglishDatetimeUtilityConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/English/Utilities/EnglishDatetimeUtilityConfiguration.cs index f1c64536cb..25f28870e9 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/English/Utilities/EnglishDatetimeUtilityConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/English/Utilities/EnglishDatetimeUtilityConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/AbstractYearExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/AbstractYearExtractor.cs index 11dd2d99ae..4fdf95b6cd 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/AbstractYearExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/AbstractYearExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateExtractor.cs index 2df5c4fb3f..3f1ed8d898 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDatePeriodExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDatePeriodExtractor.cs index df7029533b..9937ede747 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDatePeriodExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDatePeriodExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateTimeAltExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateTimeAltExtractor.cs index 63f898c866..77f69ab47e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateTimeAltExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateTimeAltExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateTimeExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateTimeExtractor.cs index d3d7dc5a1d..dc15b7a1c9 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateTimeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateTimeExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateTimePeriodExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateTimePeriodExtractor.cs index e640da73c7..35d462874f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateTimePeriodExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDateTimePeriodExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDurationExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDurationExtractor.cs index d7f22c1bcb..765bf33762 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDurationExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseDurationExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; using Microsoft.Recognizers.Text.Utilities; using DateObject = System.DateTime; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseHolidayExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseHolidayExtractor.cs index caaaa5927e..b36e1d385e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseHolidayExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseHolidayExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using DateObject = System.DateTime; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseMergedDateTimeExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseMergedDateTimeExtractor.cs index f43cf3d9e0..a2600ff5e8 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseMergedDateTimeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseMergedDateTimeExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseSetExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseSetExtractor.cs index 1f5a1aa5b5..be00ca27f0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseSetExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseSetExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseTimeExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseTimeExtractor.cs index d692e19b2c..cea8f2ef32 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseTimeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseTimeExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseTimePeriodExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseTimePeriodExtractor.cs index ee0124bfc3..451da7d669 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseTimePeriodExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseTimePeriodExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseTimeZoneExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseTimeZoneExtractor.cs index bbee71c0a4..708a17fbd1 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseTimeZoneExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/BaseTimeZoneExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDateExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDateExtractor.cs index b3b845192e..c66abd0c50 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDateExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDateExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDatePeriodExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDatePeriodExtractor.cs index c6b67b49f0..cc819f87b6 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDatePeriodExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDatePeriodExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDateTimeExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDateTimeExtractor.cs index 92497371ee..4f7258e52c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDateTimeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDateTimeExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDateTimePeriodExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDateTimePeriodExtractor.cs index 1fbb2f57e1..9ecf8ac936 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDateTimePeriodExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDateTimePeriodExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDurationExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDurationExtractor.cs index 421d005b79..c24d4dd34d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDurationExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKDurationExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.Utilities; using DateObject = System.DateTime; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKHolidayExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKHolidayExtractor.cs index 88b25ef40c..7f34b1af5d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKHolidayExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKHolidayExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using DateObject = System.DateTime; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKMergedDateTimeExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKMergedDateTimeExtractor.cs index 3ef9b169dc..e5e6ab7fed 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKMergedDateTimeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKMergedDateTimeExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKSetExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKSetExtractor.cs index 791fd5f6b3..d956c93358 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKSetExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKSetExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKTimeExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKTimeExtractor.cs index 3be2353911..1709e73352 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKTimeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKTimeExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKTimePeriodExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKTimePeriodExtractor.cs index 40149f8ad1..fea4394015 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKTimePeriodExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/BaseCJKTimePeriodExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDateExtractorConfiguration.cs index 8f03a6724d..74db6d62be 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDatePeriodExtractorConfiguration.cs index 230279d642..fa18c9989e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDateTimeExtractorConfiguration.cs index 79641a9e0d..254e5bfba2 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDateTimePeriodExtractorConfiguration.cs index fdabb64df6..fbcf092ef6 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDurationExtractorConfiguration.cs index 1f8fca1311..d176c140c4 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKHolidayExtractorConfiguration.cs index 23962c24a5..7d25c412cc 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKMergedExtractorConfiguration.cs index 9d6c3f7694..63cf2bf46b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKSetExtractorConfiguration.cs index 49f3efd6b9..a37ee5a82d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKTimeExtractorConfiguration.cs index 3015d14641..4c2dd09c0d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKTimePeriodExtractorConfiguration.cs index afb0e6c296..84dfa58216 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/CJK/ICJKTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateExtractor.cs index 2005a6753b..b7fec065ec 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateExtractor.cs @@ -1,4 +1,5 @@ -// Enable GetYearFromText method +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateExtractorConfiguration.cs index c54e523ece..ea750d36de 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDatePeriodExtractorConfiguration.cs index 0ad76b4fe7..8911e7a91f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeAltExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeAltExtractorConfiguration.cs index 274fbaa0be..501f66da5b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeAltExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeAltExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeExtractor.cs index b0326af918..7271a1e5e5 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeExtractor.cs @@ -1,4 +1,5 @@ -// Enable a reference time pass to the extractor +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System.Collections.Generic; using DateObject = System.DateTime; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeExtractorConfiguration.cs index 82ab3144b6..4bbdc3f65d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeListExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeListExtractor.cs index 784c486bf0..83e8e0d49c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeListExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeListExtractor.cs @@ -1,4 +1,5 @@ -// A type of Extractors receiving ExtractResult List as its input +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. using System.Collections.Generic; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimePeriodExtractorConfiguration.cs index bc8f86f6d5..8e02472e12 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeZoneExtractor.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeZoneExtractor.cs index 6b37ef1800..e6deee24bd 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeZoneExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDateTimeZoneExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.DateTime { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDurationExtractorConfiguration.cs index fbb104cb63..f36c9ded94 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IHolidayExtractorConfiguration.cs index bb24988f1b..c36a1e0feb 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IMergedExtractorConfiguration.cs index e515bcc742..459ba64a17 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/IMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ISetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ISetExtractorConfiguration.cs index 63dc217c72..608841495b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ISetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ISetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimeExtractorConfiguration.cs index 1ddf61021a..1e7be72f53 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimePeriodExtractorConfiguration.cs index 5486a2d86d..497599df90 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimeZoneExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimeZoneExtractorConfiguration.cs index 158b5cefd9..9276b684e9 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimeZoneExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Extractors/ITimeZoneExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateExtractorConfiguration.cs index db2b6ccd6f..74a43d164a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDatePeriodExtractorConfiguration.cs index 7fec232e0e..782580e7fc 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateTimeAltExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateTimeAltExtractorConfiguration.cs index dd89ddcc5d..de3d0da099 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateTimeAltExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateTimeAltExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateTimeExtractorConfiguration.cs index 289227a681..f54df90cd7 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; using Microsoft.Recognizers.Text.DateTime.French.Utilities; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateTimePeriodExtractorConfiguration.cs index 6ade29ee1d..1bbd8fda31 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDurationExtractorConfiguration.cs index 7cbe202cfb..601e6f8e70 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchHolidayExtractorConfiguration.cs index 4e0d6f6c43..25e0a6e45a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchMergedExtractorConfiguration.cs index 77979b7662..c74bc649ab 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchSetExtractorConfiguration.cs index 2835b21316..bee54e3d62 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchTimeExtractorConfiguration.cs index 44781d3261..657e1308f6 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchTimePeriodExtractorConfiguration.cs index 95b85b8f27..251bf333d5 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchTimeZoneExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchTimeZoneExtractorConfiguration.cs index 3b80821ac7..caf2628dde 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchTimeZoneExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Extractors/FrenchTimeZoneExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchCommonDateTimeParserConfiguration.cs index c66bacea90..2ecfb70031 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.French; using Microsoft.Recognizers.Text.DateTime.French.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateParserConfiguration.cs index 3a85ff3022..4abfa7ea53 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDatePeriodParserConfiguration.cs index f9c9677788..ecb18e07d9 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateTimeAltParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateTimeAltParserConfiguration.cs index ec0005310c..2a8e46d7ae 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateTimeAltParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateTimeAltParserConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime.French +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime.French { public class FrenchDateTimeAltParserConfiguration : IDateTimeAltParserConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateTimeParserConfiguration.cs index 41307503df..c854daeab7 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateTimePeriodParserConfiguration.cs index 6cbb190748..20cf461d74 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; @@ -140,7 +143,7 @@ public FrenchDateTimePeriodParserConfiguration(ICommonDateTimeParserConfiguratio public IImmutableDictionary Numbers { get; } - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) { beginHour = 0; endHour = 0; @@ -150,35 +153,32 @@ public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHo if (MorningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + todSymbol = Constants.Morning; } else if (AfternoonStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TAF"; - beginHour = Constants.HalfDayHourCount; - endHour = 16; + todSymbol = Constants.Afternoon; } else if (EveningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + todSymbol = Constants.Evening; } else if (NightStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TNI"; - beginHour = 20; - endHour = 23; - endMin = 59; + todSymbol = Constants.Night; } else { - timeStr = null; + todSymbol = null; return false; } + var parseResult = TimexUtility.ResolveTimeOfDay(todSymbol); + todSymbol = parseResult.Timex; + beginHour = parseResult.BeginHour; + endHour = parseResult.EndHour; + endMin = parseResult.EndMin; + return true; } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDurationParserConfiguration.cs index 3db6ae8e35..4f03ac430a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchHolidayParserConfiguration.cs index 080968a45f..9f31eaadb7 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchMergedParserConfiguration.cs index ba4eee8823..43e08fb37e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchSetParserConfiguration.cs index 4779ab058a..d45f642810 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchTimeParserConfiguration.cs index d32af9bdac..6ff7de4c8c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchTimePeriodParserConfiguration.cs index cc5bb39475..ff1ab8e17c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/FrenchTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; @@ -53,7 +56,7 @@ public FrenchTimePeriodParserConfiguration(ICommonDateTimeParserConfiguration co public IDateTimeUtilityConfiguration UtilityConfiguration { get; } - public bool GetMatchedTimexRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); @@ -94,7 +97,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/TimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/TimeParser.cs index f32e0bcd79..7ee5f3ea49 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/TimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Parsers/TimeParser.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/French/Utilities/FrenchDatetimeUtilityConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/French/Utilities/FrenchDatetimeUtilityConfiguration.cs index 9801dc113d..53da456234 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/French/Utilities/FrenchDatetimeUtilityConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/French/Utilities/FrenchDatetimeUtilityConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateExtractorConfiguration.cs index f6492d33d6..6ad726e1c1 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDatePeriodExtractorConfiguration.cs index 8f0b27c34c..d1cd006378 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateTimeAltExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateTimeAltExtractorConfiguration.cs index d8b8999d41..1bbf4ff8ff 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateTimeAltExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateTimeAltExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateTimeExtractorConfiguration.cs index c8962ab2bf..3da24783a7 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; using Microsoft.Recognizers.Text.DateTime.German.Utilities; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateTimePeriodExtractorConfiguration.cs index d418c4e6da..a0fc66cd5b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDurationExtractorConfiguration.cs index 49507749c0..4b407b95f3 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; using Microsoft.Recognizers.Text.Number; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanHolidayExtractorConfiguration.cs index e663849b85..1591c689dd 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanMergedExtractorConfiguration.cs index 7eac4ddc77..bac36e832c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanSetExtractorConfiguration.cs index a0c3de46d0..68f35f6541 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanTimeExtractorConfiguration.cs index 7cbd0a239e..3fba3d5c55 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanTimePeriodExtractorConfiguration.cs index 2dc23e7646..ec90fe083f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanTimeZoneExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanTimeZoneExtractorConfiguration.cs index 6c73594872..4745e1bbbe 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanTimeZoneExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Extractors/GermanTimeZoneExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanCommonDateTimeParserConfiguration.cs index f2a6295103..e72e797ec3 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.German; using Microsoft.Recognizers.Text.DateTime.German.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDateParserConfiguration.cs index d5b8f67da8..ce421b648a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDatePeriodParserConfiguration.cs index e10df9cb0a..76decec3b2 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDateTimeParserConfiguration.cs index def59abe2f..ae6cfa3055 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDateTimePeriodParserConfiguration.cs index 7d6d5daf4d..75bb4335cb 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; @@ -139,44 +142,42 @@ public GermanDateTimePeriodParserConfiguration(ICommonDateTimeParserConfiguratio public IImmutableDictionary Numbers { get; } - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); beginHour = 0; endHour = 0; endMin = 0; + if (MorningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + todSymbol = Constants.Morning; } else if (AfternoonStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TAF"; - beginHour = Constants.HalfDayHourCount; - endHour = 16; + todSymbol = Constants.Afternoon; } else if (EveningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + todSymbol = Constants.Evening; } else if (NightStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TNI"; - beginHour = 20; - endHour = 23; - endMin = 59; + todSymbol = Constants.Night; } else { - timeStr = null; + todSymbol = null; return false; } + var parseResult = TimexUtility.ResolveTimeOfDay(todSymbol); + todSymbol = parseResult.Timex; + beginHour = parseResult.BeginHour; + endHour = parseResult.EndHour; + endMin = parseResult.EndMin; + return true; } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDurationParserConfiguration.cs index 133e63c45a..e0d387a22c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanHolidayParserConfiguration.cs index 8757656a3d..5be3f369c0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanMergedParserConfiguration.cs index 29ed509e03..b92c8a307b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanSetParserConfiguration.cs index 0b1356c320..17e090940d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanTimeParserConfiguration.cs index 997e630100..548ef108ae 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanTimePeriodParserConfiguration.cs index e35bb1a6fc..52f5dc82f4 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/GermanTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; @@ -55,7 +58,7 @@ public GermanTimePeriodParserConfiguration(ICommonDateTimeParserConfiguration co public IDateTimeUtilityConfiguration UtilityConfiguration { get; } - public bool GetMatchedTimexRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); if (trimmedText.EndsWith("s", StringComparison.Ordinal)) @@ -95,7 +98,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/HolidayParserGer.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/HolidayParserGer.cs index 4a5900cf6c..60e74ed941 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/HolidayParserGer.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/HolidayParserGer.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; @@ -27,7 +30,7 @@ public class HolidayParserGer : IDateTimeParser { "austriannationalday", AustrianNationalDay }, // 26. Oktober { "immaculateconception", ImmaculateConception }, // 8. Dezember { "secondchristmasday", SecondChristmasDay }, // 26. Dezember - { "berchtoldsday", BerchtoldsDay }, // 2. Januar + { "berchtoldsday", BerchtoldDay }, // 2. Januar { "saintjosephsday", SaintJosephsDay }, // 19. März { "swissnationalday", SwissNationalDay }, // 1. August { "maosbirthday", MaoBirthday }, @@ -61,16 +64,16 @@ public class HolidayParserGer : IDateTimeParser { "stgeorgeday", StGeorgeDay }, { "mayday", Mayday }, { "labour", LaborDay }, - { "cincodemayoday", CincoDeMayoday }, + { "cincodemayoday", CincoDeMayo }, { "baptisteday", BaptisteDay }, { "usindependenceday", UsaIndependenceDay }, { "independenceday", UsaIndependenceDay }, { "bastilleday", BastilleDay }, { "halloweenday", HalloweenDay }, { "allhallowday", AllHallowDay }, - { "allsoulsday", AllSoulsday }, + { "allsoulsday", AllSoulsDay }, { "guyfawkesday", GuyFawkesDay }, - { "veteransday", Veteransday }, + { "veteransday", VeteransDay }, { "christmaseve", ChristmasEve }, { "newyeareve", NewYearEve }, { "piday", PiDay }, @@ -226,7 +229,7 @@ private static DateObject GetPastValue(DateObject value, DateObject referenceDat private static DateObject SecondChristmasDay(int year) => new DateObject(year, 12, 26); - private static DateObject BerchtoldsDay(int year) => new DateObject(year, 1, 2); + private static DateObject BerchtoldDay(int year) => new DateObject(year, 1, 2); private static DateObject SaintJosephsDay(int year) => new DateObject(year, 3, 19); @@ -236,7 +239,7 @@ private static DateObject GetPastValue(DateObject value, DateObject referenceDat private static DateObject LaborDay(int year) => new DateObject(year, 5, 1); - private static DateObject MidautumnDay(int year) => new DateObject(year, 8, 15); + private static DateObject MidAutumnDay(int year) => new DateObject(year, 8, 15); private static DateObject SpringDay(int year) => new DateObject(year, 1, 1); @@ -292,7 +295,7 @@ private static DateObject GetPastValue(DateObject value, DateObject referenceDat private static DateObject Mayday(int year) => new DateObject(year, 5, 1); - private static DateObject CincoDeMayoday(int year) => new DateObject(year, 5, 5); + private static DateObject CincoDeMayo(int year) => new DateObject(year, 5, 5); private static DateObject BaptisteDay(int year) => new DateObject(year, 6, 24); @@ -304,11 +307,11 @@ private static DateObject GetPastValue(DateObject value, DateObject referenceDat private static DateObject AllHallowDay(int year) => new DateObject(year, 11, 1); - private static DateObject AllSoulsday(int year) => new DateObject(year, 11, 2); + private static DateObject AllSoulsDay(int year) => new DateObject(year, 11, 2); private static DateObject GuyFawkesDay(int year) => new DateObject(year, 11, 5); - private static DateObject Veteransday(int year) => new DateObject(year, 11, 11); + private static DateObject VeteransDay(int year) => new DateObject(year, 11, 11); private static DateObject PiDay(int year) => new DateObject(year, 3, 14); @@ -318,7 +321,7 @@ private static DateObject GetPastValue(DateObject value, DateObject referenceDat private static DateObject BeginningOfSpring(int year) => new DateObject(year, 3, 20); - private static DateObject BeginningOfFall(int year) => new DateObject(year, 9, 23); + private static DateObject BeginningOfFall(int year) => new DateObject(year, 9, 22); private static DateObject BarbaraTag(int year) => new DateObject(year, 12, 4); diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/TimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/TimeParser.cs index 642520f867..f8bfa9fc58 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/TimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Parsers/TimeParser.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/German/Utilities/GermanDatetimeUtilityConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/German/Utilities/GermanDatetimeUtilityConfiguration.cs index a8685b81b9..75809fcc67 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/German/Utilities/GermanDatetimeUtilityConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/German/Utilities/GermanDatetimeUtilityConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateExtractorConfiguration.cs index bf5b2d117c..0d72a69545 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDatePeriodExtractorConfiguration.cs index 83dfdc2586..bf1ee65339 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateTimeAltExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateTimeAltExtractorConfiguration.cs index 0c5cdc0a76..78f046c937 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateTimeAltExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateTimeAltExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateTimeExtractorConfiguration.cs index 68f51b968d..fe30350714 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; using Microsoft.Recognizers.Text.DateTime.Hindi.Utilities; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateTimePeriodExtractorConfiguration.cs index b0f7c10e91..65bb8f523d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDurationExtractorConfiguration.cs index 3446b92e1b..bc679cfde3 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiHolidayExtractorConfiguration.cs index 804a540b06..fc36b7e3ff 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiMergedExtractorConfiguration.cs index 1543a2ad15..5f86449ee1 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiSetExtractorConfiguration.cs index 81a4732075..67ed78aa47 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiTimeExtractorConfiguration.cs index 4c1d4e09ac..84e77aa409 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiTimePeriodExtractorConfiguration.cs index 8efd71445c..f1aa59dbbb 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Extractors/HindiTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiCommonDateTimeParserConfiguration.cs index 161a59d322..4ed6c0217c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Hindi; using Microsoft.Recognizers.Text.DateTime.Hindi.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateParserConfiguration.cs index f00b824645..0dc70eaf38 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDatePeriodParserConfiguration.cs index 12b5c3a40d..eefe683f78 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateTimeAltParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateTimeAltParserConfiguration.cs index acae820d33..59fa624c32 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateTimeAltParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateTimeAltParserConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime.Hindi +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime.Hindi { public class HindiDateTimeAltParserConfiguration : IDateTimeAltParserConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateTimeParserConfiguration.cs index 6f317c2fd1..84d55f675f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateTimePeriodParserConfiguration.cs index 8d2a5f9659..c63c725696 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; @@ -139,44 +142,42 @@ public HindiDateTimePeriodParserConfiguration(ICommonDateTimeParserConfiguration public IImmutableDictionary Numbers { get; } - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); beginHour = 0; endHour = 0; endMin = 0; + if (MorningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + todSymbol = Constants.Morning; } else if (AfternoonStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TAF"; - beginHour = Constants.HalfDayHourCount; - endHour = 16; + todSymbol = Constants.Afternoon; } else if (EveningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + todSymbol = Constants.Evening; } else if (NightStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TNI"; - beginHour = 20; - endHour = 23; - endMin = 59; + todSymbol = Constants.Night; } else { - timeStr = null; + todSymbol = null; return false; } + var parseResult = TimexUtility.ResolveTimeOfDay(todSymbol); + todSymbol = parseResult.Timex; + beginHour = parseResult.BeginHour; + endHour = parseResult.EndHour; + endMin = parseResult.EndMin; + return true; } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDurationParserConfiguration.cs index ffd48c4730..136f282cb9 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiHolidayParserConfiguration.cs index d33cf1b53a..e6a754e395 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiMergedParserConfiguration.cs index 228b0a70ed..fa16dff31a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiSetParserConfiguration.cs index 0a8a0f7ef0..cbc7a38f25 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiTimeParserConfiguration.cs index 2684aa0840..8826f40c88 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiTimePeriodParserConfiguration.cs index 58ddfd6876..1147e8b825 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/HindiTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; @@ -61,7 +64,7 @@ public HindiTimePeriodParserConfiguration(ICommonDateTimeParserConfiguration con public IDateTimeUtilityConfiguration UtilityConfiguration { get; } - public bool GetMatchedTimexRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); var pluralMatch = PluralTokenRegex.MatchBegin(trimmedText, trim: true); @@ -105,7 +108,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/TimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/TimeParser.cs index 3ad41ceb06..ac87c5285a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/TimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Parsers/TimeParser.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Utilities/HindiDatetimeUtilityConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Utilities/HindiDatetimeUtilityConfiguration.cs index 4d527907d5..a7414dd4c8 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Utilities/HindiDatetimeUtilityConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Hindi/Utilities/HindiDatetimeUtilityConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateExtractorConfiguration.cs index 9efbf5df91..2d4f2d2982 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDatePeriodExtractorConfiguration.cs index e3e5cf5018..d8f360cb6c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateTimeAltExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateTimeAltExtractorConfiguration.cs index 3b7e8913d3..b33ec0b77a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateTimeAltExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateTimeAltExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateTimeExtractorConfiguration.cs index ccca528eb8..e49d191483 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; using Microsoft.Recognizers.Text.DateTime.Italian.Utilities; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateTimePeriodExtractorConfiguration.cs index 5b6f7b8372..f8027092c8 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDurationExtractorConfiguration.cs index 9c5a4f67ea..09992f7ad0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianHolidayExtractorConfiguration.cs index 9a594e9ba1..48633b502c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianMergedExtractorConfiguration.cs index 65c1d23935..376a17e790 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianSetExtractorConfiguration.cs index a0066b9c56..7db18e03e2 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianTimeExtractorConfiguration.cs index c884f83aec..37560fd20c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianTimePeriodExtractorConfiguration.cs index 31bca1b0ad..4645b7d60b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianTimeZoneExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianTimeZoneExtractorConfiguration.cs index 93de7f2e71..85f6baa20d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianTimeZoneExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Extractors/ItalianTimeZoneExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianCommonDateTimeParserConfiguration.cs index c9818d4021..0d44c9e58e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Italian; using Microsoft.Recognizers.Text.DateTime.Italian.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateParserConfiguration.cs index df0795352c..5a25d4153f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDatePeriodParserConfiguration.cs index 6882352397..4222c328f0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateTimeAltParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateTimeAltParserConfiguration.cs index b8ecf28a04..a03b0927aa 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateTimeAltParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateTimeAltParserConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime.Italian +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime.Italian { public class ItalianDateTimeAltParserConfiguration : IDateTimeAltParserConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateTimeParserConfiguration.cs index 4f5d08a993..21e761f67e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateTimePeriodParserConfiguration.cs index 3d583d8e00..928f7801ba 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; @@ -145,43 +148,42 @@ public ItalianDateTimePeriodParserConfiguration(ICommonDateTimeParserConfigurati public IImmutableDictionary Numbers { get; } - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); + beginHour = 0; endHour = 0; endMin = 0; + if (MorningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TMO"; - beginHour = 8; - endHour = 12; + todSymbol = Constants.Morning; } else if (AfternoonStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TAF"; - beginHour = 12; - endHour = 16; + todSymbol = Constants.Afternoon; } else if (EveningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + todSymbol = Constants.Evening; } else if (NightStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TNI"; - beginHour = 20; - endHour = 23; - endMin = 59; + todSymbol = Constants.Night; } else { - timeStr = null; + todSymbol = null; return false; } + var parseResult = TimexUtility.ResolveTimeOfDay(todSymbol); + todSymbol = parseResult.Timex; + beginHour = parseResult.BeginHour; + endHour = parseResult.EndHour; + endMin = parseResult.EndMin; + return true; } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDurationParserConfiguration.cs index d764fdb7e7..69a37f77cc 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianHolidayParserConfiguration.cs index 42d78040b9..97e9595d9a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianMergedParserConfiguration.cs index 4314eac7d6..5f0cd00b9f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianSetParserConfiguration.cs index 4bb9891584..751e3b5189 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianTimeParserConfiguration.cs index 2dfccaf056..07558ac58f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianTimePeriodParserConfiguration.cs index 0024464db4..0ce74457bc 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/ItalianTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; @@ -55,7 +58,7 @@ public ItalianTimePeriodParserConfiguration(ICommonDateTimeParserConfiguration c public IDateTimeUtilityConfiguration UtilityConfiguration { get; } - public bool GetMatchedTimexRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); if (trimmedText.EndsWith("s", StringComparison.Ordinal)) @@ -95,7 +98,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/TimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/TimeParser.cs index 7cc5e33efd..6d8a5c0a74 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/TimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Parsers/TimeParser.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Utilities/ItalianDatetimeUtilityConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Utilities/ItalianDatetimeUtilityConfiguration.cs index a58a4af8ab..d877f57285 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Utilities/ItalianDatetimeUtilityConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Italian/Utilities/ItalianDatetimeUtilityConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDateExtractorConfiguration.cs index da85125a0a..acfeaf1e73 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDatePeriodExtractorConfiguration.cs index 58143a0889..d42b94b49f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Japanese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDateTimeExtractorConfiguration.cs index 099a14a9db..ee8d43411f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDateTimePeriodExtractorConfiguration.cs index c7c5b69cd8..b4109196d5 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDurationExtractorConfiguration.cs index 0a50848631..803d06ddd5 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseHolidayExtractorConfiguration.cs index 98fd74c051..28017f3b06 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Japanese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseMergedExtractorConfiguration.cs index 1dd0c81960..115e1ba59b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseSetExtractorConfiguration.cs index 7bf98f13fe..80f56ac47c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Japanese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseTimeExtractorConfiguration.cs index b11fe6ef2d..eba866ad26 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseTimePeriodExtractorConfiguration.cs index a6ab69dd07..96fb60a6ef 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Extractors/JapaneseTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseCommonDateTimeParserConfiguration.cs index 3cec4d5361..5f2e3feb15 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDateParserConfiguration.cs index cc1856667e..ef1d82d503 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDatePeriodParserConfiguration.cs index 212af3e257..8a7fa67b3a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDateTimeParserConfiguration.cs index b39c38607e..62d408294d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDateTimePeriodParserConfiguration.cs index b7b658ac4e..d44f99f216 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; @@ -102,101 +105,82 @@ public JapaneseDateTimePeriodParserConfiguration(ICJKCommonDateTimeParserConfigu public IImmutableDictionary UnitMap { get; } - public bool GetMatchedTimeRangeAndSwift(string text, out string timeStr, out int beginHour, out int endHour, out int swift) + public bool GetMatchedTimeRangeAndSwift(string text, out string todSymbol, out int beginHour, out int endHour, out int endMinute, out int swift) { var trimmedText = text.Trim(); // @TODO move hardcoded values to resources file beginHour = 0; endHour = 0; + endMinute = 0; swift = 0; + + var tod = string.Empty; + switch (trimmedText) { case "今晚": swift = 0; - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + tod = Constants.Evening; break; case "今早": case "今晨": swift = 0; - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + tod = Constants.Morning; break; case "明晚": swift = 1; - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + tod = Constants.Evening; break; case "明早": case "明晨": swift = 1; - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + tod = Constants.Morning; break; case "昨晚": swift = -1; - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + tod = Constants.Evening; break; - default: - timeStr = null; - return false; } - return true; - } - - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) - { - var trimmedText = text.Trim(); - - beginHour = 0; - endHour = 0; - endMin = 0; if (MORegex.IsMatch(trimmedText)) { - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + tod = Constants.Morning; } else if (MIRegex.IsMatch(trimmedText)) { - timeStr = "TMI"; - beginHour = 11; - endHour = 13; + tod = Constants.MidDay; } else if (AFRegex.IsMatch(trimmedText)) { - timeStr = "TAF"; - beginHour = Constants.HalfDayHourCount; - endHour = 16; + tod = Constants.Afternoon; } else if (EVRegex.IsMatch(trimmedText)) { - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + tod = Constants.Evening; } else if (NIRegex.IsMatch(trimmedText)) { - timeStr = "TNI"; - beginHour = 20; - endHour = 23; - endMin = 59; + tod = Constants.Night; } - else + else if (string.IsNullOrEmpty(tod)) { - timeStr = null; + todSymbol = null; return false; } + var parseResult = TimexUtility.ResolveTimeOfDay(tod); + todSymbol = parseResult.Timex; + beginHour = parseResult.BeginHour; + endHour = parseResult.EndHour; + endMinute = parseResult.EndMin; + return true; } + + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) + { + return GetMatchedTimeRangeAndSwift(text, out todSymbol, out beginHour, out endHour, out endMin, out int swift); + } } } \ No newline at end of file diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDurationParserConfiguration.cs index e529a35552..0f4c330669 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.NumberWithUnit; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseHolidayParserConfiguration.cs index d8ef09d523..1b095cd48c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseMergedParserConfiguration.cs index df6acba375..cd8895f18f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Japanese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseSetParserConfiguration.cs index a62a034eed..06e2eeba62 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseTimeParserConfiguration.cs index 9d19501316..44a0a6e318 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Definitions.Japanese; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseTimePeriodParserConfiguration.cs index 95dcca79ae..ee4abb9d44 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Japanese/Parsers/JapaneseTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; @@ -73,7 +76,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDateExtractorConfiguration.cs index ffa66704fc..7be6413539 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDatePeriodExtractorConfiguration.cs index dd2ad90b0d..f0ab4b01fe 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDateTimeExtractorConfiguration.cs index 215dc1cd66..011423b3cf 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDateTimePeriodExtractorConfiguration.cs index 71886ff02f..d11cfc3f7d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDurationExtractorConfiguration.cs index c85a50cf21..7dfd383b7b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanHolidayExtractorConfiguration.cs index e419793144..0d05e0dab6 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanMergedExtractorConfiguration.cs index e322ecebfe..d907609b34 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanSetExtractorConfiguration.cs index 4a5ec66150..996a02a597 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanTimeExtractorConfiguration.cs index 0622ab3051..0d71487e7b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanTimePeriodExtractorConfiguration.cs index bbaac2c610..b17419ae60 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Extractors/KoreanTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanCommonDateTimeParserConfiguration.cs index 82576889f2..9c18e03376 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDateParserConfiguration.cs index 53d482ec35..42c4ceea72 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDatePeriodParserConfiguration.cs index 317ce15586..7a0e745c69 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDateTimeParserConfiguration.cs index a4725b0653..bdbe31d335 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDateTimePeriodParserConfiguration.cs index 5cb09430e2..ab17193875 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; @@ -102,101 +105,82 @@ public KoreanDateTimePeriodParserConfiguration(ICJKCommonDateTimeParserConfigura public IImmutableDictionary UnitMap { get; } - public bool GetMatchedTimeRangeAndSwift(string text, out string timeStr, out int beginHour, out int endHour, out int swift) + public bool GetMatchedTimeRangeAndSwift(string text, out string todSymbol, out int beginHour, out int endHour, out int endMinute, out int swift) { var trimmedText = text.Trim(); // @TODO move hardcoded values to resources file beginHour = 0; endHour = 0; + endMinute = 0; swift = 0; + + var tod = string.Empty; + switch (trimmedText) { case "今晚": swift = 0; - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + tod = Constants.Evening; break; case "今早": case "今晨": swift = 0; - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + tod = Constants.Morning; break; case "明晚": swift = 1; - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + tod = Constants.Evening; break; case "明早": case "明晨": swift = 1; - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + tod = Constants.Morning; break; case "昨晚": swift = -1; - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + tod = Constants.Evening; break; - default: - timeStr = null; - return false; } - return true; - } - - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) - { - var trimmedText = text.Trim(); - - beginHour = 0; - endHour = 0; - endMin = 0; if (MORegex.IsMatch(trimmedText)) { - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + tod = Constants.Morning; } else if (MIRegex.IsMatch(trimmedText)) { - timeStr = "TMI"; - beginHour = 11; - endHour = 13; + tod = Constants.MidDay; } else if (AFRegex.IsMatch(trimmedText)) { - timeStr = "TAF"; - beginHour = Constants.HalfDayHourCount; - endHour = 16; + tod = Constants.Afternoon; } else if (EVRegex.IsMatch(trimmedText)) { - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + tod = Constants.Evening; } else if (NIRegex.IsMatch(trimmedText)) { - timeStr = "TNI"; - beginHour = 20; - endHour = 23; - endMin = 59; + tod = Constants.Night; } - else + else if (string.IsNullOrEmpty(tod)) { - timeStr = null; + todSymbol = null; return false; } + var parseResult = TimexUtility.ResolveTimeOfDay(tod); + todSymbol = parseResult.Timex; + beginHour = parseResult.BeginHour; + endHour = parseResult.EndHour; + endMinute = parseResult.EndMin; + return true; } + + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) + { + return GetMatchedTimeRangeAndSwift(text, out todSymbol, out beginHour, out endHour, out endMin, out int swift); + } } } \ No newline at end of file diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDurationParserConfiguration.cs index 7f64ed98c1..aa7ba6b5f8 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.NumberWithUnit; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanHolidayParserConfiguration.cs index 4a2222367f..43f2764cc8 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanMergedParserConfiguration.cs index ba4a07b874..c54361a3be 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanSetParserConfiguration.cs index da6cc2c390..6fd850c525 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanTimeParserConfiguration.cs index e4a4b81c21..ca84f28a67 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Definitions.Korean; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanTimePeriodParserConfiguration.cs index cd2b0463a1..465e476d83 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Korean/Parsers/KoreanTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; @@ -69,7 +72,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Models/DateTimeModel.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Models/DateTimeModel.cs index f451060ae9..30a32a191d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Models/DateTimeModel.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Models/DateTimeModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateParser.cs index ee60c2f7a7..68e20d0f1f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateParserConfiguration.cs index e8a5595d75..5d380063ec 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDatePeriodParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDatePeriodParser.cs index 265b9fdf38..e73f6e9bcb 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDatePeriodParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDatePeriodParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateTimeAltParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateTimeAltParser.cs index 9f90f393ee..776098e07f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateTimeAltParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateTimeAltParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using DateObject = System.DateTime; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateTimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateTimeParser.cs index 5b7289f16f..ab0212bab1 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateTimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateTimeParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateTimePeriodParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateTimePeriodParser.cs index 3b338edf22..9e816d86d4 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateTimePeriodParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDateTimePeriodParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; @@ -234,9 +237,9 @@ protected virtual DateTimeResolutionResult ParseSpecificTimeOfDay(string text, D // the first 2 hours represent early, the later 2 hours represent late if (hasEarly) { - endHour = beginHour + 2; + endHour = beginHour + Constants.EARLY_LATE_TIME_DELTA; - // Handling special case: night ends with 23:59 due to C# issues. + // Handling special case: night ends at 23:59 due to .NET issues. if (endMin == 59) { endMin = 0; @@ -244,7 +247,7 @@ protected virtual DateTimeResolutionResult ParseSpecificTimeOfDay(string text, D } else if (hasLate) { - beginHour = beginHour + 2; + beginHour += Constants.EARLY_LATE_TIME_DELTA; } if (Config.SpecificTimeOfDayRegex.IsExactMatch(trimmedText, trim: true)) diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDurationParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDurationParser.cs index f673060742..dd6af5fb7b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDurationParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseDurationParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseHolidayParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseHolidayParser.cs index c7031d8734..bae5be064d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseHolidayParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseHolidayParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseHolidayParserConfiguration.cs index faf6df3beb..d2168d7e97 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseMergedDateTimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseMergedDateTimeParser.cs index f1f6ce3957..f38aae1678 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseMergedDateTimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseMergedDateTimeParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; @@ -162,36 +165,6 @@ public static void AddPeriodToResolution(Dictionary resolutionDi } } - public static string GenerateEndInclusiveTimex(string originalTimex, DatePeriodTimexType datePeriodTimexType, - DateObject startDate, DateObject endDate) - { - - var timexEndInclusive = TimexUtility.GenerateDatePeriodTimex(startDate, endDate, datePeriodTimexType); - - // Sometimes the original timex contains fuzzy part like "XXXX-05-31" - // The fuzzy part needs to stay the same in the new end-inclusive timex - if (originalTimex.Contains(Constants.TimexFuzzy) && originalTimex.Length == timexEndInclusive.Length) - { - var timexCharSet = new char[timexEndInclusive.Length]; - - for (int i = 0; i < originalTimex.Length; i++) - { - if (originalTimex[i] != Constants.TimexFuzzy) - { - timexCharSet[i] = timexEndInclusive[i]; - } - else - { - timexCharSet[i] = Constants.TimexFuzzy; - } - } - - timexEndInclusive = new string(timexCharSet); - } - - return timexEndInclusive; - } - public static DateTimeParseResult SetInclusivePeriodEnd(DateTimeParseResult slot) { if (slot.Type == $"{ParserTypeName}.{Constants.SYS_DATETIME_DATEPERIOD}") @@ -222,7 +195,7 @@ public static DateTimeParseResult SetInclusivePeriodEnd(DateTimeParseResult slot endDate = TimexUtility.OffsetDateObject(endDate, offset: 1, timexType: datePeriodTimexType); values[DateTimeResolutionKey.End] = DateTimeFormatUtil.LuisDate(endDate); values[DateTimeResolutionKey.Timex] = - GenerateEndInclusiveTimex(slot.TimexStr, datePeriodTimexType, startDate, endDate); + TimexUtility.GenerateEndInclusiveTimex(slot.TimexStr, datePeriodTimexType, startDate, endDate); if (string.IsNullOrEmpty(altTimex)) { @@ -531,7 +504,7 @@ public DateTimeParseResult Parse(ExtractResult er, DateObject refTime) if (hasDateAfter && pr.Value != null) { pr.Length += modStr.Length; - pr.Text = pr.Text + modStr; + pr.Text += modStr; var val = (DateTimeResolutionResult)pr.Value; val.Mod = CombineMod(val.Mod, Constants.SINCE_MOD); pr.Value = val; @@ -979,14 +952,14 @@ internal static Dictionary GenerateResolution(string type, Dicti } else if (type.Equals(Constants.SYS_DATETIME_DATETIMEALT, StringComparison.Ordinal)) { - // for a period + // For a period if (resolutionDic.Count > 2 || !string.IsNullOrEmpty(mod)) { AddAltPeriodToResolution(resolutionDic, mod, res); } else { - // for a datetime point + // For a datetime point AddAltSingleDateTimeToResolution(resolutionDic, TimeTypeConstants.DATETIMEALT, mod, res); } } @@ -1075,6 +1048,7 @@ private DateTimeParseResult ParseResult(ExtractResult extractResult, DateObject break; case Constants.SYS_DATETIME_TIMEZONE: + if ((Config.Options & DateTimeOptions.EnablePreview) != 0) { parseResult = this.Config.TimeZoneParser.Parse(extractResult, referenceTime); diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseSetParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseSetParser.cs index 81ac99a91b..7ca6bc5e32 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseSetParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseSetParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseTimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseTimeParser.cs index a026a8196d..427ead5bfa 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseTimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseTimeParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseTimePeriodParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseTimePeriodParser.cs index 4cbb2781e7..694f1ed155 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseTimePeriodParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseTimePeriodParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; @@ -787,7 +790,7 @@ private DateTimeResolutionResult MergeTwoTimePoints(string text, DateObject refe return ret; } - // parse "morning", "afternoon", "night" + // Parse "morning", "afternoon", "night" private DateTimeResolutionResult ParseTimeOfDay(string text, DateObject referenceTime) { int day = referenceTime.Day, @@ -795,7 +798,7 @@ private DateTimeResolutionResult ParseTimeOfDay(string text, DateObject referenc year = referenceTime.Year; var ret = new DateTimeResolutionResult(); - // extract early/late prefix from text + // Extract early/late prefix from text var match = this.config.TimeOfDayRegex.Match(text); bool hasEarly = false, hasLate = false; if (match.Success) @@ -819,17 +822,17 @@ private DateTimeResolutionResult ParseTimeOfDay(string text, DateObject referenc } } - if (!this.config.GetMatchedTimexRange(text, out string timex, out int beginHour, out int endHour, out int endMinSeg)) + if (!this.config.GetMatchedTimeRange(text, out string timex, out int beginHour, out int endHour, out int endMinSeg)) { return new DateTimeResolutionResult(); } - // modify time period if "early" or "late" is existed + // Modify time period if "early" or "late" modifiers exist if (hasEarly) { - endHour = beginHour + 2; + endHour = beginHour + Constants.EARLY_LATE_TIME_DELTA; - // handling case: night end with 23:59 + // Handling case: night ends at 23:59, due to .NET limitation if (endMinSeg == 59) { endMinSeg = 0; @@ -837,7 +840,7 @@ private DateTimeResolutionResult ParseTimeOfDay(string text, DateObject referenc } else if (hasLate) { - beginHour = beginHour + 2; + beginHour += Constants.EARLY_LATE_TIME_DELTA; } ret.Timex = timex; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseTimeZoneParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseTimeZoneParser.cs index 6035c93e0f..58631bb81a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseTimeZoneParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/BaseTimeZoneParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateParser.cs index f610f7ff39..b515bf438e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateParserConfiguration.cs index 0345611354..b953c19bbc 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDatePeriodParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDatePeriodParser.cs index 26626f2b4a..2370a52890 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDatePeriodParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDatePeriodParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateTimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateTimeParser.cs index b3cdba74b5..fac31c9d85 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateTimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateTimeParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateTimePeriodParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateTimePeriodParser.cs index 61d0b48b00..a3005d3257 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateTimePeriodParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDateTimePeriodParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; @@ -309,7 +312,7 @@ private DateTimeResolutionResult MergeTwoTimePoints(string text, DateObject refe return ret; } - // parse "this night" + // Parse cases like "this night" private DateTimeResolutionResult ParseSpecificNight(string text, DateObject referenceTime) { var ret = new DateTimeResolutionResult(); @@ -317,10 +320,10 @@ private DateTimeResolutionResult ParseSpecificNight(string text, DateObject refe int beginHour, endHour, endMin = 0; string timeStr; - // handle 昨晚,今晨 + // Handle 昨晚 (last night),今晨 (this morning) if (this.config.SpecificTimeOfDayRegex.IsExactMatch(trimmedText, trim: true)) { - if (!this.config.GetMatchedTimeRangeAndSwift(trimmedText, out timeStr, out beginHour, out endHour, out int swift)) + if (!this.config.GetMatchedTimeRangeAndSwift(trimmedText, out timeStr, out beginHour, out endHour, out endMin, out int swift)) { return ret; } @@ -338,7 +341,7 @@ private DateTimeResolutionResult ParseSpecificNight(string text, DateObject refe return ret; } - // handle morning, afternoon.. + // Handle cases like morning, afternoon if (!this.config.GetMatchedTimeRange(trimmedText, out timeStr, out beginHour, out endHour, out endMin)) { return ret; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDurationParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDurationParser.cs index f136fb01b9..1aef3084b0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDurationParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKDurationParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Text.NumberWithUnit; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKHolidayParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKHolidayParser.cs index e1dc9912d0..de51efa192 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKHolidayParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKHolidayParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKMergedDateTimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKMergedDateTimeParser.cs index f785699f96..fab6bc2e45 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKMergedDateTimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKMergedDateTimeParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKSetParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKSetParser.cs index 42fa0268fe..b30589f34c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKSetParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKSetParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKTimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKTimeParser.cs index b68bc3269c..6062b2c367 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKTimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKTimeParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKTimePeriodParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKTimePeriodParser.cs index f60dc55f43..e9e96f5350 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKTimePeriodParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/BaseCJKTimePeriodParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKCommonDateTimeParserConfiguration.cs index 646059f2c7..1d2c83cb12 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDateParserConfiguration.cs index 72f06e73eb..1b19a819ff 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDatePeriodParserConfiguration.cs index 52f65729b3..6bf06bd6fa 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDateTimeParserConfiguration.cs index dac85d7fca..d5d736220a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDateTimePeriodParserConfiguration.cs index c9c8b5f281..cd8fc954fc 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime @@ -43,8 +46,8 @@ public interface ICJKDateTimePeriodParserConfiguration : IDateTimeOptionsConfigu IImmutableDictionary UnitMap { get; } - bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin); + bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMinute); - bool GetMatchedTimeRangeAndSwift(string text, out string timeStr, out int beginHour, out int endHour, out int endMin); + bool GetMatchedTimeRangeAndSwift(string text, out string todSymbol, out int beginHour, out int endHour, out int endMinute, out int swift); } } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDurationParserConfiguration.cs index 6ff9a3c56b..ba913dbf46 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKHolidayParserConfiguration.cs index 0c23c1d479..e2218d7ed5 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKMergedParserConfiguration.cs index d178f2d02e..cdd69ae754 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKSetParserConfiguration.cs index fb43263b38..0f19b8bedf 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKTimeParserConfiguration.cs index 50247e50e2..8f4825e0c2 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKTimePeriodParserConfiguration.cs index e71f3af2e5..dac8e094a1 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/CJK/ICJKTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/DummyTimeZoneParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/DummyTimeZoneParser.cs index 9e51de48b3..b5380081e5 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/DummyTimeZoneParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/DummyTimeZoneParser.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using DateObject = System.DateTime; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ICommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ICommonDateTimeParserConfiguration.cs index ae6c538265..e7879d2728 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ICommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ICommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateParserConfiguration.cs index 0c2b8880e0..4ff4bbb089 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDatePeriodParserConfiguration.cs index 1bd275aeaf..d14105279d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimeAltParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimeAltParserConfiguration.cs index a0970259c0..9b1812cf2b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimeAltParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimeAltParserConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime { public interface IDateTimeAltParserConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimeParser.cs index 9cc7b5a322..5ff6b2a153 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimeParser.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using DateObject = System.DateTime; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimeParserConfiguration.cs index 695193b388..5e050439ce 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimePeriodParserConfiguration.cs index 033a5dd523..7a9d3d9701 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime @@ -79,7 +82,7 @@ public interface IDateTimePeriodParserConfiguration : IDateTimeOptionsConfigurat IImmutableDictionary Numbers { get; } - bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin); + bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin); int GetSwiftPrefix(string text); } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDurationParserConfiguration.cs index a2a3e4eafa..18dd34dd18 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IHolidayParserConfiguration.cs index bd0897c3a4..494286e2ef 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IMergedParserConfiguration.cs index 2c81abb972..89886ea1ab 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/IMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ISetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ISetParserConfiguration.cs index 56964d7fd2..1dd3a3e278 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ISetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ISetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ISimpleDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ISimpleDatePeriodParserConfiguration.cs index 910d6b57d0..aeb026c403 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ISimpleDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ISimpleDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ITimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ITimeParserConfiguration.cs index 1f746f76b7..bad751930e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ITimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ITimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ITimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ITimePeriodParserConfiguration.cs index c4c7d8fded..27319231c8 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ITimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Parsers/ITimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.DateTime.Utilities; @@ -32,6 +35,6 @@ public interface ITimePeriodParserConfiguration : IDateTimeOptionsConfiguration IDateTimeUtilityConfiguration UtilityConfiguration { get; } - bool GetMatchedTimexRange(string text, out string timex, out int beginHour, out int endHour, out int endMin); + bool GetMatchedTimeRange(string text, out string timex, out int beginHour, out int endHour, out int endMin); } } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateExtractorConfiguration.cs index 4ea278bfe7..41ac9317b3 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDatePeriodExtractorConfiguration.cs index 3df1dd2d7e..9b7e167b3e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateTimeAltExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateTimeAltExtractorConfiguration.cs index a3dbb11e0f..0e774374d4 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateTimeAltExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateTimeAltExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateTimeExtractorConfiguration.cs index 3c2f61be07..622fda04b1 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; using Microsoft.Recognizers.Text.DateTime.Portuguese.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateTimePeriodExtractorConfiguration.cs index 4dc51c710d..8a26289e98 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDurationExtractorConfiguration.cs index 70eba0f004..e30e2267b6 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; using Microsoft.Recognizers.Text.Number; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseHolidayExtractorConfiguration.cs index 589dac80ac..581202bc31 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseMergedExtractorConfiguration.cs index b403801a65..e363955268 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseSetExtractorConfiguration.cs index fb9dd1022a..6cc9d64df0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseTimeExtractorConfiguration.cs index b19fd97dab..e60639d927 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseTimePeriodExtractorConfiguration.cs index f84779a697..77d9ba364a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseTimeZoneExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseTimeZoneExtractorConfiguration.cs index 554c7ee0e9..fad9cedc71 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseTimeZoneExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Extractors/PortugueseTimeZoneExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/DateTimePeriodParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/DateTimePeriodParser.cs index e278b6816d..fce04784d0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/DateTimePeriodParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/DateTimePeriodParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using Microsoft.Recognizers.Definitions.Portuguese; using Microsoft.Recognizers.Text.Utilities; using DateObject = System.DateTime; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseCommonDateTimeParserConfiguration.cs index fc8a2d1c70..43c8ace6f0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using Microsoft.Recognizers.Definitions.Portuguese; using Microsoft.Recognizers.Text.DateTime.Portuguese.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDateParserConfiguration.cs index 84d388e808..a59bea61b3 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDatePeriodParserConfiguration.cs index a05fc42ae8..d4f6045c6d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDateTimeParserConfiguration.cs index 1b98ae2543..66197564b8 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDateTimePeriodParserConfiguration.cs index 15f031b928..76ea30e668 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; @@ -126,7 +129,7 @@ public PortugueseDateTimePeriodParserConfiguration(ICommonDateTimeParserConfigur public IImmutableDictionary Numbers { get; } - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim().Normalized(DateTimeDefinitions.SpecialCharactersEquivalent); @@ -137,41 +140,36 @@ public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHo // @TODO move hardcoded values to resources file if (trimmedText.EndsWith("madrugada", StringComparison.Ordinal)) { - timeStr = "TDA"; - beginHour = 4; - endHour = 8; + todSymbol = Constants.EarlyMorning; } else if (trimmedText.EndsWith("manha", StringComparison.Ordinal)) { - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + todSymbol = Constants.Morning; } else if (trimmedText.Contains("passado o meio dia") || trimmedText.Contains("depois do meio dia")) { - timeStr = "TAF"; - beginHour = Constants.HalfDayHourCount; - endHour = 16; + todSymbol = Constants.Afternoon; } else if (trimmedText.EndsWith("tarde", StringComparison.Ordinal)) { - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + todSymbol = Constants.Evening; } else if (trimmedText.EndsWith("noite", StringComparison.Ordinal)) { - timeStr = "TNI"; - beginHour = 20; - endHour = 23; - endMin = 59; + todSymbol = Constants.Night; } else { - timeStr = null; + todSymbol = null; return false; } + var parseResult = TimexUtility.ResolveTimeOfDay(todSymbol); + todSymbol = parseResult.Timex; + beginHour = parseResult.BeginHour; + endHour = parseResult.EndHour; + endMin = parseResult.EndMin; + return true; } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDurationParserConfiguration.cs index 033d98140b..4ea1391c7a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseHolidayParserConfiguration.cs index 74be952fba..05f6149574 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseMergedParserConfiguration.cs index 5730902d44..6f39121846 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseSetParserConfiguration.cs index b992d9079a..aa2f4eef5c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseTimeParserConfiguration.cs index 807c9819e0..d6f8b7ba2c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseTimePeriodParserConfiguration.cs index e144d05476..2967e16d95 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Parsers/PortugueseTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; @@ -55,7 +58,7 @@ public PortugueseTimePeriodParserConfiguration(ICommonDateTimeParserConfiguratio public IDateTimeUtilityConfiguration UtilityConfiguration { get; } - public bool GetMatchedTimexRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); @@ -91,7 +94,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Utilities/PortugueseDatetimeUtilityConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Utilities/PortugueseDatetimeUtilityConfiguration.cs index f88839a087..260633f590 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Utilities/PortugueseDatetimeUtilityConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Portuguese/Utilities/PortugueseDatetimeUtilityConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Properties/AssemblyInfo.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Properties/AssemblyInfo.cs index 543c5dbdbc..47acccdab0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Properties/AssemblyInfo.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateExtractorConfiguration.cs index 302a79f812..15df0c5e75 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDatePeriodExtractorConfiguration.cs index c11649fb6c..5646e5010f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateTimeAltExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateTimeAltExtractorConfiguration.cs index f0b71d78c2..814afa86f3 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateTimeAltExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateTimeAltExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateTimeExtractorConfiguration.cs index 3abef437d2..631507ad92 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; using Microsoft.Recognizers.Text.DateTime.Spanish.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateTimePeriodExtractorConfiguration.cs index 9003ad37c9..1434d137a7 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDurationExtractorConfiguration.cs index 2d2a297e25..e3f55e81fb 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; using Microsoft.Recognizers.Text.Number; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishHolidayExtractorConfiguration.cs index ede9d9a105..45bb96fa66 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishMergedExtractorConfiguration.cs index 7750b5cd90..c705b7925d 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishSetExtractorConfiguration.cs index 0b4db538c0..f08bda3895 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimeExtractorConfiguration.cs index b8b7fe5b40..0226b23a59 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimePeriodExtractorConfiguration.cs index 49efd8c81a..472d31649e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimeZoneExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimeZoneExtractorConfiguration.cs index c72cf777d5..9610598c7b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimeZoneExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Extractors/SpanishTimeZoneExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/DateTimePeriodParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/DateTimePeriodParser.cs index 54abcd99aa..cdb96ca171 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/DateTimePeriodParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/DateTimePeriodParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishCommonDateTimeParserConfiguration.cs index 65d9421f41..90c6b3f0e8 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using Microsoft.Recognizers.Definitions.Spanish; using Microsoft.Recognizers.Text.DateTime.Spanish.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateParserConfiguration.cs index d76b97e450..b8e95dcabb 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics.CodeAnalysis; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDatePeriodParserConfiguration.cs index 8557971933..389876924b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateTimeAltParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateTimeAltParserConfiguration.cs index 9eb865598c..200866284e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateTimeAltParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateTimeAltParserConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime.Spanish +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime.Spanish { public class SpanishDateTimeAltParserConfiguration : IDateTimeAltParserConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateTimeParserConfiguration.cs index c53ddab249..d18a4d6f7e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateTimePeriodParserConfiguration.cs index 0b2db804bc..011207bbb7 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; @@ -144,49 +147,46 @@ public SpanishDateTimePeriodParserConfiguration(ICommonDateTimeParserConfigurati public IImmutableDictionary Numbers { get; } - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); + beginHour = 0; endHour = 0; endMin = 0; + if (EarlyMorningStartEndRegex.IsMatch(trimmedText)) { - timeStr = Constants.EarlyMorning; - beginHour = 4; - endHour = 8; + todSymbol = Constants.EarlyMorning; } else if (AfternoonStartEndRegex.IsMatch(trimmedText)) { - timeStr = Constants.Afternoon; - beginHour = Constants.HalfDayHourCount; - endHour = 16; + todSymbol = Constants.Afternoon; } else if (EveningStartEndRegex.IsMatch(trimmedText)) { - timeStr = Constants.Evening; - beginHour = 16; - endHour = 20; + todSymbol = Constants.Evening; } else if (NightStartEndRegex.IsMatch(trimmedText)) { - timeStr = Constants.Night; - beginHour = 20; - endHour = 23; - endMin = 59; + todSymbol = Constants.Night; } else if (MorningStartEndRegex.IsMatch(trimmedText)) { - timeStr = Constants.Morning; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + todSymbol = Constants.Morning; } else { - timeStr = null; + todSymbol = null; return false; } + var parseResult = TimexUtility.ResolveTimeOfDay(todSymbol); + todSymbol = parseResult.Timex; + beginHour = parseResult.BeginHour; + endHour = parseResult.EndHour; + endMin = parseResult.EndMin; + return true; } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDurationParserConfiguration.cs index 19c9fddbf1..93f12542dd 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishHolidayParserConfiguration.cs index d71327755c..aef7836467 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishMergedParserConfiguration.cs index 0f3efe5000..a5a8e02dce 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishSetParserConfiguration.cs index 367f53953a..f0cefdb868 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishTimeParserConfiguration.cs index dbeaa6c3c8..d38d05b6ea 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishTimePeriodParserConfiguration.cs index 93f51f7f56..9d4607336f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Parsers/SpanishTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; @@ -53,7 +56,7 @@ public SpanishTimePeriodParserConfiguration(ICommonDateTimeParserConfiguration c public IDateTimeUtilityConfiguration UtilityConfiguration { get; } - public bool GetMatchedTimexRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); @@ -89,7 +92,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Utilities/SpanishDatetimeUtilityConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Utilities/SpanishDatetimeUtilityConfiguration.cs index 9b9038eaec..2ad774858b 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Utilities/SpanishDatetimeUtilityConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Spanish/Utilities/SpanishDatetimeUtilityConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/TimeTypeConstants.cs b/.NET/Microsoft.Recognizers.Text.DateTime/TimeTypeConstants.cs index f9f453a5bb..51e5a469d3 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/TimeTypeConstants.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/TimeTypeConstants.cs @@ -1,4 +1,7 @@ -using System.Diagnostics.CodeAnalysis; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Diagnostics.CodeAnalysis; namespace Microsoft.Recognizers.Text.DateTime { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateExtractorConfiguration.cs index b34b21cdd9..87c8f829c4 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDatePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDatePeriodExtractorConfiguration.cs index bd5a9b5570..825f0e9ee4 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDatePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDatePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateTimeAltExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateTimeAltExtractorConfiguration.cs index d723fcb999..70f735c50f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateTimeAltExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateTimeAltExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateTimeExtractorConfiguration.cs index 65362a8bfb..8fdc854a5a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; using Microsoft.Recognizers.Text.DateTime.Turkish.Utilities; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateTimePeriodExtractorConfiguration.cs index d957d4a7d5..cb95c8015c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDateTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDurationExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDurationExtractorConfiguration.cs index f8a863791d..b30c767360 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDurationExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishDurationExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishHolidayExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishHolidayExtractorConfiguration.cs index 040ccdc092..73987872d3 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishHolidayExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishHolidayExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishMergedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishMergedExtractorConfiguration.cs index c2365e096b..d211fca018 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishMergedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishMergedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishSetExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishSetExtractorConfiguration.cs index 16b877100b..936fc35be8 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishSetExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishSetExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishTimeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishTimeExtractorConfiguration.cs index 83a253d74e..b21a06058c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishTimeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishTimeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishTimePeriodExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishTimePeriodExtractorConfiguration.cs index cfab9df1d1..3b74bda336 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishTimePeriodExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Extractors/TurkishTimePeriodExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TimeParser.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TimeParser.cs index d96b62dc98..f4e9335adf 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TimeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TimeParser.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishCommonDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishCommonDateTimeParserConfiguration.cs index bf5e3c4c7d..16c281f7af 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishCommonDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishCommonDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Turkish; using Microsoft.Recognizers.Text.DateTime.Turkish.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateParserConfiguration.cs index 0874c1511b..74e35b85b2 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDatePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDatePeriodParserConfiguration.cs index c56f319bde..ba6cbd10ac 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDatePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDatePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateTimeAltParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateTimeAltParserConfiguration.cs index 6b0fa968d9..323d6ddfa2 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateTimeAltParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateTimeAltParserConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime.Turkish +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime.Turkish { public class TurkishDateTimeAltParserConfiguration : IDateTimeAltParserConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateTimeParserConfiguration.cs index 108a87984e..a9bc966081 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateTimePeriodParserConfiguration.cs index d87c07f730..bcc1e1716f 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDateTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; @@ -139,44 +142,42 @@ public TurkishDateTimePeriodParserConfiguration(ICommonDateTimeParserConfigurati public IImmutableDictionary Numbers { get; } - public bool GetMatchedTimeRange(string text, out string timeStr, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string todSymbol, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); beginHour = 0; endHour = 0; endMin = 0; + if (MorningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TMO"; - beginHour = 8; - endHour = Constants.HalfDayHourCount; + todSymbol = Constants.Morning; } else if (AfternoonStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TAF"; - beginHour = Constants.HalfDayHourCount; - endHour = 16; + todSymbol = Constants.Afternoon; } else if (EveningStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TEV"; - beginHour = 16; - endHour = 20; + todSymbol = Constants.Evening; } else if (NightStartEndRegex.IsMatch(trimmedText)) { - timeStr = "TNI"; - beginHour = 20; - endHour = 23; - endMin = 59; + todSymbol = Constants.Night; } else { - timeStr = null; + todSymbol = null; return false; } + var parseResult = TimexUtility.ResolveTimeOfDay(todSymbol); + todSymbol = parseResult.Timex; + beginHour = parseResult.BeginHour; + endHour = parseResult.EndHour; + endMin = parseResult.EndMin; + return true; } diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDurationParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDurationParserConfiguration.cs index 66e7749be2..a923897fcb 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDurationParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishDurationParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishHolidayParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishHolidayParserConfiguration.cs index 7025b76a16..4a6b1f9cd0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishHolidayParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishHolidayParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishMergedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishMergedParserConfiguration.cs index 8b4714f411..325ca04d37 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishMergedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishMergedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishSetParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishSetParserConfiguration.cs index 5c42d8fc86..fae7c64e89 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishSetParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishSetParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishTimeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishTimeParserConfiguration.cs index d99229db67..fe41a4487a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishTimeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishTimeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishTimePeriodParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishTimePeriodParserConfiguration.cs index d46ec984f3..5aeb5525d7 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishTimePeriodParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Parsers/TurkishTimePeriodParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; @@ -60,7 +63,7 @@ public TurkishTimePeriodParserConfiguration(ICommonDateTimeParserConfiguration c public IDateTimeUtilityConfiguration UtilityConfiguration { get; } - public bool GetMatchedTimexRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) + public bool GetMatchedTimeRange(string text, out string timex, out int beginHour, out int endHour, out int endMin) { var trimmedText = text.Trim(); if (PluralTokenRegex.IsMatch(trimmedText)) @@ -108,7 +111,7 @@ public bool GetMatchedTimexRange(string text, out string timex, out int beginHou return false; } - var parseResult = TimexUtility.ParseTimeOfDay(timeOfDay); + var parseResult = TimexUtility.ResolveTimeOfDay(timeOfDay); timex = parseResult.Timex; beginHour = parseResult.BeginHour; endHour = parseResult.EndHour; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Utilities/TurkishDatetimeUtilityConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Utilities/TurkishDatetimeUtilityConfiguration.cs index 0a3b64cf0b..a7289fa5de 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Utilities/TurkishDatetimeUtilityConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Turkish/Utilities/TurkishDatetimeUtilityConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; using Microsoft.Recognizers.Text.DateTime.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/AgoLaterUtil.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/AgoLaterUtil.cs index 00b53ad32e..1cce5abc2a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/AgoLaterUtil.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/AgoLaterUtil.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateContext.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateContext.cs index 4a740d3fa4..1e6264e505 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateContext.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateContext.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using DateObject = System.DateTime; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateObjectExtension.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateObjectExtension.cs index e790e96da1..7ced5c093a 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateObjectExtension.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateObjectExtension.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using DateObject = System.DateTime; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateTimeExtra.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateTimeExtra.cs index 24a0f50ef2..acb75f47a0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateTimeExtra.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateTimeExtra.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime.Utilities { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateTimeFormatUtil.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateTimeFormatUtil.cs index b1d02fb590..79b1bfbcc4 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateTimeFormatUtil.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateTimeFormatUtil.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateTimeResolutionResult.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateTimeResolutionResult.cs index df5e34792d..66ad9e9fd9 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateTimeResolutionResult.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DateTimeResolutionResult.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.DateTime { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DurationParsingUtil.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DurationParsingUtil.cs index 910c68ddc9..ab7698fba0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DurationParsingUtil.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/DurationParsingUtil.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/ExtractResultExtension.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/ExtractResultExtension.cs index ee3618d38a..cd27655cfd 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/ExtractResultExtension.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/ExtractResultExtension.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; namespace Microsoft.Recognizers.Text.DateTime diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/HolidayFunctions.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/HolidayFunctions.cs index a778ed418c..c4c28264c0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/HolidayFunctions.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/HolidayFunctions.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/IDateTimeUtilityConfiguration.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/IDateTimeUtilityConfiguration.cs index 49e597c9b9..31ec6e48b9 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/IDateTimeUtilityConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/IDateTimeUtilityConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime.Utilities { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/MatchingUtil.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/MatchingUtil.cs index 173b841f0c..9c464839cb 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/MatchingUtil.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/MatchingUtil.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/ModAndDateResult.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/ModAndDateResult.cs index 1ede78f8d6..490be9ffef 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/ModAndDateResult.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/ModAndDateResult.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using DateObject = System.DateTime; namespace Microsoft.Recognizers.Text.DateTime.Utilities diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/RangeTimexComponents.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/RangeTimexComponents.cs index f3300e8917..54952895d0 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/RangeTimexComponents.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/RangeTimexComponents.cs @@ -1,4 +1,7 @@ -using DateObject = System.DateTime; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using DateObject = System.DateTime; namespace Microsoft.Recognizers.Text.DateTime { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/SetHandler.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/SetHandler.cs index db249b9199..87c3d67f11 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/SetHandler.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/SetHandler.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.DateTime.Utilities diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/StringExtension.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/StringExtension.cs index eb41f65ef7..870cbb16a8 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/StringExtension.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/StringExtension.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeFunctions.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeFunctions.cs index de8f9fc03f..254aa04bd2 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeFunctions.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeFunctions.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeOfDayResolutionResult.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeOfDayResolutionResult.cs index 5d0980f253..ef0325e0f4 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeOfDayResolutionResult.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeOfDayResolutionResult.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime { public class TimeOfDayResolutionResult { @@ -9,5 +12,7 @@ public class TimeOfDayResolutionResult public int EndHour { get; set; } public int EndMin { get; set; } + + public int Swift { get; set; } } } \ No newline at end of file diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimePeriodFunctions.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimePeriodFunctions.cs index 4fb2d8bba1..514938e9e6 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimePeriodFunctions.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimePeriodFunctions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Text; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeResult.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeResult.cs index 1bb3d1c920..f99108f345 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeResult.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeResult.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime.Utilities +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime.Utilities { public class TimeResult { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeZoneResolutionResult.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeZoneResolutionResult.cs index 6b9e716fc9..7cc75944d8 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeZoneResolutionResult.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeZoneResolutionResult.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.DateTime +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.DateTime { public class TimeZoneResolutionResult { diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeZoneUtility.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeZoneUtility.cs index 99ce7ed502..6ab4199b0e 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeZoneUtility.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimeZoneUtility.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimexUtility.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimexUtility.cs index 9564b5c532..0703fcc46c 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimexUtility.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/TimexUtility.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; @@ -278,7 +281,7 @@ public static bool HasDoubleTimex(string comment) return comment.Equals(Constants.Comment_DoubleTimex, StringComparison.Ordinal); } - public static TimeOfDayResolutionResult ParseTimeOfDay(string tod) + public static TimeOfDayResolutionResult ResolveTimeOfDay(string tod) { var result = new TimeOfDayResolutionResult(); switch (tod) @@ -361,6 +364,36 @@ public static string CombineDateAndTimeTimex(string dateTimex, string timeTimex) return $"{dateTimex}{timeTimex}"; } + public static string GenerateEndInclusiveTimex(string originalTimex, DatePeriodTimexType datePeriodTimexType, + DateObject startDate, DateObject endDate) + { + + var timexEndInclusive = GenerateDatePeriodTimex(startDate, endDate, datePeriodTimexType); + + // Sometimes the original timex contains fuzzy part like "XXXX-05-31" + // The fuzzy part needs to stay the same in the new end-inclusive timex + if (originalTimex.Contains(Constants.TimexFuzzy) && originalTimex.Length == timexEndInclusive.Length) + { + var timexCharSet = new char[timexEndInclusive.Length]; + + for (int i = 0; i < originalTimex.Length; i++) + { + if (originalTimex[i] != Constants.TimexFuzzy) + { + timexCharSet[i] = timexEndInclusive[i]; + } + else + { + timexCharSet[i] = Constants.TimexFuzzy; + } + } + + timexEndInclusive = new string(timexCharSet); + } + + return timexEndInclusive; + } + public static string GenerateWeekOfYearTimex(int year, int weekNum) { var weekTimex = GenerateWeekTimex(weekNum); diff --git a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/Token.cs b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/Token.cs index fb55181157..169b796686 100644 --- a/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/Token.cs +++ b/.NET/Microsoft.Recognizers.Text.DateTime/Utilities/Token.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/CardinalExtractor.cs index bd7b446a99..d651e4d7e7 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/DoubleExtractor.cs index ec4fe943b6..2fbbacfea7 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/FractionExtractor.cs index d550a0ddd2..fc5c2ea628 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/IntegerExtractor.cs index 309d7d8c97..cb4a934ed4 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/NumberExtractor.cs index 9b2ce88fdb..35fbd5d1d4 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/NumberRangeExtractor.cs index 2fe3609b47..db4fb719d0 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/OrdinalExtractor.cs index ba0bb02904..ebe39ec002 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/PercentageExtractor.cs index dbb54b5ebc..a770aad7cc 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Parsers/ArabicNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Parsers/ArabicNumberParserConfiguration.cs index 00d755cd25..44ecc41e5d 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Parsers/ArabicNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Parsers/ArabicNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Parsers/ArabicNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Parsers/ArabicNumberRangeParserConfiguration.cs index c5e7e2debd..bb0d586c13 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Arabic/Parsers/ArabicNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Arabic/Parsers/ArabicNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Arabic; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/CardinalExtractor.cs index e68a254a6c..8e534125ce 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Number.Config; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/DoubleExtractor.cs index 3255468cf2..35f5a25095 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/FractionExtractor.cs index ff8f845ff3..27a75f63b1 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/IntegerExtractor.cs index a05d1b1541..5690a79d26 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/NumberExtractor.cs index 4ea058faab..c9c4965a3f 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/NumberRangeExtractor.cs index 54210563b9..cad010dda0 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/OrdinalExtractor.cs index 44606c2a44..59179dfb2e 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/PercentageExtractor.cs index 2ac6ae3e51..cf501906a2 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Parsers/ChineseNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Parsers/ChineseNumberParserConfiguration.cs index bda1d91134..67930fc177 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Parsers/ChineseNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Parsers/ChineseNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Parsers/ChineseNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Parsers/ChineseNumberRangeParserConfiguration.cs index b880f578ed..f830dd868a 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Chinese/Parsers/ChineseNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Chinese/Parsers/ChineseNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Config/BaseNumberOptionsConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Config/BaseNumberOptionsConfiguration.cs index 81e547881b..9d7fa7e858 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Config/BaseNumberOptionsConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Config/BaseNumberOptionsConfiguration.cs @@ -1,4 +1,7 @@ -using Microsoft.Recognizers.Definitions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.Recognizers.Definitions; namespace Microsoft.Recognizers.Text.Number { diff --git a/.NET/Microsoft.Recognizers.Text.Number/Config/CJKNumberExtractorMode.cs b/.NET/Microsoft.Recognizers.Text.Number/Config/CJKNumberExtractorMode.cs index a40ca9be2b..86b5f13520 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Config/CJKNumberExtractorMode.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Config/CJKNumberExtractorMode.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Number.Config +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Number.Config { /// diff --git a/.NET/Microsoft.Recognizers.Text.Number/Config/INumberOptionsConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Config/INumberOptionsConfiguration.cs index e2305ec46a..79e199315c 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Config/INumberOptionsConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Config/INumberOptionsConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Number +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Number { public interface INumberOptionsConfiguration : IConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.Number/Constants.cs b/.NET/Microsoft.Recognizers.Text.Number/Constants.cs index 1a58307897..9dfbc10ffe 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Constants.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Constants.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Microsoft.Recognizers.Text.Number diff --git a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/CardinalExtractor.cs index f6271e2f20..9d15db2878 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/DoubleExtractor.cs index d1defdfd4a..b7954592d4 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/FractionExtractor.cs index 34e81cd6d9..695f547e4f 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/IntegerExtractor.cs index 8cfd749ebe..413585cc6b 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/NumberExtractor.cs index e53e1eaf20..3e254d2d77 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/NumberRangeExtractor.cs index 29a13b0475..07954ffc79 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/OrdinalExtractor.cs index e190a7236f..a7daafc6c0 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/PercentageExtractor.cs index fa7652b856..eb7eb377cc 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Parsers/DutchNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Parsers/DutchNumberParserConfiguration.cs index 711b94c8a4..cda85833bc 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Parsers/DutchNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Parsers/DutchNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Parsers/DutchNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Parsers/DutchNumberRangeParserConfiguration.cs index 2d34bf0d47..ddd2010a2c 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Dutch/Parsers/DutchNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Dutch/Parsers/DutchNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/CardinalExtractor.cs index 385501ae29..4ca7480445 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/DoubleExtractor.cs index bd6310a343..b1964f1e29 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/FractionExtractor.cs index 7aeed3a056..a958933881 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/IntegerExtractor.cs index 78bd2f4661..2fccc43bc7 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/MergedNumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/MergedNumberExtractor.cs index 4baa70060d..ef9fddf5d0 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/MergedNumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/MergedNumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/NumberExtractor.cs index 03c58ab10c..8ae056ab7c 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/NumberRangeExtractor.cs index 1c19ba18a0..175b289584 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/OrdinalExtractor.cs index 12360b28ec..94d2cca78f 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/PercentageExtractor.cs index 73797ffe89..5f463043ed 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/English/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/English/Parsers/EnglishNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/English/Parsers/EnglishNumberParserConfiguration.cs index a0d34559c1..9f665ef4db 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/English/Parsers/EnglishNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/English/Parsers/EnglishNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.Number/English/Parsers/EnglishNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/English/Parsers/EnglishNumberRangeParserConfiguration.cs index fdc87de642..139b409e36 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/English/Parsers/EnglishNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/English/Parsers/EnglishNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Extractors/BaseMergedNumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Extractors/BaseMergedNumberExtractor.cs index bff7b18fc1..a00fe43b32 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Extractors/BaseMergedNumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Extractors/BaseMergedNumberExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Extractors/BaseNumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Extractors/BaseNumberExtractor.cs index 9db97af4e0..6ea1d27bd1 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Extractors/BaseNumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Extractors/BaseNumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Extractors/BaseNumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Extractors/BaseNumberRangeExtractor.cs index 42d3a51222..c3d919c8e0 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Extractors/BaseNumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Extractors/BaseNumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Extractors/BasePercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Extractors/BasePercentageExtractor.cs index fed195a850..4d722b8b95 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Extractors/BasePercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Extractors/BasePercentageExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Extractors/CachedNumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Extractors/CachedNumberExtractor.cs index 377698671d..be28b5903b 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Extractors/CachedNumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Extractors/CachedNumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Number { diff --git a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/CardinalExtractor.cs index 880036a341..b8c91b48e5 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/DoubleExtractor.cs index 0821e1cc00..47aae83463 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/FractionExtractor.cs index 853806b893..9e3dcb3dfe 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/IntegerExtractor.cs index 5cda44a2c8..b6a9badf3d 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/NumberExtractor.cs index c5b88f681d..6aeb72fe7b 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/NumberRangeExtractor.cs index 3d2451500e..1fb1c160b2 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/OrdinalExtractor.cs index 3bbcc40e29..66ab3b176e 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/PercentageExtractor.cs index e6275251b6..9b3dc1a44f 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/French/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/French/Parsers/FrenchNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/French/Parsers/FrenchNumberParserConfiguration.cs index 4438ee56df..146ec0a956 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/French/Parsers/FrenchNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/French/Parsers/FrenchNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Text; diff --git a/.NET/Microsoft.Recognizers.Text.Number/French/Parsers/FrenchNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/French/Parsers/FrenchNumberRangeParserConfiguration.cs index 5c5ec78c2a..7cd460438b 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/French/Parsers/FrenchNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/French/Parsers/FrenchNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/CardinalExtractor.cs index f2e9fc46ef..aec83091cc 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/DoubleExtractor.cs index 5f5a0d53b3..4a13205853 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/FractionExtractor.cs index dc5006beda..abbdcb2a86 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/IntegerExtractor.cs index 383ecc1652..83374ea760 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/NumberExtractor.cs index 490fdf8436..8ab88931bf 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/NumberRangeExtractor.cs index ad824199e7..b07b53fea0 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/OrdinalExtractor.cs index c86c234f3f..16f072d883 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/PercentageExtractor.cs index ae0e965373..86ba8e692e 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/German/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/German/Parsers/GermanNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/German/Parsers/GermanNumberParserConfiguration.cs index 07bc5a24ce..4b770eb72c 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/German/Parsers/GermanNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/German/Parsers/GermanNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/German/Parsers/GermanNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/German/Parsers/GermanNumberRangeParserConfiguration.cs index b17a094cae..a5973ca6a6 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/German/Parsers/GermanNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/German/Parsers/GermanNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/CardinalExtractor.cs index 202d8d4b71..a1a2987326 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/DoubleExtractor.cs index caf547c64a..c63ac15043 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/FractionExtractor.cs index 1efff0d172..684ac7e0e4 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/IntegerExtractor.cs index 603c365fda..97231c1369 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/MergedNumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/MergedNumberExtractor.cs index 68fbeeed0c..71388c579a 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/MergedNumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/MergedNumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/NumberExtractor.cs index 354f5ca4d7..8ccdd8efb0 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/NumberRangeExtractor.cs index e17d8f1977..7dddfe14ff 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/OrdinalExtractor.cs index c25766aba6..cb63ea9810 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/PercentageExtractor.cs index 7159c42ee7..7233888f52 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Parsers/HindiNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Parsers/HindiNumberParserConfiguration.cs index 9cafb5353e..008b13fc8f 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Parsers/HindiNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Parsers/HindiNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Parsers/HindiNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Parsers/HindiNumberRangeParserConfiguration.cs index aa50d9c3f2..28b20826ba 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Hindi/Parsers/HindiNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Hindi/Parsers/HindiNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/CardinalExtractor.cs index d08cd77d05..dc78de3941 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/DoubleExtractor.cs index 0e6663b8a0..69760382a9 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/FractionExtractor.cs index 3de3c433f9..e90a4096cd 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/IntegerExtractor.cs index 918f64417c..f88cb0d564 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/NumberExtractor.cs index 7a28dd284a..ced3da11c3 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/NumberRangeExtractor.cs index 9de0ca8335..40ffa61072 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/OrdinalExtractor.cs index ff36c1ec46..3bd47154df 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/PercentageExtractor.cs index a427cfe0e1..467373bc46 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Italian/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Italian/Parsers/ItalianNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Italian/Parsers/ItalianNumberParserConfiguration.cs index bc4af63388..a155edf055 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Italian/Parsers/ItalianNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Italian/Parsers/ItalianNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Italian/Parsers/ItalianNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Italian/Parsers/ItalianNumberRangeParserConfiguration.cs index 97ae0b6c88..48cd567ac4 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Italian/Parsers/ItalianNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Italian/Parsers/ItalianNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/CardinalExtractor.cs index 556c6a0903..e18d6192c2 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Number.Config; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/DoubleExtractor.cs index 8ad6463495..9e2b4bd79a 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/FractionExtractor.cs index aa99eab6ad..b78f52ac90 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/IntegerExtractor.cs index 13d2d16587..aade53444e 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/NumberExtractor.cs index 70abc7bf5f..7f8b126e4e 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Number.Config; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/NumberRangeExtractor.cs index e8a7ffcc95..d09bf98d25 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Japanese; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/OrdinalExtractor.cs index 9e4f241506..191c170b3d 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/PercentageExtractor.cs index ad8dc5c45d..7b17a24ea2 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Parsers/JapaneseNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Parsers/JapaneseNumberParserConfiguration.cs index ea18c557de..c52154786f 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Parsers/JapaneseNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Parsers/JapaneseNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Parsers/JapaneseNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Parsers/JapaneseNumberRangeParserConfiguration.cs index 283c0feddc..1dc5342552 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Japanese/Parsers/JapaneseNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Japanese/Parsers/JapaneseNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Japanese; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/CardinalExtractor.cs index c130f43322..31a52ec835 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Number.Config; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/DoubleExtractor.cs index 0d6ba31e4b..ab5a956f3e 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/FractionExtractor.cs index e47efabc3e..9e8cbaea32 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/IntegerExtractor.cs index 3b06f4aa66..de72d574fa 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/NumberExtractor.cs index 2258b854dd..c72fcb3f05 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Text.Number.Config; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/NumberRangeExtractor.cs index 58701f4522..ab0f894ab2 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/OrdinalExtractor.cs index 50dfd036e1..9adb77b5cf 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/PercentageExtractor.cs index 4143cd8b2c..a10186336f 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Korean/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Korean/Parsers/KoreanNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Korean/Parsers/KoreanNumberParserConfiguration.cs index ab75855850..838e54d6a4 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Korean/Parsers/KoreanNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Korean/Parsers/KoreanNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Korean/Parsers/KoreanNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Korean/Parsers/KoreanNumberRangeParserConfiguration.cs index 0d8ad55395..17e96d4b17 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Korean/Parsers/KoreanNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Korean/Parsers/KoreanNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.Number/LongFormatType.cs b/.NET/Microsoft.Recognizers.Text.Number/LongFormatType.cs index 6cd753f301..64795e0829 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/LongFormatType.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/LongFormatType.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Number +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Number { public class LongFormatType { diff --git a/.NET/Microsoft.Recognizers.Text.Number/Models/AbstractNumberModel.cs b/.NET/Microsoft.Recognizers.Text.Number/Models/AbstractNumberModel.cs index d922027b89..b11c3c8046 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Models/AbstractNumberModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Models/AbstractNumberModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Models/NumberModel.cs b/.NET/Microsoft.Recognizers.Text.Number/Models/NumberModel.cs index 32f18f0818..1f6a19be14 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Models/NumberModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Models/NumberModel.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Number +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Number { public class NumberModel : AbstractNumberModel { diff --git a/.NET/Microsoft.Recognizers.Text.Number/Models/NumberRangeModel.cs b/.NET/Microsoft.Recognizers.Text.Number/Models/NumberRangeModel.cs index a70e40705b..8451c711b2 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Models/NumberRangeModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Models/NumberRangeModel.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Number +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Number { public class NumberRangeModel : AbstractNumberModel { diff --git a/.NET/Microsoft.Recognizers.Text.Number/Models/OrdinalModel.cs b/.NET/Microsoft.Recognizers.Text.Number/Models/OrdinalModel.cs index 1921c8fa93..17bc2ed718 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Models/OrdinalModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Models/OrdinalModel.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Number +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Number { public class OrdinalModel : AbstractNumberModel { diff --git a/.NET/Microsoft.Recognizers.Text.Number/Models/PercentModel.cs b/.NET/Microsoft.Recognizers.Text.Number/Models/PercentModel.cs index 5cc6a62f1f..cdc4abf4e0 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Models/PercentModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Models/PercentModel.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Number +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Number { public class PercentModel : AbstractNumberModel { diff --git a/.NET/Microsoft.Recognizers.Text.Number/NumberMapGenerator.cs b/.NET/Microsoft.Recognizers.Text.Number/NumberMapGenerator.cs index 157c5de599..f0761d8ef2 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/NumberMapGenerator.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/NumberMapGenerator.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/NumberMode.cs b/.NET/Microsoft.Recognizers.Text.Number/NumberMode.cs index ed5bd109f6..861145fb91 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/NumberMode.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/NumberMode.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Number +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Number { public enum NumberMode { diff --git a/.NET/Microsoft.Recognizers.Text.Number/NumberOptions.cs b/.NET/Microsoft.Recognizers.Text.Number/NumberOptions.cs index 32a8b095c8..6c672c87a8 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/NumberOptions.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/NumberOptions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; namespace Microsoft.Recognizers.Text.Number { diff --git a/.NET/Microsoft.Recognizers.Text.Number/NumberRangeConstants.cs b/.NET/Microsoft.Recognizers.Text.Number/NumberRangeConstants.cs index fd9099d0d9..846a7adf33 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/NumberRangeConstants.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/NumberRangeConstants.cs @@ -1,4 +1,7 @@ -using System.Diagnostics.CodeAnalysis; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Diagnostics.CodeAnalysis; namespace Microsoft.Recognizers.Text.Number { diff --git a/.NET/Microsoft.Recognizers.Text.Number/NumberRecognizer.cs b/.NET/Microsoft.Recognizers.Text.Number/NumberRecognizer.cs index f998994ab5..b7dbf7d42a 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/NumberRecognizer.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/NumberRecognizer.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using Microsoft.Recognizers.Text.Number.Arabic; using Microsoft.Recognizers.Text.Number.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Parsers/AgnosticNumberParserFactory.cs b/.NET/Microsoft.Recognizers.Text.Number/Parsers/AgnosticNumberParserFactory.cs index 8913161e0b..b9b40f3899 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Parsers/AgnosticNumberParserFactory.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Parsers/AgnosticNumberParserFactory.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Number { diff --git a/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseCJKNumberParser.cs b/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseCJKNumberParser.cs index fb2752aacd..5f37c1d268 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseCJKNumberParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseCJKNumberParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Globalization; using System.Linq; using System.Text; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseIndianNumberParser.cs b/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseIndianNumberParser.cs index 1e703eb2f2..5414016e13 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseIndianNumberParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseIndianNumberParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseIndianNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseIndianNumberParserConfiguration.cs index ddfb3ca2af..30aa1cadea 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseIndianNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseIndianNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.Number diff --git a/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseNumberParser.cs b/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseNumberParser.cs index 57170b6254..ca2f21482c 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseNumberParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseNumberParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseNumberRangeParser.cs b/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseNumberRangeParser.cs index 0c73fb1499..587d05f7b5 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseNumberRangeParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Parsers/BaseNumberRangeParser.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Parsers/BasePercentageParser.cs b/.NET/Microsoft.Recognizers.Text.Number/Parsers/BasePercentageParser.cs index f470c94220..1b6b839abe 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Parsers/BasePercentageParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Parsers/BasePercentageParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Number diff --git a/.NET/Microsoft.Recognizers.Text.Number/Parsers/ICJKNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Parsers/ICJKNumberParserConfiguration.cs index 3fc7b6be19..f8c69cf9f9 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Parsers/ICJKNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Parsers/ICJKNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.Number diff --git a/.NET/Microsoft.Recognizers.Text.Number/Parsers/IIndianNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Parsers/IIndianNumberParserConfiguration.cs index 78a5b2be9c..9eff8c2b53 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Parsers/IIndianNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Parsers/IIndianNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.Number diff --git a/.NET/Microsoft.Recognizers.Text.Number/Parsers/INumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Parsers/INumberParserConfiguration.cs index 730adae44b..257f2e9e8c 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Parsers/INumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Parsers/INumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Parsers/INumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Parsers/INumberRangeParserConfiguration.cs index e1b78ebcc1..09c5ceb90d 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Parsers/INumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Parsers/INumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.Number diff --git a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/CardinalExtractor.cs index efac648a22..7ae9c859de 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/DoubleExtractor.cs index 38bbf39c37..be2e1b3694 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/FractionExtractor.cs index dc6d59b989..f8069dcd01 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/IntegerExtractor.cs index 0adcd94adb..3d23206ad9 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/NumberExtractor.cs index 679c3647b7..950de3d892 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/OrdinalExtractor.cs index d13f333b6a..c33f660f34 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/PercentageExtractor.cs index b59913093a..a3b9b7e702 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Parsers/PortugueseNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Parsers/PortugueseNumberParserConfiguration.cs index 6dbcb8518b..7ae7cf06e3 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Parsers/PortugueseNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Portuguese/Parsers/PortugueseNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Properties/AssemblyInfo.cs b/.NET/Microsoft.Recognizers.Text.Number/Properties/AssemblyInfo.cs index c1f4921312..e866d7ae7d 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Properties/AssemblyInfo.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/.NET/Microsoft.Recognizers.Text.Number/RegexTagGenerator.cs b/.NET/Microsoft.Recognizers.Text.Number/RegexTagGenerator.cs index e02f28cba7..fe30c85058 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/RegexTagGenerator.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/RegexTagGenerator.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Number +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Number { public static class RegexTagGenerator { diff --git a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/CardinalExtractor.cs index d364839fb5..f084c1cdf7 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/DoubleExtractor.cs index 24dc10c07d..7fc440f944 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/FractionExtractor.cs index c208aa398e..72a3a4d61f 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/IntegerExtractor.cs index 4730454ea5..33fbf03634 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/NumberExtractor.cs index 03a34389aa..6623da0dc0 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/NumberRangeExtractor.cs index 77c53eb5ac..2fcda10b6a 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/OrdinalExtractor.cs index 0f80ca8ee3..78391ab543 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/PercentageExtractor.cs index 3f1db16926..fedeca121c 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Parsers/SpanishNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Parsers/SpanishNumberParserConfiguration.cs index b848e51ec5..d22a1dca2c 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Parsers/SpanishNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Parsers/SpanishNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Parsers/SpanishNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Parsers/SpanishNumberRangeParserConfiguration.cs index 8bd02b7528..2f3c2d2399 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Spanish/Parsers/SpanishNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Spanish/Parsers/SpanishNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/CardinalExtractor.cs index ab118d7518..9adb86077c 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/DoubleExtractor.cs index 6cb6e8f211..1d7481c84f 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/FractionExtractor.cs index 4a66d5ce91..67fb2b9bbb 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/IntegerExtractor.cs index 4b57ba47b0..0326cea011 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/NumberExtractor.cs index fb7a002d8a..c7d048a6ba 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/NumberRangeExtractor.cs index da329d81fe..5509de3dd4 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/OrdinalExtractor.cs index a74c625f9d..adb488303d 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/PercentageExtractor.cs index 05cf5ddf13..c11d79f97c 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Parsers/SwedishNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Parsers/SwedishNumberParserConfiguration.cs index a3984377dd..930a367268 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Parsers/SwedishNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Parsers/SwedishNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Parsers/SwedishNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Parsers/SwedishNumberRangeParserConfiguration.cs index 174cb5f0ee..3aad1b9f5c 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Swedish/Parsers/SwedishNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Swedish/Parsers/SwedishNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Swedish; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/CardinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/CardinalExtractor.cs index 248f1604a7..f9c1946a37 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/CardinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/CardinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/DoubleExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/DoubleExtractor.cs index b2a2101caf..89d8ff9f49 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/DoubleExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/DoubleExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/FractionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/FractionExtractor.cs index 7d093d8638..6c89b2e7df 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/FractionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/FractionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/IntegerExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/IntegerExtractor.cs index 84541b4210..b16e755515 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/IntegerExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/IntegerExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/MergedNumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/MergedNumberExtractor.cs index e7b96c7566..6c3a11cc0a 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/MergedNumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/MergedNumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/NumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/NumberExtractor.cs index 1d95af5488..e0e01f031b 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/NumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/NumberExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/NumberRangeExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/NumberRangeExtractor.cs index 662738d5fc..f7827dd7ec 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/NumberRangeExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/NumberRangeExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/OrdinalExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/OrdinalExtractor.cs index 54e8bafe7d..bc8d8c0160 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/OrdinalExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/OrdinalExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/PercentageExtractor.cs b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/PercentageExtractor.cs index 4f5596e014..b9d8aea544 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/PercentageExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Extractors/PercentageExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Parsers/TurkishNumberParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Parsers/TurkishNumberParserConfiguration.cs index 56c4374b7a..e319269a3a 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Parsers/TurkishNumberParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Parsers/TurkishNumberParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Parsers/TurkishNumberRangeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Parsers/TurkishNumberRangeParserConfiguration.cs index bfcda99686..e5aaaff169 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/Turkish/Parsers/TurkishNumberRangeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/Turkish/Parsers/TurkishNumberRangeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.Number/TypeTag.cs b/.NET/Microsoft.Recognizers.Text.Number/TypeTag.cs index 8610a4e190..a3e01c6d95 100644 --- a/.NET/Microsoft.Recognizers.Text.Number/TypeTag.cs +++ b/.NET/Microsoft.Recognizers.Text.Number/TypeTag.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Number +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Number { public class TypeTag { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/AgeExtractorConfiguration.cs index 9ba43e517c..b6d8c5c020 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/ChineseNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/ChineseNumberWithUnitExtractorConfiguration.cs index a211888787..7a769a91af 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/ChineseNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/ChineseNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/CurrencyExtractorConfiguration.cs index 043631b9e7..2daf944b68 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/DimensionExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/DimensionExtractorConfiguration.cs index 6a78c41f71..8e53e29384 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/DimensionExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/DimensionExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/TemperatureExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/TemperatureExtractorConfiguration.cs index b49e896036..4c8186b289 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/TemperatureExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Extractors/TemperatureExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/AgeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/AgeParserConfiguration.cs index 06c74d0bf6..59099f9c73 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/AgeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/AgeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/ChineseNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/ChineseNumberWithUnitParserConfiguration.cs index 8b87b30311..683274b2bf 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/ChineseNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/ChineseNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Text.Number; using Microsoft.Recognizers.Text.Number.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/CurrencyParserConfiguration.cs index 83b16c5f21..5d72ef3c57 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/DimensionParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/DimensionParserConfiguration.cs index 3dcb329453..0bef2e0f7c 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/DimensionParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/DimensionParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/TemperatureParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/TemperatureParserConfiguration.cs index 1d977296ad..cceb43d9c7 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/TemperatureParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Chinese/Parsers/TemperatureParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Constants.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Constants.cs index 846466202b..74a42b745a 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Constants.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Constants.cs @@ -1,4 +1,7 @@ -// ReSharper disable InconsistentNaming +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// ReSharper disable InconsistentNaming using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/AgeExtractorConfiguration.cs index 20e14d038b..c32814a0a2 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/AreaExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/AreaExtractorConfiguration.cs index b89b1aa767..d3bb5a510a 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/AreaExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/AreaExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/CurrencyExtractorConfiguration.cs index 7cb765ce93..4f790dffc1 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/DimensionExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/DimensionExtractorConfiguration.cs index 16aa67a6a0..1a3d5d0b77 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/DimensionExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/DimensionExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/DutchNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/DutchNumberWithUnitExtractorConfiguration.cs index 1fc16acdff..705c0ab246 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/DutchNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/DutchNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/LengthExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/LengthExtractorConfiguration.cs index e73b9a4489..0c07b89ad6 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/LengthExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/LengthExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/SpeedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/SpeedExtractorConfiguration.cs index 34c6b398c8..ac4c35601f 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/SpeedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/SpeedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/TemperatureExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/TemperatureExtractorConfiguration.cs index 4e8e65ce95..64eccb6797 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/TemperatureExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/TemperatureExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/VolumeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/VolumeExtractorConfiguration.cs index 78f2f8e545..6ea7c19567 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/VolumeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/VolumeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/WeightExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/WeightExtractorConfiguration.cs index f66a4bb278..fca5d59fb2 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/WeightExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Extractors/WeightExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/AgeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/AgeParserConfiguration.cs index 57e91878f2..f1f3ce3c09 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/AgeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/AgeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Dutch { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/AreaParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/AreaParserConfiguration.cs index 33962acf7e..ee07655289 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/AreaParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/AreaParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Dutch { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/CurrencyParserConfiguration.cs index abc07cea3d..ef1861c3c9 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/DimensionParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/DimensionParserConfiguration.cs index 4b8d141772..2238a2ed70 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/DimensionParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/DimensionParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Dutch { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/DutchNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/DutchNumberWithUnitParserConfiguration.cs index 254486406f..34c68be17c 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/DutchNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/DutchNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Text.Number; using Microsoft.Recognizers.Text.Number.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/LengthParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/LengthParserConfiguration.cs index 770c7bd84c..d1188c6f32 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/LengthParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/LengthParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Dutch { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/SpeedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/SpeedParserConfiguration.cs index eb37de26d9..02e46e041e 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/SpeedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/SpeedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Dutch { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/TemperatureParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/TemperatureParserConfiguration.cs index b82f0eea97..4b2532ab7b 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/TemperatureParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/TemperatureParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Dutch { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/VolumeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/VolumeParserConfiguration.cs index 58ec3a5506..0d15a8b2b3 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/VolumeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/VolumeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Dutch { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/WeightParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/WeightParserConfiguration.cs index d2158f33e9..4b9f3d049b 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/WeightParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Dutch/Parsers/WeightParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Dutch { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/AgeExtractorConfiguration.cs index fa8f2c68b8..320efe8770 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/AreaExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/AreaExtractorConfiguration.cs index 9492d2b54f..2e4869f9f2 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/AreaExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/AreaExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/CurrencyExtractorConfiguration.cs index 7adfb31b4d..6b5a49c193 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/DimensionExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/DimensionExtractorConfiguration.cs index c0dfbfd8df..8112edc73f 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/DimensionExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/DimensionExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/EnglishNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/EnglishNumberWithUnitExtractorConfiguration.cs index 4f568abc79..b44aa402e6 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/EnglishNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/EnglishNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/LengthExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/LengthExtractorConfiguration.cs index 366b76772e..8646dca164 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/LengthExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/LengthExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/SpeedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/SpeedExtractorConfiguration.cs index 57b8f0df50..0bf1e06f09 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/SpeedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/SpeedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/TemperatureExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/TemperatureExtractorConfiguration.cs index aceb55fedd..55828ac711 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/TemperatureExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/TemperatureExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/VolumeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/VolumeExtractorConfiguration.cs index 95aada41a5..b21ddd1ccd 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/VolumeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/VolumeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/WeightExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/WeightExtractorConfiguration.cs index f36cb05d51..60708fa1b2 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/WeightExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Extractors/WeightExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/AgeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/AgeParserConfiguration.cs index 0a7532f734..3e80fa6263 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/AgeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/AgeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.English { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/AreaParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/AreaParserConfiguration.cs index dfe588c0b2..e9b2105429 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/AreaParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/AreaParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.English { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/CurrencyParserConfiguration.cs index 6e6dc71ba1..d92a288c4b 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.English; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/DimensionParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/DimensionParserConfiguration.cs index 29de4704d7..36ecbed7fe 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/DimensionParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/DimensionParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.English { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/EnglishNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/EnglishNumberWithUnitParserConfiguration.cs index 7d0e4c94cf..05bbf47219 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/EnglishNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/EnglishNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Text.Number; using Microsoft.Recognizers.Text.Number.English; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/LengthParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/LengthParserConfiguration.cs index da8429a61b..ae1207ed1b 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/LengthParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/LengthParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.English { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/SpeedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/SpeedParserConfiguration.cs index 42405f4154..628517ab0e 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/SpeedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/SpeedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.English { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/TemperatureParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/TemperatureParserConfiguration.cs index 82fe6fdc8f..2d139d2a26 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/TemperatureParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/TemperatureParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.English { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/VolumeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/VolumeParserConfiguration.cs index b5073fb759..575a2ebb92 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/VolumeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/VolumeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.English { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/WeightParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/WeightParserConfiguration.cs index c3012b0b2a..54172a1ca0 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/WeightParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/English/Parsers/WeightParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.English { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/BaseMergedUnitExtractor.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/BaseMergedUnitExtractor.cs index ced1640d07..7aa57139f5 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/BaseMergedUnitExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/BaseMergedUnitExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using Microsoft.Recognizers.Text.Matcher; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/INumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/INumberWithUnitExtractorConfiguration.cs index f2c2b6ee17..41389c48e4 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/INumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/INumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/NumberWithUnitExtractor.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/NumberWithUnitExtractor.cs index 102cde80bd..23d79b87a5 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/NumberWithUnitExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/NumberWithUnitExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/PrefixUnitResult.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/PrefixUnitResult.cs index 858bd899bb..9081837e25 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/PrefixUnitResult.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Extractors/PrefixUnitResult.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.NumberWithUnit +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.NumberWithUnit { public class PrefixUnitResult { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/AgeExtractorConfiguration.cs index bbf44fa519..8e6e8eddca 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/AreaExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/AreaExtractorConfiguration.cs index f91037515a..fb7927f8ed 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/AreaExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/AreaExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/CurrencyExtractorConfiguration.cs index 59ffb87eaf..3c0c2013b9 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/DimensionExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/DimensionExtractorConfiguration.cs index 16d58dd47f..6e068029e6 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/DimensionExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/DimensionExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/FrenchNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/FrenchNumberWithUnitExtractorConfiguration.cs index a900c9234b..3e7e035533 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/FrenchNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/FrenchNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/LengthExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/LengthExtractorConfiguration.cs index 600c2418b0..1830e1e6c1 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/LengthExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/LengthExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/SpeedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/SpeedExtractorConfiguration.cs index 7235493102..a9ccb7f96e 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/SpeedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/SpeedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/TemperatureExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/TemperatureExtractorConfiguration.cs index 38ddd9c42e..f385bbd065 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/TemperatureExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/TemperatureExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/VolumeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/VolumeExtractorConfiguration.cs index 3d50801698..76889b1d2a 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/VolumeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/VolumeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/WeightExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/WeightExtractorConfiguration.cs index a6193d2673..632bc72be2 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/WeightExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Extractors/WeightExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/AgeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/AgeParserConfiguration.cs index 3ba9ddac2e..d355056e57 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/AgeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/AgeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.French { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/AreaParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/AreaParserConfiguration.cs index e176a65be2..4e031754d2 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/AreaParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/AreaParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.French { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/CurrencyParserConfiguration.cs index da890c6ca4..aef3cbdc89 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/DimensionParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/DimensionParserConfiguration.cs index c2eee53410..5e87392d39 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/DimensionParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/DimensionParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.French { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/FrenchNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/FrenchNumberWithUnitParserConfiguration.cs index c47f338eb3..0d8708e31f 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/FrenchNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/FrenchNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Definitions.French; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/LengthParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/LengthParserConfiguration.cs index 3563864990..07bc634f94 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/LengthParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/LengthParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.French { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/SpeedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/SpeedParserConfiguration.cs index fc999fd088..27b166b7dc 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/SpeedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/SpeedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.French { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/TemperatureParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/TemperatureParserConfiguration.cs index cc5ae26200..b17c1d8b58 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/TemperatureParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/TemperatureParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.French { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/VolumeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/VolumeParserConfiguration.cs index e878c2ce50..ea40576b75 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/VolumeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/VolumeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.French { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/WeightParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/WeightParserConfiguration.cs index d1050f0066..f473d60168 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/WeightParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/French/Parsers/WeightParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.French { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/AgeExtractorConfiguration.cs index 86bdd028b8..e2c88383a5 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/AreaExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/AreaExtractorConfiguration.cs index a1b401712f..1317dca3cd 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/AreaExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/AreaExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/CurrencyExtractorConfiguration.cs index bcea19b071..6899d49c10 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/DimensionExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/DimensionExtractorConfiguration.cs index 421af1a0d7..aeed028c77 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/DimensionExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/DimensionExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/GermanNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/GermanNumberWithUnitExtractorConfiguration.cs index 59bd1f7fa8..92334e6640 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/GermanNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/GermanNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/LengthExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/LengthExtractorConfiguration.cs index 300e06fba1..9cdde80794 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/LengthExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/LengthExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/SpeedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/SpeedExtractorConfiguration.cs index 37b368f998..e4bcfe30e1 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/SpeedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Extractors/SpeedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/CurrencyParserConfiguration.cs index 5aa2e021a7..5f0473fb66 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.German; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/DimensionParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/DimensionParserConfiguration.cs index b971c0caba..3a2e88255c 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/DimensionParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/DimensionParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.German { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/GermanNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/GermanNumberWithUnitParserConfiguration.cs index cfe16a96bb..c156f7af07 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/GermanNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/GermanNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Definitions.German; using Microsoft.Recognizers.Text.Number; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/LengthParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/LengthParserConfiguration.cs index baf4573b23..2837a61103 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/LengthParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/LengthParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.German { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/SpeedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/SpeedParserConfiguration.cs index 6737a43b5e..ac96c23fad 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/SpeedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/SpeedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.German { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/TemperatureParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/TemperatureParserConfiguration.cs index 8b5175e015..9cd4462da7 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/TemperatureParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/TemperatureParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.German { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/VolumeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/VolumeParserConfiguration.cs index 23ca901a65..dca86333a4 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/VolumeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/VolumeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.German { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/WeightParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/WeightParserConfiguration.cs index 70c57b78ae..9d11064167 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/WeightParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/German/Parsers/WeightParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.German { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/AgeExtractorConfiguration.cs index 0156806b4e..7f80d9af24 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/AreaExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/AreaExtractorConfiguration.cs index d26eb52596..49ece9d589 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/AreaExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/AreaExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/CurrencyExtractorConfiguration.cs index 672ce664a0..65a38ed7f8 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/DimensionExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/DimensionExtractorConfiguration.cs index 9e4b0d8f7c..b5dcc5ba59 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/DimensionExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/DimensionExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/HindiNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/HindiNumberWithUnitExtractorConfiguration.cs index dbb878d7af..d8c79979ee 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/HindiNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/HindiNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/LengthExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/LengthExtractorConfiguration.cs index 9444fb60c5..74ef767c32 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/LengthExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/LengthExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/SpeedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/SpeedExtractorConfiguration.cs index 74d836ea0c..e5a74998ba 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/SpeedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/SpeedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/TemperatureExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/TemperatureExtractorConfiguration.cs index 1ca977cd74..424d6434f8 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/TemperatureExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/TemperatureExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/VolumeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/VolumeExtractorConfiguration.cs index fc23d5849a..1684805184 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/VolumeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/VolumeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/WeightExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/WeightExtractorConfiguration.cs index 85e6bb7a7b..cb232f874b 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/WeightExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Extractors/WeightExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/AgeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/AgeParserConfiguration.cs index c9bafce1b3..0403e794af 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/AgeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/AgeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Hindi { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/AreaParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/AreaParserConfiguration.cs index 551d295c19..221b3c7601 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/AreaParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/AreaParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Hindi { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/CurrencyParserConfiguration.cs index 2e6dc70ec1..332192e97b 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/DimensionParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/DimensionParserConfiguration.cs index 594a909b27..911b4d4cdc 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/DimensionParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/DimensionParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Hindi { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/HindiNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/HindiNumberWithUnitParserConfiguration.cs index f63c92ed6f..4d53b75f38 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/HindiNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/HindiNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Text.Number; using Microsoft.Recognizers.Text.Number.Hindi; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/LengthParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/LengthParserConfiguration.cs index 71e90caeff..195ec5e7c8 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/LengthParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/LengthParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Hindi { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/SpeedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/SpeedParserConfiguration.cs index bbbcdc2d60..c03c7bc9ec 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/SpeedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/SpeedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Hindi { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/TemperatureParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/TemperatureParserConfiguration.cs index 53eada03d6..b7e5fb7a81 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/TemperatureParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/TemperatureParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Hindi { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/VolumeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/VolumeParserConfiguration.cs index d6278289d3..cc96aa7d71 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/VolumeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/VolumeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Hindi { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/WeightParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/WeightParserConfiguration.cs index bfafb43dab..12840ae2c7 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/WeightParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Hindi/Parsers/WeightParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Hindi { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/AgeExtractorConfiguration.cs index 858c0af0c7..1dece7e7b9 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/AreaExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/AreaExtractorConfiguration.cs index 4cf897e358..d137f1ffde 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/AreaExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/AreaExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/CurrencyExtractorConfiguration.cs index efbfc736d5..1d596d9098 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/DimensionExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/DimensionExtractorConfiguration.cs index 72253daa37..d82e541673 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/DimensionExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/DimensionExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/ItalianNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/ItalianNumberWithUnitExtractorConfiguration.cs index 99b2b9f68e..dbf1fa1409 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/ItalianNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/ItalianNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/LengthExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/LengthExtractorConfiguration.cs index 3a2fe54c8b..b97ec02ba2 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/LengthExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/LengthExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/SpeedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/SpeedExtractorConfiguration.cs index 7d17bc829e..b9a07155bd 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/SpeedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/SpeedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/TemperatureExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/TemperatureExtractorConfiguration.cs index 0e8a1d271a..61424e0208 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/TemperatureExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/TemperatureExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/VolumeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/VolumeExtractorConfiguration.cs index b0ba2ec85b..136804f44f 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/VolumeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/VolumeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/WeightExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/WeightExtractorConfiguration.cs index 97b6edf7e2..6271a5d21d 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/WeightExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Extractors/WeightExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/AgeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/AgeParserConfiguration.cs index 327a28b2bb..6df7a3fb23 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/AgeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/AgeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Italian { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/AreaParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/AreaParserConfiguration.cs index 71d0fd99a9..c3d08f0c97 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/AreaParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/AreaParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Italian { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/CurrencyParserConfiguration.cs index 423e669626..843253102a 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/DimensionParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/DimensionParserConfiguration.cs index f766d46b6d..b0b19cf068 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/DimensionParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/DimensionParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Italian { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/ItalianNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/ItalianNumberWithUnitParserConfiguration.cs index ebef8c5678..01799c6b70 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/ItalianNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/ItalianNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Definitions.Italian; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/LengthParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/LengthParserConfiguration.cs index d7bba6642b..385f20e006 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/LengthParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/LengthParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Italian { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/SpeedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/SpeedParserConfiguration.cs index 2cdca9ea0a..d9b94266a9 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/SpeedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/SpeedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Italian { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/TemperatureParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/TemperatureParserConfiguration.cs index 90a686569a..8d804e573c 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/TemperatureParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/TemperatureParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Italian { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/VolumeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/VolumeParserConfiguration.cs index 3b3e6c2e79..d84b55c2f2 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/VolumeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/VolumeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Italian { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/WeightParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/WeightParserConfiguration.cs index ab1043589d..01a88db247 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/WeightParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Italian/Parsers/WeightParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Italian { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Extractors/AgeExtractorConfiguration.cs index d0c1da9244..14ad6417df 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Japanese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Extractors/CurrencyExtractorConfiguration.cs index 811e5402ce..c7f8fa6f88 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Japanese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Extractors/JapaneseNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Extractors/JapaneseNumberWithUnitExtractorConfiguration.cs index decf62cd2d..90128cdb91 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Extractors/JapaneseNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Extractors/JapaneseNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Parsers/AgeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Parsers/AgeParserConfiguration.cs index 3fbee9c090..73c6418cd1 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Parsers/AgeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Parsers/AgeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Definitions.Japanese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Parsers/CurrencyParserConfiguration.cs index 4f532c001e..377d559d25 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Japanese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Parsers/JapaneseNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Parsers/JapaneseNumberWithUnitParserConfiguration.cs index e17f5fa9b3..62dd0c2f1b 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Parsers/JapaneseNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Japanese/Parsers/JapaneseNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Text.Number; using Microsoft.Recognizers.Text.Number.Japanese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/AgeExtractorConfiguration.cs index bdb52253d5..9d84bca269 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/CurrencyExtractorConfiguration.cs index 9a327f3e6f..6b51f277e1 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/DimensionExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/DimensionExtractorConfiguration.cs index 51590af2af..521afb2536 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/DimensionExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/DimensionExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/KoreanNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/KoreanNumberWithUnitExtractorConfiguration.cs index c3404c03ce..35202d8233 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/KoreanNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/KoreanNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/TemperatureExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/TemperatureExtractorConfiguration.cs index 43646b7281..1633fd6f6c 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/TemperatureExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Extractors/TemperatureExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/AgeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/AgeParserConfiguration.cs index b975a61953..01e161e556 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/AgeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/AgeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/CurrencyParserConfiguration.cs index abd4d745f3..d92f8fa061 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/DimensionParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/DimensionParserConfiguration.cs index a5122546d1..a1fd0882c8 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/DimensionParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/DimensionParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/KoreanNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/KoreanNumberWithUnitParserConfiguration.cs index 2cd631a541..87fe44132d 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/KoreanNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/KoreanNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Text.Number; using Microsoft.Recognizers.Text.Number.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/TemperatureParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/TemperatureParserConfiguration.cs index 097d74896c..01b95380f3 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/TemperatureParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Korean/Parsers/TemperatureParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using Microsoft.Recognizers.Definitions.Korean; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/AbstractNumberWithUnitModel.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/AbstractNumberWithUnitModel.cs index 6e382b616e..d0bea0b452 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/AbstractNumberWithUnitModel.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/AbstractNumberWithUnitModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/AgeModel.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/AgeModel.cs index 94a30d7620..c14c9532b3 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/AgeModel.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/AgeModel.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.NumberWithUnit { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/CurrencyModel.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/CurrencyModel.cs index 6e6e3fc0a4..7d9bc7f63a 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/CurrencyModel.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/CurrencyModel.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.NumberWithUnit { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/DimensionModel.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/DimensionModel.cs index 3c9fbccd37..f4c57f9b8c 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/DimensionModel.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/DimensionModel.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.NumberWithUnit { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/TemperatureModel.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/TemperatureModel.cs index 0cb79d6fc6..57aadfd02e 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/TemperatureModel.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Models/TemperatureModel.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.NumberWithUnit { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/NumberWithUnitOptions.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/NumberWithUnitOptions.cs index bb6ecd00b4..a07ddc491b 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/NumberWithUnitOptions.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/NumberWithUnitOptions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; namespace Microsoft.Recognizers.Text.NumberWithUnit { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/NumberWithUnitRecognizer.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/NumberWithUnitRecognizer.cs index a7b051d218..a4f403e9c1 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/NumberWithUnitRecognizer.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/NumberWithUnitRecognizer.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; namespace Microsoft.Recognizers.Text.NumberWithUnit diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/BaseCurrencyParser.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/BaseCurrencyParser.cs index a0277093b3..ec1dc6f153 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/BaseCurrencyParser.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/BaseCurrencyParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Text.NumberWithUnit.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/BaseMergedUnitParser.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/BaseMergedUnitParser.cs index 1db4c6b439..a4dced82f4 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/BaseMergedUnitParser.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/BaseMergedUnitParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; namespace Microsoft.Recognizers.Text.NumberWithUnit { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/CurrencyUnitValue.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/CurrencyUnitValue.cs index 1deddc1baf..110b8e2e3d 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/CurrencyUnitValue.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/CurrencyUnitValue.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.NumberWithUnit +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.NumberWithUnit { public class CurrencyUnitValue : UnitValue { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/INumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/INumberWithUnitParserConfiguration.cs index 1c6934171b..48ed845400 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/INumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/INumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/NumberWithUnitParser.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/NumberWithUnitParser.cs index 6b0c5c5d14..a77f1d5981 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/NumberWithUnitParser.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/NumberWithUnitParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/UnitValue.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/UnitValue.cs index 97f5e7db31..78d4def546 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/UnitValue.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Parsers/UnitValue.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.NumberWithUnit +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.NumberWithUnit { public class UnitValue { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/AgeExtractorConfiguration.cs index ba22e831e0..6f4a914066 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/AreaExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/AreaExtractorConfiguration.cs index cdf9218cd8..93eb561872 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/AreaExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/AreaExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/CurrencyExtractorConfiguration.cs index 4847fc3450..9ee6aecf41 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/DimensionExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/DimensionExtractorConfiguration.cs index 44f758e398..acd099dd87 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/DimensionExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/DimensionExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/LengthExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/LengthExtractorConfiguration.cs index bf2056dc97..ea021a85d8 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/LengthExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/LengthExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/PortugueseNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/PortugueseNumberWithUnitExtractorConfiguration.cs index fa082ad002..b441c64be8 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/PortugueseNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/PortugueseNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/SpeedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/SpeedExtractorConfiguration.cs index c1579a4ddf..415c027240 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/SpeedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/SpeedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/TemperatureExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/TemperatureExtractorConfiguration.cs index 10fc4e26c6..434c1eb730 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/TemperatureExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/TemperatureExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/VolumeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/VolumeExtractorConfiguration.cs index 56ba463562..88c6527f7d 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/VolumeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/VolumeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/WeightExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/WeightExtractorConfiguration.cs index 9efc8d6753..695ff97739 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/WeightExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Extractors/WeightExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/AgeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/AgeParserConfiguration.cs index b741bc3a8d..885e7c65f9 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/AgeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/AgeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Portuguese { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/AreaParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/AreaParserConfiguration.cs index a0e45dca90..d1ff1cc1c7 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/AreaParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/AreaParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Portuguese { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/CurrencyParserConfiguration.cs index b1f325957c..021e471873 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/DimensionParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/DimensionParserConfiguration.cs index ad1357f481..cf1006f011 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/DimensionParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/DimensionParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Portuguese { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/LengthParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/LengthParserConfiguration.cs index b940bfc288..5769e890a9 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/LengthParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/LengthParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Portuguese { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/PortugueseNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/PortugueseNumberWithUnitParserConfiguration.cs index 5cf1689e09..4d41d582ee 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/PortugueseNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/PortugueseNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Definitions.Portuguese; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/SpeedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/SpeedParserConfiguration.cs index cb4e705675..57f0cb758e 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/SpeedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/SpeedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Portuguese { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/TemperatureParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/TemperatureParserConfiguration.cs index 64fe6f7710..317fde887d 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/TemperatureParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/TemperatureParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Portuguese { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/VolumeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/VolumeParserConfiguration.cs index 321c19b845..1031727e3c 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/VolumeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/VolumeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Portuguese { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/WeightParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/WeightParserConfiguration.cs index 9359ced2e0..238076c3db 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/WeightParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Portuguese/Parsers/WeightParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Portuguese { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Properties/AssemblyInfo.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Properties/AssemblyInfo.cs index ef6b67494e..043c5d8754 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Properties/AssemblyInfo.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/AgeExtractorConfiguration.cs index abe8cd54e1..da49785b93 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/AreaExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/AreaExtractorConfiguration.cs index f1ae09ce62..80c4e76876 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/AreaExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/AreaExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/CurrencyExtractorConfiguration.cs index f8d828ad83..57bf83cbce 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/DimensionExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/DimensionExtractorConfiguration.cs index e907d91cb0..dfb311b241 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/DimensionExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/DimensionExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Linq; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/LengthExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/LengthExtractorConfiguration.cs index 7573f663aa..7f2b6d2259 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/LengthExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/LengthExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/SpanishNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/SpanishNumberWithUnitExtractorConfiguration.cs index 044e6e6d31..765474576f 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/SpanishNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/SpanishNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/SpeedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/SpeedExtractorConfiguration.cs index 7b5a878b0b..4dd6b9e3d1 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/SpeedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/SpeedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/TemperatureExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/TemperatureExtractorConfiguration.cs index bacab63d41..c130b1006c 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/TemperatureExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/TemperatureExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/VolumeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/VolumeExtractorConfiguration.cs index f5a9efb389..e886d5aa5e 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/VolumeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/VolumeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/WeightExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/WeightExtractorConfiguration.cs index c941f77188..7c87a1980d 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/WeightExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Extractors/WeightExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/AgeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/AgeParserConfiguration.cs index 6246173e0e..ae74fee138 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/AgeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/AgeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Spanish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/AreaParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/AreaParserConfiguration.cs index 68ac9b5d2d..d8e237f367 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/AreaParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/AreaParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Spanish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/CurrencyParserConfiguration.cs index cb1f42354a..90d3a62498 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/DimensionParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/DimensionParserConfiguration.cs index e2d67eaba6..798ccfbef9 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/DimensionParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/DimensionParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Spanish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/LengthParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/LengthParserConfiguration.cs index b6e5650e6f..f0828fffad 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/LengthParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/LengthParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Spanish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/SpanishNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/SpanishNumberWithUnitParserConfiguration.cs index e40fa7aa2a..5e79fb8a0f 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/SpanishNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/SpanishNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Definitions.Spanish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/SpeedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/SpeedParserConfiguration.cs index b8105106ed..4d0f307b12 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/SpeedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/SpeedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Spanish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/TemperatureParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/TemperatureParserConfiguration.cs index a13cce2cd3..67038012d5 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/TemperatureParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/TemperatureParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Spanish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/VolumeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/VolumeParserConfiguration.cs index fdd4a328ed..4186271853 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/VolumeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/VolumeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Spanish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/WeightParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/WeightParserConfiguration.cs index a8f774c4a4..0e8e6825e5 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/WeightParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Spanish/Parsers/WeightParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Spanish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/AgeExtractorConfiguration.cs index 3733dd8cd4..2ad44de47c 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Swedish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/AreaExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/AreaExtractorConfiguration.cs index 969e5943e8..e7740d1271 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/AreaExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/AreaExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Swedish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/CurrencyExtractorConfiguration.cs index e4d69b5174..04726fd623 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/DimensionExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/DimensionExtractorConfiguration.cs index 38d322d62b..f1f28a9690 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/DimensionExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/DimensionExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/LengthExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/LengthExtractorConfiguration.cs index 5324589cc7..3fa142a99b 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/LengthExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/LengthExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Swedish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/SpeedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/SpeedExtractorConfiguration.cs index 6a8059364d..7adaf76872 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/SpeedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/SpeedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Swedish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/SwedishNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/SwedishNumberWithUnitExtractorConfiguration.cs index 5310f2c0ee..9131b6013a 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/SwedishNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/SwedishNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/TemperatureExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/TemperatureExtractorConfiguration.cs index 692e883d09..af4ff47c8a 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/TemperatureExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/TemperatureExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/VolumeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/VolumeExtractorConfiguration.cs index 3c45654821..859fae0857 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/VolumeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/VolumeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Swedish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/WeightExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/WeightExtractorConfiguration.cs index 6e66529c4b..f62dd9390a 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/WeightExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Extractors/WeightExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Swedish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/AgeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/AgeParserConfiguration.cs index 2615704d8c..0e8a11ea25 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/AgeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/AgeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Swedish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/AreaParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/AreaParserConfiguration.cs index b77b8d49c2..d02db2b3fe 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/AreaParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/AreaParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Swedish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/CurrencyParserConfiguration.cs index 0548fee791..416db720c1 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Swedish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/DimensionParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/DimensionParserConfiguration.cs index 5495d7dc07..2b7beceb2a 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/DimensionParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/DimensionParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Swedish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/LengthParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/LengthParserConfiguration.cs index eaa4c56f03..475fe677a7 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/LengthParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/LengthParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Swedish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/SpeedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/SpeedParserConfiguration.cs index c5f5f23071..f1524738c0 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/SpeedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/SpeedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Swedish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/SwedishNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/SwedishNumberWithUnitParserConfiguration.cs index 9d01939cbc..f6cb1316fc 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/SwedishNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/SwedishNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Text.Number; using Microsoft.Recognizers.Text.Number.Swedish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/TemperatureParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/TemperatureParserConfiguration.cs index 7cd99d21ca..00880ebf3f 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/TemperatureParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/TemperatureParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Swedish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/VolumeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/VolumeParserConfiguration.cs index 5dac811554..8a8567369a 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/VolumeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/VolumeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Swedish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/WeightParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/WeightParserConfiguration.cs index 8d67e646e2..de16c8db07 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/WeightParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Swedish/Parsers/WeightParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Swedish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/AgeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/AgeExtractorConfiguration.cs index 19c37c7ea5..f8bed28dd4 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/AgeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/AgeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/AreaExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/AreaExtractorConfiguration.cs index 3d3f3f492e..809495f771 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/AreaExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/AreaExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/CurrencyExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/CurrencyExtractorConfiguration.cs index eef5df861d..bde89239c6 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/CurrencyExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/CurrencyExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/DimensionExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/DimensionExtractorConfiguration.cs index 5665b6902c..2bc1a86437 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/DimensionExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/DimensionExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/LengthExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/LengthExtractorConfiguration.cs index f43c77a4c9..57374a13ab 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/LengthExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/LengthExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/SpeedExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/SpeedExtractorConfiguration.cs index d55243e7f4..9f1ea86f74 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/SpeedExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/SpeedExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/TemperatureExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/TemperatureExtractorConfiguration.cs index ff671d8009..14484bf1c5 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/TemperatureExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/TemperatureExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/TurkishNumberWithUnitExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/TurkishNumberWithUnitExtractorConfiguration.cs index 97c59a793b..944f090fa3 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/TurkishNumberWithUnitExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/TurkishNumberWithUnitExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Globalization; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/VolumeExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/VolumeExtractorConfiguration.cs index a1901dba2f..1719412b12 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/VolumeExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/VolumeExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/WeightExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/WeightExtractorConfiguration.cs index 0b8876c891..f5006b542f 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/WeightExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Extractors/WeightExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/AgeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/AgeParserConfiguration.cs index f37cfe0f6b..b16e2afa80 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/AgeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/AgeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Turkish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/AreaParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/AreaParserConfiguration.cs index b7fa4bf2f0..20221ae7ef 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/AreaParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/AreaParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Turkish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/CurrencyParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/CurrencyParserConfiguration.cs index 4bc61dcc43..361b95d2ea 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/CurrencyParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/CurrencyParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Immutable; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Immutable; using System.Globalization; using Microsoft.Recognizers.Definitions.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/DimensionParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/DimensionParserConfiguration.cs index b8b0252e57..a9e3788a99 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/DimensionParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/DimensionParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Turkish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/LengthParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/LengthParserConfiguration.cs index d1d5ee337f..d77d592b0f 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/LengthParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/LengthParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Turkish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/SpeedParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/SpeedParserConfiguration.cs index bf0c905638..02ed68f49a 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/SpeedParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/SpeedParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Turkish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/TemperatureParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/TemperatureParserConfiguration.cs index 5c58a8eff8..5cbad9f76b 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/TemperatureParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/TemperatureParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Turkish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/TurkishNumberWithUnitParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/TurkishNumberWithUnitParserConfiguration.cs index e4e3760859..94bc9b94c7 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/TurkishNumberWithUnitParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/TurkishNumberWithUnitParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Globalization; using Microsoft.Recognizers.Text.Number; using Microsoft.Recognizers.Text.Number.Turkish; diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/VolumeParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/VolumeParserConfiguration.cs index b183809e24..5de9ffdb09 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/VolumeParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/VolumeParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Turkish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/WeightParserConfiguration.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/WeightParserConfiguration.cs index 845cc41558..205e369f55 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/WeightParserConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Turkish/Parsers/WeightParserConfiguration.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; namespace Microsoft.Recognizers.Text.NumberWithUnit.Turkish { diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Utilities/DictionaryUtils.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Utilities/DictionaryUtils.cs index bb84d13e49..7f7dd8ea7a 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Utilities/DictionaryUtils.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Utilities/DictionaryUtils.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; namespace Microsoft.Recognizers.Text.NumberWithUnit.Utilities diff --git a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Utilities/StringComparer.cs b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Utilities/StringComparer.cs index ace0fd300e..3e1f73486b 100644 --- a/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Utilities/StringComparer.cs +++ b/.NET/Microsoft.Recognizers.Text.NumberWithUnit/Utilities/StringComparer.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; namespace Microsoft.Recognizers.Text.NumberWithUnit diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChineseIpExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChineseIpExtractorConfiguration.cs index 1127d7a866..28739a327d 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChineseIpExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChineseIpExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChinesePhoneNumberExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChinesePhoneNumberExtractorConfiguration.cs index d227d923e8..83aaba0c36 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChinesePhoneNumberExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChinesePhoneNumberExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChineseQuotedTextExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChineseQuotedTextExtractorConfiguration.cs index 556daa6797..cf2a9e69d5 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChineseQuotedTextExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChineseQuotedTextExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChineseURLExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChineseURLExtractorConfiguration.cs index 9c3f8933c3..1df5e0423e 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChineseURLExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Chinese/Extractors/ChineseURLExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Chinese; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Config/BaseSequenceConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Config/BaseSequenceConfiguration.cs index 232400ca0f..e978a79944 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Config/BaseSequenceConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Config/BaseSequenceConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence { public class BaseSequenceConfiguration : ISequenceConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Config/ISequenceConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Config/ISequenceConfiguration.cs index b32b883d60..8e536182e7 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Config/ISequenceConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Config/ISequenceConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence { public interface ISequenceConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Config/IpConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Config/IpConfiguration.cs index f50cacf278..8c719eccee 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Config/IpConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Config/IpConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.Sequence { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Config/PhoneNumberConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Config/PhoneNumberConfiguration.cs index 0513be7eb4..d0d93f381d 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Config/PhoneNumberConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Config/PhoneNumberConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.Sequence diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Config/QuotedTextConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Config/QuotedTextConfiguration.cs index 5c9113b1a5..f4d48c081a 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Config/QuotedTextConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Config/QuotedTextConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.Sequence diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Config/URLConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Config/URLConfiguration.cs index 300e666baf..b4062902bb 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Config/URLConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Config/URLConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.Sequence { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Constants.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Constants.cs index 1bf295f55e..ea4e55f3e1 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Constants.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Constants.cs @@ -1,4 +1,7 @@ -using System.Diagnostics.CodeAnalysis; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Diagnostics.CodeAnalysis; namespace Microsoft.Recognizers.Text.Sequence { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Dutch/DutchPhoneNumberExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Dutch/DutchPhoneNumberExtractorConfiguration.cs index 3e5c0f01a6..51ca8fbe9b 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Dutch/DutchPhoneNumberExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Dutch/DutchPhoneNumberExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; namespace Microsoft.Recognizers.Text.Sequence.Dutch diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Dutch/DutchQuotedTextExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Dutch/DutchQuotedTextExtractorConfiguration.cs index ec1a4b12ae..d83821b10d 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Dutch/DutchQuotedTextExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Dutch/DutchQuotedTextExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Dutch; namespace Microsoft.Recognizers.Text.Sequence.Dutch diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EmailExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EmailExtractor.cs index 04f15ba380..cb1cc2911a 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EmailExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EmailExtractor.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence.English +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence.English { public class EmailExtractor : BaseEmailExtractor diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishIpExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishIpExtractorConfiguration.cs index 20449768ad..59ad49b439 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishIpExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishIpExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; namespace Microsoft.Recognizers.Text.Sequence.English diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishPhoneNumberExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishPhoneNumberExtractorConfiguration.cs index 00a38e352b..bc1c736502 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishPhoneNumberExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishPhoneNumberExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; namespace Microsoft.Recognizers.Text.Sequence.English diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishQuotedTextExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishQuotedTextExtractorConfiguration.cs index 4f572c29e4..efda7dff18 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishQuotedTextExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishQuotedTextExtractorConfiguration.cs @@ -1,5 +1,7 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.English; namespace Microsoft.Recognizers.Text.Sequence.English diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishURLExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishURLExtractorConfiguration.cs index 79771d02fb..a5fe7504d7 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishURLExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/EnglishURLExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; namespace Microsoft.Recognizers.Text.Sequence.English diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/GUIDExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/GUIDExtractor.cs index 0e114636fe..b934e97e9e 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/GUIDExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/GUIDExtractor.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence.English +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence.English { public class GUIDExtractor : BaseGUIDExtractor { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/HashTagExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/HashTagExtractor.cs index ac8b4a640b..3ac8880e16 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/HashTagExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/HashTagExtractor.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence.English +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence.English { public class HashtagExtractor : BaseHashtagExtractor { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/MentionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/MentionExtractor.cs index 499d96d56b..fe83ea94a7 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/MentionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Extractors/MentionExtractor.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence.English +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence.English { public class MentionExtractor : BaseMentionExtractor { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/EmailParser.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/EmailParser.cs index 994d28831c..4925a148c9 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/EmailParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/EmailParser.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence.English +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence.English { public class EmailParser : BaseSequenceParser { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/GUIDParser.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/GUIDParser.cs index 15637bef64..0d12931afa 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/GUIDParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/GUIDParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/HashTagParser.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/HashTagParser.cs index c310b5d27e..4363d93059 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/HashTagParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/HashTagParser.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence.English +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence.English { public class HashtagParser : BaseSequenceParser { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/IpParser.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/IpParser.cs index 657de85bbb..e8bd883d3c 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/IpParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/IpParser.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence.English +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence.English { public class IpParser : BaseIpParser { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/MentionParser.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/MentionParser.cs index aa236f19cb..d1857811d7 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/MentionParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/MentionParser.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence.English +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence.English { public class MentionParser : BaseSequenceParser { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/PhoneNumberParser.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/PhoneNumberParser.cs index 99ed463563..aedde3762b 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/PhoneNumberParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/PhoneNumberParser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Linq; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/QuotedTextParser.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/QuotedTextParser.cs index 3877de7f07..2010bc8622 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/QuotedTextParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/QuotedTextParser.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence.English +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence.English { public class QuotedTextParser : BaseSequenceParser { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/URLParser.cs b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/URLParser.cs index 192e2ab097..f77f140d86 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/URLParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/English/Parsers/URLParser.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence.English +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence.English { public class URLParser : BaseSequenceParser { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseEmailExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseEmailExtractor.cs index ffe33ffd26..87aaa968e6 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseEmailExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseEmailExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseGUIDExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseGUIDExtractor.cs index b75005309a..6d68717cd8 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseGUIDExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseGUIDExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseHashTagExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseHashTagExtractor.cs index 44e6c5866b..cf93b1c6e3 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseHashTagExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseHashTagExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseIpExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseIpExtractor.cs index 5c8541b426..e822caa57f 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseIpExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseIpExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseMentionExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseMentionExtractor.cs index caa6630866..6d99013712 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseMentionExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseMentionExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BasePhoneNumberExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BasePhoneNumberExtractor.cs index 8f5316f61e..806286be3f 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BasePhoneNumberExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BasePhoneNumberExtractor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BasePhoneNumberExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BasePhoneNumberExtractorConfiguration.cs index 63cc48bc71..3fe8a8e81f 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BasePhoneNumberExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BasePhoneNumberExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions; using Microsoft.Recognizers.Definitions.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseQuotedTextExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseQuotedTextExtractor.cs index e6fff3cbb4..ac8cb2b197 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseQuotedTextExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseQuotedTextExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseSequenceExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseSequenceExtractor.cs index 4535dd59a9..c2444ed673 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseSequenceExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseSequenceExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseURLExtractor.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseURLExtractor.cs index ceee5ff7a3..378dd0f37c 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseURLExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Extractors/BaseURLExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/French/FrenchPhoneNumberExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/French/FrenchPhoneNumberExtractorConfiguration.cs index be6d90ee96..cbb51a8e25 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/French/FrenchPhoneNumberExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/French/FrenchPhoneNumberExtractorConfiguration.cs @@ -1,5 +1,5 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions.French; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Recognizers.Text.Sequence.French { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/French/FrenchQuotedTextExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/French/FrenchQuotedTextExtractorConfiguration.cs index d70f8b2656..b98ae983f2 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/French/FrenchQuotedTextExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/French/FrenchQuotedTextExtractorConfiguration.cs @@ -1,5 +1,7 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.French; namespace Microsoft.Recognizers.Text.Sequence.French diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/German/GermanPhoneNumberExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/German/GermanPhoneNumberExtractorConfiguration.cs index 09384761ad..b9aa978d78 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/German/GermanPhoneNumberExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/German/GermanPhoneNumberExtractorConfiguration.cs @@ -1,5 +1,5 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions.German; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Recognizers.Text.Sequence.German { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/German/GermanQuotedTextExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/German/GermanQuotedTextExtractorConfiguration.cs index e760aa1beb..d65f89666d 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/German/GermanQuotedTextExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/German/GermanQuotedTextExtractorConfiguration.cs @@ -1,5 +1,7 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.German; namespace Microsoft.Recognizers.Text.Sequence.German diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Hindi/HindiPhoneNumberExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Hindi/HindiPhoneNumberExtractorConfiguration.cs index 4d4cae15ec..220e0d9e6a 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Hindi/HindiPhoneNumberExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Hindi/HindiPhoneNumberExtractorConfiguration.cs @@ -1,5 +1,5 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions.Hindi; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Recognizers.Text.Sequence.Hindi { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Hindi/HindiQuotedTextExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Hindi/HindiQuotedTextExtractorConfiguration.cs index db2f787ead..a0a590fbc8 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Hindi/HindiQuotedTextExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Hindi/HindiQuotedTextExtractorConfiguration.cs @@ -1,5 +1,7 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Hindi; namespace Microsoft.Recognizers.Text.Sequence.Hindi diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Italian/ItalianPhoneNumberExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Italian/ItalianPhoneNumberExtractorConfiguration.cs index d46dbdb01f..ee4fd5c708 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Italian/ItalianPhoneNumberExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Italian/ItalianPhoneNumberExtractorConfiguration.cs @@ -1,5 +1,5 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions.Italian; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Recognizers.Text.Sequence.Italian { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Italian/ItalianQuotedTextExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Italian/ItalianQuotedTextExtractorConfiguration.cs index 72fffd59d7..869eec77a8 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Italian/ItalianQuotedTextExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Italian/ItalianQuotedTextExtractorConfiguration.cs @@ -1,5 +1,7 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Italian; namespace Microsoft.Recognizers.Text.Sequence.Italian diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Japanese/JapaneseQuotedTextExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Japanese/JapaneseQuotedTextExtractorConfiguration.cs index b766d91251..1df2db6cf8 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Japanese/JapaneseQuotedTextExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Japanese/JapaneseQuotedTextExtractorConfiguration.cs @@ -1,5 +1,7 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Japanese; namespace Microsoft.Recognizers.Text.Sequence.Japanese @@ -7,7 +9,7 @@ namespace Microsoft.Recognizers.Text.Sequence.Japanese public class JapaneseQuotedTextExtractorConfiguration : QuotedTextConfiguration { public JapaneseQuotedTextExtractorConfiguration(SequenceOptions options) - : base(options) + : base(options) { QuotedTextRegex1 = new Regex(QuotedTextDefinitions.QuotedTextRegex1, RegexOptions.Compiled); QuotedTextRegex2 = new Regex(QuotedTextDefinitions.QuotedTextRegex2, RegexOptions.Compiled); diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Korean/KoreanPhoneNumberExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Korean/KoreanPhoneNumberExtractorConfiguration.cs index 3e72387761..e8faafe5dd 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Korean/KoreanPhoneNumberExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Korean/KoreanPhoneNumberExtractorConfiguration.cs @@ -1,5 +1,5 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions.Korean; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Recognizers.Text.Sequence.Korean { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Korean/KoreanQuotedTextExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Korean/KoreanQuotedTextExtractorConfiguration.cs index beacd379eb..688a3b4cbd 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Korean/KoreanQuotedTextExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Korean/KoreanQuotedTextExtractorConfiguration.cs @@ -1,5 +1,7 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Korean; namespace Microsoft.Recognizers.Text.Sequence.Korean @@ -7,7 +9,7 @@ namespace Microsoft.Recognizers.Text.Sequence.Korean public class KoreanQuotedTextExtractorConfiguration : QuotedTextConfiguration { public KoreanQuotedTextExtractorConfiguration(SequenceOptions options) - : base(options) + : base(options) { QuotedTextRegex1 = new Regex(QuotedTextDefinitions.QuotedTextRegex1, RegexOptions.Compiled); QuotedTextRegex2 = new Regex(QuotedTextDefinitions.QuotedTextRegex2, RegexOptions.Compiled); diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Models/AbstractSequenceModel.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Models/AbstractSequenceModel.cs index cb3fcccebe..c48dcc7473 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Models/AbstractSequenceModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Models/AbstractSequenceModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Models/EmailModel.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Models/EmailModel.cs index 6e4f275aa1..aeded0f5a7 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Models/EmailModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Models/EmailModel.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence { public class EmailModel : AbstractSequenceModel { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Models/GUIDModel.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Models/GUIDModel.cs index 00716a7fbd..c83bd15be8 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Models/GUIDModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Models/GUIDModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Models/HashTagModel.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Models/HashTagModel.cs index c7c33c3428..3baa5f8d4e 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Models/HashTagModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Models/HashTagModel.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence { public class HashtagModel : AbstractSequenceModel { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Models/IpAddressModel.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Models/IpAddressModel.cs index 03c57f1888..775c4039b9 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Models/IpAddressModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Models/IpAddressModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Models/MentionModel.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Models/MentionModel.cs index e0e75c9452..d3683bfbda 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Models/MentionModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Models/MentionModel.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence { public class MentionModel : AbstractSequenceModel { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Models/PhoneNumberModel.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Models/PhoneNumberModel.cs index 487c3b3c32..43fab1733d 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Models/PhoneNumberModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Models/PhoneNumberModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using Microsoft.Recognizers.Text.Utilities; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Models/QuotedTextModel.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Models/QuotedTextModel.cs index b21bacc454..d9bb9c0376 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Models/QuotedTextModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Models/QuotedTextModel.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence { public class QuotedTextModel : AbstractSequenceModel { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Models/URLModel.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Models/URLModel.cs index 7ec87926eb..d9fb9bc890 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Models/URLModel.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Models/URLModel.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence { public class URLModel : AbstractSequenceModel { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Parsers/BaseIpParser.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Parsers/BaseIpParser.cs index 7e135641f1..b20c5b516d 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Parsers/BaseIpParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Parsers/BaseIpParser.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence { public class BaseIpParser : BaseSequenceParser { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Parsers/BaseSequenceParser.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Parsers/BaseSequenceParser.cs index a298fe28b4..8bfec48e5a 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Parsers/BaseSequenceParser.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Parsers/BaseSequenceParser.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Sequence +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Sequence { public class BaseSequenceParser : IParser { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Portuguese/PortuguesePhoneNumberExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Portuguese/PortuguesePhoneNumberExtractorConfiguration.cs index 82253d020a..b0a54b6ab8 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Portuguese/PortuguesePhoneNumberExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Portuguese/PortuguesePhoneNumberExtractorConfiguration.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; namespace Microsoft.Recognizers.Text.Sequence.Portuguese diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Portuguese/PortugueseQuotedTextExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Portuguese/PortugueseQuotedTextExtractorConfiguration.cs index e20566d094..7330daa681 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Portuguese/PortugueseQuotedTextExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Portuguese/PortugueseQuotedTextExtractorConfiguration.cs @@ -1,5 +1,7 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Portuguese; namespace Microsoft.Recognizers.Text.Sequence.Portuguese diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/SequenceOptions.cs b/.NET/Microsoft.Recognizers.Text.Sequence/SequenceOptions.cs index 386959997c..8911891676 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/SequenceOptions.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/SequenceOptions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; namespace Microsoft.Recognizers.Text.Sequence { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/SequenceRecognizer.cs b/.NET/Microsoft.Recognizers.Text.Sequence/SequenceRecognizer.cs index a955d89995..2892194338 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/SequenceRecognizer.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/SequenceRecognizer.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using Microsoft.Recognizers.Text.Sequence.Chinese; using Microsoft.Recognizers.Text.Sequence.Dutch; diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Spanish/SpanishPhoneNumberExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Spanish/SpanishPhoneNumberExtractorConfiguration.cs index 6b196de6d9..f1b805852b 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Spanish/SpanishPhoneNumberExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Spanish/SpanishPhoneNumberExtractorConfiguration.cs @@ -1,5 +1,5 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions.Spanish; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Recognizers.Text.Sequence.Spanish { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Spanish/SpanishQuotedTextExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Spanish/SpanishQuotedTextExtractorConfiguration.cs index 524127b080..f8dc1dd658 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Spanish/SpanishQuotedTextExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Spanish/SpanishQuotedTextExtractorConfiguration.cs @@ -1,5 +1,7 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Spanish; namespace Microsoft.Recognizers.Text.Sequence.Spanish diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Turkish/TurkishPhoneNumberExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Turkish/TurkishPhoneNumberExtractorConfiguration.cs index 7d053120d5..8a1d6e4fa4 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Turkish/TurkishPhoneNumberExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Turkish/TurkishPhoneNumberExtractorConfiguration.cs @@ -1,5 +1,5 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions.Turkish; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. namespace Microsoft.Recognizers.Text.Sequence.Turkish { diff --git a/.NET/Microsoft.Recognizers.Text.Sequence/Turkish/TurkishQuotedTextExtractorConfiguration.cs b/.NET/Microsoft.Recognizers.Text.Sequence/Turkish/TurkishQuotedTextExtractorConfiguration.cs index 5d2c79c14c..b6cfc7ba0a 100644 --- a/.NET/Microsoft.Recognizers.Text.Sequence/Turkish/TurkishQuotedTextExtractorConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text.Sequence/Turkish/TurkishQuotedTextExtractorConfiguration.cs @@ -1,5 +1,7 @@ -using System.Text.RegularExpressions; -using Microsoft.Recognizers.Definitions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; using Microsoft.Recognizers.Definitions.Turkish; namespace Microsoft.Recognizers.Text.Sequence.Turkish diff --git a/.NET/Microsoft.Recognizers.Text.sln b/.NET/Microsoft.Recognizers.Text.sln index c862628c2f..c5a686876a 100644 --- a/.NET/Microsoft.Recognizers.Text.sln +++ b/.NET/Microsoft.Recognizers.Text.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27130.2026 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31402.337 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{ED7B6456-AB0A-48CE-8F85-711FE87F09C2}" EndProject @@ -76,8 +76,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Patterns", "Patterns", "{23 ..\Patterns\Japanese\Japanese-QuotedText.yaml = ..\Patterns\Japanese\Japanese-QuotedText.yaml ..\Patterns\Korean\Korean-DateTime.yaml = ..\Patterns\Korean\Korean-DateTime.yaml ..\Patterns\Korean\Korean-Numbers.yaml = ..\Patterns\Korean\Korean-Numbers.yaml - ..\Patterns\Korean\Korean-QuotedText.yaml = ..\Patterns\Korean\Korean-QuotedText.yaml ..\Patterns\Korean\Korean-NumbersWithUnit.yaml = ..\Patterns\Korean\Korean-NumbersWithUnit.yaml + ..\Patterns\Korean\Korean-QuotedText.yaml = ..\Patterns\Korean\Korean-QuotedText.yaml ..\Patterns\Portuguese\Portuguese-Choice.yaml = ..\Patterns\Portuguese\Portuguese-Choice.yaml ..\Patterns\Portuguese\Portuguese-DateTime.yaml = ..\Patterns\Portuguese\Portuguese-DateTime.yaml ..\Patterns\Portuguese\Portuguese-Numbers.yaml = ..\Patterns\Portuguese\Portuguese-Numbers.yaml @@ -740,8 +740,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Korean", "Korean", "{2F41FB ..\Specs\DateTime\Korean\DatePeriodExtractor.json = ..\Specs\DateTime\Korean\DatePeriodExtractor.json ..\Specs\DateTime\Korean\DatePeriodParser.json = ..\Specs\DateTime\Korean\DatePeriodParser.json ..\Specs\DateTime\Korean\DateTimeExtractor.json = ..\Specs\DateTime\Korean\DateTimeExtractor.json - ..\Specs\DateTime\Korean\DateTimeParser.json = ..\Specs\DateTime\Korean\DateTimeParser.json ..\Specs\DateTime\Korean\DateTimeModel.json = ..\Specs\DateTime\Korean\DateTimeModel.json + ..\Specs\DateTime\Korean\DateTimeParser.json = ..\Specs\DateTime\Korean\DateTimeParser.json ..\Specs\DateTime\Korean\DateTimePeriodExtractor.json = ..\Specs\DateTime\Korean\DateTimePeriodExtractor.json ..\Specs\DateTime\Korean\DateTimePeriodParser.json = ..\Specs\DateTime\Korean\DateTimePeriodParser.json ..\Specs\DateTime\Korean\DurationExtractor.json = ..\Specs\DateTime\Korean\DurationExtractor.json diff --git a/.NET/Microsoft.Recognizers.Text.sln.DotSettings b/.NET/Microsoft.Recognizers.Text.sln.DotSettings index a2cabc1024..dc7609b36c 100644 --- a/.NET/Microsoft.Recognizers.Text.sln.DotSettings +++ b/.NET/Microsoft.Recognizers.Text.sln.DotSettings @@ -1,5 +1,12 @@  + <?xml version="1.0" encoding="utf-16"?><Profile name="Add Headers"><CSCodeStyleAttributes ArrangeTypeAccessModifier="False" ArrangeTypeMemberAccessModifier="False" SortModifiers="False" RemoveRedundantParentheses="False" AddMissingParentheses="False" ArrangeBraces="False" ArrangeAttributes="False" ArrangeArgumentsStyle="False" ArrangeCodeBodyStyle="False" ArrangeVarStyle="False" ArrangeTrailingCommas="False" ArrangeObjectCreation="False" ArrangeDefaultValue="False" /><CSOptimizeUsings><OptimizeUsings>False</OptimizeUsings><EmbraceInRegion>False</EmbraceInRegion><RegionName></RegionName></CSOptimizeUsings><XAMLCollapseEmptyTags>False</XAMLCollapseEmptyTags><CSUpdateFileHeader>True</CSUpdateFileHeader></Profile> + Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the MIT License. + + True True + True + True True True True @@ -7,16 +14,24 @@ True True True + True + True True + True True True True True True True + True + True True + True True True + True True + True True True \ No newline at end of file diff --git a/.NET/Microsoft.Recognizers.Text/Config/IConfiguration.cs b/.NET/Microsoft.Recognizers.Text/Config/IConfiguration.cs index 8672c947ad..e44a392f90 100644 --- a/.NET/Microsoft.Recognizers.Text/Config/IConfiguration.cs +++ b/.NET/Microsoft.Recognizers.Text/Config/IConfiguration.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text { public interface IConfiguration { diff --git a/.NET/Microsoft.Recognizers.Text/Constants.cs b/.NET/Microsoft.Recognizers.Text/Constants.cs index 2f28803c89..165b919500 100644 --- a/.NET/Microsoft.Recognizers.Text/Constants.cs +++ b/.NET/Microsoft.Recognizers.Text/Constants.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text { public static class Constants { diff --git a/.NET/Microsoft.Recognizers.Text/Culture.cs b/.NET/Microsoft.Recognizers.Text/Culture.cs index dbe320c103..385087b47f 100644 --- a/.NET/Microsoft.Recognizers.Text/Culture.cs +++ b/.NET/Microsoft.Recognizers.Text/Culture.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Linq; namespace Microsoft.Recognizers.Text diff --git a/.NET/Microsoft.Recognizers.Text/Extractors/IExtractor.cs b/.NET/Microsoft.Recognizers.Text/Extractors/IExtractor.cs index e1894ab8fd..c2337313b5 100644 --- a/.NET/Microsoft.Recognizers.Text/Extractors/IExtractor.cs +++ b/.NET/Microsoft.Recognizers.Text/Extractors/IExtractor.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using Microsoft.Recognizers.Text.InternalCache; diff --git a/.NET/Microsoft.Recognizers.Text/Extractors/Metadata.cs b/.NET/Microsoft.Recognizers.Text/Extractors/Metadata.cs index b1b3e1b408..67c0b383b1 100644 --- a/.NET/Microsoft.Recognizers.Text/Extractors/Metadata.cs +++ b/.NET/Microsoft.Recognizers.Text/Extractors/Metadata.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text { public class Metadata { diff --git a/.NET/Microsoft.Recognizers.Text/InternalCache/ICloneableType.cs b/.NET/Microsoft.Recognizers.Text/InternalCache/ICloneableType.cs index 81e76b858a..6e3255ac95 100644 --- a/.NET/Microsoft.Recognizers.Text/InternalCache/ICloneableType.cs +++ b/.NET/Microsoft.Recognizers.Text/InternalCache/ICloneableType.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.InternalCache +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.InternalCache { public interface ICloneableType { diff --git a/.NET/Microsoft.Recognizers.Text/InternalCache/ResultsCache.cs b/.NET/Microsoft.Recognizers.Text/InternalCache/ResultsCache.cs index 37f7e3893e..b358b66096 100644 --- a/.NET/Microsoft.Recognizers.Text/InternalCache/ResultsCache.cs +++ b/.NET/Microsoft.Recognizers.Text/InternalCache/ResultsCache.cs @@ -1,4 +1,7 @@ -// ReSharper disable StaticMemberInGenericType +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// ReSharper disable StaticMemberInGenericType using System; using System.Collections.Generic; diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/AaNode.cs b/.NET/Microsoft.Recognizers.Text/Matcher/AaNode.cs index 06892ab764..b1d1679224 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/AaNode.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/AaNode.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; namespace Microsoft.Recognizers.Text.Matcher diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/AbstractMatcher.cs b/.NET/Microsoft.Recognizers.Text/Matcher/AbstractMatcher.cs index 7d909cbf2c..8e7b0e9fc7 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/AbstractMatcher.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/AbstractMatcher.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/AcAutomaton.cs b/.NET/Microsoft.Recognizers.Text/Matcher/AcAutomaton.cs index 7b2c5098f0..b0a74ddb8f 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/AcAutomaton.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/AcAutomaton.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; namespace Microsoft.Recognizers.Text.Matcher diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/IMatcher.cs b/.NET/Microsoft.Recognizers.Text/Matcher/IMatcher.cs index b493425bcb..a2549d8a9b 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/IMatcher.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/IMatcher.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Matcher { diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/ITokenizer.cs b/.NET/Microsoft.Recognizers.Text/Matcher/ITokenizer.cs index 8ceccce280..74190e420f 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/ITokenizer.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/ITokenizer.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Matcher { diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/MatchResult.cs b/.NET/Microsoft.Recognizers.Text/Matcher/MatchResult.cs index 85420cae64..88cb54717d 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/MatchResult.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/MatchResult.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Matcher { diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/MatchStrategy.cs b/.NET/Microsoft.Recognizers.Text/Matcher/MatchStrategy.cs index 5411d0e19e..6498244795 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/MatchStrategy.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/MatchStrategy.cs @@ -1,9 +1,12 @@ -namespace Microsoft.Recognizers.Text.Matcher +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Matcher { public enum MatchStrategy { /// - /// AcAtomaton + /// AcAutomaton /// AcAutomaton, diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/Node.cs b/.NET/Microsoft.Recognizers.Text/Matcher/Node.cs index 1c21766721..e9b766026b 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/Node.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/Node.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; namespace Microsoft.Recognizers.Text.Matcher diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/NumberWithUnitTokenizer.cs b/.NET/Microsoft.Recognizers.Text/Matcher/NumberWithUnitTokenizer.cs index f44e34f414..a29683860b 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/NumberWithUnitTokenizer.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/NumberWithUnitTokenizer.cs @@ -1,10 +1,13 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Matcher { public class NumberWithUnitTokenizer : SimpleTokenizer { - private static HashSet specialTokenCharacters = new HashSet { '$' }; + private static readonly HashSet SpecialTokenCharacters = new HashSet { '$' }; /* The main difference between this strategy and SimpleTokenizer is for cases like * 'Bob's $ 100 cash'. 's' and '$' are independent tokens in SimpleTokenizer. @@ -24,7 +27,9 @@ public override List Tokenize(string input) bool inToken = false; int tokenStart = 0; + var chars = input.ToCharArray(); + for (int i = 0; i < chars.Length; i++) { var c = chars[i]; @@ -36,7 +41,7 @@ public override List Tokenize(string input) inToken = false; } } - else if ((!specialTokenCharacters.Contains(c) && !char.IsLetterOrDigit(c)) || IsCjk(c)) + else if ((!SpecialTokenCharacters.Contains(c) && !char.IsLetterOrDigit(c)) || IsCjk(c)) { // Non-splittable currency units (as "$") are treated as regular letters. For instance, 'us$' should be a single token if (inToken) @@ -85,7 +90,7 @@ private bool IsSplittableUnit(char curChar, char preChar) } // Non-splittable currency units can't be mixed with digits. For example, '$100' or '100$' will be tokenized to '$' and '100', '1$50' will be tokenized to '1', '$', and '50' - if ((char.IsDigit(curChar) && specialTokenCharacters.Contains(preChar)) || (specialTokenCharacters.Contains(curChar) && char.IsDigit(preChar))) + if ((char.IsDigit(curChar) && SpecialTokenCharacters.Contains(preChar)) || (SpecialTokenCharacters.Contains(curChar) && char.IsDigit(preChar))) { return true; } diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/SimpleTokenizer.cs b/.NET/Microsoft.Recognizers.Text/Matcher/SimpleTokenizer.cs index e8a69e64a1..5e83005347 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/SimpleTokenizer.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/SimpleTokenizer.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text.Matcher { diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/StringMatcher.cs b/.NET/Microsoft.Recognizers.Text/Matcher/StringMatcher.cs index be84d43b6f..57a9e45247 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/StringMatcher.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/StringMatcher.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/Token.cs b/.NET/Microsoft.Recognizers.Text/Matcher/Token.cs index 584b1fa8cb..2e8f4ab898 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/Token.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/Token.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text.Matcher +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text.Matcher { public class Token { diff --git a/.NET/Microsoft.Recognizers.Text/Matcher/TrieTree.cs b/.NET/Microsoft.Recognizers.Text/Matcher/TrieTree.cs index 70d5d23dce..9c68e32cf1 100644 --- a/.NET/Microsoft.Recognizers.Text/Matcher/TrieTree.cs +++ b/.NET/Microsoft.Recognizers.Text/Matcher/TrieTree.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; using System.Linq; namespace Microsoft.Recognizers.Text.Matcher diff --git a/.NET/Microsoft.Recognizers.Text/Microsoft.Recognizers.Text.xml b/.NET/Microsoft.Recognizers.Text/Microsoft.Recognizers.Text.xml index aac2d96963..19be60ddf1 100644 --- a/.NET/Microsoft.Recognizers.Text/Microsoft.Recognizers.Text.xml +++ b/.NET/Microsoft.Recognizers.Text/Microsoft.Recognizers.Text.xml @@ -6,7 +6,7 @@ - AcAtomaton + AcAutomaton diff --git a/.NET/Microsoft.Recognizers.Text/ModelFactory.cs b/.NET/Microsoft.Recognizers.Text/ModelFactory.cs index 61c21ce2ca..8d6b12d6a4 100644 --- a/.NET/Microsoft.Recognizers.Text/ModelFactory.cs +++ b/.NET/Microsoft.Recognizers.Text/ModelFactory.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; diff --git a/.NET/Microsoft.Recognizers.Text/Models/ExtendedModelResult.cs b/.NET/Microsoft.Recognizers.Text/Models/ExtendedModelResult.cs index 32a0e65d7a..fa5607dcf9 100644 --- a/.NET/Microsoft.Recognizers.Text/Models/ExtendedModelResult.cs +++ b/.NET/Microsoft.Recognizers.Text/Models/ExtendedModelResult.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text { public class ExtendedModelResult : ModelResult { diff --git a/.NET/Microsoft.Recognizers.Text/Models/IModel.cs b/.NET/Microsoft.Recognizers.Text/Models/IModel.cs index 609ee810e4..0cb7315cb7 100644 --- a/.NET/Microsoft.Recognizers.Text/Models/IModel.cs +++ b/.NET/Microsoft.Recognizers.Text/Models/IModel.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text { diff --git a/.NET/Microsoft.Recognizers.Text/Models/ModelResult.cs b/.NET/Microsoft.Recognizers.Text/Models/ModelResult.cs index 48f16ab75b..fee2a85851 100644 --- a/.NET/Microsoft.Recognizers.Text/Models/ModelResult.cs +++ b/.NET/Microsoft.Recognizers.Text/Models/ModelResult.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Collections.Generic; namespace Microsoft.Recognizers.Text { diff --git a/.NET/Microsoft.Recognizers.Text/Models/ResolutionKey.cs b/.NET/Microsoft.Recognizers.Text/Models/ResolutionKey.cs index f78a835e74..08870df770 100644 --- a/.NET/Microsoft.Recognizers.Text/Models/ResolutionKey.cs +++ b/.NET/Microsoft.Recognizers.Text/Models/ResolutionKey.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text { public static class ResolutionKey { diff --git a/.NET/Microsoft.Recognizers.Text/Parsers/IParser.cs b/.NET/Microsoft.Recognizers.Text/Parsers/IParser.cs index 6f6f0d4dc3..f02eb72409 100644 --- a/.NET/Microsoft.Recognizers.Text/Parsers/IParser.cs +++ b/.NET/Microsoft.Recognizers.Text/Parsers/IParser.cs @@ -1,4 +1,7 @@ -namespace Microsoft.Recognizers.Text +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Microsoft.Recognizers.Text { public interface IParser { diff --git a/.NET/Microsoft.Recognizers.Text/Recognizer.cs b/.NET/Microsoft.Recognizers.Text/Recognizer.cs index d8a9c228ee..975aa4ac09 100644 --- a/.NET/Microsoft.Recognizers.Text/Recognizer.cs +++ b/.NET/Microsoft.Recognizers.Text/Recognizer.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using Microsoft.Recognizers.Text.Utilities; namespace Microsoft.Recognizers.Text diff --git a/.NET/Microsoft.Recognizers.Text/Utilities/ConditionalMatch.cs b/.NET/Microsoft.Recognizers.Text/Utilities/ConditionalMatch.cs index f18281a79e..8c3e41c008 100644 --- a/.NET/Microsoft.Recognizers.Text/Utilities/ConditionalMatch.cs +++ b/.NET/Microsoft.Recognizers.Text/Utilities/ConditionalMatch.cs @@ -1,4 +1,7 @@ -using System.Text.RegularExpressions; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Text.RegularExpressions; namespace Microsoft.Recognizers.Text.Utilities { diff --git a/.NET/Microsoft.Recognizers.Text/Utilities/EnumUtils.cs b/.NET/Microsoft.Recognizers.Text/Utilities/EnumUtils.cs index 97e8c0f94a..9e5481f29d 100644 --- a/.NET/Microsoft.Recognizers.Text/Utilities/EnumUtils.cs +++ b/.NET/Microsoft.Recognizers.Text/Utilities/EnumUtils.cs @@ -1,4 +1,8 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Globalization; namespace Microsoft.Recognizers.Text.Utilities { @@ -28,7 +32,7 @@ public static T Convert(int value) } else { - throw new ArgumentOutOfRangeException(value.ToString(), "Bad configuration parameter value."); + throw new ArgumentOutOfRangeException(value.ToString(CultureInfo.InvariantCulture), "Bad configuration parameter value."); } } } diff --git a/.NET/Microsoft.Recognizers.Text/Utilities/QueryProcessor.cs b/.NET/Microsoft.Recognizers.Text/Utilities/QueryProcessor.cs index 5dd1986b93..43affbc12d 100644 --- a/.NET/Microsoft.Recognizers.Text/Utilities/QueryProcessor.cs +++ b/.NET/Microsoft.Recognizers.Text/Utilities/QueryProcessor.cs @@ -1,4 +1,7 @@ -using System.Globalization; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Globalization; using System.Linq; using System.Text; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text/Utilities/RegExpUtility.cs b/.NET/Microsoft.Recognizers.Text/Utilities/RegExpUtility.cs index 92b8f2dff8..1eb6fe546f 100644 --- a/.NET/Microsoft.Recognizers.Text/Utilities/RegExpUtility.cs +++ b/.NET/Microsoft.Recognizers.Text/Utilities/RegExpUtility.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Text.RegularExpressions; diff --git a/.NET/Microsoft.Recognizers.Text/Utilities/ResultsProcessor.cs b/.NET/Microsoft.Recognizers.Text/Utilities/ResultsProcessor.cs index e686f406cf..ac802e42de 100644 --- a/.NET/Microsoft.Recognizers.Text/Utilities/ResultsProcessor.cs +++ b/.NET/Microsoft.Recognizers.Text/Utilities/ResultsProcessor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; diff --git a/.NET/Samples/BotBuilder/Dialogs/DeliveryDialog.cs b/.NET/Samples/BotBuilder/Dialogs/DeliveryDialog.cs index d296f44e0f..206f27bc2a 100644 --- a/.NET/Samples/BotBuilder/Dialogs/DeliveryDialog.cs +++ b/.NET/Samples/BotBuilder/Dialogs/DeliveryDialog.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading; diff --git a/.NET/Samples/BotBuilder/Dialogs/DeliveryState.cs b/.NET/Samples/BotBuilder/Dialogs/DeliveryState.cs index cdb9fb9335..760a5e0f5f 100644 --- a/.NET/Samples/BotBuilder/Dialogs/DeliveryState.cs +++ b/.NET/Samples/BotBuilder/Dialogs/DeliveryState.cs @@ -1,4 +1,7 @@ -namespace BotBuilderRecognizerBot +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace BotBuilderRecognizerBot { public class DeliveryState { diff --git a/.NET/Samples/RecognizerFunction/AnalyzeEntities.cs b/.NET/Samples/RecognizerFunction/AnalyzeEntities.cs index 4d100affa7..2de545e83c 100644 --- a/.NET/Samples/RecognizerFunction/AnalyzeEntities.cs +++ b/.NET/Samples/RecognizerFunction/AnalyzeEntities.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + using System.Collections.Generic; using System.IO; using System.Threading.Tasks; diff --git a/.NET/Samples/SimpleConsole/Program.cs b/.NET/Samples/SimpleConsole/Program.cs index 26c7ada984..cbfcd45a98 100644 --- a/.NET/Samples/SimpleConsole/Program.cs +++ b/.NET/Samples/SimpleConsole/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/ChoiceOptions.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/ChoiceOptions.java index 16470e7079..69cd666d2e 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/ChoiceOptions.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/ChoiceOptions.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice; public enum ChoiceOptions { diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/ChoiceRecognizer.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/ChoiceRecognizer.java index 782046b0f0..14d90fd297 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/ChoiceRecognizer.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/ChoiceRecognizer.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/Constants.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/Constants.java index 3db27c8dc5..b225387f2a 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/Constants.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/Constants.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice; public class Constants { diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/config/BooleanParserConfiguration.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/config/BooleanParserConfiguration.java index e19e35402f..84e4cdaa2b 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/config/BooleanParserConfiguration.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/config/BooleanParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/config/IChoiceParserConfiguration.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/config/IChoiceParserConfiguration.java index d56112251c..09435fb2d2 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/config/IChoiceParserConfiguration.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/config/IChoiceParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.config; import java.util.Map; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/english/extractors/EnglishBooleanExtractorConfiguration.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/english/extractors/EnglishBooleanExtractorConfiguration.java index 8b2c4ab653..ff889cf238 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/english/extractors/EnglishBooleanExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/english/extractors/EnglishBooleanExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.english.extractors; import com.microsoft.recognizers.text.choice.Constants; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/BooleanExtractor.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/BooleanExtractor.java index 6f9b8036f7..38e4bfde30 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/BooleanExtractor.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/BooleanExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.extractors; public class BooleanExtractor extends ChoiceExtractor { diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/ChoiceExtractDataResult.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/ChoiceExtractDataResult.java index 7fd89481a0..7ff985031d 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/ChoiceExtractDataResult.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/ChoiceExtractDataResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/ChoiceExtractor.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/ChoiceExtractor.java index 55f351bb99..ee2f621b00 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/ChoiceExtractor.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/ChoiceExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/IBooleanExtractorConfiguration.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/IBooleanExtractorConfiguration.java index fbcbe8e9a7..c05849b73c 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/IBooleanExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/IBooleanExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.extractors; import java.util.regex.Pattern; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/IChoiceExtractorConfiguration.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/IChoiceExtractorConfiguration.java index 609a3b0d44..fc5143cdf7 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/IChoiceExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/extractors/IChoiceExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.extractors; import java.util.Map; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/models/BooleanModel.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/models/BooleanModel.java index 9c696f4463..67df7f66fa 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/models/BooleanModel.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/models/BooleanModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.models; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/models/ChoiceModel.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/models/ChoiceModel.java index 516bb121c6..558638d10b 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/models/ChoiceModel.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/models/ChoiceModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.models; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/BooleanParser.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/BooleanParser.java index f0ce823825..9cb1403246 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/BooleanParser.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/BooleanParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.parsers; import com.microsoft.recognizers.text.choice.config.BooleanParserConfiguration; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/ChoiceParser.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/ChoiceParser.java index 91316e36a6..b983cac493 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/ChoiceParser.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/ChoiceParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.parsers; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/OptionsOtherMatchParseResult.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/OptionsOtherMatchParseResult.java index dd66f24b85..53e1dce7b9 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/OptionsOtherMatchParseResult.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/OptionsOtherMatchParseResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.parsers; public class OptionsOtherMatchParseResult { diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/OptionsParseDataResult.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/OptionsParseDataResult.java index bd08beaa80..c36fa74c3b 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/OptionsParseDataResult.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/parsers/OptionsParseDataResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.parsers; import java.util.ArrayList; diff --git a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/utilities/UnicodeUtils.java b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/utilities/UnicodeUtils.java index fe7a281a47..03f0acca69 100644 --- a/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/utilities/UnicodeUtils.java +++ b/Java/libraries/recognizers-text-choice/src/main/java/com/microsoft/recognizers/text/choice/utilities/UnicodeUtils.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.choice.utilities; import java.lang.Character; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/Constants.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/Constants.java index 5046497d00..c7ff209850 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/Constants.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/Constants.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime; import com.microsoft.recognizers.text.datetime.resources.BaseDateTime; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DatePeriodTimexType.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DatePeriodTimexType.java index 8539343577..eebfc0ad05 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DatePeriodTimexType.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DatePeriodTimexType.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime; public enum DatePeriodTimexType { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DateTimeOptions.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DateTimeOptions.java index 5519bd0057..1781423b4a 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DateTimeOptions.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DateTimeOptions.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime; public enum DateTimeOptions { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DateTimeRecognizer.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DateTimeRecognizer.java index 9d4c0adf11..5a9cfbe974 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DateTimeRecognizer.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DateTimeRecognizer.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DateTimeResolutionKey.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DateTimeResolutionKey.java index e29f7c08f5..5d664ea2b9 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DateTimeResolutionKey.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/DateTimeResolutionKey.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime; public class DateTimeResolutionKey { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/TimeTypeConstants.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/TimeTypeConstants.java index 914b8b3a78..56ea69f596 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/TimeTypeConstants.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/TimeTypeConstants.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime; public class TimeTypeConstants { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/config/BaseOptionsConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/config/BaseOptionsConfiguration.java index 36fb5ac88f..33ecef35c8 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/config/BaseOptionsConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/config/BaseOptionsConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.config; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/config/IOptionsConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/config/IOptionsConfiguration.java index 45d3f3f0c4..985b23269e 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/config/IOptionsConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/config/IOptionsConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.config; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateExtractorConfiguration.java index 588917bf8c..41a7adfbb8 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.extractors; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDatePeriodExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDatePeriodExtractorConfiguration.java index 2e2019b793..23f63cb9fd 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDatePeriodExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDatePeriodExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateTimeAltExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateTimeAltExtractorConfiguration.java index 75c75d11e4..d7dc151dc5 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateTimeAltExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateTimeAltExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.extractors; import com.microsoft.recognizers.text.datetime.config.BaseOptionsConfiguration; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateTimeExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateTimeExtractorConfiguration.java index 317ade20d1..b9202d5d26 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateTimeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateTimeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateTimePeriodExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateTimePeriodExtractorConfiguration.java index 6ddc07c711..37ce43d357 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateTimePeriodExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDateTimePeriodExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDurationExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDurationExtractorConfiguration.java index 773a600ef4..fbd1f2b910 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDurationExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishDurationExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.extractors; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishHolidayExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishHolidayExtractorConfiguration.java index 7843fda3aa..776b73aebb 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishHolidayExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishHolidayExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.extractors; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishMergedExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishMergedExtractorConfiguration.java index dd083d2029..038ad4a4a3 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishMergedExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishMergedExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishSetExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishSetExtractorConfiguration.java index 6879dc5594..cd05813cb3 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishSetExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishSetExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.extractors; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishTimeExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishTimeExtractorConfiguration.java index d4d1c4a610..1cfb699b27 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishTimeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishTimeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.extractors; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishTimePeriodExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishTimePeriodExtractorConfiguration.java index bdf1e1e506..d3a8f19eb6 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishTimePeriodExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishTimePeriodExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishTimeZoneExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishTimeZoneExtractorConfiguration.java index 73a78f1f06..30cf462bf5 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishTimeZoneExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/extractors/EnglishTimeZoneExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.extractors; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishCommonDateTimeParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishCommonDateTimeParserConfiguration.java index c4a219fec9..7b18d448e4 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishCommonDateTimeParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishCommonDateTimeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateParserConfiguration.java index 472b5861a4..a74fc08832 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDatePeriodParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDatePeriodParserConfiguration.java index 92db6157d8..942ba1ec04 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDatePeriodParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDatePeriodParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateTimeAltParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateTimeAltParserConfiguration.java index ee40a888e5..ca77a979a8 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateTimeAltParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateTimeAltParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.microsoft.recognizers.text.datetime.parsers.IDateTimeParser; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateTimeParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateTimeParserConfiguration.java index aa285aa9e4..72bf9909ab 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateTimeParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateTimeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateTimePeriodParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateTimePeriodParserConfiguration.java index 3e277e8653..c466a31a28 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateTimePeriodParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDateTimePeriodParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDurationParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDurationParserConfiguration.java index 5a453bd752..bad3f8212e 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDurationParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishDurationParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishHolidayParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishHolidayParserConfiguration.java index bbac800b0d..7b6f7d020a 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishHolidayParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishHolidayParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishMergedParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishMergedParserConfiguration.java index f9a5a21d95..522653013d 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishMergedParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishMergedParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishSetParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishSetParserConfiguration.java index 290cd5a7f0..efcf8579be 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishSetParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishSetParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishTimeParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishTimeParserConfiguration.java index 72fab44abc..b69821f9ca 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishTimeParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishTimeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishTimePeriodParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishTimePeriodParserConfiguration.java index 3e84e039e7..fa83003e38 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishTimePeriodParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/EnglishTimePeriodParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/TimeParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/TimeParser.java index 5c898aeccd..58b0ec4c15 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/TimeParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/parsers/TimeParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.parsers; import com.microsoft.recognizers.text.datetime.Constants; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/utilities/EnglishDatetimeUtilityConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/utilities/EnglishDatetimeUtilityConfiguration.java index b85e88b721..c4257f573b 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/utilities/EnglishDatetimeUtilityConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/english/utilities/EnglishDatetimeUtilityConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.english.utilities; import com.microsoft.recognizers.text.datetime.resources.EnglishDateTime; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/AbstractYearExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/AbstractYearExtractor.java index 65d13f941b..599056604e 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/AbstractYearExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/AbstractYearExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateExtractor.java index 532d7947f2..e8a6665aa9 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDatePeriodExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDatePeriodExtractor.java index 19d7923271..906ccd6188 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDatePeriodExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDatePeriodExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateTimeAltExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateTimeAltExtractor.java index 13362108b8..d4f385911f 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateTimeAltExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateTimeAltExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtendedModelResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateTimeExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateTimeExtractor.java index f54bbbcb40..91efc5886a 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateTimeExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateTimeExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateTimePeriodExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateTimePeriodExtractor.java index d4b8b7b5cb..2d6d2f8c0f 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateTimePeriodExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDateTimePeriodExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDurationExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDurationExtractor.java index 949aa4c1ef..2a1b5d4595 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDurationExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseDurationExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseHolidayExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseHolidayExtractor.java index d901688f1f..73a141908b 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseHolidayExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseHolidayExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseMergedDateTimeExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseMergedDateTimeExtractor.java index eb765c993a..f9c3d2870e 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseMergedDateTimeExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseMergedDateTimeExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseSetExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseSetExtractor.java index dbf346bd75..2cb8036a75 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseSetExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseSetExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseTimeExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseTimeExtractor.java index 75b9547a6c..8485a72a88 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseTimeExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseTimeExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseTimePeriodExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseTimePeriodExtractor.java index d1ee998ecd..ee72a913c8 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseTimePeriodExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseTimePeriodExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseTimeZoneExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseTimeZoneExtractor.java index e1401d4283..85fbc7fe7b 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseTimeZoneExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/BaseTimeZoneExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateExtractor.java index 78d19f42e0..e4e0a1a17f 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.utilities.Match; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateTimeExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateTimeExtractor.java index f21f49c419..340e2b9a14 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateTimeExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateTimeExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateTimeListExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateTimeListExtractor.java index 4d7ab6d5c5..816f1ad022 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateTimeListExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateTimeListExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateTimeZoneExtractor.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateTimeZoneExtractor.java index 8b9b1a1514..204a8e2af2 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateTimeZoneExtractor.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/IDateTimeZoneExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateExtractorConfiguration.java index 4498324bb7..c019c25d4e 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDatePeriodExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDatePeriodExtractorConfiguration.java index 6c79966915..fb093cecc4 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDatePeriodExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDatePeriodExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateTimeAltExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateTimeAltExtractorConfiguration.java index 8bddc53212..201a2682cc 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateTimeAltExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateTimeAltExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import com.microsoft.recognizers.text.datetime.extractors.IDateExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateTimeExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateTimeExtractorConfiguration.java index e26f835092..5df538fbb2 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateTimeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateTimeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateTimePeriodExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateTimePeriodExtractorConfiguration.java index b0cc61ad71..22a5060663 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateTimePeriodExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDateTimePeriodExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDurationExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDurationExtractorConfiguration.java index b68aee1591..b78bb81b3e 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDurationExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IDurationExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IHolidayExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IHolidayExtractorConfiguration.java index f071ed03f7..4d786c51aa 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IHolidayExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IHolidayExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import java.util.regex.Pattern; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IMergedExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IMergedExtractorConfiguration.java index ad1c143673..e2db7d6fc0 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IMergedExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/IMergedExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ISetExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ISetExtractorConfiguration.java index 35620d82a8..055acb8c47 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ISetExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ISetExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import com.microsoft.recognizers.text.datetime.config.IOptionsConfiguration; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ITimeExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ITimeExtractorConfiguration.java index 9c025d24e9..4a019b9ecb 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ITimeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ITimeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import com.microsoft.recognizers.text.datetime.config.IOptionsConfiguration; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ITimePeriodExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ITimePeriodExtractorConfiguration.java index 9f0a0cbf99..7fa524b8be 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ITimePeriodExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ITimePeriodExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ITimeZoneExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ITimeZoneExtractorConfiguration.java index ce877754c2..a3ccd398ab 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ITimeZoneExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ITimeZoneExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import com.microsoft.recognizers.text.datetime.config.IOptionsConfiguration; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ProcessedSuperfluousWords.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ProcessedSuperfluousWords.java index 42e59194e1..457e7405ee 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ProcessedSuperfluousWords.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ProcessedSuperfluousWords.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; import com.microsoft.recognizers.text.matcher.MatchResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ResultIndex.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ResultIndex.java index b9d90d9927..c2781eacd9 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ResultIndex.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ResultIndex.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; public class ResultIndex { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ResultTimex.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ResultTimex.java index eaff0b5b30..bd00c3d475 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ResultTimex.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/extractors/config/ResultTimex.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.extractors.config; public class ResultTimex { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateExtractorConfiguration.java index a90a1f5e9e..a6614fcc10 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.extractors; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDatePeriodExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDatePeriodExtractorConfiguration.java index 0f87a53c9e..eb924440f5 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDatePeriodExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDatePeriodExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateTimeAltExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateTimeAltExtractorConfiguration.java index a07c59c047..f4133987cb 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateTimeAltExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateTimeAltExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.extractors; import com.microsoft.recognizers.text.datetime.config.BaseOptionsConfiguration; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateTimeExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateTimeExtractorConfiguration.java index da47f1fbc2..3f3deadfaa 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateTimeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateTimeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateTimePeriodExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateTimePeriodExtractorConfiguration.java index bbd3c23e1c..c134982c4c 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateTimePeriodExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDateTimePeriodExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDurationExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDurationExtractorConfiguration.java index 400d023290..c1614ea9e5 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDurationExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchDurationExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.extractors; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchHolidayExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchHolidayExtractorConfiguration.java index fc3cef61e0..e92dc62bab 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchHolidayExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchHolidayExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.extractors; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchMergedExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchMergedExtractorConfiguration.java index f49ec13073..ef4b6b010b 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchMergedExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchMergedExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchSetExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchSetExtractorConfiguration.java index 64e4ce3971..2df3044e82 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchSetExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchSetExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.extractors; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchTimeExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchTimeExtractorConfiguration.java index cd823eb074..a8c55a1bba 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchTimeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchTimeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.extractors; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchTimePeriodExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchTimePeriodExtractorConfiguration.java index b8f0937575..8ad8b0f6c0 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchTimePeriodExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchTimePeriodExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchTimeZoneExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchTimeZoneExtractorConfiguration.java index 4ad3394742..06167835c7 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchTimeZoneExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/extractors/FrenchTimeZoneExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.extractors; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchCommonDateTimeParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchCommonDateTimeParserConfiguration.java index 580fa23460..7d2e597d4d 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchCommonDateTimeParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchCommonDateTimeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateParserConfiguration.java index 0dfa509786..d172b63f20 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDatePeriodParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDatePeriodParserConfiguration.java index f3c1e45149..9ec3c62118 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDatePeriodParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDatePeriodParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateTimeAltParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateTimeAltParserConfiguration.java index 1911f99265..d79d06cab7 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateTimeAltParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateTimeAltParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.microsoft.recognizers.text.datetime.parsers.IDateTimeParser; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateTimeParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateTimeParserConfiguration.java index 911f0436e9..daa44d3f29 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateTimeParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateTimeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateTimePeriodParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateTimePeriodParserConfiguration.java index b4c67d729a..7d6ed98a72 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateTimePeriodParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDateTimePeriodParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDurationParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDurationParserConfiguration.java index cf69ffcbc4..3a2e7a2d7d 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDurationParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchDurationParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchHolidayParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchHolidayParserConfiguration.java index d1cae93379..494b2ca762 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchHolidayParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchHolidayParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchMergedParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchMergedParserConfiguration.java index afd5081098..5e8cd536c3 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchMergedParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchMergedParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchSetParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchSetParserConfiguration.java index b688497b00..68f8a1946e 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchSetParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchSetParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchTimeParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchTimeParser.java index c66df2ae4c..a3097803f8 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchTimeParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchTimeParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.microsoft.recognizers.text.datetime.Constants; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchTimeParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchTimeParserConfiguration.java index d23aa0eb1e..a4c4fcbace 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchTimeParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchTimeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchTimePeriodParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchTimePeriodParserConfiguration.java index acb8080a39..d4e2056684 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchTimePeriodParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/parsers/FrenchTimePeriodParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/utilities/FrenchDatetimeUtilityConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/utilities/FrenchDatetimeUtilityConfiguration.java index 7dba9ecea5..772c800ce3 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/utilities/FrenchDatetimeUtilityConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/french/utilities/FrenchDatetimeUtilityConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.french.utilities; import com.microsoft.recognizers.text.datetime.resources.FrenchDateTime; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/models/DateTimeModel.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/models/DateTimeModel.java index 2492715390..c39026d461 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/models/DateTimeModel.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/models/DateTimeModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.models; import com.microsoft.recognizers.text.ExtendedModelResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateParser.java index 97a09e77b4..be7a0d17ee 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDatePeriodParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDatePeriodParser.java index 74c68345e1..97a97a4b55 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDatePeriodParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDatePeriodParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateTimeAltParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateTimeAltParser.java index 5eb0121511..7f6b9e3316 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateTimeAltParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateTimeAltParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateTimeParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateTimeParser.java index 835a21d7c6..11fee1c1ee 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateTimeParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateTimeParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateTimePeriodParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateTimePeriodParser.java index 51a5c01ff2..4a8004d05f 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateTimePeriodParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDateTimePeriodParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDurationParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDurationParser.java index 85bb606b45..c39865e504 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDurationParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseDurationParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseHolidayParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseHolidayParser.java index 568ba99052..a1803f3d64 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseHolidayParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseHolidayParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import static java.lang.Integer.parseInt; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseHolidayParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseHolidayParserConfiguration.java index d8a7cfc1d7..5eed669697 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseHolidayParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseHolidayParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseMergedDateTimeParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseMergedDateTimeParser.java index 434d5372b4..3be9039f21 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseMergedDateTimeParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseMergedDateTimeParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseSetParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseSetParser.java index 220773230b..b9d7e60f46 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseSetParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseSetParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseTimeParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseTimeParser.java index ce61d453f4..1deaadd97d 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseTimeParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseTimeParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseTimePeriodParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseTimePeriodParser.java index c0b3fffe6d..e0f696ebfa 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseTimePeriodParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseTimePeriodParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseTimeZoneParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseTimeZoneParser.java index 79bd6a34d0..faa532c195 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseTimeZoneParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/BaseTimeZoneParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/DateTimeParseResult.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/DateTimeParseResult.java index 62b6a9f177..ca492d5530 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/DateTimeParseResult.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/DateTimeParseResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/IDateTimeParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/IDateTimeParser.java index e88ae76dad..0c79718ffa 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/IDateTimeParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/IDateTimeParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/BaseDateParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/BaseDateParserConfiguration.java index c72112364b..e53cfbf276 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/BaseDateParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/BaseDateParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ICommonDateTimeParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ICommonDateTimeParserConfiguration.java index 2696ac12c1..43f64cf73a 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ICommonDateTimeParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ICommonDateTimeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateParserConfiguration.java index 0f288f7a6d..21cd855a61 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.google.common.collect.ImmutableList; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDatePeriodParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDatePeriodParserConfiguration.java index b32018ec72..e866a166d3 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDatePeriodParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDatePeriodParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateTimeAltParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateTimeAltParserConfiguration.java index 6b1139546b..28ed3bb71a 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateTimeAltParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateTimeAltParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.microsoft.recognizers.text.datetime.parsers.IDateTimeParser; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateTimeParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateTimeParserConfiguration.java index 30303ee290..403a202423 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateTimeParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateTimeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateTimePeriodParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateTimePeriodParserConfiguration.java index d74d1da680..1325067a52 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateTimePeriodParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDateTimePeriodParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDurationParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDurationParserConfiguration.java index 686ba08b2e..0d062b0565 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDurationParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IDurationParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IHolidayParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IHolidayParserConfiguration.java index b933175141..3a9913bd74 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IHolidayParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IHolidayParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IMergedParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IMergedParserConfiguration.java index 8fd654b800..41c001125c 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IMergedParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/IMergedParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.microsoft.recognizers.text.datetime.config.IOptionsConfiguration; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ISetParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ISetParserConfiguration.java index 881b20158d..cd3a97d738 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ISetParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ISetParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ITimeParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ITimeParserConfiguration.java index 1f08541540..58b569195f 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ITimeParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ITimeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ITimePeriodParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ITimePeriodParserConfiguration.java index 2b8bd57adf..e17ccaacf2 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ITimePeriodParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/ITimePeriodParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/MatchedTimeRangeResult.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/MatchedTimeRangeResult.java index 59f1053840..75232cf888 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/MatchedTimeRangeResult.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/MatchedTimeRangeResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; public class MatchedTimeRangeResult { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/PrefixAdjustResult.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/PrefixAdjustResult.java index 7887e1c549..735818aa6e 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/PrefixAdjustResult.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/PrefixAdjustResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; public class PrefixAdjustResult { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/SuffixAdjustResult.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/SuffixAdjustResult.java index 86a6a1e34b..d9b09bbc40 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/SuffixAdjustResult.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/parsers/config/SuffixAdjustResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.parsers.config; public class SuffixAdjustResult { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateExtractorConfiguration.java index e8735c5bba..1c99ce404f 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.extractors; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDatePeriodExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDatePeriodExtractorConfiguration.java index 9af6646964..c3bf47b24b 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDatePeriodExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDatePeriodExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateTimeAltExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateTimeAltExtractorConfiguration.java index 36ba13b3c6..01344506f6 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateTimeAltExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateTimeAltExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.extractors; import com.microsoft.recognizers.text.datetime.config.BaseOptionsConfiguration; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateTimeExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateTimeExtractorConfiguration.java index f0fda81a86..23395d8d27 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateTimeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateTimeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateTimePeriodExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateTimePeriodExtractorConfiguration.java index 8ba69bc8b9..7df3f565e9 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateTimePeriodExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDateTimePeriodExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDurationExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDurationExtractorConfiguration.java index 064ff06dcd..58df45497f 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDurationExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishDurationExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.extractors; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishHolidayExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishHolidayExtractorConfiguration.java index 3a3e6fb8f8..dcc5619ace 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishHolidayExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishHolidayExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.extractors; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishMergedExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishMergedExtractorConfiguration.java index db952e02ba..2dc96cfc70 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishMergedExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishMergedExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishSetExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishSetExtractorConfiguration.java index 023ecb7287..19890e13aa 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishSetExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishSetExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.extractors; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishTimeExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishTimeExtractorConfiguration.java index 65c7a49e38..800d0d6a7c 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishTimeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishTimeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.extractors; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishTimePeriodExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishTimePeriodExtractorConfiguration.java index 7a03533f64..70453977dc 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishTimePeriodExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishTimePeriodExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.extractors; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishTimeZoneExtractorConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishTimeZoneExtractorConfiguration.java index 09ede1427d..b71ed56b0a 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishTimeZoneExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/extractors/SpanishTimeZoneExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.extractors; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/DateTimePeriodParser.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/DateTimePeriodParser.java index 527a1e9345..531c82114b 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/DateTimePeriodParser.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/DateTimePeriodParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishCommonDateTimeParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishCommonDateTimeParserConfiguration.java index ec5a90061e..0e35c7f942 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishCommonDateTimeParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishCommonDateTimeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateParserConfiguration.java index 858415171d..6490d8d23b 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDatePeriodParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDatePeriodParserConfiguration.java index 6cd0032f1b..ca200abf61 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDatePeriodParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDatePeriodParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateTimeAltParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateTimeAltParserConfiguration.java index 38020f75f4..ff4d6f3efe 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateTimeAltParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateTimeAltParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.microsoft.recognizers.text.datetime.parsers.IDateTimeParser; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateTimeParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateTimeParserConfiguration.java index 8ef21ca4d5..9e86d2af0f 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateTimeParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateTimeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateTimePeriodParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateTimePeriodParserConfiguration.java index 76ed8cec5e..a5ce2169f1 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateTimePeriodParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDateTimePeriodParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDurationParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDurationParserConfiguration.java index 0c7cd1487a..5e950c34ae 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDurationParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishDurationParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishHolidayParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishHolidayParserConfiguration.java index 0eab930ffc..e7e964e831 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishHolidayParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishHolidayParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishMergedParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishMergedParserConfiguration.java index 3c5ea9e4ed..f7f2098438 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishMergedParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishMergedParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.microsoft.recognizers.text.datetime.DateTimeOptions; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishSetParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishSetParserConfiguration.java index 9cf688cb2b..c70c8ac710 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishSetParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishSetParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishTimeParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishTimeParserConfiguration.java index 31e7b56ad4..546a641f49 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishTimeParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishTimeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishTimePeriodParserConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishTimePeriodParserConfiguration.java index c4e8debcc7..c5b862f6b3 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishTimePeriodParserConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/parsers/SpanishTimePeriodParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/utilities/SpanishDatetimeUtilityConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/utilities/SpanishDatetimeUtilityConfiguration.java index 874d5e9041..90efdd20f0 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/utilities/SpanishDatetimeUtilityConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/spanish/utilities/SpanishDatetimeUtilityConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.spanish.utilities; import com.microsoft.recognizers.text.datetime.resources.SpanishDateTime; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/AgoLaterUtil.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/AgoLaterUtil.java index 2cff56be6a..611243dcda 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/AgoLaterUtil.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/AgoLaterUtil.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/ConditionalMatch.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/ConditionalMatch.java index ffc9c4c53a..1ad00977a5 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/ConditionalMatch.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/ConditionalMatch.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import com.microsoft.recognizers.text.utilities.Match; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateContext.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateContext.java index 46a11753b4..62fc0f51ba 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateContext.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateContext.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import com.microsoft.recognizers.text.datetime.Constants; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateTimeFormatUtil.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateTimeFormatUtil.java index f6b1944023..74c6199cef 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateTimeFormatUtil.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateTimeFormatUtil.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import com.microsoft.recognizers.text.datetime.Constants; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateTimeResolutionResult.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateTimeResolutionResult.java index 943ecf02ed..020f0ac97d 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateTimeResolutionResult.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateTimeResolutionResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import java.util.List; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateUtil.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateUtil.java index 0e1a26c190..bfe28592fe 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateUtil.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DateUtil.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import java.time.LocalDate; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DurationParsingUtil.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DurationParsingUtil.java index 0b2a9e40a7..173d3ec77c 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DurationParsingUtil.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/DurationParsingUtil.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/GetModAndDateResult.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/GetModAndDateResult.java index eca2401e64..0e4618776b 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/GetModAndDateResult.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/GetModAndDateResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import java.time.LocalDateTime; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/HolidayFunctions.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/HolidayFunctions.java index 260d816e42..28aaa04e6b 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/HolidayFunctions.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/HolidayFunctions.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import java.time.LocalDateTime; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/IDateTimeUtilityConfiguration.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/IDateTimeUtilityConfiguration.java index 5ea05f65b2..65d75a99d6 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/IDateTimeUtilityConfiguration.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/IDateTimeUtilityConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import java.util.regex.Pattern; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/MatchedTimexResult.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/MatchedTimexResult.java index 6f9c0bd394..42c1131a57 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/MatchedTimexResult.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/MatchedTimexResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; public class MatchedTimexResult { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/MatchingUtil.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/MatchingUtil.java index e700d2f1f3..9a995a83fd 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/MatchingUtil.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/MatchingUtil.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/MatchingUtilResult.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/MatchingUtilResult.java index b5d06180c6..af402c20c6 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/MatchingUtilResult.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/MatchingUtilResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; public class MatchingUtilResult { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/NthBusinessDayResult.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/NthBusinessDayResult.java index 155bc9b6d3..78c33ba2e9 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/NthBusinessDayResult.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/NthBusinessDayResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import java.time.LocalDateTime; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/RangeTimexComponents.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/RangeTimexComponents.java index faac214c6a..d48dda207c 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/RangeTimexComponents.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/RangeTimexComponents.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; public class RangeTimexComponents { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/RegexExtension.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/RegexExtension.java index 2f799f60bc..2e7d25454c 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/RegexExtension.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/RegexExtension.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import com.microsoft.recognizers.text.utilities.Match; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/StringExtension.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/StringExtension.java index 01607aea1f..6fc0289eba 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/StringExtension.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/StringExtension.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimeOfDayResolutionResult.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimeOfDayResolutionResult.java index 1447e81a32..1c87d21f90 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimeOfDayResolutionResult.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimeOfDayResolutionResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; public class TimeOfDayResolutionResult { diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimeZoneResolutionResult.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimeZoneResolutionResult.java index cbb491e281..6d81f35f6f 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimeZoneResolutionResult.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimeZoneResolutionResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; public class TimeZoneResolutionResult { @@ -12,15 +15,15 @@ public TimeZoneResolutionResult(String value, Integer utcOffsetMins, String time this.timeZoneText = timeZoneText; } - public String getValue() { - return this.value; - } + public String getValue() { + return this.value; + } - public Integer getUtcOffsetMins() { - return this.utcOffsetMins; - } + public Integer getUtcOffsetMins() { + return this.utcOffsetMins; + } - public String getTimeZoneText() { - return this.timeZoneText; - } + public String getTimeZoneText() { + return this.timeZoneText; + } } diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimeZoneUtility.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimeZoneUtility.java index 7720f1dca5..90c895e68f 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimeZoneUtility.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimeZoneUtility.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimexUtility.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimexUtility.java index 56f21ba505..6c396ad63e 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimexUtility.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/TimexUtility.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/Token.java b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/Token.java index e5a14f78e8..bf4586d9ae 100644 --- a/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/Token.java +++ b/Java/libraries/recognizers-text-date-time/src/main/java/com/microsoft/recognizers/text/datetime/utilities/Token.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.datetime.utilities; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/Constants.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/Constants.java index 1ebe407e2e..4f1d073a1c 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/Constants.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/Constants.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit; public class Constants { diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/NumberWithUnitOptions.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/NumberWithUnitOptions.java index 5cb5603993..fef0c2a3b7 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/NumberWithUnitOptions.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/NumberWithUnitOptions.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit; public enum NumberWithUnitOptions { diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/NumberWithUnitRecognizer.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/NumberWithUnitRecognizer.java index 44d5caf931..8888dba04d 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/NumberWithUnitRecognizer.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/NumberWithUnitRecognizer.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/AgeExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/AgeExtractorConfiguration.java index 722dc26f76..6ab6eaaae6 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/AgeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/AgeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.chinese.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/ChineseNumberWithUnitExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/ChineseNumberWithUnitExtractorConfiguration.java index fa27f0291e..9b821af901 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/ChineseNumberWithUnitExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/ChineseNumberWithUnitExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.chinese.extractors; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/CurrencyExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/CurrencyExtractorConfiguration.java index 2c62634401..2e0b5be95c 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/CurrencyExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/CurrencyExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.chinese.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/DimensionExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/DimensionExtractorConfiguration.java index af30286c3a..73b9fbc037 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/DimensionExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/DimensionExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.chinese.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/TemperatureExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/TemperatureExtractorConfiguration.java index b5e265aad7..46a1540b18 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/TemperatureExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/extractors/TemperatureExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.chinese.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/AgeParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/AgeParserConfiguration.java index 1d6088fc58..349de0d8b2 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/AgeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/AgeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.chinese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/ChineseNumberWithUnitParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/ChineseNumberWithUnitParserConfiguration.java index 01783b66c3..1e273c91b2 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/ChineseNumberWithUnitParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/ChineseNumberWithUnitParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.chinese.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/CurrencyParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/CurrencyParserConfiguration.java index 3d2bf08e73..e309bd9171 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/CurrencyParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/CurrencyParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.chinese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/DimensionParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/DimensionParserConfiguration.java index 0e9011fa44..6fdbab1e08 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/DimensionParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/DimensionParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.chinese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/TemperatureParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/TemperatureParserConfiguration.java index 1e9a0ed620..19b617ebae 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/TemperatureParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/chinese/parsers/TemperatureParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.chinese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/AgeExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/AgeExtractorConfiguration.java index b48a2d12c5..a78a126290 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/AgeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/AgeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/AreaExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/AreaExtractorConfiguration.java index 255969e3eb..f8b4c35077 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/AreaExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/AreaExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/CurrencyExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/CurrencyExtractorConfiguration.java index f4b00fa870..aaf605e9fb 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/CurrencyExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/CurrencyExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/DimensionExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/DimensionExtractorConfiguration.java index bd13a1589a..57c24d35ee 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/DimensionExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/DimensionExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.extractors; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/EnglishNumberWithUnitExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/EnglishNumberWithUnitExtractorConfiguration.java index de48925839..a6ea99f773 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/EnglishNumberWithUnitExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/EnglishNumberWithUnitExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.extractors; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/LengthExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/LengthExtractorConfiguration.java index cd1c8fd7dd..74d510b169 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/LengthExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/LengthExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/SpeedExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/SpeedExtractorConfiguration.java index 3045d7042e..e9af67f654 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/SpeedExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/SpeedExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/TemperatureExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/TemperatureExtractorConfiguration.java index ae04773d53..3c2e55b4ee 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/TemperatureExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/TemperatureExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/VolumeExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/VolumeExtractorConfiguration.java index 5e6c505435..46174427cc 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/VolumeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/VolumeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/WeightExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/WeightExtractorConfiguration.java index 37d96067ac..cf73f06517 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/WeightExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/extractors/WeightExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/AgeParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/AgeParserConfiguration.java index 83fd17503a..50bf6dfa24 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/AgeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/AgeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/AreaParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/AreaParserConfiguration.java index 1ab718900c..2cfc3b8486 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/AreaParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/AreaParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/CurrencyParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/CurrencyParserConfiguration.java index 4448e9f5f8..4721c5d11f 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/CurrencyParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/CurrencyParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/DimensionParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/DimensionParserConfiguration.java index e0df165af5..fb88890c6c 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/DimensionParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/DimensionParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/EnglishNumberWithUnitParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/EnglishNumberWithUnitParserConfiguration.java index 9b915d91d3..8297bec77e 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/EnglishNumberWithUnitParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/EnglishNumberWithUnitParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/LengthParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/LengthParserConfiguration.java index dc93b9db75..57ac9b6d4e 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/LengthParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/LengthParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/SpeedParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/SpeedParserConfiguration.java index 567c1debae..a72a433935 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/SpeedParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/SpeedParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/TemperatureParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/TemperatureParserConfiguration.java index ed4ee83c93..1be1692efa 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/TemperatureParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/TemperatureParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/VolumeParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/VolumeParserConfiguration.java index 6515fecbca..82286b30de 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/VolumeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/VolumeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/WeightParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/WeightParserConfiguration.java index 605661faa3..b21b7306e7 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/WeightParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/english/parsers/WeightParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.english.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/extractors/BaseMergedUnitExtractor.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/extractors/BaseMergedUnitExtractor.java index 07882ddb42..2991579c8f 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/extractors/BaseMergedUnitExtractor.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/extractors/BaseMergedUnitExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.extractors; import com.google.common.collect.Lists; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/extractors/INumberWithUnitExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/extractors/INumberWithUnitExtractorConfiguration.java index 45d80dd7d5..d779ac947f 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/extractors/INumberWithUnitExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/extractors/INumberWithUnitExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.extractors; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/extractors/NumberWithUnitExtractor.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/extractors/NumberWithUnitExtractor.java index e3a9e3b624..ba71a32a4a 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/extractors/NumberWithUnitExtractor.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/extractors/NumberWithUnitExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/AgeExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/AgeExtractorConfiguration.java index 1dcf822d6d..c644599b68 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/AgeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/AgeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/AreaExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/AreaExtractorConfiguration.java index eb86278aa2..490c302219 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/AreaExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/AreaExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/CurrencyExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/CurrencyExtractorConfiguration.java index 0f3fa303bd..a37dc8e3b4 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/CurrencyExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/CurrencyExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/DimensionExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/DimensionExtractorConfiguration.java index d88234dabf..3f3004600f 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/DimensionExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/DimensionExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.extractors; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/FrenchNumberWithUnitExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/FrenchNumberWithUnitExtractorConfiguration.java index 6f7a5b6830..b4f9c3f4f6 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/FrenchNumberWithUnitExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/FrenchNumberWithUnitExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.extractors; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/LengthExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/LengthExtractorConfiguration.java index 13e4a6cb1c..198c4b5362 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/LengthExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/LengthExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/SpeedExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/SpeedExtractorConfiguration.java index 6ac2915c95..3a03fbfee8 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/SpeedExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/SpeedExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/TemperatureExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/TemperatureExtractorConfiguration.java index a30c3b9be8..973c43dc65 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/TemperatureExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/TemperatureExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/VolumeExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/VolumeExtractorConfiguration.java index 8adcf5b538..be6b7d5c50 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/VolumeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/VolumeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/WeightExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/WeightExtractorConfiguration.java index 78b36f3f33..bae4aae345 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/WeightExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/extractors/WeightExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/AgeParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/AgeParserConfiguration.java index 333b88e7b7..044397432c 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/AgeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/AgeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/AreaParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/AreaParserConfiguration.java index ae7faf78a3..10cab053ef 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/AreaParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/AreaParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/CurrencyParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/CurrencyParserConfiguration.java index aeaf957716..90f7b4aca1 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/CurrencyParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/CurrencyParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/DimensionParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/DimensionParserConfiguration.java index 021e632409..bf0cbcd8a6 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/DimensionParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/DimensionParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/FrenchNumberWithUnitParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/FrenchNumberWithUnitParserConfiguration.java index 5aa1cd97ac..290b87f4e3 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/FrenchNumberWithUnitParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/FrenchNumberWithUnitParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/LengthParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/LengthParserConfiguration.java index 880c7f2f17..d4e644f395 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/LengthParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/LengthParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/SpeedParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/SpeedParserConfiguration.java index eee7acf806..710e119e3e 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/SpeedParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/SpeedParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/TemperatureParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/TemperatureParserConfiguration.java index 6bc4d8a035..0f31beaa35 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/TemperatureParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/TemperatureParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/VolumeParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/VolumeParserConfiguration.java index e5cb6130cf..3c0725ce14 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/VolumeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/VolumeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/WeightParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/WeightParserConfiguration.java index 9bd27c939d..4a7e5d6a8e 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/WeightParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/french/parsers/WeightParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.french.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/AgeExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/AgeExtractorConfiguration.java index 102c5afd7f..6a90800bb0 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/AgeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/AgeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/AreaExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/AreaExtractorConfiguration.java index 6f4fd53643..6bd2e4b3c1 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/AreaExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/AreaExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/CurrencyExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/CurrencyExtractorConfiguration.java index 1dd4a2bb9b..f0e7a246e5 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/CurrencyExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/CurrencyExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/DimensionExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/DimensionExtractorConfiguration.java index 979b3c25fe..f0157feb8f 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/DimensionExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/DimensionExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.extractors; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/GermanNumberWithUnitExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/GermanNumberWithUnitExtractorConfiguration.java index 401d9485dc..870188e03e 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/GermanNumberWithUnitExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/GermanNumberWithUnitExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.extractors; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/LengthExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/LengthExtractorConfiguration.java index 1e0a7e5d2b..5b4733d110 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/LengthExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/LengthExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/SpeedExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/SpeedExtractorConfiguration.java index 7d6284cd01..cf16dfe048 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/SpeedExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/SpeedExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/TemperatureExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/TemperatureExtractorConfiguration.java index 90f7a6dcf3..42442fbd5a 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/TemperatureExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/TemperatureExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/VolumeExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/VolumeExtractorConfiguration.java index 5c42ed9caa..53689ab99d 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/VolumeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/VolumeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/WeightExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/WeightExtractorConfiguration.java index 3a6be60a8e..16fea0f2a7 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/WeightExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/extractors/WeightExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/AgeParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/AgeParserConfiguration.java index 1e9689c657..d373ae525b 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/AgeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/AgeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/AreaParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/AreaParserConfiguration.java index 5f64c2d0a6..1ff089e016 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/AreaParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/AreaParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/CurrencyParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/CurrencyParserConfiguration.java index 2bb68c241a..9790d257e9 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/CurrencyParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/CurrencyParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/DimensionParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/DimensionParserConfiguration.java index 78ec43eff3..8d64293d50 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/DimensionParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/DimensionParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/GermanNumberWithUnitParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/GermanNumberWithUnitParserConfiguration.java index f8bd445bd4..245259ec2d 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/GermanNumberWithUnitParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/GermanNumberWithUnitParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/LengthParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/LengthParserConfiguration.java index 635c6e7ce2..92f579efdc 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/LengthParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/LengthParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/SpeedParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/SpeedParserConfiguration.java index de3e44700d..d4441bb427 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/SpeedParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/SpeedParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/TemperatureParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/TemperatureParserConfiguration.java index c1714bdd44..5e52316804 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/TemperatureParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/TemperatureParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/VolumeParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/VolumeParserConfiguration.java index 7e653cffaa..81d9f7a24c 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/VolumeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/VolumeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/WeightParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/WeightParserConfiguration.java index 58b78955d3..3abfacfcaa 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/WeightParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/german/parsers/WeightParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.german.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/AbstractNumberWithUnitModel.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/AbstractNumberWithUnitModel.java index 9d0c67455e..7611f20d00 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/AbstractNumberWithUnitModel.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/AbstractNumberWithUnitModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.models; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/AgeModel.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/AgeModel.java index c2cf881fe6..a2090c9861 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/AgeModel.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/AgeModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.models; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/CurrencyModel.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/CurrencyModel.java index 01f7e35fe9..613738cd94 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/CurrencyModel.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/CurrencyModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.models; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/CurrencyUnitValue.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/CurrencyUnitValue.java index 2907b2185a..135c50a89b 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/CurrencyUnitValue.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/CurrencyUnitValue.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.models; public class CurrencyUnitValue { diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/DimensionModel.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/DimensionModel.java index f4ccf4d53f..bf67b2202b 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/DimensionModel.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/DimensionModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.models; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/PrefixUnitResult.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/PrefixUnitResult.java index 5b6a8d6f4f..e8dd45fba3 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/PrefixUnitResult.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/PrefixUnitResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.models; public class PrefixUnitResult { diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/TemperatureModel.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/TemperatureModel.java index c41a101262..d48e008f06 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/TemperatureModel.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/TemperatureModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.models; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/UnitValue.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/UnitValue.java index b443c3e49f..b1dc2e616a 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/UnitValue.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/models/UnitValue.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.models; public class UnitValue { diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/BaseCurrencyParser.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/BaseCurrencyParser.java index 3fc489686e..03914cd3b4 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/BaseCurrencyParser.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/BaseCurrencyParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.parsers; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/BaseMergedUnitParser.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/BaseMergedUnitParser.java index bbadb603e3..152ce9e17e 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/BaseMergedUnitParser.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/BaseMergedUnitParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.parsers; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/BaseNumberWithUnitParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/BaseNumberWithUnitParserConfiguration.java index 84fe89e8f2..23717032eb 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/BaseNumberWithUnitParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/BaseNumberWithUnitParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/INumberWithUnitParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/INumberWithUnitParserConfiguration.java index 11829a00e0..ca869ff2d6 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/INumberWithUnitParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/INumberWithUnitParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/NumberWithUnitParser.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/NumberWithUnitParser.java index a57e164108..2bb024d370 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/NumberWithUnitParser.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/parsers/NumberWithUnitParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.parsers; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/AgeExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/AgeExtractorConfiguration.java index f189802183..2c124ef2e3 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/AgeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/AgeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/AreaExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/AreaExtractorConfiguration.java index d05d183560..4e9b9ff214 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/AreaExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/AreaExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/CurrencyExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/CurrencyExtractorConfiguration.java index e1d089d77a..c2f6cb6deb 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/CurrencyExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/CurrencyExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/DimensionExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/DimensionExtractorConfiguration.java index b3522d05eb..f688deb055 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/DimensionExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/DimensionExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.extractors; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/LengthExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/LengthExtractorConfiguration.java index 918f68a430..ae73503301 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/LengthExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/LengthExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/PortugueseNumberWithUnitExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/PortugueseNumberWithUnitExtractorConfiguration.java index 81c194a774..6e2971f5c7 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/PortugueseNumberWithUnitExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/PortugueseNumberWithUnitExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.extractors; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/SpeedExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/SpeedExtractorConfiguration.java index 28859340dd..ad2589a5fb 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/SpeedExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/SpeedExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/TemperatureExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/TemperatureExtractorConfiguration.java index fc3acdfa26..f7caa4ea1c 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/TemperatureExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/TemperatureExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/VolumeExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/VolumeExtractorConfiguration.java index cd30a3c053..37a0358f95 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/VolumeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/VolumeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/WeightExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/WeightExtractorConfiguration.java index 1e55a2cfba..3d9235d7fd 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/WeightExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/extractors/WeightExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/AgeParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/AgeParserConfiguration.java index eed9702c92..0ac8e8d8ac 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/AgeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/AgeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/AreaParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/AreaParserConfiguration.java index 7332b5b3cc..152a26de40 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/AreaParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/AreaParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/CurrencyParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/CurrencyParserConfiguration.java index 6b8df0ede9..7560e9842a 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/CurrencyParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/CurrencyParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/DimensionParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/DimensionParserConfiguration.java index fc4c04d295..19727e269a 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/DimensionParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/DimensionParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/LengthParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/LengthParserConfiguration.java index 66fe22b0ed..c9cd9828ab 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/LengthParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/LengthParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/PortugueseNumberWithUnitParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/PortugueseNumberWithUnitParserConfiguration.java index 295dca7d38..7545b75b52 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/PortugueseNumberWithUnitParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/PortugueseNumberWithUnitParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/SpeedParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/SpeedParserConfiguration.java index 3134499f5d..1923bc997d 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/SpeedParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/SpeedParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/TemperatureParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/TemperatureParserConfiguration.java index 7f3b46c5cc..c0ca1b2d19 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/TemperatureParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/TemperatureParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/VolumeParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/VolumeParserConfiguration.java index 373a2480a2..d53e0d720e 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/VolumeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/VolumeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/WeightParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/WeightParserConfiguration.java index ddce7b5b61..4220e943fb 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/WeightParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/portuguese/parsers/WeightParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.portuguese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/resources/EnglishNumericWithUnit.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/resources/EnglishNumericWithUnit.java index 2f150d2fec..32d5f7a9bd 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/resources/EnglishNumericWithUnit.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/resources/EnglishNumericWithUnit.java @@ -747,6 +747,6 @@ public class EnglishNumericWithUnit { public static final ImmutableMap AmbiguityFiltersDict = ImmutableMap.builder() .put("\\bm\\b", "((('|’)\\s*m)|(m\\s*('|’)))") - .put("^\\d{5} f$", "\\b([a-z]{2} \\d{5} f)\\b") + .put("^\\d{5} [cf]$", "\\b([a-z]{2} \\d{5} [cf])\\b") .build(); } diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/AgeExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/AgeExtractorConfiguration.java index 3255c16396..0be579afc2 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/AgeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/AgeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/AreaExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/AreaExtractorConfiguration.java index 1613958740..75dc776c35 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/AreaExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/AreaExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/CurrencyExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/CurrencyExtractorConfiguration.java index 2de60c673b..00699e814d 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/CurrencyExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/CurrencyExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/DimensionExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/DimensionExtractorConfiguration.java index 7df9fe163a..317d01bd02 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/DimensionExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/DimensionExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.extractors; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/LengthExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/LengthExtractorConfiguration.java index 734dd420d6..38adbf7efa 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/LengthExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/LengthExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/SpanishNumberWithUnitExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/SpanishNumberWithUnitExtractorConfiguration.java index 8043d73682..243ac58f82 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/SpanishNumberWithUnitExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/SpanishNumberWithUnitExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.extractors; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/SpeedExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/SpeedExtractorConfiguration.java index 3610df8eb2..8b7878b5b6 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/SpeedExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/SpeedExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/TemperatureExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/TemperatureExtractorConfiguration.java index 9f80163573..bd7a6a3b39 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/TemperatureExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/TemperatureExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/VolumeExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/VolumeExtractorConfiguration.java index 5b0b85325e..e103a0a471 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/VolumeExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/VolumeExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/WeightExtractorConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/WeightExtractorConfiguration.java index 89dfa2e62a..53a4057fe7 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/WeightExtractorConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/extractors/WeightExtractorConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.extractors; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/AgeParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/AgeParserConfiguration.java index 12b25d8dd5..0e05e5edb5 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/AgeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/AgeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/AreaParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/AreaParserConfiguration.java index 6ca384127c..92f24a01ee 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/AreaParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/AreaParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/CurrencyParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/CurrencyParserConfiguration.java index 0bad7646d7..09933c33dc 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/CurrencyParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/CurrencyParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/DimensionParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/DimensionParserConfiguration.java index dc95e0bee4..d5f4f1b207 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/DimensionParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/DimensionParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/LengthParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/LengthParserConfiguration.java index 28b6dfb5ed..f072ba35e0 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/LengthParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/LengthParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/SpanishNumberWithUnitParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/SpanishNumberWithUnitParserConfiguration.java index 9eb6f824b0..374d620d13 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/SpanishNumberWithUnitParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/SpanishNumberWithUnitParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/SpeedParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/SpeedParserConfiguration.java index 93f905f96b..353dfb0583 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/SpeedParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/SpeedParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/TemperatureParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/TemperatureParserConfiguration.java index 86a0753610..35970cba46 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/TemperatureParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/TemperatureParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/VolumeParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/VolumeParserConfiguration.java index c47e5ae225..83577fbd26 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/VolumeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/VolumeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/WeightParserConfiguration.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/WeightParserConfiguration.java index ecc4e52614..8dcd9974cd 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/WeightParserConfiguration.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/spanish/parsers/WeightParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.spanish.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/utilities/DictionaryUtils.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/utilities/DictionaryUtils.java index 38c88abbf0..d9739cbaac 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/utilities/DictionaryUtils.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/utilities/DictionaryUtils.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.utilities; import java.util.Map; diff --git a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/utilities/StringComparer.java b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/utilities/StringComparer.java index 46fbc0bfdb..74dfe3d3c5 100644 --- a/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/utilities/StringComparer.java +++ b/Java/libraries/recognizers-text-number-with-unit/src/main/java/com/microsoft/recognizers/text/numberwithunit/utilities/StringComparer.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.numberwithunit.utilities; import com.microsoft.recognizers.text.utilities.StringUtility; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/Constants.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/Constants.java index 1f44585020..5871432274 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/Constants.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/Constants.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number; public class Constants { diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/LongFormatType.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/LongFormatType.java index d801a8236c..c4fa789eb1 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/LongFormatType.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/LongFormatType.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number; public class LongFormatType { diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberMode.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberMode.java index 08fac2c359..35884ccb4e 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberMode.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberMode.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number; public enum NumberMode { diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberOptions.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberOptions.java index e3f2e6cfa5..040a793ca4 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberOptions.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberOptions.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number; public enum NumberOptions { diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberRangeConstants.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberRangeConstants.java index d2af53c68f..218842c08a 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberRangeConstants.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberRangeConstants.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number; public abstract class NumberRangeConstants { diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberRecognizer.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberRecognizer.java index 2b76f483bf..b58f7615d5 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberRecognizer.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/NumberRecognizer.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/ChineseNumberExtractorMode.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/ChineseNumberExtractorMode.java index 4ca896d2b7..2c1fb6db7a 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/ChineseNumberExtractorMode.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/ChineseNumberExtractorMode.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.chinese; /** diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/CardinalExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/CardinalExtractor.java index 016fdc02c7..a6c20402a6 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/CardinalExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/CardinalExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.chinese.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/DoubleExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/DoubleExtractor.java index 7f6f2c642e..12a2a0e3bc 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/DoubleExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/DoubleExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.chinese.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/FractionExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/FractionExtractor.java index f6b1223c37..353caed492 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/FractionExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/FractionExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.chinese.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/IntegerExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/IntegerExtractor.java index 4217df0486..33c573ae55 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/IntegerExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/IntegerExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.chinese.extractors; import static com.microsoft.recognizers.text.number.chinese.ChineseNumberExtractorMode.Default; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/NumberExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/NumberExtractor.java index b61bd980c3..e17034b469 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/NumberExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/NumberExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.chinese.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/NumberRangeExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/NumberRangeExtractor.java index d1cc5725d4..86f89661a3 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/NumberRangeExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/NumberRangeExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.chinese.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/OrdinalExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/OrdinalExtractor.java index 2bcd86e934..25508611aa 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/OrdinalExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/OrdinalExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.chinese.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/PercentageExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/PercentageExtractor.java index a3381f5747..bf9469d186 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/PercentageExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/extractors/PercentageExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.chinese.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/parsers/ChineseNumberParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/parsers/ChineseNumberParserConfiguration.java index 2a89909c10..82c3ff0e8c 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/parsers/ChineseNumberParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/parsers/ChineseNumberParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.chinese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/parsers/ChineseNumberRangeParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/parsers/ChineseNumberRangeParserConfiguration.java index 3671a47671..96e2f38815 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/parsers/ChineseNumberRangeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/chinese/parsers/ChineseNumberRangeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.chinese.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/CardinalExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/CardinalExtractor.java index 33b921949d..5b4df2eea9 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/CardinalExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/CardinalExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.english.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/DoubleExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/DoubleExtractor.java index 16cb600c3f..3966ff0a12 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/DoubleExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/DoubleExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.english.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/FractionExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/FractionExtractor.java index 23fb2f9c86..a820ae29ef 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/FractionExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/FractionExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.english.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/IntegerExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/IntegerExtractor.java index fb21cc9cea..ac253db8e6 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/IntegerExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/IntegerExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.english.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/NumberExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/NumberExtractor.java index 7a4179b59a..de21f05f6f 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/NumberExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/NumberExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.english.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/NumberRangeExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/NumberRangeExtractor.java index 2bf576d9c9..13cacf8f15 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/NumberRangeExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/NumberRangeExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.english.extractors; import com.microsoft.recognizers.text.number.NumberRangeConstants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/OrdinalExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/OrdinalExtractor.java index 6c0979315a..c7a597d19d 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/OrdinalExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/OrdinalExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.english.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/PercentageExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/PercentageExtractor.java index 1799b73c1b..40633a7855 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/PercentageExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/extractors/PercentageExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.english.extractors; import com.microsoft.recognizers.text.number.NumberMode; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/parsers/EnglishNumberParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/parsers/EnglishNumberParserConfiguration.java index 67a9beb76d..e3a5be98b9 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/parsers/EnglishNumberParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/parsers/EnglishNumberParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.english.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/parsers/EnglishNumberRangeParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/parsers/EnglishNumberRangeParserConfiguration.java index 4a0706885b..5cc7a1221f 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/parsers/EnglishNumberRangeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/english/parsers/EnglishNumberRangeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.english.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/BaseNumberExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/BaseNumberExtractor.java index 80a2993d2d..35b72a68eb 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/BaseNumberExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/BaseNumberExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/BaseNumberRangeExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/BaseNumberRangeExtractor.java index c6540c3503..867f95ee30 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/BaseNumberRangeExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/BaseNumberRangeExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/BasePercentageExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/BasePercentageExtractor.java index a7c5fe57bc..e6c2aa7671 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/BasePercentageExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/BasePercentageExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/PreProcessResult.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/PreProcessResult.java index b2f439b042..95d2cff827 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/PreProcessResult.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/extractors/PreProcessResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.extractors; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/CardinalExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/CardinalExtractor.java index 974c6bb734..24228e1b05 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/CardinalExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/CardinalExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.french.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/DoubleExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/DoubleExtractor.java index 6d0ea2f652..e52a16d80e 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/DoubleExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/DoubleExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.french.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/FractionExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/FractionExtractor.java index 18f855c706..77ba785279 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/FractionExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/FractionExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.french.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/IntegerExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/IntegerExtractor.java index f349f08826..5717033e69 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/IntegerExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/IntegerExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.french.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/NumberExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/NumberExtractor.java index 4ce68f8f3c..c2e3c46e5f 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/NumberExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/NumberExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.french.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/OrdinalExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/OrdinalExtractor.java index 188357df18..d9ae5e5117 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/OrdinalExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/OrdinalExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.french.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/PercentageExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/PercentageExtractor.java index 476ade10bc..b1728cf5f3 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/PercentageExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/extractors/PercentageExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.french.extractors; import com.microsoft.recognizers.text.number.NumberOptions; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/parsers/FrenchNumberParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/parsers/FrenchNumberParserConfiguration.java index e878ca6323..74809f41fe 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/parsers/FrenchNumberParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/french/parsers/FrenchNumberParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.french.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/CardinalExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/CardinalExtractor.java index 43ad6dbd55..03d1d21994 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/CardinalExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/CardinalExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.german.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/DoubleExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/DoubleExtractor.java index acff62fa1e..2895fcb7a1 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/DoubleExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/DoubleExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.german.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/FractionExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/FractionExtractor.java index c6578fd410..208ec1ca01 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/FractionExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/FractionExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.german.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/IntegerExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/IntegerExtractor.java index 2cc1b8c217..155f2ab59b 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/IntegerExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/IntegerExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.german.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/NumberExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/NumberExtractor.java index 7339e72647..e5c98a5fbc 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/NumberExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/NumberExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.german.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/OrdinalExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/OrdinalExtractor.java index 8a7ae08e5e..006c6af057 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/OrdinalExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/OrdinalExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.german.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/PercentageExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/PercentageExtractor.java index 643e834c7e..532e25f0e1 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/PercentageExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/extractors/PercentageExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.german.extractors; import com.microsoft.recognizers.text.number.NumberOptions; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/parsers/GermanNumberParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/parsers/GermanNumberParserConfiguration.java index a301ebbd18..7e086dc728 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/parsers/GermanNumberParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/german/parsers/GermanNumberParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.german.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/AbstractNumberModel.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/AbstractNumberModel.java index 7bd67756ff..30c553366d 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/AbstractNumberModel.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/AbstractNumberModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.models; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/NumberModel.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/NumberModel.java index cf064a3af6..0382980205 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/NumberModel.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/NumberModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.models; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/NumberRangeModel.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/NumberRangeModel.java index d0da81cf68..31b65882ae 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/NumberRangeModel.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/NumberRangeModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.models; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/OrdinalModel.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/OrdinalModel.java index f5390a84c3..95aa6e4eec 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/OrdinalModel.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/OrdinalModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.models; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/PercentModel.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/PercentModel.java index 71adba2570..13a3f50fc5 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/PercentModel.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/models/PercentModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.models; import com.microsoft.recognizers.text.IExtractor; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/AgnosticNumberParserFactory.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/AgnosticNumberParserFactory.java index 9e46d82908..6bf7b93de3 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/AgnosticNumberParserFactory.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/AgnosticNumberParserFactory.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/AgnosticNumberParserType.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/AgnosticNumberParserType.java index a505ff5a54..5bd008dc18 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/AgnosticNumberParserType.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/AgnosticNumberParserType.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.parsers; public enum AgnosticNumberParserType { diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseCJKNumberParser.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseCJKNumberParser.java index cf6e6167a8..05c5473f2f 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseCJKNumberParser.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseCJKNumberParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.parsers; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseCJKNumberParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseCJKNumberParserConfiguration.java index 6d46c13abf..f9ddc5ec21 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseCJKNumberParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseCJKNumberParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseNumberParser.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseNumberParser.java index 795aebeb78..c4a794a992 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseNumberParser.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseNumberParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseNumberParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseNumberParserConfiguration.java index 6a27494226..6b69e61cb5 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseNumberParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseNumberParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseNumberRangeParser.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseNumberRangeParser.java index 890c0ddacd..922437398f 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseNumberRangeParser.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BaseNumberRangeParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BasePercentageParser.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BasePercentageParser.java index 6ef02249e6..277a8110dd 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BasePercentageParser.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/BasePercentageParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.parsers; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/ICJKNumberParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/ICJKNumberParserConfiguration.java index 627792a5e0..f313c377fd 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/ICJKNumberParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/ICJKNumberParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.parsers; import java.util.List; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/INumberParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/INumberParserConfiguration.java index 22d31b927a..d0de829d9a 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/INumberParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/INumberParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/INumberRangeParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/INumberRangeParserConfiguration.java index 9446a0b7cb..96cf504ecc 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/INumberRangeParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/INumberRangeParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.parsers; import com.microsoft.recognizers.text.CultureInfo; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/NumberFormatUtility.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/NumberFormatUtility.java index 25b49f5bc4..aff3817cf0 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/NumberFormatUtility.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/parsers/NumberFormatUtility.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.parsers; import com.microsoft.recognizers.text.Culture; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/CardinalExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/CardinalExtractor.java index 25d9c3f43b..716783cbba 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/CardinalExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/CardinalExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.portuguese.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/DoubleExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/DoubleExtractor.java index 31b97aae33..0ed13c11bb 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/DoubleExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/DoubleExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.portuguese.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/FractionExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/FractionExtractor.java index c396deae8e..49d7fa0e39 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/FractionExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/FractionExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.portuguese.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/IntegerExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/IntegerExtractor.java index f3edca18ce..ef83a2dbc7 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/IntegerExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/IntegerExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.portuguese.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/NumberExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/NumberExtractor.java index eab23931c1..b72e6a9976 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/NumberExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/NumberExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.portuguese.extractors; import static com.microsoft.recognizers.text.number.NumberMode.Default; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/OrdinalExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/OrdinalExtractor.java index 089ea724b1..03c8eb6321 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/OrdinalExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/OrdinalExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.portuguese.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/PercentageExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/PercentageExtractor.java index 7f65e04c59..ab02cbf577 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/PercentageExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/extractors/PercentageExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.portuguese.extractors; import com.microsoft.recognizers.text.number.NumberOptions; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/parsers/PortugueseNumberParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/parsers/PortugueseNumberParserConfiguration.java index a159335b33..af79721b7c 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/parsers/PortugueseNumberParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/portuguese/parsers/PortugueseNumberParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.portuguese.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/resources/EnglishNumeric.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/resources/EnglishNumeric.java index 16d95abeed..570f0ccf3a 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/resources/EnglishNumeric.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/resources/EnglishNumeric.java @@ -87,7 +87,7 @@ public static String NumbersWithPlaceHolder(String placeholder) { public static final String RoundNumberOrdinalRegex = "(?:hundredth|thousandth|millionth|billionth|trillionth)"; - public static final String NumberOrdinalRegex = "(?:first|second|third|fourth|fifth|sixth|seventh|eighth|ninth|tenth|eleventh|twelfth|thirteenth|fourteenth|fifteenth|sixteenth|seventeenth|eighteenth|nineteenth|twentieth|thirtieth|fortieth|fiftieth|sixtieth|seventieth|eightieth|ninetieth)"; + public static final String NumberOrdinalRegex = "(?:first|second|third|fourth|fifth|sixth|seventh|eighth|nine?th|tenth|eleventh|twelfth|thirteenth|fourteenth|fifteenth|sixteenth|seventeenth|eighteenth|nineteenth|twentieth|thirtieth|fortieth|fiftieth|sixtieth|seventieth|eightieth|ninetieth)"; public static final String RelativeOrdinalRegex = "(?(next|previous|current)\\s+one|(the\\s+second|next)\\s+to\\s+last|the\\s+one\\s+before\\s+the\\s+last(\\s+one)?|the\\s+last\\s+but\\s+one|(ante)?penultimate|last|next|previous|current)"; @@ -382,6 +382,7 @@ public static String DoubleWithoutIntegralRegex(String placeholder) { .put("seventh", 7L) .put("eighth", 8L) .put("ninth", 9L) + .put("nineth", 9L) .put("tenth", 10L) .put("eleventh", 11L) .put("twelfth", 12L) @@ -415,6 +416,7 @@ public static String DoubleWithoutIntegralRegex(String placeholder) { .put("sevenths", 7L) .put("eighths", 8L) .put("ninths", 9L) + .put("nineths", 9L) .put("tenths", 10L) .put("elevenths", 11L) .put("twelfths", 12L) diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/CardinalExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/CardinalExtractor.java index 661fc05f5a..8e5a0a8427 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/CardinalExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/CardinalExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.spanish.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/DoubleExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/DoubleExtractor.java index f088ab6272..257802e59a 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/DoubleExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/DoubleExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.spanish.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/FractionExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/FractionExtractor.java index 0b319868ca..82661fefda 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/FractionExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/FractionExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.spanish.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/IntegerExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/IntegerExtractor.java index 3ee5f10adc..46c33a909f 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/IntegerExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/IntegerExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.spanish.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/NumberExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/NumberExtractor.java index 1eb2385dc7..d466bb3e99 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/NumberExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/NumberExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.spanish.extractors; import static com.microsoft.recognizers.text.number.NumberMode.Default; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/OrdinalExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/OrdinalExtractor.java index dd6003699c..ad14ed8572 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/OrdinalExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/OrdinalExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.spanish.extractors; import com.microsoft.recognizers.text.number.Constants; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/PercentageExtractor.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/PercentageExtractor.java index ed3f5e5ab6..afe9f48aeb 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/PercentageExtractor.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/extractors/PercentageExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.spanish.extractors; import com.microsoft.recognizers.text.number.NumberOptions; diff --git a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/parsers/SpanishNumberParserConfiguration.java b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/parsers/SpanishNumberParserConfiguration.java index 38ced7f6ba..3968304621 100644 --- a/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/parsers/SpanishNumberParserConfiguration.java +++ b/Java/libraries/recognizers-text-number/src/main/java/com/microsoft/recognizers/text/number/spanish/parsers/SpanishNumberParserConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.number.spanish.parsers; import com.google.common.collect.ImmutableMap; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/Culture.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/Culture.java index d5e0a77a4c..cf274694f1 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/Culture.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/Culture.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; import java.util.Arrays; @@ -13,7 +16,7 @@ public class Culture { public static final String Dutch = "nl-nl"; public static final String Italian = "it-it"; - public static final Culture[] SupportedCultures = new Culture[]{ + public static final Culture[] SupportedCultures = new Culture[] { new Culture("English", English), new Culture("Chinese", Chinese), new Culture("Spanish", Spanish), diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/CultureInfo.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/CultureInfo.java index fb3bd89492..604615a43a 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/CultureInfo.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/CultureInfo.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; public class CultureInfo { diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ExtendedModelResult.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ExtendedModelResult.java index bc89319036..4ad0f83d3c 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ExtendedModelResult.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ExtendedModelResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; import java.util.SortedMap; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ExtractResult.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ExtractResult.java index 4cdae84454..07db1972d1 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ExtractResult.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ExtractResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; public class ExtractResult { diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/IExtractor.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/IExtractor.java index 35a5e1bea4..c5a2fb7bef 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/IExtractor.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/IExtractor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; import java.util.List; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/IModel.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/IModel.java index cc529689ac..94135519d6 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/IModel.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/IModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; import java.util.List; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/IParser.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/IParser.java index 45c7ce76a7..a0bf63d4a0 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/IParser.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/IParser.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; public interface IParser { diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/Metadata.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/Metadata.java index 9e89af535d..b0ae92c883 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/Metadata.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/Metadata.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; public class Metadata { diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ModelFactory.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ModelFactory.java index ef2ec6370e..b0b59bb864 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ModelFactory.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ModelFactory.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; import com.microsoft.recognizers.text.utilities.StringUtility; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ModelResult.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ModelResult.java index 69229e1212..07d8c54c03 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ModelResult.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ModelResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; import java.util.SortedMap; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ParseResult.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ParseResult.java index 9a7b0a8cba..5aefadbe1a 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ParseResult.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ParseResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; public class ParseResult extends ExtractResult { diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/Recognizer.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/Recognizer.java index e0d2253f80..d0d6d817ca 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/Recognizer.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/Recognizer.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; import java.util.function.Function; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ResolutionKey.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ResolutionKey.java index 6e14a7ee57..7834724c5e 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ResolutionKey.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/ResolutionKey.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; public class ResolutionKey { diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/AaNode.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/AaNode.java index 5319445bd4..1501a10539 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/AaNode.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/AaNode.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; import java.util.HashMap; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/AbstractMatcher.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/AbstractMatcher.java index 6fb2267a8f..27a7637e0e 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/AbstractMatcher.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/AbstractMatcher.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; import java.util.List; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/AcAutomation.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/AcAutomation.java index b1c0f054c2..28bacf7e20 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/AcAutomation.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/AcAutomation.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; import java.util.ArrayList; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/IMatcher.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/IMatcher.java index 76b0de58f2..58f1154cba 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/IMatcher.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/IMatcher.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; import java.util.List; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/ITokenizer.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/ITokenizer.java index cbdb5c5532..ab5c25a043 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/ITokenizer.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/ITokenizer.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; import java.util.List; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/MatchResult.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/MatchResult.java index 6d577691a7..ff38100bbf 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/MatchResult.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/MatchResult.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; import java.util.HashSet; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/MatchStrategy.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/MatchStrategy.java index b6c3b2e118..083aa6ee11 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/MatchStrategy.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/MatchStrategy.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; public enum MatchStrategy { diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/Node.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/Node.java index 6be935156e..a62467dfdf 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/Node.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/Node.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; import java.util.HashMap; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/NumberWithUnitTokenizer.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/NumberWithUnitTokenizer.java index bd3e654376..ab4d053742 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/NumberWithUnitTokenizer.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/NumberWithUnitTokenizer.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; import com.microsoft.recognizers.text.utilities.StringUtility; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/SimpleTokenizer.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/SimpleTokenizer.java index 93f1a5b3fc..0832d57d22 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/SimpleTokenizer.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/SimpleTokenizer.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; import com.microsoft.recognizers.text.utilities.StringUtility; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/StringMatcher.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/StringMatcher.java index 10d651d4d4..bff1108dd1 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/StringMatcher.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/StringMatcher.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; import java.util.ArrayList; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/Token.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/Token.java index d7ca628080..a09b851e2f 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/Token.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/Token.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; public class Token { diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/TrieTree.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/TrieTree.java index adc6633500..dc99e0481a 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/TrieTree.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/matcher/TrieTree.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.matcher; import java.util.ArrayList; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/Capture.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/Capture.java index 73e4356ad6..a2bac1d624 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/Capture.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/Capture.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.utilities; public class Capture { diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/DefinitionLoader.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/DefinitionLoader.java index 4207c94807..8bce805e95 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/DefinitionLoader.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/DefinitionLoader.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.utilities; import java.util.HashMap; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/DoubleUtility.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/DoubleUtility.java index eee99eedfb..e2863b18a1 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/DoubleUtility.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/DoubleUtility.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.utilities; public abstract class DoubleUtility { diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/FormatUtility.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/FormatUtility.java index a1b34f28f9..e33c772c21 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/FormatUtility.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/FormatUtility.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.utilities; import java.text.Normalizer; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/IntegerUtility.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/IntegerUtility.java index 9d7e11cd0f..d9c2a69def 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/IntegerUtility.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/IntegerUtility.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.utilities; public abstract class IntegerUtility { diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/Match.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/Match.java index ac0e1a02f3..1ca0a44922 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/Match.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/Match.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.utilities; import java.util.Map; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/MatchGroup.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/MatchGroup.java index 42dfe27f8b..b7ae45860b 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/MatchGroup.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/MatchGroup.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.utilities; public class MatchGroup { diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/QueryProcessor.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/QueryProcessor.java index c857d64fd9..cd2c93cc7d 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/QueryProcessor.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/QueryProcessor.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.utilities; import java.text.Normalizer; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/RegExpUtility.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/RegExpUtility.java index 739ff6f6f1..1ef8b92322 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/RegExpUtility.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/RegExpUtility.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.utilities; import java.util.ArrayList; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/StringReplacerCallback.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/StringReplacerCallback.java index 0052865e8f..dfde2d535c 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/StringReplacerCallback.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/StringReplacerCallback.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.utilities; import java.util.regex.Matcher; diff --git a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/StringUtility.java b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/StringUtility.java index d3f120cc94..52652c755b 100644 --- a/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/StringUtility.java +++ b/Java/libraries/recognizers-text/src/main/java/com/microsoft/recognizers/text/utilities/StringUtility.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.utilities; public abstract class StringUtility { diff --git a/Java/libraries/recognizers-text/src/test/java/com/microsoft/recognizers/text/ModelFactoryTest.java b/Java/libraries/recognizers-text/src/test/java/com/microsoft/recognizers/text/ModelFactoryTest.java index 53032d032b..2703faa488 100644 --- a/Java/libraries/recognizers-text/src/test/java/com/microsoft/recognizers/text/ModelFactoryTest.java +++ b/Java/libraries/recognizers-text/src/test/java/com/microsoft/recognizers/text/ModelFactoryTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; import org.javatuples.Pair; diff --git a/Java/libraries/recognizers-text/src/test/java/com/microsoft/recognizers/text/TestModel.java b/Java/libraries/recognizers-text/src/test/java/com/microsoft/recognizers/text/TestModel.java index 5eecb658a3..50d783eece 100644 --- a/Java/libraries/recognizers-text/src/test/java/com/microsoft/recognizers/text/TestModel.java +++ b/Java/libraries/recognizers-text/src/test/java/com/microsoft/recognizers/text/TestModel.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; import java.util.ArrayList; diff --git a/Java/libraries/recognizers-text/src/test/java/com/microsoft/recognizers/text/TestOptionsEnum.java b/Java/libraries/recognizers-text/src/test/java/com/microsoft/recognizers/text/TestOptionsEnum.java index 785e3557da..563ffd4528 100644 --- a/Java/libraries/recognizers-text/src/test/java/com/microsoft/recognizers/text/TestOptionsEnum.java +++ b/Java/libraries/recognizers-text/src/test/java/com/microsoft/recognizers/text/TestOptionsEnum.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text; public enum TestOptionsEnum { diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/CodeGenerator.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/CodeGenerator.java index 049b1b39cc..1b5ca9377e 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/CodeGenerator.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/CodeGenerator.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources; import com.microsoft.recognizers.text.resources.datatypes.*; diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/ResourceConfig.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/ResourceConfig.java index b4b72a1af4..4623b017fb 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/ResourceConfig.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/ResourceConfig.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources; public class ResourceConfig { diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/ResourceDefinitions.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/ResourceDefinitions.java index 6beee11a96..74ad7916f0 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/ResourceDefinitions.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/ResourceDefinitions.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources; import java.util.List; diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/ResourcesGenerator.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/ResourcesGenerator.java index f0b58c697e..3525847117 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/ResourcesGenerator.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/ResourcesGenerator.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/Dictionary.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/Dictionary.java index 971237ae89..6a91da0d01 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/Dictionary.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/Dictionary.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.datatypes; import java.util.Map; diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/List.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/List.java index e0b52a1d8e..423b968e74 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/List.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/List.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.datatypes; public class List { diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/NestedRegex.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/NestedRegex.java index 267fc731fb..6ab9df21dc 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/NestedRegex.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/NestedRegex.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.datatypes; public class NestedRegex { diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/ParamsRegex.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/ParamsRegex.java index 9e33e395f7..1ca77b9f91 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/ParamsRegex.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/ParamsRegex.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.datatypes; public class ParamsRegex { diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/SimpleRegex.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/SimpleRegex.java index 6f1d2dd973..b861429739 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/SimpleRegex.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/datatypes/SimpleRegex.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.datatypes; public class SimpleRegex { diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/BooleanWriter.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/BooleanWriter.java index d3481bfa9e..68626cc6f0 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/BooleanWriter.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/BooleanWriter.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.writters; public class BooleanWriter implements ICodeWriter { diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/CharacterWriter.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/CharacterWriter.java index d874fd0ef6..2bd87ae9d9 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/CharacterWriter.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/CharacterWriter.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.writters; public class CharacterWriter implements ICodeWriter { diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/DefaultWriter.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/DefaultWriter.java index ed6bffa71a..b5ebd8d136 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/DefaultWriter.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/DefaultWriter.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.writters; public class DefaultWriter implements ICodeWriter { diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/DictionaryWriter.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/DictionaryWriter.java index 1b8aa475ee..b3ef958fc3 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/DictionaryWriter.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/DictionaryWriter.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.writters; import com.microsoft.recognizers.text.resources.datatypes.Dictionary; diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/ICodeWriter.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/ICodeWriter.java index 1bc9086986..9525f63193 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/ICodeWriter.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/ICodeWriter.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.writters; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/IntegerWriter.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/IntegerWriter.java index 17e5f65c7d..b3728e33f6 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/IntegerWriter.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/IntegerWriter.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.writters; public class IntegerWriter implements ICodeWriter { diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/ListWriter.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/ListWriter.java index 67a61c29ca..b41186ad3f 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/ListWriter.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/ListWriter.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.writters; import java.util.Arrays; diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/NestedRegexWriter.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/NestedRegexWriter.java index 37f172c27b..c168ce1b51 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/NestedRegexWriter.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/NestedRegexWriter.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.writters; import com.microsoft.recognizers.text.resources.datatypes.NestedRegex; diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/ParamsRegexWriter.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/ParamsRegexWriter.java index be1d839fa2..f6088fad56 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/ParamsRegexWriter.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/ParamsRegexWriter.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.writters; import com.microsoft.recognizers.text.resources.datatypes.ParamsRegex; diff --git a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/SimpleRegexWriter.java b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/SimpleRegexWriter.java index 95817bb7e0..910b9fe948 100644 --- a/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/SimpleRegexWriter.java +++ b/Java/libraries/resource-generator/src/main/java/com/microsoft/recognizers/text/resources/writters/SimpleRegexWriter.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.resources.writters; import com.microsoft.recognizers.text.resources.datatypes.SimpleRegex; diff --git a/Java/samples/simple-console/src/main/java/com/microsoft/recognizers/text/samples/simpleconsole/Sample.java b/Java/samples/simple-console/src/main/java/com/microsoft/recognizers/text/samples/simpleconsole/Sample.java index 59549b42c2..ac637d6d08 100644 --- a/Java/samples/simple-console/src/main/java/com/microsoft/recognizers/text/samples/simpleconsole/Sample.java +++ b/Java/samples/simple-console/src/main/java/com/microsoft/recognizers/text/samples/simpleconsole/Sample.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.samples.simpleconsole; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/AbstractTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/AbstractTest.java index cb614072de..6f9fd53642 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/AbstractTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/AbstractTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/DependencyConstants.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/DependencyConstants.java index 24ce5a1245..ccd554dc30 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/DependencyConstants.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/DependencyConstants.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests; public class DependencyConstants { diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/Models.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/Models.java index 995082e9c8..ff9d4179b0 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/Models.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/Models.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests; public enum Models { diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/NotSupportedException.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/NotSupportedException.java index 8cad241a22..fb7cfdab7d 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/NotSupportedException.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/NotSupportedException.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests; // This Exception represents a extractor/parser/model not yet implemented in Java diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/Platform.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/Platform.java index 2b17a05726..752833b906 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/Platform.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/Platform.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests; public enum Platform { diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/TestCase.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/TestCase.java index 19fbdd0703..f223131c90 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/TestCase.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/TestCase.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/choice/BooleanModelTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/choice/BooleanModelTest.java index b75d993225..246689a5df 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/choice/BooleanModelTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/choice/BooleanModelTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.choice; import com.microsoft.recognizers.text.ModelResult; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/datetime/DateTimeExtractorTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/datetime/DateTimeExtractorTest.java index 3de872def5..b1d2a2d60a 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/datetime/DateTimeExtractorTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/datetime/DateTimeExtractorTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.datetime; import com.microsoft.recognizers.text.Culture; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/datetime/DateTimeParserTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/datetime/DateTimeParserTest.java index 842bbacfad..a723b3e421 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/datetime/DateTimeParserTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/datetime/DateTimeParserTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.datetime; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/datetime/DateTimeTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/datetime/DateTimeTest.java index 2963d6576c..b4cc1f2e4d 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/datetime/DateTimeTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/datetime/DateTimeTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.datetime; import com.microsoft.recognizers.text.ExtendedModelResult; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/DateTimeParseResultMixIn.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/DateTimeParseResultMixIn.java index 33f19ab5a1..d26be33de2 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/DateTimeParseResultMixIn.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/DateTimeParseResultMixIn.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.helpers; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/DateTimeResolutionResultMixIn.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/DateTimeResolutionResultMixIn.java index 9c09ae37f7..d891e81980 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/DateTimeResolutionResultMixIn.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/DateTimeResolutionResultMixIn.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.helpers; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/ExtendedModelResultMixIn.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/ExtendedModelResultMixIn.java index 19308312d8..fc8b4ed0ae 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/ExtendedModelResultMixIn.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/ExtendedModelResultMixIn.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.helpers; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/ExtractResultMixIn.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/ExtractResultMixIn.java index 6a9e260b4e..759cc0e59d 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/ExtractResultMixIn.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/ExtractResultMixIn.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.helpers; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/ModelResultMixIn.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/ModelResultMixIn.java index 7a317f4f49..59e36e695d 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/ModelResultMixIn.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/ModelResultMixIn.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.helpers; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/TimeZoneResolutionResultMixIn.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/TimeZoneResolutionResultMixIn.java index e2547ae056..d4fb7d873f 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/TimeZoneResolutionResultMixIn.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/helpers/TimeZoneResolutionResultMixIn.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.helpers; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/DecimalAndThousandsSeparatorsTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/DecimalAndThousandsSeparatorsTest.java index ad3fefb28a..442a96f591 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/DecimalAndThousandsSeparatorsTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/DecimalAndThousandsSeparatorsTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.number; import com.microsoft.recognizers.text.ExtractResult; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/LongFormTestConfiguration.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/LongFormTestConfiguration.java index dd69279812..98727acd8d 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/LongFormTestConfiguration.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/LongFormTestConfiguration.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.number; import com.microsoft.recognizers.text.Culture; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/NumberCacheTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/NumberCacheTest.java index 1dafad176c..8cd6712dc2 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/NumberCacheTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/NumberCacheTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.number; import com.microsoft.recognizers.text.Culture; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/NumberRecognizerInitializationTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/NumberRecognizerInitializationTest.java index c52face99b..8cb77d7808 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/NumberRecognizerInitializationTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/NumberRecognizerInitializationTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.number; import com.microsoft.recognizers.text.*; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/NumberTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/NumberTest.java index c6bcc9856d..41bfa8f8fd 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/NumberTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/NumberTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.number; import com.microsoft.recognizers.text.ExtendedModelResult; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/ParserFactoryTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/ParserFactoryTest.java index 2794cb2cf0..5692cb17a0 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/ParserFactoryTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/number/ParserFactoryTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.number; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/numberwithunit/NumberWithUnitCacheTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/numberwithunit/NumberWithUnitCacheTest.java index 2ecc8cccd0..6522d6bd38 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/numberwithunit/NumberWithUnitCacheTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/numberwithunit/NumberWithUnitCacheTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.numberwithunit; import com.microsoft.recognizers.text.Culture; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/numberwithunit/NumberWithUnitRecognizerInitializationTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/numberwithunit/NumberWithUnitRecognizerInitializationTest.java index ec998d0c33..7818d2de25 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/numberwithunit/NumberWithUnitRecognizerInitializationTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/numberwithunit/NumberWithUnitRecognizerInitializationTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.numberwithunit; import com.google.common.collect.ImmutableMap; diff --git a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/numberwithunit/NumberWithUnitTest.java b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/numberwithunit/NumberWithUnitTest.java index 82083bd8f3..3849654ca4 100644 --- a/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/numberwithunit/NumberWithUnitTest.java +++ b/Java/tests/src/test/java/com/microsoft/recognizers/text/tests/numberwithunit/NumberWithUnitTest.java @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + package com.microsoft.recognizers.text.tests.numberwithunit; import com.microsoft.recognizers.text.ModelResult; diff --git a/JavaScript/packages/datatypes-date-time/index.js b/JavaScript/packages/datatypes-date-time/index.js index 2251e3bcda..315aa0ab7b 100644 --- a/JavaScript/packages/datatypes-date-time/index.js +++ b/JavaScript/packages/datatypes-date-time/index.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. module.exports = { Time: require('./src/time.js').Time, diff --git a/JavaScript/packages/datatypes-date-time/rollup.config.js b/JavaScript/packages/datatypes-date-time/rollup.config.js index 38e40835ee..11afa8ffe2 100644 --- a/JavaScript/packages/datatypes-date-time/rollup.config.js +++ b/JavaScript/packages/datatypes-date-time/rollup.config.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import sourceMaps from 'rollup-plugin-sourcemaps'; diff --git a/JavaScript/packages/datatypes-date-time/src/en/timexConstants.js b/JavaScript/packages/datatypes-date-time/src/en/timexConstants.js index 1885bb0cba..ee00be7260 100644 --- a/JavaScript/packages/datatypes-date-time/src/en/timexConstants.js +++ b/JavaScript/packages/datatypes-date-time/src/en/timexConstants.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. module.exports.days = [ 'Monday', diff --git a/JavaScript/packages/datatypes-date-time/src/en/timexConvert.js b/JavaScript/packages/datatypes-date-time/src/en/timexConvert.js index 730dbba614..d5873aeb86 100644 --- a/JavaScript/packages/datatypes-date-time/src/en/timexConvert.js +++ b/JavaScript/packages/datatypes-date-time/src/en/timexConvert.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const timexConstants = require('./timexConstants.js'); const timexInference = require('../timexInference.js'); diff --git a/JavaScript/packages/datatypes-date-time/src/en/timexRelativeConvert.js b/JavaScript/packages/datatypes-date-time/src/en/timexRelativeConvert.js index 4a505e72f2..6cc12214cc 100644 --- a/JavaScript/packages/datatypes-date-time/src/en/timexRelativeConvert.js +++ b/JavaScript/packages/datatypes-date-time/src/en/timexRelativeConvert.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const timexDateHelpers = require('../timexDateHelpers.js'); const timexInference = require('../timexInference.js'); diff --git a/JavaScript/packages/datatypes-date-time/src/time.js b/JavaScript/packages/datatypes-date-time/src/time.js index 3e74b8c7d0..007151f1bf 100644 --- a/JavaScript/packages/datatypes-date-time/src/time.js +++ b/JavaScript/packages/datatypes-date-time/src/time.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. class Time { constructor(hour, minute, second) { diff --git a/JavaScript/packages/datatypes-date-time/src/timexConstraintsHelper.js b/JavaScript/packages/datatypes-date-time/src/timexConstraintsHelper.js index f9382957c1..f5aa956a60 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexConstraintsHelper.js +++ b/JavaScript/packages/datatypes-date-time/src/timexConstraintsHelper.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const isOverlapping = function (r1, r2) { return r1.end.getTime() > r2.start.getTime() && r1.start.getTime() <= r2.start.getTime() diff --git a/JavaScript/packages/datatypes-date-time/src/timexConvert.js b/JavaScript/packages/datatypes-date-time/src/timexConvert.js index 60fd9225dc..5dd6687aa9 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexConvert.js +++ b/JavaScript/packages/datatypes-date-time/src/timexConvert.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const en = require('./en/timexConvert.js'); diff --git a/JavaScript/packages/datatypes-date-time/src/timexCreator.js b/JavaScript/packages/datatypes-date-time/src/timexCreator.js index e98a947bed..9897fbc017 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexCreator.js +++ b/JavaScript/packages/datatypes-date-time/src/timexCreator.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const timexHelpers = require('./timexHelpers.js'); const timexDateHelpers = require('./timexDateHelpers.js'); diff --git a/JavaScript/packages/datatypes-date-time/src/timexDateHelpers.js b/JavaScript/packages/datatypes-date-time/src/timexDateHelpers.js index fa8bcf6e04..384075fa0c 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexDateHelpers.js +++ b/JavaScript/packages/datatypes-date-time/src/timexDateHelpers.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const cloneDate = function (date) { const result = new Date(); diff --git a/JavaScript/packages/datatypes-date-time/src/timexFormat.js b/JavaScript/packages/datatypes-date-time/src/timexFormat.js index 328f1a145e..8c64eb97fb 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexFormat.js +++ b/JavaScript/packages/datatypes-date-time/src/timexFormat.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const timexInference = require('./timexInference.js'); const fixedFormatNumber = require('./timexDateHelpers.js').fixedFormatNumber; diff --git a/JavaScript/packages/datatypes-date-time/src/timexHelpers.js b/JavaScript/packages/datatypes-date-time/src/timexHelpers.js index 963de100b4..19d69f1f7f 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexHelpers.js +++ b/JavaScript/packages/datatypes-date-time/src/timexHelpers.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const Time = require('./time.js').Time; const timexInference = require('./timexInference.js'); diff --git a/JavaScript/packages/datatypes-date-time/src/timexInference.js b/JavaScript/packages/datatypes-date-time/src/timexInference.js index 1d5778648e..ffc0b1928e 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexInference.js +++ b/JavaScript/packages/datatypes-date-time/src/timexInference.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const isPresent = function (obj) { return obj.now === true; diff --git a/JavaScript/packages/datatypes-date-time/src/timexParsing.js b/JavaScript/packages/datatypes-date-time/src/timexParsing.js index a27387c6e5..70c3cb8e6e 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexParsing.js +++ b/JavaScript/packages/datatypes-date-time/src/timexParsing.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const timexregex = require('./timexRegex.js'); diff --git a/JavaScript/packages/datatypes-date-time/src/timexProperty.js b/JavaScript/packages/datatypes-date-time/src/timexProperty.js index 5d6e22ac3a..d9128ac517 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexProperty.js +++ b/JavaScript/packages/datatypes-date-time/src/timexProperty.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const timexParsing = require('./timexParsing.js'); const timexInference = require('./timexInference.js'); diff --git a/JavaScript/packages/datatypes-date-time/src/timexRangeResolver.js b/JavaScript/packages/datatypes-date-time/src/timexRangeResolver.js index 3d0908a22f..be0c745f05 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexRangeResolver.js +++ b/JavaScript/packages/datatypes-date-time/src/timexRangeResolver.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const timexHelpers = require('./timexHelpers.js'); const timexDateHelpers = require('./timexDateHelpers.js'); diff --git a/JavaScript/packages/datatypes-date-time/src/timexRegex.js b/JavaScript/packages/datatypes-date-time/src/timexRegex.js index a225fb557c..e82e63ab13 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexRegex.js +++ b/JavaScript/packages/datatypes-date-time/src/timexRegex.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const value = function (s) { return s; }; const isTrue = function () { return true; }; diff --git a/JavaScript/packages/datatypes-date-time/src/timexRelativeConvert.js b/JavaScript/packages/datatypes-date-time/src/timexRelativeConvert.js index d47ccf0388..4c5365c47d 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexRelativeConvert.js +++ b/JavaScript/packages/datatypes-date-time/src/timexRelativeConvert.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. module.exports.convertTimexToStringRelative = require('./en/timexRelativeConvert.js').convertTimexToStringRelative; diff --git a/JavaScript/packages/datatypes-date-time/src/timexResolver.js b/JavaScript/packages/datatypes-date-time/src/timexResolver.js index 830edb2a7c..8f7352e70f 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexResolver.js +++ b/JavaScript/packages/datatypes-date-time/src/timexResolver.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const TimexProperty = require('./timexProperty.js').TimexProperty; const timexValue = require('./timexValue.js'); diff --git a/JavaScript/packages/datatypes-date-time/src/timexSet.js b/JavaScript/packages/datatypes-date-time/src/timexSet.js index 5de286fbb2..ff6b1839b8 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexSet.js +++ b/JavaScript/packages/datatypes-date-time/src/timexSet.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const TimexProperty = require('./timexProperty.js').TimexProperty; diff --git a/JavaScript/packages/datatypes-date-time/src/timexValue.js b/JavaScript/packages/datatypes-date-time/src/timexValue.js index aa957c9777..2a0c291e62 100644 --- a/JavaScript/packages/datatypes-date-time/src/timexValue.js +++ b/JavaScript/packages/datatypes-date-time/src/timexValue.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const fixedFormatNumber = require('./timexDateHelpers.js').fixedFormatNumber; diff --git a/JavaScript/packages/datatypes-date-time/test/time.spec.js b/JavaScript/packages/datatypes-date-time/test/time.spec.js index 08ce12a0ca..19bf5c481c 100644 --- a/JavaScript/packages/datatypes-date-time/test/time.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/time.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); const { Time } = require('../index.js'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexConstraints.spec.js b/JavaScript/packages/datatypes-date-time/test/timexConstraints.spec.js index d84a650cb9..9690ad78c8 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexConstraints.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexConstraints.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); const timexConstraintsHelper = require('../src/timexConstraintsHelper.js'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexConvert.spec.js b/JavaScript/packages/datatypes-date-time/test/timexConvert.spec.js index 3f0d399dba..071f21557b 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexConvert.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexConvert.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexCreator.spec.js b/JavaScript/packages/datatypes-date-time/test/timexCreator.spec.js index 69e49f7e8c..ec0803c1f5 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexCreator.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexCreator.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); const timexCreator = require('../src/timexCreator.js'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexDateHelpers.spec.js b/JavaScript/packages/datatypes-date-time/test/timexDateHelpers.spec.js index 537c14f12c..9c69d91198 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexDateHelpers.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexDateHelpers.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); const timexDateHelpers = require('../src/timexDateHelpers.js'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexFormat.spec.js b/JavaScript/packages/datatypes-date-time/test/timexFormat.spec.js index bf971ef48a..16cb78b651 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexFormat.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexFormat.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); const timexFormat = require('../src/timexFormat.js'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexHelpers.spec.js b/JavaScript/packages/datatypes-date-time/test/timexHelpers.spec.js index 00eb1bd0ce..68a76513db 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexHelpers.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexHelpers.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); const timexHelpers = require('../src/timexHelpers.js'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexIntegrated.spec.js b/JavaScript/packages/datatypes-date-time/test/timexIntegrated.spec.js index 42c9343a8f..7fc3c9dc1d 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexIntegrated.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexIntegrated.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexLuis.spec.js b/JavaScript/packages/datatypes-date-time/test/timexLuis.spec.js index 14d55b6d90..87292e06ad 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexLuis.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexLuis.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); const chaiAsPromised = require('chai-as-promised'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexParsing.spec.js b/JavaScript/packages/datatypes-date-time/test/timexParsing.spec.js index c8bb522c4c..b3b6070bd9 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexParsing.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexParsing.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexProperty.spec.js b/JavaScript/packages/datatypes-date-time/test/timexProperty.spec.js index 1511f3e57e..dada900eee 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexProperty.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexProperty.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); const { Time, TimexProperty } = require('../index.js'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexRangeResolver.spec.js b/JavaScript/packages/datatypes-date-time/test/timexRangeResolver.spec.js index 52c5344d01..4af9c1ed98 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexRangeResolver.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexRangeResolver.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); const { TimexProperty, creator, resolver } = require('../index.js'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexRelativeConvert.spec.js b/JavaScript/packages/datatypes-date-time/test/timexRelativeConvert.spec.js index 471cf7315c..7b2c9b81c4 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexRelativeConvert.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexRelativeConvert.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexResolver.spec.js b/JavaScript/packages/datatypes-date-time/test/timexResolver.spec.js index f8d701f40b..d8c0a1159e 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexResolver.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexResolver.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); const { TimexProperty } = require('../index.js'); diff --git a/JavaScript/packages/datatypes-date-time/test/timexSet.spec.js b/JavaScript/packages/datatypes-date-time/test/timexSet.spec.js index 2ea0fa48a5..2ec7ce84a6 100644 --- a/JavaScript/packages/datatypes-date-time/test/timexSet.spec.js +++ b/JavaScript/packages/datatypes-date-time/test/timexSet.spec.js @@ -1,4 +1,5 @@ // Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. const chai = require('chai'); diff --git a/JavaScript/packages/recognizers-choice/rollup.config.js b/JavaScript/packages/recognizers-choice/rollup.config.js index 8cf0517501..227477483f 100644 --- a/JavaScript/packages/recognizers-choice/rollup.config.js +++ b/JavaScript/packages/recognizers-choice/rollup.config.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import sourceMaps from 'rollup-plugin-sourcemaps'; diff --git a/JavaScript/packages/recognizers-choice/src/choice/chinese/boolean.ts b/JavaScript/packages/recognizers-choice/src/choice/chinese/boolean.ts index 3e1394a404..14f2cd8f3a 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/chinese/boolean.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/chinese/boolean.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { IBooleanExtractorConfiguration } from "../extractors"; import { ChineseChoice } from "../../resources/chineseChoice"; diff --git a/JavaScript/packages/recognizers-choice/src/choice/choiceRecognizer.ts b/JavaScript/packages/recognizers-choice/src/choice/choiceRecognizer.ts index 3d629fcf5f..50ddf701a2 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/choiceRecognizer.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/choiceRecognizer.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { Recognizer, IModel, Culture, ModelResult } from "@microsoft/recognizers-text"; import { BooleanModel } from "./models"; import { BooleanExtractor } from "./extractors"; diff --git a/JavaScript/packages/recognizers-choice/src/choice/constants.ts b/JavaScript/packages/recognizers-choice/src/choice/constants.ts index c4090392c7..5b15e39ad6 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/constants.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/constants.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export class Constants { static readonly SYS_BOOLEAN: string = "boolean"; static readonly SYS_BOOLEAN_TRUE: string = "boolean-true"; diff --git a/JavaScript/packages/recognizers-choice/src/choice/dutch/boolean.ts b/JavaScript/packages/recognizers-choice/src/choice/dutch/boolean.ts index 29b9562651..32b65d5ace 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/dutch/boolean.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/dutch/boolean.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { IBooleanExtractorConfiguration } from "../extractors"; import { DutchChoice } from "../../resources/dutchChoice"; diff --git a/JavaScript/packages/recognizers-choice/src/choice/english/boolean.ts b/JavaScript/packages/recognizers-choice/src/choice/english/boolean.ts index d0e70da6f0..66686eee0a 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/english/boolean.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/english/boolean.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { IBooleanExtractorConfiguration } from "../extractors"; import { EnglishChoice } from "../../resources/englishChoice"; diff --git a/JavaScript/packages/recognizers-choice/src/choice/extractors.ts b/JavaScript/packages/recognizers-choice/src/choice/extractors.ts index 91da4007c2..be4738aae8 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/extractors.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, RegExpUtility, Match, StringUtility } from "@microsoft/recognizers-text"; import { Constants } from "./constants"; import GraphemeSplitter = require("grapheme-splitter"); diff --git a/JavaScript/packages/recognizers-choice/src/choice/french/boolean.ts b/JavaScript/packages/recognizers-choice/src/choice/french/boolean.ts index 5b02c94280..2192b55cac 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/french/boolean.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/french/boolean.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { IBooleanExtractorConfiguration } from "../extractors"; import { FrenchChoice } from "../../resources/frenchChoice"; diff --git a/JavaScript/packages/recognizers-choice/src/choice/german/boolean.ts b/JavaScript/packages/recognizers-choice/src/choice/german/boolean.ts index df73ec58de..5a500e533f 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/german/boolean.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/german/boolean.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { IBooleanExtractorConfiguration } from "../extractors"; import { GermanChoice } from "../../resources/germanChoice"; diff --git a/JavaScript/packages/recognizers-choice/src/choice/japanese/boolean.ts b/JavaScript/packages/recognizers-choice/src/choice/japanese/boolean.ts index 7b5f423f67..bb4e8c1a4e 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/japanese/boolean.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/japanese/boolean.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { IBooleanExtractorConfiguration } from "../extractors"; import { JapaneseChoice } from "../../resources/japaneseChoice"; diff --git a/JavaScript/packages/recognizers-choice/src/choice/models.ts b/JavaScript/packages/recognizers-choice/src/choice/models.ts index 4b5f52b944..571b4015c2 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/models.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/models.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IModel, ModelResult, IExtractor, IParser, ParseResult } from "@microsoft/recognizers-text"; export abstract class ChoiceModel implements IModel { diff --git a/JavaScript/packages/recognizers-choice/src/choice/parsers.ts b/JavaScript/packages/recognizers-choice/src/choice/parsers.ts index d84e4637f7..2a6c415c85 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/parsers.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/parsers.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IParser, ExtractResult, ParseResult } from "@microsoft/recognizers-text"; import { Constants } from "./constants"; diff --git a/JavaScript/packages/recognizers-choice/src/choice/portuguese/boolean.ts b/JavaScript/packages/recognizers-choice/src/choice/portuguese/boolean.ts index 925ca7bd29..f0c67f35f7 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/portuguese/boolean.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/portuguese/boolean.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { IBooleanExtractorConfiguration } from "../extractors"; import { PortugueseChoice } from "../../resources/portugueseChoice"; diff --git a/JavaScript/packages/recognizers-choice/src/choice/spanish/boolean.ts b/JavaScript/packages/recognizers-choice/src/choice/spanish/boolean.ts index 561d5c08f8..61036b57f3 100644 --- a/JavaScript/packages/recognizers-choice/src/choice/spanish/boolean.ts +++ b/JavaScript/packages/recognizers-choice/src/choice/spanish/boolean.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { IBooleanExtractorConfiguration } from "../extractors"; import { SpanishChoice } from "../../resources/spanishChoice"; diff --git a/JavaScript/packages/recognizers-choice/src/recognizers-text-choice.ts b/JavaScript/packages/recognizers-choice/src/recognizers-text-choice.ts index 28db0d88ff..78ad8d6e08 100644 --- a/JavaScript/packages/recognizers-choice/src/recognizers-text-choice.ts +++ b/JavaScript/packages/recognizers-choice/src/recognizers-text-choice.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export { default as ChoiceRecognizer, ChoiceOptions, recognizeBoolean } from "./choice/choiceRecognizer"; export { Culture } from "@microsoft/recognizers-text"; export { Constants } from "./choice/constants"; diff --git a/JavaScript/packages/recognizers-date-time/rollup.config.js b/JavaScript/packages/recognizers-date-time/rollup.config.js index 067bc24908..6a04b3e9e2 100644 --- a/JavaScript/packages/recognizers-date-time/rollup.config.js +++ b/JavaScript/packages/recognizers-date-time/rollup.config.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import sourceMaps from 'rollup-plugin-sourcemaps'; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/baseDate.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/baseDate.ts index f1e2a391dd..903f6c37e5 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/baseDate.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/baseDate.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ExtractResult, RegExpUtility, Match, StringUtility } from "@microsoft/recognizers-text"; import { Constants, TimeTypeConstants } from "./constants"; import { Constants as NumberConstants } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/baseDatePeriod.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/baseDatePeriod.ts index c02c181ce5..e795df7e25 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/baseDatePeriod.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/baseDatePeriod.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, RegExpUtility, Match, StringUtility } from "@microsoft/recognizers-text"; import { Constants, TimeTypeConstants } from "./constants"; import { BaseNumberExtractor, BaseNumberParser } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/baseDateTime.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/baseDateTime.ts index f6410af73c..abc41eeb4b 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/baseDateTime.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/baseDateTime.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, RegExpUtility, StringUtility } from "@microsoft/recognizers-text"; import { Constants, TimeTypeConstants } from "./constants"; import { BaseNumberExtractor, BaseNumberParser } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/baseDateTimePeriod.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/baseDateTimePeriod.ts index bcce97b443..5c6cf141ad 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/baseDateTimePeriod.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/baseDateTimePeriod.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, RegExpUtility, StringUtility } from "@microsoft/recognizers-text"; import { Constants, TimeTypeConstants } from "./constants"; import { BaseNumberExtractor } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/baseDuration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/baseDuration.ts index 58170754d7..16d0cf00c2 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/baseDuration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/baseDuration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ExtractResult, RegExpUtility, StringUtility } from "@microsoft/recognizers-text"; import { Constants, TimeTypeConstants } from "./constants"; import { BaseNumberExtractor, BaseNumberParser } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/baseHoliday.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/baseHoliday.ts index a6389a39ea..7d8ae3c4ad 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/baseHoliday.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/baseHoliday.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, RegExpUtility, Match, MetaData } from "@microsoft/recognizers-text"; import { Constants, TimeTypeConstants } from "./constants"; import { Token, DateTimeFormatUtil, DateTimeResolutionResult, DayOfWeek, DateUtils, StringMap } from "./utilities"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/baseMerged.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/baseMerged.ts index 36332ed984..6dc5439a68 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/baseMerged.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/baseMerged.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, MetaData } from "@microsoft/recognizers-text"; import { Constants, TimeTypeConstants } from "./constants"; import { RegExpUtility, StringUtility, BaseNumberExtractor } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/baseSet.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/baseSet.ts index dbd987d27f..8be6d41ff2 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/baseSet.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/baseSet.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, RegExpUtility, StringUtility } from "@microsoft/recognizers-text"; import { Constants, TimeTypeConstants } from "./constants"; import { IDateTimeParser, DateTimeParseResult } from "./parsers"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/baseTime.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/baseTime.ts index e07f8a27e5..d52cf1ff72 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/baseTime.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/baseTime.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult } from "@microsoft/recognizers-text"; import { Constants, TimeTypeConstants } from "./constants"; import { RegExpUtility, Match, StringUtility } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/baseTimePeriod.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/baseTimePeriod.ts index cf90b344f2..8820255501 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/baseTimePeriod.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/baseTimePeriod.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, RegExpUtility, StringUtility } from "@microsoft/recognizers-text"; import { Constants, TimeTypeConstants } from "./constants"; import { Token, DateTimeFormatUtil, DateTimeResolutionResult, IDateTimeUtilityConfiguration, DateUtils, StringMap } from "./utilities"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/baseDateTime.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/baseDateTime.ts index 849746f9d8..80989d6860 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/baseDateTime.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/baseDateTime.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult } from "@microsoft/recognizers-text"; import { StringUtility, Match, RegExpUtility } from "@microsoft/recognizers-text-number"; import { IDateTimeExtractor } from "../baseDateTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/dateConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/dateConfiguration.ts index 72319126d6..2b4ea153d2 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/dateConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/dateConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, StringUtility, Match, RegExpUtility, MetaData } from "@microsoft/recognizers-text"; import { ChineseIntegerExtractor, AgnosticNumberParserFactory, ChineseNumberParserConfiguration, AgnosticNumberParserType, BaseNumberParser, BaseNumberExtractor } from "@microsoft/recognizers-text-number"; import { Constants as NumberConstants } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/datePeriodConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/datePeriodConfiguration.ts index 1b8faafcf3..17af8a30d1 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/datePeriodConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/datePeriodConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, IParser, ExtractResult, RegExpUtility, StringUtility, Match } from "@microsoft/recognizers-text"; import { AgnosticNumberParserFactory, AgnosticNumberParserType, ChineseNumberParserConfiguration, BaseNumberExtractor, ChineseIntegerExtractor, BaseNumberParser } from "@microsoft/recognizers-text-number"; import { Constants as NumberConstants } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/dateTimeConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/dateTimeConfiguration.ts index 6e4698c545..56c983457b 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/dateTimeConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/dateTimeConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, RegExpUtility, StringUtility, MetaData } from "@microsoft/recognizers-text"; import { AgnosticNumberParserFactory, BaseNumberParser, BaseNumberExtractor, ChineseIntegerExtractor, AgnosticNumberParserType, ChineseNumberParserConfiguration } from "@microsoft/recognizers-text-number"; import { Constants as NumberConstants } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/dateTimePeriodConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/dateTimePeriodConfiguration.ts index bab6f7d362..4d8932b6ac 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/dateTimePeriodConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/dateTimePeriodConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, IParser, ExtractResult, RegExpUtility, StringUtility } from "@microsoft/recognizers-text"; import { ChineseNumberParserConfiguration, AgnosticNumberParserFactory, AgnosticNumberParserType, BaseNumberParser, BaseNumberExtractor, ChineseCardinalExtractor } from "@microsoft/recognizers-text-number"; import { Constants, TimeTypeConstants } from "../constants"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/durationConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/durationConfiguration.ts index e9c583fc8f..3d086f6d13 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/durationConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/durationConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility, ExtractResult } from "@microsoft/recognizers-text"; import { CultureInfo, Culture, BaseNumberExtractor, BaseNumberParser } from "@microsoft/recognizers-text-number"; import { ChineseNumberWithUnitExtractorConfiguration, NumberWithUnitExtractor, NumberWithUnitParser, ChineseNumberWithUnitParserConfiguration, UnitValue } from "@microsoft/recognizers-text-number-with-unit"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/holidayConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/holidayConfiguration.ts index aefe037d18..e74bbaedb4 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/holidayConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/holidayConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility, Match, StringUtility, IExtractor, IParser, ExtractResult } from "@microsoft/recognizers-text"; import { IHolidayExtractorConfiguration, BaseHolidayParserConfiguration, BaseHolidayParser } from "../baseHoliday"; import { ChineseIntegerExtractor, AgnosticNumberParserFactory, AgnosticNumberParserType, ChineseNumberParserConfiguration } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/mergedConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/mergedConfiguration.ts index abb7b5073a..e0727f7870 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/mergedConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/mergedConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IMergedExtractorConfiguration, BaseMergedExtractor, IMergedParserConfiguration, BaseMergedParser } from "../baseMerged"; import { BaseDateExtractor, BaseDateParser } from "../baseDate"; import { BaseTimeExtractor, BaseTimeParser } from "../baseTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/setConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/setConfiguration.ts index f1ec82b36e..08e78964b8 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/setConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/setConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, RegExpUtility, StringUtility } from "@microsoft/recognizers-text"; import { BaseNumberParser, BaseNumberExtractor } from "@microsoft/recognizers-text-number"; import { ISetExtractorConfiguration, BaseSetExtractor, ISetParserConfiguration, BaseSetParser } from "../baseSet"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/timeConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/timeConfiguration.ts index 1905314e1c..96e4fd03cd 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/timeConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/timeConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility, StringUtility, ExtractResult } from "@microsoft/recognizers-text"; import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { NumberWithUnitExtractor, ChineseNumberWithUnitExtractorConfiguration } from "@microsoft/recognizers-text-number-with-unit"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/timePeriodConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/timePeriodConfiguration.ts index 300ea32621..bed4e98e03 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/timePeriodConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/chinese/timePeriodConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility, ExtractResult, IExtractor } from "@microsoft/recognizers-text"; import { CultureInfo, Culture, EnglishIntegerExtractor } from "@microsoft/recognizers-text-number"; import { NumberWithUnitExtractor, ChineseNumberWithUnitExtractorConfiguration } from "@microsoft/recognizers-text-number-with-unit"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/constants.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/constants.ts index 4e0c3b3196..c2277bc277 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/constants.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/constants.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { BaseDateTime } from "../resources/baseDateTime"; export class Constants { diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/dateTimeRecognizer.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/dateTimeRecognizer.ts index b314dd7eec..e2a7e569f4 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/dateTimeRecognizer.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/dateTimeRecognizer.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IModel, ModelResult, Recognizer } from "@microsoft/recognizers-text"; import { Culture } from "@microsoft/recognizers-text-number"; import { IDateTimeModel, DateTimeModel } from "./models"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/english/baseConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/english/baseConfiguration.ts index 8952988047..1c7f92c145 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/english/baseConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/english/baseConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { EnglishCardinalExtractor, EnglishIntegerExtractor, EnglishOrdinalExtractor, BaseNumberParser, EnglishNumberParserConfiguration } from "@microsoft/recognizers-text-number"; import { EnglishDateTime } from "../../resources/englishDateTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/english/dateConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/english/dateConfiguration.ts index 483a420dd8..4a159d8d82 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/english/dateConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/english/dateConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IDateExtractorConfiguration, IDateParserConfiguration } from "../baseDate"; import { BaseDurationExtractor, BaseDurationParser } from "../baseDuration"; import { IDateTimeUtilityConfiguration } from "../utilities"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/english/datePeriodConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/english/datePeriodConfiguration.ts index 6197c230b4..28e2454090 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/english/datePeriodConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/english/datePeriodConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IDatePeriodExtractorConfiguration, IDatePeriodParserConfiguration } from "../baseDatePeriod"; import { BaseDateExtractor, BaseDateParser } from "../baseDate"; import { RegExpUtility } from "@microsoft/recognizers-text"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/english/dateTimeConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/english/dateTimeConfiguration.ts index 50b56c9815..8d114e42fc 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/english/dateTimeConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/english/dateTimeConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IDateTimeExtractor, IDateTimeExtractorConfiguration, IDateTimeParserConfiguration } from "../baseDateTime"; import { BaseDateExtractor, BaseDateParser } from "../baseDate"; import { BaseTimeExtractor, BaseTimeParser } from "../baseTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/english/dateTimePeriodConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/english/dateTimePeriodConfiguration.ts index 520712a0f9..77652f1eda 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/english/dateTimePeriodConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/english/dateTimePeriodConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor } from "@microsoft/recognizers-text"; import { IDateTimePeriodExtractorConfiguration, IDateTimePeriodParserConfiguration } from "../baseDateTimePeriod"; import { BaseDateExtractor, BaseDateParser } from "../baseDate"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/english/durationConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/english/durationConfiguration.ts index 8b46f81fc5..37cf23e88e 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/english/durationConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/english/durationConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IDurationExtractorConfiguration, IDurationParserConfiguration } from "../baseDuration"; import { RegExpUtility } from "@microsoft/recognizers-text"; import { BaseNumberExtractor, BaseNumberParser, EnglishCardinalExtractor } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/english/holidayConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/english/holidayConfiguration.ts index 66bbf9668b..8ce4fab5fb 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/english/holidayConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/english/holidayConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IHolidayExtractorConfiguration, BaseHolidayParserConfiguration } from "../baseHoliday"; import { RegExpUtility } from "@microsoft/recognizers-text"; import { DateUtils } from "../utilities"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/english/mergedConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/english/mergedConfiguration.ts index eac6b49d3e..7c575c1012 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/english/mergedConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/english/mergedConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IMergedExtractorConfiguration, IMergedParserConfiguration } from "../baseMerged"; import { BaseDateExtractor, BaseDateParser } from "../baseDate"; import { BaseTimeExtractor, BaseTimeParser } from "../baseTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/english/parsers.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/english/parsers.ts index dd04faeec7..aa4d644046 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/english/parsers.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/english/parsers.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { BaseTimeParser, ITimeParserConfiguration } from "../baseTime"; import { EnglishTimeExtractorConfiguration } from "./timeConfiguration"; import { DateTimeResolutionResult, DateTimeFormatUtil } from "../utilities"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/english/setConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/english/setConfiguration.ts index 4288be14f6..0d4988ce02 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/english/setConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/english/setConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ISetExtractorConfiguration, ISetParserConfiguration } from "../baseSet"; import { BaseDateExtractor, BaseDateParser } from "../baseDate"; import { BaseTimeExtractor, BaseTimeParser } from "../baseTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/english/timeConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/english/timeConfiguration.ts index 6b024af003..2c5e755557 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/english/timeConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/english/timeConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ITimeExtractorConfiguration, ITimeParserConfiguration } from "../baseTime"; import { RegExpUtility } from "@microsoft/recognizers-text"; import { EnglishDateTime } from "../../resources/englishDateTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/english/timePeriodConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/english/timePeriodConfiguration.ts index 3dfa88b116..b144fc3b0e 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/english/timePeriodConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/english/timePeriodConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ITimePeriodExtractorConfiguration, ITimePeriodParserConfiguration } from "../baseTimePeriod"; import { BaseTimeExtractor, BaseTimeParser } from "../baseTime"; import { RegExpUtility, IExtractor } from "@microsoft/recognizers-text"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/french/baseConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/french/baseConfiguration.ts index 4d3d5c2a76..343119591d 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/french/baseConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/french/baseConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { FrenchCardinalExtractor, FrenchIntegerExtractor, FrenchOrdinalExtractor, BaseNumberParser, FrenchNumberParserConfiguration } from "@microsoft/recognizers-text-number"; import { IDateTimeUtilityConfiguration } from "../utilities"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/french/dateConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/french/dateConfiguration.ts index 22e7767937..49b5c46c03 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/french/dateConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/french/dateConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { BaseNumberExtractor, BaseNumberParser, FrenchOrdinalExtractor, FrenchIntegerExtractor, FrenchNumberParserConfiguration } from "@microsoft/recognizers-text-number"; import { FrenchDateTime } from "../../resources/frenchDateTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/french/datePeriodConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/french/datePeriodConfiguration.ts index be358596e6..d936687854 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/french/datePeriodConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/french/datePeriodConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, IParser, RegExpUtility } from "@microsoft/recognizers-text"; import { BaseNumberParser, BaseNumberExtractor, FrenchIntegerExtractor, FrenchNumberParserConfiguration } from "@microsoft/recognizers-text-number"; import { IDatePeriodExtractorConfiguration, IDatePeriodParserConfiguration } from "../baseDatePeriod"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/french/dateTimeConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/french/dateTimeConfiguration.ts index 713011df6a..401bfaf7be 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/french/dateTimeConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/french/dateTimeConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { IDateTimeExtractorConfiguration, IDateTimeParserConfiguration, IDateTimeExtractor } from "../baseDateTime"; import { BaseNumberExtractor, BaseNumberParser } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/french/dateTimePeriodConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/french/dateTimePeriodConfiguration.ts index d779b16563..a20d4cd694 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/french/dateTimePeriodConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/french/dateTimePeriodConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, IParser, RegExpUtility } from "@microsoft/recognizers-text"; import { BaseNumberExtractor, FrenchCardinalExtractor } from "@microsoft/recognizers-text-number"; import { IDateTimePeriodExtractorConfiguration, IDateTimePeriodParserConfiguration, BaseDateTimePeriodParser } from "../baseDateTimePeriod"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/french/durationConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/french/durationConfiguration.ts index 183bb68d46..c9443e45b0 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/french/durationConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/french/durationConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { BaseNumberExtractor, BaseNumberParser, FrenchCardinalExtractor } from "@microsoft/recognizers-text-number"; import { IDurationExtractorConfiguration, IDurationParserConfiguration } from "../baseDuration"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/french/holidayConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/french/holidayConfiguration.ts index 057179a478..321056f916 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/french/holidayConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/french/holidayConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IHolidayExtractorConfiguration, BaseHolidayParserConfiguration } from "../baseHoliday"; import { RegExpUtility } from "@microsoft/recognizers-text"; import { DateUtils } from "../utilities"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/french/mergedConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/french/mergedConfiguration.ts index ce459b4edb..47cd408b19 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/french/mergedConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/french/mergedConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { BaseNumberExtractor, FrenchIntegerExtractor } from "@microsoft/recognizers-text-number"; import { IMergedExtractorConfiguration, IMergedParserConfiguration } from "../baseMerged"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/french/setConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/french/setConfiguration.ts index 052fba0133..d68bc11550 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/french/setConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/french/setConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { ISetExtractorConfiguration, ISetParserConfiguration } from "../baseSet"; import { BaseDurationExtractor, BaseDurationParser } from "../baseDuration"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/french/timeConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/french/timeConfiguration.ts index 9182f0ca3c..e8b15309f0 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/french/timeConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/french/timeConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor } from "@microsoft/recognizers-text"; import { RegExpUtility } from "@microsoft/recognizers-text"; import { ITimeExtractorConfiguration, ITimeParserConfiguration } from "../baseTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/french/timeParser.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/french/timeParser.ts index 5122017989..a99f1d601f 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/french/timeParser.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/french/timeParser.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { BaseTimeParser, ITimeParserConfiguration } from "../baseTime"; import { DateTimeResolutionResult, DateUtils, DateTimeFormatUtil } from "../utilities"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/french/timePeriodConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/french/timePeriodConfiguration.ts index 6769917d12..be8294fadd 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/french/timePeriodConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/french/timePeriodConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility, IExtractor } from "@microsoft/recognizers-text"; import { ITimePeriodExtractorConfiguration, ITimePeriodParserConfiguration } from "../baseTimePeriod"; import { BaseTimeExtractor, BaseTimeParser } from "../baseTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/models.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/models.ts index 26a16faa6e..2c077afc6d 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/models.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/models.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IModel, ModelResult, IExtractor, ParseResult, QueryProcessor } from "@microsoft/recognizers-text"; import { IDateTimeParser, DateTimeParseResult } from "./parsers"; import { IDateTimeExtractor } from "./baseDateTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/parsers.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/parsers.ts index 7001428e62..0bee24a4c2 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/parsers.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/parsers.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IParser, ParseResult, ExtractResult, RegExpUtility, Match, StringUtility } from "@microsoft/recognizers-text"; import { BaseNumberParser, BaseNumberExtractor } from "@microsoft/recognizers-text-number"; import { IDateTimeUtilityConfiguration, DateTimeFormatUtil, DateTimeResolutionResult, DateUtils, DayOfWeek, MatchingUtil, AgoLaterUtil } from "./utilities"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/baseConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/baseConfiguration.ts index 832a2bc985..298dbe06bc 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/baseConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/baseConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { SpanishCardinalExtractor, SpanishIntegerExtractor, SpanishOrdinalExtractor, BaseNumberParser, SpanishNumberParserConfiguration } from "@microsoft/recognizers-text-number"; import { IDateTimeUtilityConfiguration } from "../utilities"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateConfiguration.ts index 7afbee181c..534110f6e0 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { BaseNumberExtractor, BaseNumberParser, SpanishOrdinalExtractor, SpanishIntegerExtractor, SpanishNumberParserConfiguration } from "@microsoft/recognizers-text-number"; import { SpanishDateTime } from "../../resources/spanishDateTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/datePeriodConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/datePeriodConfiguration.ts index a99ca1bfff..b57cc6a39d 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/datePeriodConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/datePeriodConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, IParser, RegExpUtility } from "@microsoft/recognizers-text"; import { BaseNumberParser, BaseNumberExtractor, SpanishIntegerExtractor, SpanishNumberParserConfiguration } from "@microsoft/recognizers-text-number"; import { IDatePeriodExtractorConfiguration, IDatePeriodParserConfiguration } from "../baseDatePeriod"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateTimeConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateTimeConfiguration.ts index ce0fd5e019..a9a7d141ff 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateTimeConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateTimeConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { IDateTimeExtractorConfiguration, IDateTimeParserConfiguration, IDateTimeExtractor } from "../baseDateTime"; import { BaseNumberExtractor, BaseNumberParser } from "@microsoft/recognizers-text-number"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateTimePeriodConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateTimePeriodConfiguration.ts index 4603838ce6..14ffea866c 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateTimePeriodConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateTimePeriodConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, IParser, RegExpUtility } from "@microsoft/recognizers-text"; import { BaseNumberExtractor, SpanishCardinalExtractor } from "@microsoft/recognizers-text-number"; import { IDateTimePeriodExtractorConfiguration, IDateTimePeriodParserConfiguration, BaseDateTimePeriodParser } from "../baseDateTimePeriod"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateTimePeriodParser.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateTimePeriodParser.ts index 053ee0ac6d..6eea3a5be8 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateTimePeriodParser.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/dateTimePeriodParser.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { BaseDateTimePeriodParser, IDateTimePeriodParserConfiguration } from "../baseDateTimePeriod"; import { DateTimeResolutionResult, DateUtils, DateTimeFormatUtil } from "../utilities"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/durationConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/durationConfiguration.ts index cadd2ecac9..4c0f5006be 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/durationConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/durationConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { BaseNumberExtractor, BaseNumberParser, SpanishCardinalExtractor } from "@microsoft/recognizers-text-number"; import { IDurationExtractorConfiguration, IDurationParserConfiguration } from "../baseDuration"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/holidayConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/holidayConfiguration.ts index 36ae59a999..fe84cd5de6 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/holidayConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/holidayConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IHolidayExtractorConfiguration, BaseHolidayParserConfiguration } from "../baseHoliday"; import { RegExpUtility } from "@microsoft/recognizers-text"; import { DateUtils, HolidayFunctions } from "../utilities"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/mergedConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/mergedConfiguration.ts index ce35c105e2..5308562424 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/mergedConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/mergedConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { BaseNumberExtractor, SpanishIntegerExtractor } from "@microsoft/recognizers-text-number"; import { IMergedExtractorConfiguration, IMergedParserConfiguration } from "../baseMerged"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/setConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/setConfiguration.ts index d5e75859b6..30b59aa960 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/setConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/setConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { ISetExtractorConfiguration, ISetParserConfiguration } from "../baseSet"; import { BaseDurationExtractor, BaseDurationParser } from "../baseDuration"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/timeConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/timeConfiguration.ts index be066e8b89..05987b6235 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/timeConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/timeConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor } from "@microsoft/recognizers-text"; import { RegExpUtility } from "@microsoft/recognizers-text"; import { ITimeExtractorConfiguration, ITimeParserConfiguration } from "../baseTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/timePeriodConfiguration.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/timePeriodConfiguration.ts index 4abc35c3d7..ed81719fb1 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/timePeriodConfiguration.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/spanish/timePeriodConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility, IExtractor } from "@microsoft/recognizers-text"; import { ITimePeriodExtractorConfiguration, ITimePeriodParserConfiguration } from "../baseTimePeriod"; import { BaseTimeExtractor, BaseTimeParser } from "../baseTime"; diff --git a/JavaScript/packages/recognizers-date-time/src/dateTime/utilities.ts b/JavaScript/packages/recognizers-date-time/src/dateTime/utilities.ts index 30184d43ed..daad196b41 100644 --- a/JavaScript/packages/recognizers-date-time/src/dateTime/utilities.ts +++ b/JavaScript/packages/recognizers-date-time/src/dateTime/utilities.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, IParser, ExtractResult, QueryProcessor, MetaData, Match, StringUtility } from "@microsoft/recognizers-text"; import { RegExpUtility } from "@microsoft/recognizers-text"; import { IDateTimeParser, DateTimeParseResult } from "../dateTime/parsers"; diff --git a/JavaScript/packages/recognizers-date-time/src/recognizers-text-date-time.ts b/JavaScript/packages/recognizers-date-time/src/recognizers-text-date-time.ts index c6ef8f3dc8..689fd81093 100644 --- a/JavaScript/packages/recognizers-date-time/src/recognizers-text-date-time.ts +++ b/JavaScript/packages/recognizers-date-time/src/recognizers-text-date-time.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export { default as DateTimeRecognizer, DateTimeOptions, recognizeDateTime } from "./dateTime/dateTimeRecognizer"; export { Culture, CultureInfo } from "@microsoft/recognizers-text-number"; export { IDateExtractorConfiguration, IDateParserConfiguration, BaseDateExtractor, BaseDateParser } from "./dateTime/baseDate"; diff --git a/JavaScript/packages/recognizers-number-with-unit/rollup.config.js b/JavaScript/packages/recognizers-number-with-unit/rollup.config.js index 152e1f4056..773a491bca 100644 --- a/JavaScript/packages/recognizers-number-with-unit/rollup.config.js +++ b/JavaScript/packages/recognizers-number-with-unit/rollup.config.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import sourceMaps from 'rollup-plugin-sourcemaps'; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/age.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/age.ts index 1767fcdef7..921f1d48e6 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/age.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/age.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { ChineseNumberWithUnitExtractorConfiguration, ChineseNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/base.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/base.ts index 1cfeab066a..ee53196839 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/base.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/base.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ExtractResult, IExtractor, IParser, RegExpUtility } from "@microsoft/recognizers-text"; import { Culture, CultureInfo, NumberMode, AgnosticNumberParserFactory, AgnosticNumberParserType, ChineseNumberExtractor, ChineseNumberParserConfiguration, ChineseNumberExtractorMode } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/currency.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/currency.ts index 08d781e356..d02198fcf4 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/currency.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/currency.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { ChineseNumberWithUnitExtractorConfiguration, ChineseNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/dimension.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/dimension.ts index 0ed2948327..18182bfc8e 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/dimension.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/dimension.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { ChineseNumberWithUnitExtractorConfiguration, ChineseNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/temperature.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/temperature.ts index 1d740a8b48..1f5ef995c5 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/temperature.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/chinese/temperature.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture, RegExpUtility } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { ChineseNumberWithUnitExtractorConfiguration, ChineseNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/constants.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/constants.ts index cbcadcca8c..dfd8c7bdac 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/constants.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/constants.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { BaseUnits } from "../resources/baseUnits"; export class Constants { diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/age.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/age.ts index 6fff606c6b..958764a847 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/age.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/age.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { EnglishNumberWithUnitExtractorConfiguration, EnglishNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/base.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/base.ts index 5ddaab66db..ba4ff7f39e 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/base.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/base.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ExtractResult, IExtractor, IParser, RegExpUtility } from "@microsoft/recognizers-text"; import { Culture, CultureInfo, NumberMode, AgnosticNumberParserFactory, AgnosticNumberParserType, EnglishNumberExtractor, EnglishNumberParserConfiguration } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/currency.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/currency.ts index 92021c4093..0d11410b24 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/currency.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/currency.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { EnglishNumberWithUnitExtractorConfiguration, EnglishNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/dimension.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/dimension.ts index c41ba910f7..0d964182ac 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/dimension.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/dimension.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { EnglishNumberWithUnitExtractorConfiguration, EnglishNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/temperature.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/temperature.ts index bf322d636d..005eacf77c 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/temperature.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/english/temperature.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture, RegExpUtility } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { EnglishNumberWithUnitExtractorConfiguration, EnglishNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/extractors.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/extractors.ts index 44dfda2ee5..ec6dcd280e 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/extractors.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, RegExpUtility, Match, StringUtility } from "@microsoft/recognizers-text"; import { Culture, CultureInfo, Constants as NumberConstants } from "@microsoft/recognizers-text-number"; import { Constants } from "./constants"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/age.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/age.ts index 39a5655167..ab4bb5e8d8 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/age.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/age.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { FrenchNumberWithUnitExtractorConfiguration, FrenchNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/base.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/base.ts index 6ed23baa71..5f5907cd30 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/base.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/base.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ExtractResult, IExtractor, IParser, RegExpUtility } from "@microsoft/recognizers-text"; import { Culture, CultureInfo, NumberMode, AgnosticNumberParserFactory, AgnosticNumberParserType, FrenchNumberExtractor, FrenchNumberParserConfiguration } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/currency.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/currency.ts index a00a35c663..9b9ce6427e 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/currency.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/currency.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { FrenchNumberWithUnitExtractorConfiguration, FrenchNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/dimension.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/dimension.ts index ffff784455..947b19093b 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/dimension.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/dimension.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { FrenchNumberWithUnitExtractorConfiguration, FrenchNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/temperature.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/temperature.ts index 139323bbc0..a63d254f91 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/temperature.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/french/temperature.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture, RegExpUtility } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { FrenchNumberWithUnitExtractorConfiguration, FrenchNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/japanese/age.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/japanese/age.ts index 2dc8a573d2..2ce53654fe 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/japanese/age.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/japanese/age.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { JapaneseNumberWithUnitExtractorConfiguration, JapaneseNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/japanese/base.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/japanese/base.ts index 57f417427c..14c5286174 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/japanese/base.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/japanese/base.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ExtractResult, IExtractor, IParser, RegExpUtility } from "@microsoft/recognizers-text"; import { Culture, CultureInfo, NumberMode, AgnosticNumberParserFactory, AgnosticNumberParserType, JapaneseNumberExtractor, JapaneseNumberParserConfiguration, JapaneseNumberExtractorMode } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/japanese/currency.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/japanese/currency.ts index aa0b6a5758..e9789bc17a 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/japanese/currency.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/japanese/currency.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { JapaneseNumberWithUnitExtractorConfiguration, JapaneseNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/models.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/models.ts index 9591a927b4..b5a205107b 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/models.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/models.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IModel, ModelResult, ParseResult, IExtractor, IParser, QueryProcessor } from "@microsoft/recognizers-text"; import { UnitValue, UnitValueIso } from "./parsers"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/numberWithUnitRecognizer.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/numberWithUnitRecognizer.ts index 8e7ea7f7d6..a6ab7076d5 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/numberWithUnitRecognizer.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/numberWithUnitRecognizer.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IModel, ModelResult, Recognizer, IExtractor, IParser } from "@microsoft/recognizers-text"; import { Culture } from "@microsoft/recognizers-text-number"; import { CurrencyModel, TemperatureModel, DimensionModel, AgeModel } from "./models"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/parsers.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/parsers.ts index ba581b4b3f..ad6ca52164 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/parsers.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/parsers.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, IParser, ParseResult, StringUtility } from "@microsoft/recognizers-text"; import { CultureInfo, Constants as NumberConstants } from "@microsoft/recognizers-text-number"; import last = require("lodash.last"); diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/age.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/age.ts index d13069563f..ff253204b3 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/age.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/age.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { PortugueseNumberWithUnitExtractorConfiguration, PortugueseNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/base.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/base.ts index f2d685e310..28b6015e2b 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/base.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/base.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ExtractResult, IExtractor, IParser, RegExpUtility } from "@microsoft/recognizers-text"; import { Culture, CultureInfo, NumberMode, AgnosticNumberParserFactory, AgnosticNumberParserType, PortugueseNumberExtractor, PortugueseNumberParserConfiguration } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/currency.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/currency.ts index ea8d1530c5..4ed98404d3 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/currency.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/currency.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { PortugueseNumberWithUnitExtractorConfiguration, PortugueseNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/dimension.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/dimension.ts index 8bee6ba5cf..00f23920a5 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/dimension.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/dimension.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { PortugueseNumberWithUnitExtractorConfiguration, PortugueseNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/temperature.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/temperature.ts index 4264374dbd..8056760296 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/temperature.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/portuguese/temperature.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture, RegExpUtility } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { PortugueseNumberWithUnitExtractorConfiguration, PortugueseNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/age.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/age.ts index 3e822da6c0..a5bf582cfd 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/age.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/age.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { SpanishNumberWithUnitExtractorConfiguration, SpanishNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/base.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/base.ts index 20a0d903b8..a0e0c3cea2 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/base.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/base.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ExtractResult, IExtractor, IParser, RegExpUtility } from "@microsoft/recognizers-text"; import { Culture, CultureInfo, NumberMode, AgnosticNumberParserFactory, AgnosticNumberParserType, SpanishNumberExtractor, SpanishNumberParserConfiguration } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/currency.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/currency.ts index 5ff6141774..02fea2904f 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/currency.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/currency.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { SpanishNumberWithUnitExtractorConfiguration, SpanishNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/dimension.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/dimension.ts index 9ec47da624..a07652e636 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/dimension.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/dimension.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { SpanishNumberWithUnitExtractorConfiguration, SpanishNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/temperature.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/temperature.ts index 0584a232bc..335f7a898b 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/temperature.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/spanish/temperature.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { CultureInfo, Culture, RegExpUtility } from "@microsoft/recognizers-text-number"; import { Constants } from "../constants"; import { SpanishNumberWithUnitExtractorConfiguration, SpanishNumberWithUnitParserConfiguration } from "./base"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/utilities.ts b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/utilities.ts index e18ccd24f8..fe896f6282 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/utilities.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/numberWithUnit/utilities.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { StringUtility } from "@microsoft/recognizers-text"; export class DictionaryUtils { diff --git a/JavaScript/packages/recognizers-number-with-unit/src/recognizers-text-number-with-unit.ts b/JavaScript/packages/recognizers-number-with-unit/src/recognizers-text-number-with-unit.ts index b7fb9552c8..f75c1a01c2 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/recognizers-text-number-with-unit.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/recognizers-text-number-with-unit.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export { default as NumberWithUnitRecognizer, NumberWithUnitOptions, recognizeTemperature, recognizeDimension, recognizeCurrency, recognizeAge } from "./numberWithUnit/numberWithUnitRecognizer"; export { Culture, CultureInfo } from "@microsoft/recognizers-text-number"; export { Constants } from "./numberWithUnit/constants"; diff --git a/JavaScript/packages/recognizers-number-with-unit/src/resources/englishNumericWithUnit.ts b/JavaScript/packages/recognizers-number-with-unit/src/resources/englishNumericWithUnit.ts index d4113cad6f..6aa8f2d608 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/resources/englishNumericWithUnit.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/resources/englishNumericWithUnit.ts @@ -36,5 +36,5 @@ export namespace EnglishNumericWithUnit { export const AmbiguousVolumeUnitList = [ "l","ounce","oz","cup","cups","peck","pecks","cord","cords","gill","gills","barrel","barrels","tbl","quart","quarts","pinch","t.","T.","Tb.","ts." ]; export const WeightSuffixList: ReadonlyMap = new Map([["Kilogram", "kg|kilogram|kilograms|kilo|kilos"],["Gram", "g|gram|grams|gm"],["Milligram", "mg|milligram|milligrams"],["Gallon", "-gallon|gallons|gallon|gal"],["Metric ton", "metric tons|metric ton"],["Ton", "-ton|ton|tons|tonne|tonnes"],["Pound", "pound|pounds|lb|lbs"],["Ounce", "-ounce|ounce|oz|ounces"],["Grain", "grain|grains|gr"],["Pennyweight", "pennyweight"],["Long ton (British)", "british long ton|long ton (british)"],["Short ton (US)", "us short ton|short ton (us)"],["Short hundredweight (US)", "us short hundredweight|short hundredweight (us)"],["Stone", "stone"],["Dram", "dram|drachm|drachma|roman drachma|greek drachma"]]); export const AmbiguousWeightUnitList = [ "g","oz","stone","dram","lbs","gal","grain","grains" ]; - export const AmbiguityFiltersDict: ReadonlyMap = new Map([["\\bm\\b", "((('|’)\\s*m)|(m\\s*('|’)))"],["^\\d{5} f$", "\\b([a-z]{2} \\d{5} f)\\b"]]); + export const AmbiguityFiltersDict: ReadonlyMap = new Map([["\\bm\\b", "((('|’)\\s*m)|(m\\s*('|’)))"],["^\\d{5} [cf]$", "\\b([a-z]{2} \\d{5} [cf])\\b"]]); } diff --git a/JavaScript/packages/recognizers-number-with-unit/src/resources/spanishNumericWithUnit.ts b/JavaScript/packages/recognizers-number-with-unit/src/resources/spanishNumericWithUnit.ts index 1895a82f9c..794d563f1d 100644 --- a/JavaScript/packages/recognizers-number-with-unit/src/resources/spanishNumericWithUnit.ts +++ b/JavaScript/packages/recognizers-number-with-unit/src/resources/spanishNumericWithUnit.ts @@ -1,13 +1,5 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// ------------------------------------------------------------------------------ import { BaseNumbers } from "./baseNumbers"; export namespace SpanishNumericWithUnit { diff --git a/JavaScript/packages/recognizers-number/rollup.config.js b/JavaScript/packages/recognizers-number/rollup.config.js index 531b1b89dc..4e98e5691a 100644 --- a/JavaScript/packages/recognizers-number/rollup.config.js +++ b/JavaScript/packages/recognizers-number/rollup.config.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import sourceMaps from 'rollup-plugin-sourcemaps'; diff --git a/JavaScript/packages/recognizers-number/src/culture.ts b/JavaScript/packages/recognizers-number/src/culture.ts index 79e5dc8eb2..f074898a82 100644 --- a/JavaScript/packages/recognizers-number/src/culture.ts +++ b/JavaScript/packages/recognizers-number/src/culture.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { Culture as BaseCulture, CultureInfo as BaseCultureInfo } from "@microsoft/recognizers-text"; import trimEnd = require("lodash.trimend"); import { BigNumber } from 'bignumber.js/bignumber'; diff --git a/JavaScript/packages/recognizers-number/src/number/agnosticNumberParser.ts b/JavaScript/packages/recognizers-number/src/number/agnosticNumberParser.ts index e71d5f02ae..0bdbec2503 100644 --- a/JavaScript/packages/recognizers-number/src/number/agnosticNumberParser.ts +++ b/JavaScript/packages/recognizers-number/src/number/agnosticNumberParser.ts @@ -1,4 +1,7 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { INumberParserConfiguration, BaseNumberParser, BasePercentageParser } from "./parsers"; import { Culture } from "../culture"; import { Constants } from "./constants"; diff --git a/JavaScript/packages/recognizers-number/src/number/chinese/extractors.ts b/JavaScript/packages/recognizers-number/src/number/chinese/extractors.ts index f964738505..73d91547ab 100644 --- a/JavaScript/packages/recognizers-number/src/number/chinese/extractors.ts +++ b/JavaScript/packages/recognizers-number/src/number/chinese/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { BaseNumberExtractor, RegExpValue, RegExpRegExp, BasePercentageExtractor } from "../extractors"; import { Constants } from "../constants"; import { LongFormatType } from "../models"; diff --git a/JavaScript/packages/recognizers-number/src/number/chinese/parserConfiguration.ts b/JavaScript/packages/recognizers-number/src/number/chinese/parserConfiguration.ts index e4054de718..4ec98f936a 100644 --- a/JavaScript/packages/recognizers-number/src/number/chinese/parserConfiguration.ts +++ b/JavaScript/packages/recognizers-number/src/number/chinese/parserConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ParseResult } from "@microsoft/recognizers-text"; import { ICJKNumberParserConfiguration } from "../cjkParsers"; import { CultureInfo, Culture } from "../../culture"; diff --git a/JavaScript/packages/recognizers-number/src/number/cjkParsers.ts b/JavaScript/packages/recognizers-number/src/number/cjkParsers.ts index 1b6750a2b9..660a10d245 100644 --- a/JavaScript/packages/recognizers-number/src/number/cjkParsers.ts +++ b/JavaScript/packages/recognizers-number/src/number/cjkParsers.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ExtractResult, IParser, ParseResult } from "@microsoft/recognizers-text"; import { BaseNumberParser, INumberParserConfiguration } from "./parsers"; import { Constants } from "./constants"; diff --git a/JavaScript/packages/recognizers-number/src/number/constants.ts b/JavaScript/packages/recognizers-number/src/number/constants.ts index e75d2f7db6..93777919ce 100644 --- a/JavaScript/packages/recognizers-number/src/number/constants.ts +++ b/JavaScript/packages/recognizers-number/src/number/constants.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export class Constants { static readonly SYS_NUM_CARDINAL: string = "builtin.num.cardinal"; static readonly SYS_NUM_DOUBLE: string = "builtin.num.double"; diff --git a/JavaScript/packages/recognizers-number/src/number/english/extractors.ts b/JavaScript/packages/recognizers-number/src/number/english/extractors.ts index e3159d20bc..9a638d9ee5 100644 --- a/JavaScript/packages/recognizers-number/src/number/english/extractors.ts +++ b/JavaScript/packages/recognizers-number/src/number/english/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { BaseNumberExtractor, RegExpValue, RegExpRegExp, BasePercentageExtractor } from "../extractors"; import { Constants } from "../constants"; import { NumberMode, LongFormatType } from "../models"; diff --git a/JavaScript/packages/recognizers-number/src/number/english/parserConfiguration.ts b/JavaScript/packages/recognizers-number/src/number/english/parserConfiguration.ts index 373300b3c2..57ec7e9afd 100644 --- a/JavaScript/packages/recognizers-number/src/number/english/parserConfiguration.ts +++ b/JavaScript/packages/recognizers-number/src/number/english/parserConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ParseResult } from "@microsoft/recognizers-text"; import { INumberParserConfiguration } from "../parsers"; import { CultureInfo, Culture } from "../../culture"; diff --git a/JavaScript/packages/recognizers-number/src/number/extractors.ts b/JavaScript/packages/recognizers-number/src/number/extractors.ts index bd6ce957c4..79dd21344d 100644 --- a/JavaScript/packages/recognizers-number/src/number/extractors.ts +++ b/JavaScript/packages/recognizers-number/src/number/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult } from "@microsoft/recognizers-text"; import { Constants } from "./constants"; import { BaseNumbers } from "../resources/baseNumbers"; diff --git a/JavaScript/packages/recognizers-number/src/number/french/extractors.ts b/JavaScript/packages/recognizers-number/src/number/french/extractors.ts index b1968d52ca..b1632d6b34 100644 --- a/JavaScript/packages/recognizers-number/src/number/french/extractors.ts +++ b/JavaScript/packages/recognizers-number/src/number/french/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { BaseNumberExtractor, RegExpValue, RegExpRegExp, BasePercentageExtractor } from "../extractors"; import { Constants } from "../constants"; import { NumberMode, LongFormatType } from "../models"; diff --git a/JavaScript/packages/recognizers-number/src/number/french/parserConfiguration.ts b/JavaScript/packages/recognizers-number/src/number/french/parserConfiguration.ts index 1a6a875820..cd6f6daa9e 100644 --- a/JavaScript/packages/recognizers-number/src/number/french/parserConfiguration.ts +++ b/JavaScript/packages/recognizers-number/src/number/french/parserConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ParseResult } from "@microsoft/recognizers-text"; import { INumberParserConfiguration } from "../parsers"; import { CultureInfo, Culture } from "../../culture"; diff --git a/JavaScript/packages/recognizers-number/src/number/japanese/extractors.ts b/JavaScript/packages/recognizers-number/src/number/japanese/extractors.ts index d906c4b3ca..059ab4baad 100644 --- a/JavaScript/packages/recognizers-number/src/number/japanese/extractors.ts +++ b/JavaScript/packages/recognizers-number/src/number/japanese/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { BaseNumberExtractor, RegExpValue, RegExpRegExp, BasePercentageExtractor } from "../extractors"; import { Constants } from "../constants"; import { NumberMode, LongFormatType } from "../models"; diff --git a/JavaScript/packages/recognizers-number/src/number/japanese/parserConfiguration.ts b/JavaScript/packages/recognizers-number/src/number/japanese/parserConfiguration.ts index e95b94a22d..019d81e54a 100644 --- a/JavaScript/packages/recognizers-number/src/number/japanese/parserConfiguration.ts +++ b/JavaScript/packages/recognizers-number/src/number/japanese/parserConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ParseResult } from "@microsoft/recognizers-text"; import { ICJKNumberParserConfiguration } from "../cjkParsers"; import { CultureInfo, Culture } from "../../culture"; diff --git a/JavaScript/packages/recognizers-number/src/number/models.ts b/JavaScript/packages/recognizers-number/src/number/models.ts index ebf3b78e5d..d7bf53e50b 100644 --- a/JavaScript/packages/recognizers-number/src/number/models.ts +++ b/JavaScript/packages/recognizers-number/src/number/models.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IModel, ModelResult, IExtractor, IParser, ParseResult, QueryProcessor } from "@microsoft/recognizers-text"; import { Constants } from "./constants"; diff --git a/JavaScript/packages/recognizers-number/src/number/numberRecognizer.ts b/JavaScript/packages/recognizers-number/src/number/numberRecognizer.ts index 1eec76f677..15b50b1f11 100644 --- a/JavaScript/packages/recognizers-number/src/number/numberRecognizer.ts +++ b/JavaScript/packages/recognizers-number/src/number/numberRecognizer.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IModel, ModelResult } from "@microsoft/recognizers-text"; import { Recognizer } from "@microsoft/recognizers-text"; import { Culture } from "../culture"; diff --git a/JavaScript/packages/recognizers-number/src/number/parsers.ts b/JavaScript/packages/recognizers-number/src/number/parsers.ts index d44c10082d..0625662f7e 100644 --- a/JavaScript/packages/recognizers-number/src/number/parsers.ts +++ b/JavaScript/packages/recognizers-number/src/number/parsers.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IParser, ParseResult, ExtractResult } from "@microsoft/recognizers-text"; import { CultureInfo, Culture } from "../culture"; import { Constants } from "./constants"; diff --git a/JavaScript/packages/recognizers-number/src/number/portuguese/extractors.ts b/JavaScript/packages/recognizers-number/src/number/portuguese/extractors.ts index a66a92392a..c80269aae9 100644 --- a/JavaScript/packages/recognizers-number/src/number/portuguese/extractors.ts +++ b/JavaScript/packages/recognizers-number/src/number/portuguese/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { BaseNumberExtractor, RegExpValue, RegExpRegExp, BasePercentageExtractor } from "../extractors"; import { Constants } from "../constants"; import { NumberMode, LongFormatType } from "../models"; diff --git a/JavaScript/packages/recognizers-number/src/number/portuguese/parserConfiguration.ts b/JavaScript/packages/recognizers-number/src/number/portuguese/parserConfiguration.ts index f0c8e7b257..e7d355b4e1 100644 --- a/JavaScript/packages/recognizers-number/src/number/portuguese/parserConfiguration.ts +++ b/JavaScript/packages/recognizers-number/src/number/portuguese/parserConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ParseResult } from "@microsoft/recognizers-text"; import { INumberParserConfiguration } from "../parsers"; import { CultureInfo, Culture } from "../../culture"; diff --git a/JavaScript/packages/recognizers-number/src/number/spanish/extractors.ts b/JavaScript/packages/recognizers-number/src/number/spanish/extractors.ts index 7bdd69c0dc..b4217dfec7 100644 --- a/JavaScript/packages/recognizers-number/src/number/spanish/extractors.ts +++ b/JavaScript/packages/recognizers-number/src/number/spanish/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { BaseNumberExtractor, RegExpValue, RegExpRegExp, BasePercentageExtractor } from "../extractors"; import { Constants } from "../constants"; import { NumberMode, LongFormatType } from "../models"; diff --git a/JavaScript/packages/recognizers-number/src/number/spanish/parserConfiguration.ts b/JavaScript/packages/recognizers-number/src/number/spanish/parserConfiguration.ts index 16221786db..dfce70fc58 100644 --- a/JavaScript/packages/recognizers-number/src/number/spanish/parserConfiguration.ts +++ b/JavaScript/packages/recognizers-number/src/number/spanish/parserConfiguration.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ParseResult } from "@microsoft/recognizers-text"; import { INumberParserConfiguration } from "../parsers"; import { CultureInfo, Culture } from "../../culture"; diff --git a/JavaScript/packages/recognizers-number/src/recognizers-text-number.ts b/JavaScript/packages/recognizers-number/src/recognizers-text-number.ts index 1655a5b2e6..6b71fa5dd3 100644 --- a/JavaScript/packages/recognizers-number/src/recognizers-text-number.ts +++ b/JavaScript/packages/recognizers-number/src/recognizers-text-number.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export { default as NumberRecognizer, NumberOptions, recognizeNumber, recognizeOrdinal, recognizePercentage } from "./number/numberRecognizer"; export { Culture, CultureInfo } from "./culture"; export { QueryProcessor, StringUtility, Match, RegExpUtility } from "@microsoft/recognizers-text"; diff --git a/JavaScript/packages/recognizers-number/src/resources/englishNumeric.ts b/JavaScript/packages/recognizers-number/src/resources/englishNumeric.ts index c531eef0eb..de75e50e60 100644 --- a/JavaScript/packages/recognizers-number/src/resources/englishNumeric.ts +++ b/JavaScript/packages/recognizers-number/src/resources/englishNumeric.ts @@ -35,7 +35,7 @@ export namespace EnglishNumeric { export const AllIntRegexWithLocks = `((?<=\\b)${AllIntRegex}(?=\\b))`; export const AllIntRegexWithDozenSuffixLocks = `(?<=\\b)(((half\\s+)?a\\s+dozen)|(${AllIntRegex}\\s+dozen(s)?))(?=\\b)`; export const RoundNumberOrdinalRegex = `(?:hundredth|thousandth|millionth|billionth|trillionth)`; - export const NumberOrdinalRegex = `(?:first|second|third|fourth|fifth|sixth|seventh|eighth|ninth|tenth|eleventh|twelfth|thirteenth|fourteenth|fifteenth|sixteenth|seventeenth|eighteenth|nineteenth|twentieth|thirtieth|fortieth|fiftieth|sixtieth|seventieth|eightieth|ninetieth)`; + export const NumberOrdinalRegex = `(?:first|second|third|fourth|fifth|sixth|seventh|eighth|nine?th|tenth|eleventh|twelfth|thirteenth|fourteenth|fifteenth|sixteenth|seventeenth|eighteenth|nineteenth|twentieth|thirtieth|fortieth|fiftieth|sixtieth|seventieth|eightieth|ninetieth)`; export const RelativeOrdinalRegex = `(?(next|previous|current)\\s+one|(the\\s+second|next)\\s+to\\s+last|the\\s+one\\s+before\\s+the\\s+last(\\s+one)?|the\\s+last\\s+but\\s+one|(ante)?penultimate|last|next|previous|current)`; export const BasicOrdinalRegex = `(${NumberOrdinalRegex}|${RelativeOrdinalRegex})`; export const SuffixBasicOrdinalRegex = `(?:((((${TensNumberIntegerRegex}(\\s+(and\\s+)?|\\s*-\\s*)${ZeroToNineIntegerRegex})|${TensNumberIntegerRegex}|${ZeroToNineIntegerRegex}|${AnIntRegex})(\\s+${RoundNumberIntegerRegex})+)\\s+(and\\s+)?)*(${TensNumberIntegerRegex}(\\s+|\\s*-\\s*))?${BasicOrdinalRegex})`; @@ -107,7 +107,7 @@ export namespace EnglishNumeric { export const HalfADozenRegex = `half\\s+a\\s+dozen`; export const DigitalNumberRegex = `((?<=\\b)(hundred|thousand|[mb]illion|trillion|[mbt]ln|lakh|crore|dozen(s)?)(?=\\b))|((?<=(\\d|\\b))${BaseNumbers.MultiplierLookupRegex}(?=\\b))`; export const CardinalNumberMap: ReadonlyMap = new Map([["a", 1],["zero", 0],["an", 1],["one", 1],["two", 2],["three", 3],["four", 4],["five", 5],["six", 6],["seven", 7],["eight", 8],["nine", 9],["ten", 10],["eleven", 11],["twelve", 12],["dozen", 12],["dozens", 12],["thirteen", 13],["fourteen", 14],["fifteen", 15],["sixteen", 16],["seventeen", 17],["eighteen", 18],["nineteen", 19],["twenty", 20],["thirty", 30],["forty", 40],["fifty", 50],["sixty", 60],["seventy", 70],["eighty", 80],["ninety", 90],["hundred", 100],["thousand", 1000],["million", 1000000],["mln", 1000000],["billion", 1000000000],["bln", 1000000000],["trillion", 1000000000000],["tln", 1000000000000],["lakh", 100000],["crore", 10000000]]); - export const OrdinalNumberMap: ReadonlyMap = new Map([["first", 1],["second", 2],["secondary", 2],["half", 2],["third", 3],["fourth", 4],["quarter", 4],["fifth", 5],["sixth", 6],["seventh", 7],["eighth", 8],["ninth", 9],["tenth", 10],["eleventh", 11],["twelfth", 12],["thirteenth", 13],["fourteenth", 14],["fifteenth", 15],["sixteenth", 16],["seventeenth", 17],["eighteenth", 18],["nineteenth", 19],["twentieth", 20],["thirtieth", 30],["fortieth", 40],["fiftieth", 50],["sixtieth", 60],["seventieth", 70],["eightieth", 80],["ninetieth", 90],["hundredth", 100],["thousandth", 1000],["millionth", 1000000],["billionth", 1000000000],["trillionth", 1000000000000],["firsts", 1],["halves", 2],["thirds", 3],["fourths", 4],["quarters", 4],["fifths", 5],["sixths", 6],["sevenths", 7],["eighths", 8],["ninths", 9],["tenths", 10],["elevenths", 11],["twelfths", 12],["thirteenths", 13],["fourteenths", 14],["fifteenths", 15],["sixteenths", 16],["seventeenths", 17],["eighteenths", 18],["nineteenths", 19],["twentieths", 20],["thirtieths", 30],["fortieths", 40],["fiftieths", 50],["sixtieths", 60],["seventieths", 70],["eightieths", 80],["ninetieths", 90],["hundredths", 100],["thousandths", 1000],["millionths", 1000000],["billionths", 1000000000],["trillionths", 1000000000000]]); + export const OrdinalNumberMap: ReadonlyMap = new Map([["first", 1],["second", 2],["secondary", 2],["half", 2],["third", 3],["fourth", 4],["quarter", 4],["fifth", 5],["sixth", 6],["seventh", 7],["eighth", 8],["ninth", 9],["nineth", 9],["tenth", 10],["eleventh", 11],["twelfth", 12],["thirteenth", 13],["fourteenth", 14],["fifteenth", 15],["sixteenth", 16],["seventeenth", 17],["eighteenth", 18],["nineteenth", 19],["twentieth", 20],["thirtieth", 30],["fortieth", 40],["fiftieth", 50],["sixtieth", 60],["seventieth", 70],["eightieth", 80],["ninetieth", 90],["hundredth", 100],["thousandth", 1000],["millionth", 1000000],["billionth", 1000000000],["trillionth", 1000000000000],["firsts", 1],["halves", 2],["thirds", 3],["fourths", 4],["quarters", 4],["fifths", 5],["sixths", 6],["sevenths", 7],["eighths", 8],["ninths", 9],["nineths", 9],["tenths", 10],["elevenths", 11],["twelfths", 12],["thirteenths", 13],["fourteenths", 14],["fifteenths", 15],["sixteenths", 16],["seventeenths", 17],["eighteenths", 18],["nineteenths", 19],["twentieths", 20],["thirtieths", 30],["fortieths", 40],["fiftieths", 50],["sixtieths", 60],["seventieths", 70],["eightieths", 80],["ninetieths", 90],["hundredths", 100],["thousandths", 1000],["millionths", 1000000],["billionths", 1000000000],["trillionths", 1000000000000]]); export const RoundNumberMap: ReadonlyMap = new Map([["hundred", 100],["thousand", 1000],["million", 1000000],["mln", 1000000],["billion", 1000000000],["bln", 1000000000],["trillion", 1000000000000],["tln", 1000000000000],["lakh", 100000],["crore", 10000000],["hundredth", 100],["thousandth", 1000],["millionth", 1000000],["billionth", 1000000000],["trillionth", 1000000000000],["hundredths", 100],["thousandths", 1000],["millionths", 1000000],["billionths", 1000000000],["trillionths", 1000000000000],["dozen", 12],["dozens", 12],["k", 1000],["m", 1000000],["mm", 1000000],["mil", 1000000],["g", 1000000000],["b", 1000000000],["t", 1000000000000]]); export const AmbiguityFiltersDict: ReadonlyMap = new Map([["\\bone\\b", "\\b(the|this|that|which)\\s+(one)\\b"]]); export const RelativeReferenceOffsetMap: ReadonlyMap = new Map([["last", ""],["next one", ""],["current", ""],["current one", ""],["previous one", ""],["the second to last", ""],["the one before the last one", ""],["the one before the last", ""],["next to last", ""],["penultimate", ""],["the last but one", ""],["antepenultimate", ""],["next", ""],["previous", ""]]); diff --git a/JavaScript/packages/recognizers-sequence/rollup.config.js b/JavaScript/packages/recognizers-sequence/rollup.config.js index 29a9e2304f..59f05f9726 100644 --- a/JavaScript/packages/recognizers-sequence/rollup.config.js +++ b/JavaScript/packages/recognizers-sequence/rollup.config.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import sourceMaps from 'rollup-plugin-sourcemaps'; diff --git a/JavaScript/packages/recognizers-sequence/src/recognizers-text-sequence.ts b/JavaScript/packages/recognizers-sequence/src/recognizers-text-sequence.ts index 78de9888ba..8f255d8b3e 100644 --- a/JavaScript/packages/recognizers-sequence/src/recognizers-text-sequence.ts +++ b/JavaScript/packages/recognizers-sequence/src/recognizers-text-sequence.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export { default as SequenceRecognizer, SequenceOptions, recognizePhoneNumber, recognizeIpAddress, recognizeMention, recognizeHashtag, recognizeEmail, recognizeURL, recognizeGUID } from "./sequence/sequenceRecognizer"; export { Culture } from "@microsoft/recognizers-text"; export { AbstractSequenceModel, PhoneNumberModel, IpAddressModel, MentionModel, HashtagModel, EmailModel, URLModel, GUIDModel } from "./sequence/models"; diff --git a/JavaScript/packages/recognizers-sequence/src/sequence/chinese/extractors.ts b/JavaScript/packages/recognizers-sequence/src/sequence/chinese/extractors.ts index 7a54aac2b0..8740c7f872 100644 --- a/JavaScript/packages/recognizers-sequence/src/sequence/chinese/extractors.ts +++ b/JavaScript/packages/recognizers-sequence/src/sequence/chinese/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { RegExpUtility } from "@microsoft/recognizers-text"; import { IURLExtractorConfiguration, IIpExtractorConfiguration, IPhoneNumberExtractorConfiguration } from "../extractors"; import { ChineseURL } from "../../resources/chineseURL"; diff --git a/JavaScript/packages/recognizers-sequence/src/sequence/constants.ts b/JavaScript/packages/recognizers-sequence/src/sequence/constants.ts index 620d1fff4f..d5313e1225 100644 --- a/JavaScript/packages/recognizers-sequence/src/sequence/constants.ts +++ b/JavaScript/packages/recognizers-sequence/src/sequence/constants.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export class Constants { static readonly IP_REGEX_IPV4: string = "ipv4"; static readonly IP_REGEX_IPV6: string = "ipv6"; diff --git a/JavaScript/packages/recognizers-sequence/src/sequence/english/extractors.ts b/JavaScript/packages/recognizers-sequence/src/sequence/english/extractors.ts index 57b3322d5b..f73ad8e43f 100644 --- a/JavaScript/packages/recognizers-sequence/src/sequence/english/extractors.ts +++ b/JavaScript/packages/recognizers-sequence/src/sequence/english/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { BasePhoneNumberExtractorConfiguration, IIpExtractorConfiguration, BaseMentionExtractor, BaseHashtagExtractor, BaseEmailExtractor, IURLExtractorConfiguration, BaseGUIDExtractor, IPhoneNumberExtractorConfiguration } from "../extractors"; import { ExtractResult, RegExpUtility } from "@microsoft/recognizers-text"; import { BasePhoneNumbers } from "../../resources/basePhoneNumbers"; diff --git a/JavaScript/packages/recognizers-sequence/src/sequence/english/parsers.ts b/JavaScript/packages/recognizers-sequence/src/sequence/english/parsers.ts index 3a96319027..602ef6d589 100644 --- a/JavaScript/packages/recognizers-sequence/src/sequence/english/parsers.ts +++ b/JavaScript/packages/recognizers-sequence/src/sequence/english/parsers.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { BasePhoneNumbers } from "../../resources/basePhoneNumbers"; import { BaseSequenceParser, BaseIpParser } from "../parsers"; import { ExtractResult, ParseResult, Match } from "@microsoft/recognizers-text"; diff --git a/JavaScript/packages/recognizers-sequence/src/sequence/extractors.ts b/JavaScript/packages/recognizers-sequence/src/sequence/extractors.ts index f81807b788..c9bf0a7f22 100644 --- a/JavaScript/packages/recognizers-sequence/src/sequence/extractors.ts +++ b/JavaScript/packages/recognizers-sequence/src/sequence/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IExtractor, ExtractResult, RegExpUtility, Match, StringUtility } from "@microsoft/recognizers-text"; import { BasePhoneNumbers } from "../resources/basePhoneNumbers"; import { BaseIp } from "../resources/baseIp"; diff --git a/JavaScript/packages/recognizers-sequence/src/sequence/models.ts b/JavaScript/packages/recognizers-sequence/src/sequence/models.ts index 99330c724f..d7635868bb 100644 --- a/JavaScript/packages/recognizers-sequence/src/sequence/models.ts +++ b/JavaScript/packages/recognizers-sequence/src/sequence/models.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IModel, ModelResult, IExtractor, IParser, ParseResult, QueryProcessor } from "@microsoft/recognizers-text"; export abstract class AbstractSequenceModel implements IModel { diff --git a/JavaScript/packages/recognizers-sequence/src/sequence/parsers.ts b/JavaScript/packages/recognizers-sequence/src/sequence/parsers.ts index 4fa3ea8681..99c6c2717d 100644 --- a/JavaScript/packages/recognizers-sequence/src/sequence/parsers.ts +++ b/JavaScript/packages/recognizers-sequence/src/sequence/parsers.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IParser, ExtractResult, ParseResult } from "@microsoft/recognizers-text"; export class BaseSequenceParser implements IParser { diff --git a/JavaScript/packages/recognizers-sequence/src/sequence/portuguese/extractors.ts b/JavaScript/packages/recognizers-sequence/src/sequence/portuguese/extractors.ts index 630345ff13..00c9e5ce38 100644 --- a/JavaScript/packages/recognizers-sequence/src/sequence/portuguese/extractors.ts +++ b/JavaScript/packages/recognizers-sequence/src/sequence/portuguese/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { BasePhoneNumberExtractorConfiguration, IIpExtractorConfiguration, BaseMentionExtractor, BaseHashtagExtractor, BaseEmailExtractor, IURLExtractorConfiguration, BaseGUIDExtractor, IPhoneNumberExtractorConfiguration } from "../extractors"; import { ExtractResult, RegExpUtility } from "@microsoft/recognizers-text"; import { BasePhoneNumbers } from "../../resources/basePhoneNumbers"; diff --git a/JavaScript/packages/recognizers-sequence/src/sequence/sequenceRecognizer.ts b/JavaScript/packages/recognizers-sequence/src/sequence/sequenceRecognizer.ts index 4e8e44899a..dd162cfd69 100644 --- a/JavaScript/packages/recognizers-sequence/src/sequence/sequenceRecognizer.ts +++ b/JavaScript/packages/recognizers-sequence/src/sequence/sequenceRecognizer.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { Recognizer, IModel, Culture, ModelResult } from "@microsoft/recognizers-text"; import { PhoneNumberModel, IpAddressModel, MentionModel, HashtagModel, EmailModel, URLModel, GUIDModel } from "./models"; import { PhoneNumberParser, IpParser, MentionParser, HashtagParser, EmailParser, URLParser, GUIDParser } from "./english/parsers"; diff --git a/JavaScript/packages/recognizers-text-suite/rollup.config.js b/JavaScript/packages/recognizers-text-suite/rollup.config.js index 303516289e..9c6c6cea30 100644 --- a/JavaScript/packages/recognizers-text-suite/rollup.config.js +++ b/JavaScript/packages/recognizers-text-suite/rollup.config.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import pkg from './package.json'; import camelCase from 'lodash.camelcase'; import resolve from 'rollup-plugin-node-resolve'; diff --git a/JavaScript/packages/recognizers-text-suite/src/recognizers-text-suite.ts b/JavaScript/packages/recognizers-text-suite/src/recognizers-text-suite.ts index 9a7c107553..a237159718 100644 --- a/JavaScript/packages/recognizers-text-suite/src/recognizers-text-suite.ts +++ b/JavaScript/packages/recognizers-text-suite/src/recognizers-text-suite.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export { Culture, NumberOptions, recognizeNumber, recognizeOrdinal, recognizePercentage } from "@microsoft/recognizers-text-number"; export { NumberWithUnitOptions, recognizeAge, recognizeCurrency, recognizeDimension, recognizeTemperature } from "@microsoft/recognizers-text-number-with-unit"; export { DateTimeOptions, recognizeDateTime } from "@microsoft/recognizers-text-date-time"; diff --git a/JavaScript/packages/recognizers-text/rollup.config.js b/JavaScript/packages/recognizers-text/rollup.config.js index c593c6fc29..fa23c841a0 100644 --- a/JavaScript/packages/recognizers-text/rollup.config.js +++ b/JavaScript/packages/recognizers-text/rollup.config.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import sourceMaps from 'rollup-plugin-sourcemaps'; diff --git a/JavaScript/packages/recognizers-text/src/culture.ts b/JavaScript/packages/recognizers-text/src/culture.ts index 8e87267434..1ed5e754b3 100644 --- a/JavaScript/packages/recognizers-text/src/culture.ts +++ b/JavaScript/packages/recognizers-text/src/culture.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export class Culture { static readonly English: string = "en-us" diff --git a/JavaScript/packages/recognizers-text/src/extractors.ts b/JavaScript/packages/recognizers-text/src/extractors.ts index d48b14c62b..7dd083b077 100644 --- a/JavaScript/packages/recognizers-text/src/extractors.ts +++ b/JavaScript/packages/recognizers-text/src/extractors.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { MetaData } from "./metaData"; export interface IExtractor { diff --git a/JavaScript/packages/recognizers-text/src/metaData.ts b/JavaScript/packages/recognizers-text/src/metaData.ts index 17be8248a4..e9e08c0977 100644 --- a/JavaScript/packages/recognizers-text/src/metaData.ts +++ b/JavaScript/packages/recognizers-text/src/metaData.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export class MetaData { private isHoliday: boolean = false; diff --git a/JavaScript/packages/recognizers-text/src/models.ts b/JavaScript/packages/recognizers-text/src/models.ts index 091f2f6d70..2d6f059542 100644 --- a/JavaScript/packages/recognizers-text/src/models.ts +++ b/JavaScript/packages/recognizers-text/src/models.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { Culture } from "./culture"; import { match, cache } from "xregexp"; import { StringUtility } from "./utilities"; diff --git a/JavaScript/packages/recognizers-text/src/parsers.ts b/JavaScript/packages/recognizers-text/src/parsers.ts index 6bb6dfb35f..e508385aab 100644 --- a/JavaScript/packages/recognizers-text/src/parsers.ts +++ b/JavaScript/packages/recognizers-text/src/parsers.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { ExtractResult } from "./extractors"; export interface IParser { diff --git a/JavaScript/packages/recognizers-text/src/recognizer.ts b/JavaScript/packages/recognizers-text/src/recognizer.ts index 9dec0f0f6d..56d478b397 100644 --- a/JavaScript/packages/recognizers-text/src/recognizer.ts +++ b/JavaScript/packages/recognizers-text/src/recognizer.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { IModel, ModelFactory } from "./models"; export abstract class Recognizer { diff --git a/JavaScript/packages/recognizers-text/src/recognizers-text.ts b/JavaScript/packages/recognizers-text/src/recognizers-text.ts index 635884ceb0..6be841402e 100644 --- a/JavaScript/packages/recognizers-text/src/recognizers-text.ts +++ b/JavaScript/packages/recognizers-text/src/recognizers-text.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export { Culture, CultureInfo } from "./culture"; export { IModel, ModelResult, ModelFactory } from "./models"; export { Recognizer } from "./recognizer"; diff --git a/JavaScript/packages/recognizers-text/src/utilities.ts b/JavaScript/packages/recognizers-text/src/utilities.ts index 4fff35651a..c8017f2fe1 100644 --- a/JavaScript/packages/recognizers-text/src/utilities.ts +++ b/JavaScript/packages/recognizers-text/src/utilities.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import * as XRegExp from "xregexp"; export class Match { diff --git a/JavaScript/packages/resource-generator/index.ts b/JavaScript/packages/resource-generator/index.ts index 5f9e8e97c1..09604136e2 100644 --- a/JavaScript/packages/resource-generator/index.ts +++ b/JavaScript/packages/resource-generator/index.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import * as generator from "./lib/base-code-generator"; import { join, basename } from "path"; diff --git a/JavaScript/packages/resource-generator/lib/base-code-generator.ts b/JavaScript/packages/resource-generator/lib/base-code-generator.ts index e4b7409634..f10fe2fb59 100644 --- a/JavaScript/packages/resource-generator/lib/base-code-generator.ts +++ b/JavaScript/packages/resource-generator/lib/base-code-generator.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import * as YamlParser from "./yaml-parser"; import { GenerateCode, CodeWriter } from "./code-writers"; import { readFileSync, createWriteStream, write, WriteStream } from "fs"; diff --git a/JavaScript/packages/resource-generator/lib/code-writers.ts b/JavaScript/packages/resource-generator/lib/code-writers.ts index 488fcdc446..474e04da77 100644 --- a/JavaScript/packages/resource-generator/lib/code-writers.ts +++ b/JavaScript/packages/resource-generator/lib/code-writers.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import { DataTypes } from "./data-types"; export abstract class CodeWriter { diff --git a/JavaScript/packages/resource-generator/lib/data-types.ts b/JavaScript/packages/resource-generator/lib/data-types.ts index e7ef85d502..a02fe0bb19 100644 --- a/JavaScript/packages/resource-generator/lib/data-types.ts +++ b/JavaScript/packages/resource-generator/lib/data-types.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + export namespace DataTypes { export class SimpleRegex { def: string; diff --git a/JavaScript/packages/resource-generator/lib/yaml-parser.ts b/JavaScript/packages/resource-generator/lib/yaml-parser.ts index 5f6cf9a027..1d63305cfc 100644 --- a/JavaScript/packages/resource-generator/lib/yaml-parser.ts +++ b/JavaScript/packages/resource-generator/lib/yaml-parser.ts @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + import * as Yaml from "js-yaml"; import { DataTypes } from "./data-types"; diff --git a/JavaScript/samples/botbuilder/index.js b/JavaScript/samples/botbuilder/index.js index 61b336e65d..3f8a301686 100644 --- a/JavaScript/samples/botbuilder/index.js +++ b/JavaScript/samples/botbuilder/index.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + // Our Number and DateTime Recognizer models var Recognizers = require('@microsoft/recognizers-text-suite'); var recognizeNumber = (query) => Recognizers.recognizeNumber(query, Recognizers.Culture.English); diff --git a/JavaScript/samples/browser/index.js b/JavaScript/samples/browser/index.js index 5d964b696b..7d6668b32e 100644 --- a/JavaScript/samples/browser/index.js +++ b/JavaScript/samples/browser/index.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + const express = require('express') const app = express() diff --git a/JavaScript/samples/simple-console/index.js b/JavaScript/samples/simple-console/index.js index 659f5e3f62..8a652014f0 100644 --- a/JavaScript/samples/simple-console/index.js +++ b/JavaScript/samples/simple-console/index.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + var Recognizers = require('@microsoft/recognizers-text-suite'); // Use English for the Recognizers culture diff --git a/JavaScript/test/browser-specs/index.html b/JavaScript/test/browser-specs/index.html index 1ff79e1f56..706a1c358c 100644 --- a/JavaScript/test/browser-specs/index.html +++ b/JavaScript/test/browser-specs/index.html @@ -1,3 +1,8 @@ + + diff --git a/JavaScript/test/browser-specs/index.js b/JavaScript/test/browser-specs/index.js index c112643fde..35311440a4 100644 --- a/JavaScript/test/browser-specs/index.js +++ b/JavaScript/test/browser-specs/index.js @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o(next|previous|current)\s+one|(the\s+second|next)\s+to\s+last|the\s+one\s+before\s+the\s+last(\s+one)?|the\s+last\s+but\s+one|(ante)?penultimate|last|next|previous|current) BasicOrdinalRegex: !nestedRegex @@ -308,6 +308,7 @@ OrdinalNumberMap: !dictionary seventh: 7 eighth: 8 ninth: 9 + nineth: 9 tenth: 10 eleventh: 11 twelfth: 12 @@ -341,6 +342,7 @@ OrdinalNumberMap: !dictionary sevenths: 7 eighths: 8 ninths: 9 + nineths: 9 tenths: 10 elevenths: 11 twelfths: 12 diff --git a/Patterns/English/English-NumbersWithUnit.yaml b/Patterns/English/English-NumbersWithUnit.yaml index 1c3504a944..52db1094ba 100644 --- a/Patterns/English/English-NumbersWithUnit.yaml +++ b/Patterns/English/English-NumbersWithUnit.yaml @@ -973,5 +973,5 @@ AmbiguityFiltersDict: !dictionary types: [ string, string ] entries: \bm\b: ((('|’)\s*m)|(m\s*('|’))) - ^\d{5} f$: \b([a-z]{2} \d{5} f)\b + ^\d{5} [cf]$: \b([a-z]{2} \d{5} [cf])\b ... \ No newline at end of file diff --git a/Patterns/German/German-DateTime.yaml b/Patterns/German/German-DateTime.yaml index fe30d5e5ac..58b3ee1191 100644 --- a/Patterns/German/German-DateTime.yaml +++ b/Patterns/German/German-DateTime.yaml @@ -436,7 +436,7 @@ HolidayRegex1: !nestedRegex def: \b((dieses jahr)\s*)?(?reformations(tag|fest)|gedenktag der reformation|martinstag|st. martin|sankt martin|martinsfest|martini|nikolaustag|dreikönigstag|dreikönigsfest|walpurgisnacht|nationalfeiertag|mariä empfängnis|weihnachten|weihnachts(feier)?tag|erste(r|n)? weihnachtstag|1. weihnachtstag|erste(r|n)? weihnachtsfeiertag|1\. weihnachtsfeiertag|zweite(r|n)? weihnachtstag|zweite(r|n)? weihnachtsfeiertag|2\. weihnachtstag|zweite(r|n)? weihnachtsfeiertag|stefanitag|stafanstag|berchtoldstag|bechtelistag|bächtelistag|berchtelistag|bärzelistag|josefstag|joseftag|josefitag|pfingsten|ostermontag|ostersonntag|bundesfeiertag|bundesfeier|mariä himmelfahrt|tag der deutschen einheit|ostern|vatertag|muttertag|erntedank(fest)?|thanksgiving|martin luther king day|martin luther king jr day|washington's birthday|washington birthday|canberraday|tag der arbeit|columbus day|memorial day|yuandan|mao's birthday|teachersday|teacher day|single day|tag der jugend|kindertag|(Internationaler\s+)?frauentag|treeplanting day|tag des baumes|girlsday|white lover day|loverday|weihnachten|weihnachtstag|xmas|neujahr|neujahrstag|neujahr|neujahrstag|neujahr|inauguration day|murmeltiertag|sommeranfang|winteranfang|frühlingsanfang|herbstanfang|valentinstag|st patrick day|erster april|april scherz|georgstag|mayday|maitag|maifeiertag|geburt johannes des täufers|us unabhängigkeitstag|unabhängigkeitstag|sturm auf die bastille|halloween|guy fawkes day|guy fawkes night|veterans day|heiligabend|silvester|pi-tag|pitag|pi (tag|day))(\s+((diesen)\s+)?(im jahr {YearRegex}|{YearRegex}|(im\s+)?{RelativeRegex}\s+jahr(es)?))?\b references: [ YearRegex, RelativeRegex ] HolidayRegex2: !nestedRegex - def: \b((dieses jahr)\s*)?(?martin luther king|martin luther king jr|allerheiligen|tree planting day|white lover|st patrick|st george|independence|us independence|allerseelen|guy fawkes|silvester|weiberfastnacht|karneval|aschermittwoch|palm(en)?sonntag|karsamstag|fastnachtssamstag|fastnachtssonntag|heilige drei könige|barbaratag|reformationstag|weltkindertag|augsburger friedensfest|johannistag|peter und paul|karfreitag|christi himmelfahrt|pfingstsonntag|pfingstmontag|fronleichnam|rosenmontag|fastnacht|gründonnerstag|himmelfahrt|volkstrauertag|buß und bettag|buß- und bettag|buss- und bettag|buss und bettag|totensonntag|erste(r|n)? advent|1\. advent|zweite(r|n)? advent|2\. advent|dritte(r|n)? advent|3\. advent|vierte(r|n)? advent|4\. advent|schweizer buss- und bettag|schweizer buss und bettag|schweizer buß und bettag|schweizer buß- und bettag)(\s+((diesen)\s+)?(im jahr {YearRegex}|{YearRegex}|(im\s+)?{RelativeRegex}\s+jahr(es)?))?\b + def: \b((dieses jahr)\s*)?(?martin luther king|martin luther king jr|allerheiligen|tree planting day|white lover|st patrick|st george|independence|us independence|allerseelen|guy fawkes|silvester|weiberfastnacht|karneval|aschermittwoch|palm(en)?sonntag|karsamstag|fastnachtssamstag|fastnachtssonntag|heilige drei könige|barbaratag|reformationstag|weltkindertag|augsburger friedensfest|johannistag|peter und paul|karfreitag|christi himmelfahrt|pfingstsonntag|pfingstmontag|fronleichnam|rosenmontag|fastnacht|gründonnerstag|himmelfahrt|volkstrauertag|buß und bettag|buß- und bettag|buss- und bettag|buss und bettag|toten(sonntag|fest)|ewigkeitssonntag|erste(r|n)? advent|1\. advent|zweite(r|n)? advent|2\. advent|dritte(r|n)? advent|3\. advent|vierte(r|n)? advent|4\. advent|schweizer buss- und bettag|schweizer buss und bettag|schweizer buß und bettag|schweizer buß- und bettag)(\s+((diesen)\s+)?(im jahr {YearRegex}|{YearRegex}|(im\s+)?{RelativeRegex}\s+jahr(es)?))?\b references: [ YearRegex, RelativeRegex ] HolidayRegex3: !nestedRegex def: ((dieses jahr)\s*)?(?(canberra|columbus|thanks\s*giving|groundhog|bastille|halloween|veterans|memorial|spring|lantern|qingming|dragon boat)\s+(day))(\s+((diesen)\s+)?(im jahr {YearRegex}|{YearRegex}|(im\s+)?{RelativeRegex}\s+jahr(es)?))? @@ -1051,7 +1051,7 @@ HolidayNames: !dictionary holythursday: [ gründonnerstag, himmelfahrt ] memorialdaygermany: [ volkstrauertag ] dayofrepentance: [ bußundbettag, buß-undbettag, bussundbettag ] - totensonntag: [ totensonntag ] + totensonntag: [ totensonntag, totenfest, ewigkeitssonntag ] firstadvent: [ ersteadvent, erstenadvent, ersteradvent, 1.advent ] secondadvent: [ zweiteadvent, zweitenadvent, zweiteradvent, 2.advent ] thirdadvent: [ dritteadvent, drittenadvent, dritteradvent, 3.advent ] diff --git a/Python/libraries/datatypes-timex-expression/__init__.py b/Python/libraries/datatypes-timex-expression/__init__.py index e69de29bb2..57de29355a 100644 --- a/Python/libraries/datatypes-timex-expression/__init__.py +++ b/Python/libraries/datatypes-timex-expression/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/__init__.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/__init__.py index e6da433ea5..3862334f0a 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/__init__.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .timex_constants import * from .timex_parsing import * from .timex_regex import * diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/date_range.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/date_range.py index d2ea8996d8..d42b9603ae 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/date_range.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/date_range.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class DateRange: def __init__(self, start, end): diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/__init__.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/__init__.py index 5673569a88..d9bb3847f4 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/__init__.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .english_timex_relative_convert import english_convert_timex_to_string_relative from .english_timex_convert import * from .timex_constants import * diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/english_timex_convert.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/english_timex_convert.py index 2aa9f50dda..a9743dd00a 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/english_timex_convert.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/english_timex_convert.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from ..timex_set import TimexSet from ..timex import Timex diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/english_timex_relative_convert.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/english_timex_relative_convert.py index d8a37d47d0..620ecc069f 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/english_timex_relative_convert.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/english_timex_relative_convert.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datetime import datetime from .english_timex_convert import * from ..timex_date_helpers import * diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/timex_constants.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/timex_constants.py index fc597737bc..8d99c8fb9e 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/timex_constants.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/english/timex_constants.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class EnglishConstants: DAYS: [str] = [ 'Monday', diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/resolution.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/resolution.py index 880a9f770d..a916de617a 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/resolution.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/resolution.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class Entry: timex: str type: str diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/time.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/time.py index 1f1317de2a..5beebd7326 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/time.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/time.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from math import floor diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/time_range.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/time_range.py index 65272a1192..e92cbe670f 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/time_range.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/time_range.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .time import Time diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex.py index 4735a68d0a..878f559bfd 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datetime import datetime from decimal import * diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_constants.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_constants.py index 5bdf7a8012..d09182befd 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_constants.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_constants.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class Constants: TIMEX_TYPES_PRESENT = 'present' TIMEX_TYPES_DEFINITE = 'definite' diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_constraints_helper.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_constraints_helper.py index f525b1518f..bfaad222eb 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_constraints_helper.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_constraints_helper.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class TimexConstraintsHelper: def collapse(self, ranges: []): diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_convert.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_convert.py index fbd7ea4e76..f82e35cb54 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_convert.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_convert.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .english import * diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_creator.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_creator.py index 3b4b6dd6ca..43a0a3261a 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_creator.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_creator.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datetime import datetime, timedelta from .timex import Timex diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_date_helpers.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_date_helpers.py index c459275715..ef010454c5 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_date_helpers.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_date_helpers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datetime import datetime, timedelta diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_format.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_format.py index a93503a600..c9a62b9bbe 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_format.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_format.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from . import timex_helpers from .timex_constants import Constants from .timex_date_helpers import TimexDateHelpers diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_helpers.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_helpers.py index 794aac901a..b027211411 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_helpers.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_helpers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datetime import date, timedelta, datetime from math import floor diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_inference.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_inference.py index 411fe021d4..ecde3b7290 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_inference.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_inference.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .timex_constants import Constants diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_parsing.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_parsing.py index 95355629dc..a1b8ef3fb8 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_parsing.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_parsing.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .timex_regex import TimexRegex diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_range.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_range.py index ab3385cd50..62f04697f7 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_range.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_range.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class TimexRange: def __init__(self, start, end, duration=None): diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_range_resolver.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_range_resolver.py index 2c5eeb76a3..a834415c13 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_range_resolver.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_range_resolver.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import copy from datatypes_timex_expression import Timex, Constants, TimexHelpers, TimeRange, Time, DateRange, TimexDateHelpers diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_regex.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_regex.py index bec40d125c..10d2f2f48e 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_regex.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_regex.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import re diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_relative_convert.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_relative_convert.py index f7c2b6a70c..c15e6d51a6 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_relative_convert.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_relative_convert.py @@ -1,4 +1,7 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class TimexRelativeConvert: @staticmethod diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_resolver.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_resolver.py index 1724fada8f..3f7561251d 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_resolver.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_resolver.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datetime import datetime, timedelta from datatypes_timex_expression import Timex, TimexInference, Constants, TimexValue, TimexHelpers, TimexDateHelpers diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_set.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_set.py index 7dfc1b1472..3fdffb16e2 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_set.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_set.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .timex import Timex diff --git a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_value.py b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_value.py index d01bfc9dfc..19326b8115 100644 --- a/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_value.py +++ b/Python/libraries/datatypes-timex-expression/datatypes_timex_expression/timex_value.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datatypes_timex_expression import Timex, TimexDateHelpers diff --git a/Python/libraries/recognizers-choice/__init__.py b/Python/libraries/recognizers-choice/__init__.py index e69de29bb2..57de29355a 100644 --- a/Python/libraries/recognizers-choice/__init__.py +++ b/Python/libraries/recognizers-choice/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. diff --git a/Python/libraries/recognizers-choice/recognizers_choice/__init__.py b/Python/libraries/recognizers-choice/recognizers_choice/__init__.py index 037005ecfd..569c4347ea 100644 --- a/Python/libraries/recognizers-choice/recognizers_choice/__init__.py +++ b/Python/libraries/recognizers-choice/recognizers_choice/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .choice import * from .choice.english import BooleanExtractorConfiguration from .resources import * diff --git a/Python/libraries/recognizers-choice/recognizers_choice/choice/__init__.py b/Python/libraries/recognizers-choice/recognizers_choice/choice/__init__.py index 84ec612e48..275ac151a5 100644 --- a/Python/libraries/recognizers-choice/recognizers_choice/choice/__init__.py +++ b/Python/libraries/recognizers-choice/recognizers_choice/choice/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .constants import * from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-choice/recognizers_choice/choice/constants.py b/Python/libraries/recognizers-choice/recognizers_choice/choice/constants.py index d89d3c442c..9710c05eff 100644 --- a/Python/libraries/recognizers-choice/recognizers_choice/choice/constants.py +++ b/Python/libraries/recognizers-choice/recognizers_choice/choice/constants.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class Constants: SYS_BOOLEAN: str = "boolean" SYS_BOOLEAN_TRUE: str = "boolean-true" diff --git a/Python/libraries/recognizers-choice/recognizers_choice/choice/english/__init__.py b/Python/libraries/recognizers-choice/recognizers_choice/choice/english/__init__.py index 3a4070177d..43b41975ef 100644 --- a/Python/libraries/recognizers-choice/recognizers_choice/choice/english/__init__.py +++ b/Python/libraries/recognizers-choice/recognizers_choice/choice/english/__init__.py @@ -1 +1,4 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .boolean import * diff --git a/Python/libraries/recognizers-choice/recognizers_choice/choice/english/boolean.py b/Python/libraries/recognizers-choice/recognizers_choice/choice/english/boolean.py index 22f3571131..5ea6e4225c 100644 --- a/Python/libraries/recognizers-choice/recognizers_choice/choice/english/boolean.py +++ b/Python/libraries/recognizers-choice/recognizers_choice/choice/english/boolean.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import regex from recognizers_choice.choice.extractors import BooleanExtractorConfiguration from recognizers_choice.resources.english_choice import EnglishChoice diff --git a/Python/libraries/recognizers-choice/recognizers_choice/choice/extractors.py b/Python/libraries/recognizers-choice/recognizers_choice/choice/extractors.py index d1ed54b94f..837900f086 100644 --- a/Python/libraries/recognizers-choice/recognizers_choice/choice/extractors.py +++ b/Python/libraries/recognizers-choice/recognizers_choice/choice/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC from typing import List, Dict, Pattern diff --git a/Python/libraries/recognizers-choice/recognizers_choice/choice/models.py b/Python/libraries/recognizers-choice/recognizers_choice/choice/models.py index e8cedf5b1b..6664ab2b20 100644 --- a/Python/libraries/recognizers-choice/recognizers_choice/choice/models.py +++ b/Python/libraries/recognizers-choice/recognizers_choice/choice/models.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from recognizers_text.extractor import Extractor diff --git a/Python/libraries/recognizers-choice/recognizers_choice/choice/parsers.py b/Python/libraries/recognizers-choice/recognizers_choice/choice/parsers.py index c5e0519e8a..7c07e81705 100644 --- a/Python/libraries/recognizers-choice/recognizers_choice/choice/parsers.py +++ b/Python/libraries/recognizers-choice/recognizers_choice/choice/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, List from recognizers_choice.choice.extractors import ChoiceExtractDataResult diff --git a/Python/libraries/recognizers-choice/recognizers_choice/choice/recognizers_choice.py b/Python/libraries/recognizers-choice/recognizers_choice/choice/recognizers_choice.py index 523faadfc2..c875dcd436 100644 --- a/Python/libraries/recognizers-choice/recognizers_choice/choice/recognizers_choice.py +++ b/Python/libraries/recognizers-choice/recognizers_choice/choice/recognizers_choice.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from enum import IntFlag from typing import List diff --git a/Python/libraries/recognizers-choice/recognizers_choice/resources/__init__.py b/Python/libraries/recognizers-choice/recognizers_choice/resources/__init__.py index 09885fb09b..f334d98b81 100644 --- a/Python/libraries/recognizers-choice/recognizers_choice/resources/__init__.py +++ b/Python/libraries/recognizers-choice/recognizers_choice/resources/__init__.py @@ -1 +1,4 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .english_choice import EnglishChoice diff --git a/Python/libraries/recognizers-choice/setup.py b/Python/libraries/recognizers-choice/setup.py index 4e38b942e6..c71d1c00f4 100644 --- a/Python/libraries/recognizers-choice/setup.py +++ b/Python/libraries/recognizers-choice/setup.py @@ -1,5 +1,5 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. import os diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/__init__.py b/Python/libraries/recognizers-date-time/recognizers_date_time/__init__.py index 754ceb6f4e..b92cb8b02d 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/__init__.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .date_time import * from .resources import * diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/__init__.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/__init__.py index 9adddb4d78..3abd6819ac 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/__init__.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .date_time_recognizer import * from .constants import * from .models import * diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/abstract_year_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/abstract_year_extractor.py index 1bcb27d8be..002e7fca7c 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/abstract_year_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/abstract_year_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List, Match import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_configs.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_configs.py index 79a79e0ffd..97a2fb363b 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_configs.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_configs.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, Pattern from abc import abstractmethod, ABC 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 1cbaf91a70..cf90d4e55a 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 @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from typing import List, Optional, Pattern, Dict, Match from datetime import datetime, timedelta diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_dateperiod.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_dateperiod.py index 641cc3fc64..addb787513 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_dateperiod.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_dateperiod.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import math from abc import ABC, abstractmethod from typing import List, Optional, Pattern, Match, Dict diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_datetime.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_datetime.py index e77e86dc76..126c30fbb0 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_datetime.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_datetime.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List, Optional, Pattern, Dict, Match from datetime import datetime, timedelta @@ -194,7 +197,7 @@ def merge_date_and_time(self, source: str, reference: datetime) -> List[Token]: if ((extract_results[i].type is Constants.SYS_DATETIME_DATE and extract_results[j].type is Constants.SYS_DATETIME_TIME) or (extract_results[i].type is Constants.SYS_DATETIME_TIME and extract_results[j].type is - Constants.SYS_DATETIME_DATE)or + Constants.SYS_DATETIME_DATE) or (extract_results[i].type is Constants.SYS_DATETIME_DATE and extract_results[j] is NumConstants.SYS_NUM_INTEGER)): middle_begin = extract_results[i].start + (extract_results[i].length or 0) @@ -748,7 +751,7 @@ def parse_special_time_of_date(self, source: str, reference: datetime) -> DateTi extract_result = next(iter(extract_results), None) before_str = source[0:extract_result.start] after_str = source[:extract_result.start + extract_result.end] - if regex.search(self.config.specific_end_of_regex, before_str)or regex.search( + if regex.search(self.config.specific_end_of_regex, before_str) or regex.search( self.config.specific_end_of_regex, after_str): parse_result = self.config.date_parser.parse(extract_result, reference) result.timex = parse_result.timex_str + 'T23:59:59' diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_datetimeperiod.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_datetimeperiod.py index 406b96728c..7258a66f5b 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_datetimeperiod.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_datetimeperiod.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List, Optional, Pattern, Dict, Match from datetime import datetime, timedelta diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_duration.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_duration.py index bd37f4c8f3..90563c9541 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_duration.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_duration.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from typing import List, Optional, Pattern, Dict, Match from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_holiday.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_holiday.py index d067979b0a..9381fa709b 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_holiday.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_holiday.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from typing import List, Optional, Pattern, Callable, Dict, Match from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_merged.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_merged.py index 315524f5e5..3c1f0a1e5f 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_merged.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_merged.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod, ABC from typing import List, Optional, Pattern, Dict, Match from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_set.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_set.py index 2d1f2c89b0..6f79d71328 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_set.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_set.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from typing import List, Optional, Pattern, Dict from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_time.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_time.py index 51ceb41316..a0ae9abb5f 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_time.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_time.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List, Optional, Pattern, Dict, Match from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_timeperiod.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_timeperiod.py index 005ca9908d..32a7dfd99e 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_timeperiod.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_timeperiod.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List, Optional, Pattern, Dict, Match from datetime import datetime, timedelta diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_timezone.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_timezone.py index 6731d676f7..405609eb35 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_timezone.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/base_timezone.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import regex from typing import List, Pattern from abc import abstractmethod diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/__init__.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/__init__.py index 7d5958e81a..508faef7e4 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/__init__.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .base_date_time_extractor import * from .duration_extractor_config import * from .duration_extractor import * diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/base_date_time_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/base_date_time_extractor.py index b9b8c4e043..6ec042c527 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/base_date_time_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/base_date_time_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Dict, Pattern, Match from datetime import datetime import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_extractor.py index 1e475568a4..07f0423b69 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List from datetime import datetime import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_extractor_config.py index fbe5ef73e3..470bfae589 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern, Dict from recognizers_text import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_parser.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_parser.py index 3f653032d7..00a400df1f 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_parser.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from numbers import Number from typing import List, Dict, Optional from datedelta import datedelta diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_parser_config.py index d4b70b73a9..d582828619 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/date_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern, Dict from recognizers_text import RegExpUtility, Extractor, Parser diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_extractor.py index 3532cccd8a..30b4c6c0ac 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List from datetime import datetime import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_extractor_config.py index 852c459153..c94c988b4b 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text import Extractor, Parser, RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_parser.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_parser.py index f98a0f6384..d2a385db0f 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_parser.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Optional from datetime import datetime, timedelta from datedelta import datedelta diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_parser_config.py index ee3d6d23aa..52ac95930e 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/dateperiod_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_extractor.py index 7143b874af..906906cdb8 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List from datetime import datetime import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_extractor_config.py index 309b99fcb7..c680886505 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_parser.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_parser.py index cd7174cffb..1328cfaee9 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_parser.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Optional from datetime import datetime, timedelta from .date_extractor import ChineseDateExtractor diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_parser_config.py index 88b19cfc05..5646f58ceb 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetime_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_extractor.py index 0fc35f7a4a..b19111febb 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List from datetime import datetime import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_extractor_config.py index 4f27765044..fc7c2efa35 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text import Extractor, RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_parser.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_parser.py index c4d586cea2..4e1b15219e 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_parser.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Optional from datetime import datetime, timedelta import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_parser_config.py index 58ffd2d27b..d535390161 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/datetimeperiod_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, Pattern from recognizers_text import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_extractor.py index 3897b16ea6..ee9fea6181 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List from datetime import datetime import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_extractor_config.py index 8ed8bff029..cea9879cd8 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict from recognizers_text import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_parser.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_parser.py index a3d3d0fe8a..eaf2c24390 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_parser.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Optional from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_parser_config.py index e5b3e93c2c..8a4aa7f7be 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/duration_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_number import CultureInfo, Culture from recognizers_number_with_unit import ChineseNumberWithUnitParserConfiguration diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/holiday_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/holiday_extractor_config.py index 2699ab2d1b..0e12a0c044 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/holiday_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/holiday_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/holiday_parser.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/holiday_parser.py index c1f8c85fc8..7aeece4cb0 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/holiday_parser.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/holiday_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Optional, Match from datetime import datetime, timedelta from datedelta import datedelta diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/holiday_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/holiday_parser_config.py index 82352e9f33..933214da3e 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/holiday_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/holiday_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Dict, Callable from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_extractor.py index d5b4187043..5ca4851970 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List from datetime import datetime import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_extractor_config.py index 4e0c6161f0..9ec8e44250 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, List from recognizers_text import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_parser.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_parser.py index 7a139652a9..d5165528a0 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_parser.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Optional, Dict, List from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_parser_config.py index 9485ec73c0..a4cd628efe 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/merged_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_extractor.py index ce88da5b2b..24c49dc6f0 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from datetime import datetime import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_extractor_config.py index 09e754484b..f8dafbe4fd 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_parser.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_parser.py index ae160bef8b..2b264c0e6f 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_parser.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Optional from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_parser_config.py index c3f705573f..d8054db90e 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/set_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/time_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/time_extractor.py index 67099f6b61..2975bbe7ed 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/time_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/time_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from enum import Enum from recognizers_text import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/time_parser.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/time_parser.py index c9cda5e22c..0c2a627111 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/time_parser.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/time_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Optional from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/timeperiod_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/timeperiod_extractor.py index 0305db666f..c2bb7f1048 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/timeperiod_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/timeperiod_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from enum import Enum from recognizers_text import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/timeperiod_parser.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/timeperiod_parser.py index f8154fd573..28082ffb20 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/timeperiod_parser.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/timeperiod_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Optional, Match from datetime import datetime, timedelta import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/timeperiod_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/timeperiod_parser_config.py index bd8cfe72ba..4e8e7ad278 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/timeperiod_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/chinese/timeperiod_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_text import Extractor from recognizers_number import ChineseIntegerExtractor diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/constants.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/constants.py index 56a78ed420..4c1d9bf79d 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/constants.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/constants.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from ..resources import BaseDateTime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/date_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/date_extractor.py index 6b7b1457f5..a764d371b3 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/date_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/date_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import Match from recognizers_date_time.date_time.date_time_extractor import DateTimeExtractor diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/date_time_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/date_time_extractor.py index a036d0e88e..2cb82097fb 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/date_time_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/date_time_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List from recognizers_text.extractor import ExtractResult diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/date_time_recognizer.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/date_time_recognizer.py index 66f14c91a6..b721035fb4 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/date_time_recognizer.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/date_time_recognizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datetime import datetime from typing import List from recognizers_text import Culture, Recognizer diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/datetime_list_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/datetime_list_extractor.py index 923d43f166..8265e6195b 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/datetime_list_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/datetime_list_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List from recognizers_text.extractor import ExtractResult diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/datetime_zone_extractor.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/datetime_zone_extractor.py index 73de5b222a..8c55c7d3e9 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/datetime_zone_extractor.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/datetime_zone_extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List from recognizers_text.extractor import ExtractResult diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/__init__.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/__init__.py index 412225b545..405e50c1ce 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/__init__.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .base_configs import * from .common_configs import * from .date_extractor_config import * diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/base_configs.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/base_configs.py index ef5fdd7354..e201aa3754 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/base_configs.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/base_configs.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text.utilities import RegExpUtility from recognizers_date_time.date_time.base_date import DateTimeUtilityConfiguration diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/common_configs.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/common_configs.py index 7dd41a7cb8..05a7e75f8b 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/common_configs.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/common_configs.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, Pattern from recognizers_number import BaseNumberExtractor, BaseNumberParser diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/date_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/date_extractor_config.py index 7be8264dd5..d8429cf181 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/date_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/date_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, List, Dict from recognizers_number import (BaseNumberExtractor, BaseNumberParser, EnglishOrdinalExtractor, EnglishIntegerExtractor, EnglishNumberParserConfiguration) diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/date_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/date_parser_config.py index 212f43a054..c244800c67 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/date_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/date_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, List, Dict import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/dateperiod_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/dateperiod_extractor_config.py index fac97bc66c..29c71b5e03 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/dateperiod_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/dateperiod_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.extractor import Extractor diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/dateperiod_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/dateperiod_parser_config.py index 3381bfacd0..d084855d0a 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/dateperiod_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/dateperiod_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetime_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetime_extractor_config.py index e4ab354b74..bc220ecb41 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetime_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetime_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetime_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetime_parser_config.py index 862e4eb886..f6baefe34b 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetime_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetime_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetimeperiod_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetimeperiod_extractor_config.py index 2a4669e714..fc349318a9 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetimeperiod_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetimeperiod_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetimeperiod_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetimeperiod_parser_config.py index 22c6cae622..d5f0fbcbfe 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetimeperiod_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/datetimeperiod_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/duration_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/duration_extractor_config.py index 9db8ca753a..536cb24ae3 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/duration_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/duration_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/duration_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/duration_parser_config.py index 1b110a3d9f..acc0008fbf 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/duration_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/duration_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/holiday_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/holiday_extractor_config.py index f8b2a3d655..7ace38fadc 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/holiday_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/holiday_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/holiday_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/holiday_parser_config.py index 846f73f4f7..72fd105929 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/holiday_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/holiday_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Dict, Callable import re from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/merged_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/merged_extractor_config.py index 562c4d417f..3a4daa0496 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/merged_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/merged_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.extractor import Extractor diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/merged_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/merged_parser_config.py index 3ad91ecd18..ffdfd994cf 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/merged_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/merged_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from ...resources.base_date_time import BaseDateTime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/parsers.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/parsers.py index 68a462b377..ba06b62b3c 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/parsers.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datetime import datetime import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/set_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/set_extractor_config.py index 528ecdc070..9c51fb335e 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/set_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/set_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/set_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/set_parser_config.py index dca8bab4c1..384b2e0683 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/set_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/set_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/time_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/time_extractor_config.py index 014051b1f4..9d4c73618a 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/time_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/time_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/time_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/time_parser_config.py index a8dd3d025a..3376b1820b 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/time_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/time_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern, Dict import regex from ..parsers import DateTimeParser diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/timeperiod_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/timeperiod_extractor_config.py index 56c04c0a2b..46b7573bfb 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/timeperiod_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/timeperiod_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/timeperiod_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/timeperiod_parser_config.py index fc3bd43d08..97aae74e48 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/timeperiod_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/timeperiod_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/timezone_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/timezone_extractor_config.py index 5a827dbc05..c1dc6d50e2 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/timezone_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/english/timezone_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.matcher.string_matcher import StringMatcher from recognizers_text.utilities import QueryProcessor diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/extractors.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/extractors.py index 0f0ad5b04a..067d256a6c 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/extractors.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/__init__.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/__init__.py index dc2d30e20a..1db9c35b94 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/__init__.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .base_configs import * from .common_configs import * from .duration_extractor_config import * diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/base_configs.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/base_configs.py index 16fb997e25..ff7ed9de62 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/base_configs.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/base_configs.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text.utilities import RegExpUtility from ...resources.french_date_time import FrenchDateTime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/common_configs.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/common_configs.py index 157eb5b1e8..6fd4c899c4 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/common_configs.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/common_configs.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, Pattern from recognizers_number import BaseNumberExtractor, FrenchCardinalExtractor, FrenchIntegerExtractor, FrenchOrdinalExtractor, BaseNumberParser, FrenchNumberParserConfiguration diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/date_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/date_extractor_config.py index fc790381b4..2752ec1c8a 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/date_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/date_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, List, Dict from recognizers_number import (BaseNumberExtractor, BaseNumberParser, FrenchOrdinalExtractor, FrenchIntegerExtractor, FrenchNumberParserConfiguration) diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/date_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/date_parser_config.py index 166cbc1f3b..7260cdadd9 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/date_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/date_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, List, Dict import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/dateperiod_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/dateperiod_extractor_config.py index b8bfdb4ce2..d648dad30d 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/dateperiod_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/dateperiod_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/dateperiod_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/dateperiod_parser_config.py index fb01a21dc0..a7a05580d4 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/dateperiod_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/dateperiod_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetime_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetime_extractor_config.py index c7a079f841..855a8ff546 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetime_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetime_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetime_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetime_parser_config.py index 3e520cc0ee..3188d4fea9 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetime_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetime_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetimeperiod_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetimeperiod_extractor_config.py index 80ee6b8219..fc081cb6a8 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetimeperiod_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetimeperiod_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_number import BaseNumberExtractor, FrenchCardinalExtractor diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetimeperiod_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetimeperiod_parser_config.py index 19aefa2d72..e4be35a22b 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetimeperiod_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/datetimeperiod_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility from ...resources.french_date_time import FrenchDateTime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/duration_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/duration_extractor_config.py index ac3ff6028c..fbf9781bf9 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/duration_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/duration_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/duration_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/duration_parser_config.py index 4a88aed1be..13295d59bd 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/duration_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/duration_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/holiday_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/holiday_extractor_config.py index 4714fa333a..b33b8057fd 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/holiday_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/holiday_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/holiday_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/holiday_parser_config.py index 2a8b8d849a..c2dd5b9566 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/holiday_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/holiday_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Dict, Callable from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/merged_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/merged_extractor_config.py index c99c07bd82..96d8a3c307 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/merged_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/merged_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.extractor import Extractor diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/merged_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/merged_parser_config.py index 63d43d121a..a54ad4b2cd 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/merged_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/merged_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/parsers.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/parsers.py index b0fdf59654..44a8505925 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/parsers.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datetime import datetime from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/set_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/set_extractor_config.py index 344ac2fa13..9eddf81fd3 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/set_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/set_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/set_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/set_parser_config.py index 0905cf4086..19985e0938 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/set_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/set_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/time_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/time_extractor_config.py index 0dc06dc024..a240a54ae8 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/time_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/time_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/time_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/time_parser_config.py index 050d7ebc85..5c0f685527 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/time_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/time_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern, Dict import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/timeperiod_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/timeperiod_extractor_config.py index 8050976f2b..70936bd58b 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/timeperiod_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/timeperiod_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/timeperiod_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/timeperiod_parser_config.py index 4c7a2a3481..8d21bbcf5b 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/timeperiod_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/timeperiod_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/timezone_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/timezone_extractor_config.py index cb91a04e6a..a7b9f6aabf 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/timezone_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/french/timezone_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.matcher.string_matcher import StringMatcher from ..base_timezone import TimeZoneExtractorConfiguration diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/models.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/models.py index a4094631e3..ffbf8f0e04 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/models.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/models.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/parsers.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/parsers.py index f96bc72d3c..56219977a2 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/parsers.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import Optional from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/__init__.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/__init__.py index dc2d30e20a..1db9c35b94 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/__init__.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .base_configs import * from .common_configs import * from .duration_extractor_config import * diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/base_configs.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/base_configs.py index 358fb25d1a..467ac186b8 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/base_configs.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/base_configs.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text.utilities import RegExpUtility from recognizers_date_time.date_time.base_date import DateTimeUtilityConfiguration diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/common_configs.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/common_configs.py index c1a1347163..013fbdd81d 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/common_configs.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/common_configs.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, Pattern from recognizers_number import BaseNumberExtractor, BaseNumberParser diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/date_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/date_extractor_config.py index 7a10df864f..0316d02ef8 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/date_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/date_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, List, Dict from recognizers_number import (BaseNumberExtractor, BaseNumberParser, SpanishOrdinalExtractor, SpanishIntegerExtractor, SpanishNumberParserConfiguration) diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/date_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/date_parser_config.py index 55ea00a90f..0027883eff 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/date_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/date_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, List, Dict import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/dateperiod_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/dateperiod_extractor_config.py index 9c844299a8..244bef2662 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/dateperiod_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/dateperiod_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text import Extractor diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/dateperiod_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/dateperiod_parser_config.py index db8f1ecebf..b1a133a046 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/dateperiod_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/dateperiod_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetime_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetime_extractor_config.py index e3f6058a32..460b6406b3 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetime_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetime_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetime_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetime_parser_config.py index 5fd2dd75e0..c309e462ac 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetime_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetime_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetimeperiod_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetimeperiod_extractor_config.py index 37cbd85f0a..bfa8601222 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetimeperiod_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetimeperiod_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_number import BaseNumberExtractor, SpanishCardinalExtractor diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetimeperiod_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetimeperiod_parser_config.py index 7f77471a66..9441e18a5b 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetimeperiod_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/datetimeperiod_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/duration_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/duration_extractor_config.py index 98c98a7e72..b247f59a43 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/duration_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/duration_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/duration_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/duration_parser_config.py index 3f69e08f0b..6e9f6f3033 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/duration_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/duration_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/holiday_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/holiday_extractor_config.py index 0098b0d76b..7335b9dcb9 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/holiday_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/holiday_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/holiday_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/holiday_parser_config.py index 3c4ac18d84..0c13489a2f 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/holiday_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/holiday_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Dict, Callable from datetime import datetime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/merged_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/merged_extractor_config.py index 9ff9002893..414fea6ce4 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/merged_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/merged_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.extractor import Extractor diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/merged_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/merged_parser_config.py index 7f41a5f3f5..6f665762c8 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/merged_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/merged_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/parsers.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/parsers.py index 22993f6fdf..d6da929eb5 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/parsers.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datetime import datetime, timedelta from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/set_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/set_extractor_config.py index f7393c83f8..d9d44c15f4 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/set_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/set_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/set_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/set_parser_config.py index 88db4ca335..e918535124 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/set_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/set_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/time_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/time_extractor_config.py index b02c7699ad..f1af46b736 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/time_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/time_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.utilities import RegExpUtility from ...resources.spanish_date_time import SpanishDateTime diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/time_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/time_parser_config.py index de23835d95..aa90ecbd9a 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/time_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/time_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern, Dict import regex diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/timeperiod_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/timeperiod_extractor_config.py index 119016747c..6a47f4762c 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/timeperiod_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/timeperiod_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/timeperiod_parser_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/timeperiod_parser_config.py index d3a42b6dd4..29cceb8e8d 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/timeperiod_parser_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/timeperiod_parser_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, Dict from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/timezone_extractor_config.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/timezone_extractor_config.py index 98b33cccca..322dd53009 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/timezone_extractor_config.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/spanish/timezone_extractor_config.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Pattern from recognizers_text.matcher.string_matcher import StringMatcher from ..base_timezone import TimeZoneExtractorConfiguration diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/utilities.py b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/utilities.py index 6764d1c9ea..265ebbc093 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/utilities.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/date_time/utilities.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from enum import Enum, IntEnum, IntFlag from abc import ABC, abstractmethod from typing import List, Dict, Pattern, Union, Match diff --git a/Python/libraries/recognizers-date-time/recognizers_date_time/resources/__init__.py b/Python/libraries/recognizers-date-time/recognizers_date_time/resources/__init__.py index 864fc6dd3c..6835a98962 100644 --- a/Python/libraries/recognizers-date-time/recognizers_date_time/resources/__init__.py +++ b/Python/libraries/recognizers-date-time/recognizers_date_time/resources/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .base_date_time import BaseDateTime from .chinese_date_time import ChineseDateTime from .english_date_time import EnglishDateTime diff --git a/Python/libraries/recognizers-date-time/setup.py b/Python/libraries/recognizers-date-time/setup.py index 0669f5e8b0..49fda22c40 100644 --- a/Python/libraries/recognizers-date-time/setup.py +++ b/Python/libraries/recognizers-date-time/setup.py @@ -1,5 +1,5 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. import os from setuptools import setup, find_packages diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/__init__.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/__init__.py index 9340c668db..65f23b79eb 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/__init__.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .number_with_unit import * from .resources import * diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/__init__.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/__init__.py index d1b543c473..825c7a77f9 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/__init__.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .number_with_unit_recognizer import * from .constants import * from .models import * diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/chinese/__init__.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/chinese/__init__.py index d79a5447e6..4065a709e7 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/chinese/__init__.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/chinese/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/chinese/extractors.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/chinese/extractors.py index 9c3e72cb5d..65437c3797 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/chinese/extractors.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/chinese/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, List, Pattern import regex diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/chinese/parsers.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/chinese/parsers.py index 5f0e5c5687..c918e14391 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/chinese/parsers.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/chinese/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_text.culture import Culture from recognizers_text.extractor import Extractor from recognizers_text.parser import Parser diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/constants.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/constants.py index 6dbea6abaa..bdaf10e7c4 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/constants.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/constants.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_number_with_unit.resources.base_units import BaseUnits diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/english/__init__.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/english/__init__.py index d79a5447e6..4065a709e7 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/english/__init__.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/english/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/english/extractors.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/english/extractors.py index 989a19f87d..499538ecde 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/english/extractors.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/english/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, List, Pattern from recognizers_text.culture import Culture diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/english/parsers.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/english/parsers.py index abd8586c47..471595a2c9 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/english/parsers.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/english/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_text import Culture from recognizers_text.extractor import Extractor from recognizers_text.parser import Parser diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/extractors.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/extractors.py index e3b57874ab..ba21ea46a5 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/extractors.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from typing import List, Dict, Set, Pattern, Match from copy import deepcopy diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/french/__init__.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/french/__init__.py index d79a5447e6..4065a709e7 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/french/__init__.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/french/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/french/extractors.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/french/extractors.py index 2e15425064..d441cf51c2 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/french/extractors.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/french/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, List, Pattern from recognizers_text.culture import Culture diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/french/parsers.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/french/parsers.py index 95dd443771..dc02e11859 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/french/parsers.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/french/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_text.culture import Culture from recognizers_text.extractor import Extractor from recognizers_text.parser import Parser diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/models.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/models.py index 77b2ee9761..61f19c18a7 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/models.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/models.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/number_with_unit_recognizer.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/number_with_unit_recognizer.py index 4c105615e8..73c094f7d5 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/number_with_unit_recognizer.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/number_with_unit_recognizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from enum import IntFlag from typing import List from recognizers_text import Culture, Recognizer diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/parsers.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/parsers.py index 1ab11bc51d..81de2e4876 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/parsers.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from typing import Dict, List, Optional from collections import namedtuple diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/portuguese/__init__.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/portuguese/__init__.py index d79a5447e6..4065a709e7 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/portuguese/__init__.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/portuguese/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/portuguese/extractors.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/portuguese/extractors.py index 6a2c23bb03..c8248497c5 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/portuguese/extractors.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/portuguese/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, List, Pattern from recognizers_text.culture import Culture diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/portuguese/parsers.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/portuguese/parsers.py index 4a784c7973..d78efcf970 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/portuguese/parsers.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/portuguese/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_text.culture import Culture from recognizers_text.extractor import Extractor from recognizers_text.parser import Parser diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/spanish/__init__.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/spanish/__init__.py index d79a5447e6..4065a709e7 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/spanish/__init__.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/spanish/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/spanish/extractors.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/spanish/extractors.py index 8ae03e30e5..56af86184a 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/spanish/extractors.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/spanish/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, List, Pattern from recognizers_text.culture import Culture diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/spanish/parsers.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/spanish/parsers.py index 9d886bb45d..659b87b3e0 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/spanish/parsers.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/spanish/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_text.culture import Culture from recognizers_text.extractor import Extractor from recognizers_text.parser import Parser diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/utilities.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/utilities.py index fcfebe94c6..9bc10d6518 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/utilities.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/number_with_unit/utilities.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/resources/__init__.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/resources/__init__.py index eb0d69c2b7..8a215eb4fc 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/resources/__init__.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/resources/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .base_numbers import BaseNumbers from .chinese_numeric_with_unit import ChineseNumericWithUnit from .english_numeric_with_unit import EnglishNumericWithUnit diff --git a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/resources/english_numeric_with_unit.py b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/resources/english_numeric_with_unit.py index 4cfc996d22..c6d51345c3 100644 --- a/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/resources/english_numeric_with_unit.py +++ b/Python/libraries/recognizers-number-with-unit/recognizers_number_with_unit/resources/english_numeric_with_unit.py @@ -690,5 +690,5 @@ class EnglishNumericWithUnit: ("Dram", "dram|drachm|drachma|roman drachma|greek drachma")]) AmbiguousWeightUnitList = [r'g', r'oz', r'stone', r'dram', r'lbs', r'gal', r'grain', r'grains'] AmbiguityFiltersDict = dict([("\\bm\\b", "((('|’)\\s*m)|(m\\s*('|’)))"), - ("^\\d{5} f$", "\\b([a-z]{2} \\d{5} f)\\b")]) + ("^\\d{5} [cf]$", "\\b([a-z]{2} \\d{5} [cf])\\b")]) # pylint: enable=line-too-long diff --git a/Python/libraries/recognizers-number-with-unit/setup.py b/Python/libraries/recognizers-number-with-unit/setup.py index edbdbc8627..4870dbdba9 100644 --- a/Python/libraries/recognizers-number-with-unit/setup.py +++ b/Python/libraries/recognizers-number-with-unit/setup.py @@ -1,5 +1,5 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. import os from setuptools import setup, find_packages diff --git a/Python/libraries/recognizers-number/__init__.py b/Python/libraries/recognizers-number/__init__.py index e69de29bb2..57de29355a 100644 --- a/Python/libraries/recognizers-number/__init__.py +++ b/Python/libraries/recognizers-number/__init__.py @@ -0,0 +1,2 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. diff --git a/Python/libraries/recognizers-number/recognizers_number/__init__.py b/Python/libraries/recognizers-number/recognizers_number/__init__.py index 5122ec2689..ca249acd31 100644 --- a/Python/libraries/recognizers-number/recognizers_number/__init__.py +++ b/Python/libraries/recognizers-number/recognizers_number/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .number import * from .resources import * diff --git a/Python/libraries/recognizers-number/recognizers_number/culture.py b/Python/libraries/recognizers-number/recognizers_number/culture.py index 166c03200c..ebe62e84a2 100644 --- a/Python/libraries/recognizers-number/recognizers_number/culture.py +++ b/Python/libraries/recognizers-number/recognizers_number/culture.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_text.culture import BaseCultureInfo, Culture from .number import LongFormatMode, LongFormatType diff --git a/Python/libraries/recognizers-number/recognizers_number/number/__init__.py b/Python/libraries/recognizers-number/recognizers_number/number/__init__.py index 1a65b185f1..33483010fa 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/__init__.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .models import * from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number/recognizers_number/number/chinese/__init__.py b/Python/libraries/recognizers-number/recognizers_number/number/chinese/__init__.py index d79a5447e6..4065a709e7 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/chinese/__init__.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/chinese/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number/recognizers_number/number/chinese/extractors.py b/Python/libraries/recognizers-number/recognizers_number/number/chinese/extractors.py index 2c80e584aa..b9a89eb686 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/chinese/extractors.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/chinese/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List from enum import Enum diff --git a/Python/libraries/recognizers-number/recognizers_number/number/chinese/parsers.py b/Python/libraries/recognizers-number/recognizers_number/number/chinese/parsers.py index fd1e7e67cb..f0c97d083b 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/chinese/parsers.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/chinese/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Dict, Pattern, Optional from collections import namedtuple from decimal import Decimal, getcontext diff --git a/Python/libraries/recognizers-number/recognizers_number/number/cjk_parsers.py b/Python/libraries/recognizers-number/recognizers_number/number/cjk_parsers.py index 8546fbde3e..4241cd4a53 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/cjk_parsers.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/cjk_parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List, Dict, Pattern, Optional from collections import namedtuple diff --git a/Python/libraries/recognizers-number/recognizers_number/number/constants.py b/Python/libraries/recognizers-number/recognizers_number/number/constants.py index 11cf22a3ee..accfe34ce2 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/constants.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/constants.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class Constants: SYS_NUM_CARDINAL: str = 'builtin.num.cardinal' SYS_NUM_DOUBLE: str = 'builtin.num.double' diff --git a/Python/libraries/recognizers-number/recognizers_number/number/english/__init__.py b/Python/libraries/recognizers-number/recognizers_number/number/english/__init__.py index 5078f6d487..05863b9471 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/english/__init__.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/english/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number/recognizers_number/number/english/extractors.py b/Python/libraries/recognizers-number/recognizers_number/number/english/extractors.py index 90524688d2..a6ff1f2f01 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/english/extractors.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/english/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, List, NamedTuple import regex diff --git a/Python/libraries/recognizers-number/recognizers_number/number/english/parsers.py b/Python/libraries/recognizers-number/recognizers_number/number/english/parsers.py index e20d0137f9..3ca389df07 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/english/parsers.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/english/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, Pattern, List from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-number/recognizers_number/number/extractors.py b/Python/libraries/recognizers-number/recognizers_number/number/extractors.py index 3983054e3e..771898a6c0 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/extractors.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List, Pattern, Dict, Match from collections import namedtuple diff --git a/Python/libraries/recognizers-number/recognizers_number/number/french/__init__.py b/Python/libraries/recognizers-number/recognizers_number/number/french/__init__.py index d79a5447e6..4065a709e7 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/french/__init__.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/french/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number/recognizers_number/number/french/extractors.py b/Python/libraries/recognizers-number/recognizers_number/number/french/extractors.py index 30ed81250f..c4b0c85432 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/french/extractors.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/french/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, List, NamedTuple import regex diff --git a/Python/libraries/recognizers-number/recognizers_number/number/french/parsers.py b/Python/libraries/recognizers-number/recognizers_number/number/french/parsers.py index 4e58cd6903..c12efa3505 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/french/parsers.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/french/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, Pattern, List import regex diff --git a/Python/libraries/recognizers-number/recognizers_number/number/german/__init__.py b/Python/libraries/recognizers-number/recognizers_number/number/german/__init__.py index 5078f6d487..05863b9471 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/german/__init__.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/german/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number/recognizers_number/number/german/extractors.py b/Python/libraries/recognizers-number/recognizers_number/number/german/extractors.py index e4d5b84246..9ec510dc4b 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/german/extractors.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/german/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, List, NamedTuple import regex diff --git a/Python/libraries/recognizers-number/recognizers_number/number/german/parsers.py b/Python/libraries/recognizers-number/recognizers_number/number/german/parsers.py index 02c90cfd7d..5d8d244b4d 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/german/parsers.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/german/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, Pattern, List from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-number/recognizers_number/number/japanese/__init__.py b/Python/libraries/recognizers-number/recognizers_number/number/japanese/__init__.py index 5078f6d487..05863b9471 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/japanese/__init__.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/japanese/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number/recognizers_number/number/japanese/extractors.py b/Python/libraries/recognizers-number/recognizers_number/number/japanese/extractors.py index 5a82b6ddd6..4cbf47753e 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/japanese/extractors.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/japanese/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List from enum import Enum diff --git a/Python/libraries/recognizers-number/recognizers_number/number/japanese/parsers.py b/Python/libraries/recognizers-number/recognizers_number/number/japanese/parsers.py index ccee9c2e62..ce3eee0a2d 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/japanese/parsers.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/japanese/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List, Dict, Pattern, Optional from collections import namedtuple from decimal import Decimal diff --git a/Python/libraries/recognizers-number/recognizers_number/number/models.py b/Python/libraries/recognizers-number/recognizers_number/number/models.py index 48427124c0..f0921c2f8a 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/models.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/models.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List, Optional from enum import Enum diff --git a/Python/libraries/recognizers-number/recognizers_number/number/number_options.py b/Python/libraries/recognizers-number/recognizers_number/number/number_options.py index 53c9c6cbc0..c5603b3125 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/number_options.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/number_options.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from enum import IntFlag diff --git a/Python/libraries/recognizers-number/recognizers_number/number/number_recognizer.py b/Python/libraries/recognizers-number/recognizers_number/number/number_recognizer.py index 91a82e35f4..6d3cf1b658 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/number_recognizer.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/number_recognizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from enum import IntFlag from typing import List from recognizers_text import Culture, Recognizer, Model diff --git a/Python/libraries/recognizers-number/recognizers_number/number/parser_factory.py b/Python/libraries/recognizers-number/recognizers_number/number/parser_factory.py index 037b789c40..ca0e077557 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/parser_factory.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/parser_factory.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from enum import Enum from recognizers_number.number.parsers import NumberParserConfiguration, BaseNumberParser, BasePercentageParser diff --git a/Python/libraries/recognizers-number/recognizers_number/number/parsers.py b/Python/libraries/recognizers-number/recognizers_number/number/parsers.py index 6ecd3abc7f..f7431de137 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/parsers.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from typing import Dict, Pattern, Optional, List from decimal import Decimal, getcontext diff --git a/Python/libraries/recognizers-number/recognizers_number/number/portuguese/__init__.py b/Python/libraries/recognizers-number/recognizers_number/number/portuguese/__init__.py index d79a5447e6..4065a709e7 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/portuguese/__init__.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/portuguese/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number/recognizers_number/number/portuguese/extractors.py b/Python/libraries/recognizers-number/recognizers_number/number/portuguese/extractors.py index 81bad2e9f5..c369193b11 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/portuguese/extractors.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/portuguese/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import regex from typing import Pattern, List, NamedTuple diff --git a/Python/libraries/recognizers-number/recognizers_number/number/portuguese/parsers.py b/Python/libraries/recognizers-number/recognizers_number/number/portuguese/parsers.py index 0732b4c708..ce333a458b 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/portuguese/parsers.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/portuguese/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, Pattern, List import regex diff --git a/Python/libraries/recognizers-number/recognizers_number/number/spanish/__init__.py b/Python/libraries/recognizers-number/recognizers_number/number/spanish/__init__.py index 5078f6d487..05863b9471 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/spanish/__init__.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/spanish/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * from .parsers import * diff --git a/Python/libraries/recognizers-number/recognizers_number/number/spanish/extractors.py b/Python/libraries/recognizers-number/recognizers_number/number/spanish/extractors.py index 4f378e1f51..6a46e106db 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/spanish/extractors.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/spanish/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Pattern, List, NamedTuple from recognizers_text.utilities import RegExpUtility diff --git a/Python/libraries/recognizers-number/recognizers_number/number/spanish/parsers.py b/Python/libraries/recognizers-number/recognizers_number/number/spanish/parsers.py index 56e58c4431..e21152db97 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/spanish/parsers.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/spanish/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Dict, Pattern, List import regex diff --git a/Python/libraries/recognizers-number/recognizers_number/number/utilities.py b/Python/libraries/recognizers-number/recognizers_number/number/utilities.py index 2cb48221d0..65e0a6fa12 100644 --- a/Python/libraries/recognizers-number/recognizers_number/number/utilities.py +++ b/Python/libraries/recognizers-number/recognizers_number/number/utilities.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from decimal import localcontext diff --git a/Python/libraries/recognizers-number/recognizers_number/resources/__init__.py b/Python/libraries/recognizers-number/recognizers_number/resources/__init__.py index 6d6c253984..d8e5b23f7b 100644 --- a/Python/libraries/recognizers-number/recognizers_number/resources/__init__.py +++ b/Python/libraries/recognizers-number/recognizers_number/resources/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .base_numbers import BaseNumbers from .chinese_numeric import ChineseNumeric from .english_numeric import EnglishNumeric diff --git a/Python/libraries/recognizers-number/recognizers_number/resources/english_numeric.py b/Python/libraries/recognizers-number/recognizers_number/resources/english_numeric.py index 459c9f618e..76a9c1b41a 100644 --- a/Python/libraries/recognizers-number/recognizers_number/resources/english_numeric.py +++ b/Python/libraries/recognizers-number/recognizers_number/resources/english_numeric.py @@ -40,7 +40,7 @@ def NumbersWithPlaceHolder(placeholder): AllIntRegexWithLocks = f'((?<=\\b){AllIntRegex}(?=\\b))' AllIntRegexWithDozenSuffixLocks = f'(?<=\\b)(((half\\s+)?a\\s+dozen)|({AllIntRegex}\\s+dozen(s)?))(?=\\b)' RoundNumberOrdinalRegex = f'(?:hundredth|thousandth|millionth|billionth|trillionth)' - NumberOrdinalRegex = f'(?:first|second|third|fourth|fifth|sixth|seventh|eighth|ninth|tenth|eleventh|twelfth|thirteenth|fourteenth|fifteenth|sixteenth|seventeenth|eighteenth|nineteenth|twentieth|thirtieth|fortieth|fiftieth|sixtieth|seventieth|eightieth|ninetieth)' + NumberOrdinalRegex = f'(?:first|second|third|fourth|fifth|sixth|seventh|eighth|nine?th|tenth|eleventh|twelfth|thirteenth|fourteenth|fifteenth|sixteenth|seventeenth|eighteenth|nineteenth|twentieth|thirtieth|fortieth|fiftieth|sixtieth|seventieth|eightieth|ninetieth)' RelativeOrdinalRegex = f'(?(next|previous|current)\\s+one|(the\\s+second|next)\\s+to\\s+last|the\\s+one\\s+before\\s+the\\s+last(\\s+one)?|the\\s+last\\s+but\\s+one|(ante)?penultimate|last|next|previous|current)' BasicOrdinalRegex = f'({NumberOrdinalRegex}|{RelativeOrdinalRegex})' SuffixBasicOrdinalRegex = f'(?:(((({TensNumberIntegerRegex}(\\s+(and\\s+)?|\\s*-\\s*){ZeroToNineIntegerRegex})|{TensNumberIntegerRegex}|{ZeroToNineIntegerRegex}|{AnIntRegex})(\\s+{RoundNumberIntegerRegex})+)\\s+(and\\s+)?)*({TensNumberIntegerRegex}(\\s+|\\s*-\\s*))?{BasicOrdinalRegex})' @@ -169,6 +169,7 @@ def DoubleWithoutIntegralRegex(placeholder): ("seventh", 7), ("eighth", 8), ("ninth", 9), + ("nineth", 9), ("tenth", 10), ("eleventh", 11), ("twelfth", 12), @@ -202,6 +203,7 @@ def DoubleWithoutIntegralRegex(placeholder): ("sevenths", 7), ("eighths", 8), ("ninths", 9), + ("nineths", 9), ("tenths", 10), ("elevenths", 11), ("twelfths", 12), diff --git a/Python/libraries/recognizers-number/setup.py b/Python/libraries/recognizers-number/setup.py index 27992a3be3..56fdace3c1 100644 --- a/Python/libraries/recognizers-number/setup.py +++ b/Python/libraries/recognizers-number/setup.py @@ -1,5 +1,5 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. import os from setuptools import setup, find_packages diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/__init__.py b/Python/libraries/recognizers-sequence/recognizers_sequence/__init__.py index cae63076e5..46e5e67c81 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/__init__.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/__init__.py @@ -1,2 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .sequence import * from .resources import * diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/resources/__init__.py b/Python/libraries/recognizers-sequence/recognizers_sequence/resources/__init__.py index b74625005c..61ce0cc33f 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/resources/__init__.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/resources/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .base_email import * from .base_GUID import * from .base_url import * diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/__init__.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/__init__.py index 892cfb54f0..9336cd3b48 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/__init__.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .sequence_recognizer import * from .constants import * from .models import * diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/chinese/__init__.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/chinese/__init__.py index d00a1b5542..e0490d4b10 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/chinese/__init__.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/chinese/__init__.py @@ -1 +1,4 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/chinese/extractors.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/chinese/extractors.py index 01493da1cc..1f050878fe 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/chinese/extractors.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/chinese/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_sequence.sequence.config import * from recognizers_sequence.sequence.sequence_recognizer import * from recognizers_sequence.resources.chinese_phone_numbers import ChinesePhoneNumbers diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/__init__.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/__init__.py index 8e3ead3d91..258936e350 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/__init__.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .url_configuration import * from .phone_number_configuration import * from .ip_configuration import * diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/base_phone_number_configuration.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/base_phone_number_configuration.py index a2e529496a..6183f09f55 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/base_phone_number_configuration.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/base_phone_number_configuration.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_sequence.sequence.config import * from recognizers_sequence.resources import * from recognizers_text.culture import Culture diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/ip_configuration.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/ip_configuration.py index 12a5b9562a..54d8f28f93 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/ip_configuration.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/ip_configuration.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class IpConfiguration: options: object diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/phone_number_configuration.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/phone_number_configuration.py index b1daab5ec1..ad6451764b 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/phone_number_configuration.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/phone_number_configuration.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/url_configuration.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/url_configuration.py index 90391d0849..fd22701a78 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/url_configuration.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/config/url_configuration.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class URLConfiguration: options: object diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/constants.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/constants.py index 906cabad29..8e28c5ea13 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/constants.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/constants.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class Constants: IP_REGEX_IPV4: str = "ipv4" IP_REGEX_IPV6: str = "ipv6" diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/english/__init__.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/english/__init__.py index ebdbafd1b2..eea06be570 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/english/__init__.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/english/__init__.py @@ -1 +1,4 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/english/extractors.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/english/extractors.py index c0b3dbbf40..fdd6902566 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/english/extractors.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/english/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_number import CultureInfo from recognizers_sequence import * from recognizers_sequence.sequence.extractors import * diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/english/parsers.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/english/parsers.py index 867941dda3..33370b48e0 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/english/parsers.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/english/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import Optional import regex as re diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/extractors.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/extractors.py index 22478bbcd4..2435def63f 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/extractors.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from typing import List, Dict, Set, Pattern, Match from collections import namedtuple diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/models.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/models.py index e5467b6cb2..56b3e4cf9d 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/models.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/models.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import abstractmethod from typing import List diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/parsers.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/parsers.py index 30250733d1..504d984c09 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/parsers.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/parsers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from typing import Dict, Pattern, Optional, List from decimal import Decimal, getcontext diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/portuguese/__init__.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/portuguese/__init__.py index ebdbafd1b2..eea06be570 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/portuguese/__init__.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/portuguese/__init__.py @@ -1 +1,4 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .extractors import * diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/portuguese/extractors.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/portuguese/extractors.py index 8758613912..e851f0f562 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/portuguese/extractors.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/portuguese/extractors.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_sequence.sequence.config import * from recognizers_sequence.sequence.config.base_phone_number_configuration import * from recognizers_sequence.sequence.sequence_recognizer import * diff --git a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/sequence_recognizer.py b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/sequence_recognizer.py index d3a20cf85b..9de2b3d646 100644 --- a/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/sequence_recognizer.py +++ b/Python/libraries/recognizers-sequence/recognizers_sequence/sequence/sequence_recognizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from enum import IntFlag from .chinese.extractors import * from .portuguese.extractors import * diff --git a/Python/libraries/recognizers-sequence/setup.py b/Python/libraries/recognizers-sequence/setup.py index 554a02f53f..70c18e4438 100644 --- a/Python/libraries/recognizers-sequence/setup.py +++ b/Python/libraries/recognizers-sequence/setup.py @@ -1,5 +1,5 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. import os from setuptools import setup, find_packages diff --git a/Python/libraries/recognizers-suite/recognizers_suite/__init__.py b/Python/libraries/recognizers-suite/recognizers_suite/__init__.py index 9bb6654314..980c4283b5 100644 --- a/Python/libraries/recognizers-suite/recognizers_suite/__init__.py +++ b/Python/libraries/recognizers-suite/recognizers_suite/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_text.model import ModelResult from recognizers_text.culture import Culture from recognizers_number.number.number_recognizer import recognize_number, recognize_ordinal, recognize_percentage, NumberOptions diff --git a/Python/libraries/recognizers-suite/setup.py b/Python/libraries/recognizers-suite/setup.py index c6201abb44..40c7cee90c 100644 --- a/Python/libraries/recognizers-suite/setup.py +++ b/Python/libraries/recognizers-suite/setup.py @@ -1,5 +1,5 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. import os from setuptools import setup, find_packages diff --git a/Python/libraries/recognizers-text/recognizers_text/__init__.py b/Python/libraries/recognizers-text/recognizers_text/__init__.py index bfd07762e1..c84f3c8e66 100644 --- a/Python/libraries/recognizers-text/recognizers_text/__init__.py +++ b/Python/libraries/recognizers-text/recognizers_text/__init__.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .culture import * from .recognizer import * from .model import * diff --git a/Python/libraries/recognizers-text/recognizers_text/culture.py b/Python/libraries/recognizers-text/recognizers_text/culture.py index a625eab3c7..1b01fb2405 100644 --- a/Python/libraries/recognizers-text/recognizers_text/culture.py +++ b/Python/libraries/recognizers-text/recognizers_text/culture.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class Culture: Chinese: str = 'zh-cn' Dutch: str = 'nl-nl' diff --git a/Python/libraries/recognizers-text/recognizers_text/extractor.py b/Python/libraries/recognizers-text/recognizers_text/extractor.py index 51d8b354c9..b7478873a3 100644 --- a/Python/libraries/recognizers-text/recognizers_text/extractor.py +++ b/Python/libraries/recognizers-text/recognizers_text/extractor.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from typing import List from .meta_data import MetaData diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/aa_node.py b/Python/libraries/recognizers-text/recognizers_text/matcher/aa_node.py index 1d4bf06306..7be75bb43c 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/aa_node.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/aa_node.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .node import Node diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/abstract_matcher.py b/Python/libraries/recognizers-text/recognizers_text/matcher/abstract_matcher.py index 2d24263d67..4b8410a6a7 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/abstract_matcher.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/abstract_matcher.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .matcher import Matcher from abc import abstractmethod diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/ac_automaton.py b/Python/libraries/recognizers-text/recognizers_text/matcher/ac_automaton.py index c0ad8525c8..90efa36cfa 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/ac_automaton.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/ac_automaton.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .aa_node import AaNode from .abstract_matcher import AbstractMatcher from queue import Queue diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/match_result.py b/Python/libraries/recognizers-text/recognizers_text/matcher/match_result.py index a8d1aba878..fcbb1e7472 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/match_result.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/match_result.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class MatchResult: def __init__(self, start: int = 0, length: int = 0, ids: [] = []): diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/match_strategy.py b/Python/libraries/recognizers-text/recognizers_text/matcher/match_strategy.py index 924c752907..a949373c0c 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/match_strategy.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/match_strategy.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from enum import Enum diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/matcher.py b/Python/libraries/recognizers-text/recognizers_text/matcher/matcher.py index e6a7f713fd..5a3a345532 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/matcher.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/matcher.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/node.py b/Python/libraries/recognizers-text/recognizers_text/matcher/node.py index a806878222..11a21f74f5 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/node.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/node.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class Node: def __init__(self): self.__values = [] diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/number_with_unit_tokenizer.py b/Python/libraries/recognizers-text/recognizers_text/matcher/number_with_unit_tokenizer.py index 3da910a6ab..2110a41253 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/number_with_unit_tokenizer.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/number_with_unit_tokenizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .simple_tokenizer import SimpleTokenizer from .token import Token diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/simple_tokenizer.py b/Python/libraries/recognizers-text/recognizers_text/matcher/simple_tokenizer.py index 14ce45e9fc..e9c146e766 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/simple_tokenizer.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/simple_tokenizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .tokenizer import Tokenizer from .token import Token diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/string_matcher.py b/Python/libraries/recognizers-text/recognizers_text/matcher/string_matcher.py index c3f2f21c4f..5de97c2dbb 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/string_matcher.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/string_matcher.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from .tokenizer import Tokenizer from .match_strategy import MatchStrategy from .simple_tokenizer import SimpleTokenizer diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/token.py b/Python/libraries/recognizers-text/recognizers_text/matcher/token.py index 0b185f0ce7..608ccb4fc7 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/token.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/token.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class Token(object): def __init__(self, start: int, length: int, text: str): self.__length = length diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/tokenizer.py b/Python/libraries/recognizers-text/recognizers_text/matcher/tokenizer.py index fc5d25aea9..246d4415c3 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/tokenizer.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/tokenizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod diff --git a/Python/libraries/recognizers-text/recognizers_text/matcher/trie_tree.py b/Python/libraries/recognizers-text/recognizers_text/matcher/trie_tree.py index 1a7fca9645..4a427f9d89 100644 --- a/Python/libraries/recognizers-text/recognizers_text/matcher/trie_tree.py +++ b/Python/libraries/recognizers-text/recognizers_text/matcher/trie_tree.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from typing import List from recognizers_text import ModelResult diff --git a/Python/libraries/recognizers-text/recognizers_text/meta_data.py b/Python/libraries/recognizers-text/recognizers_text/meta_data.py index 1577037a6d..53e4d19fad 100644 --- a/Python/libraries/recognizers-text/recognizers_text/meta_data.py +++ b/Python/libraries/recognizers-text/recognizers_text/meta_data.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + class MetaData: def __init__(self): self.has_mod: bool = False diff --git a/Python/libraries/recognizers-text/recognizers_text/model.py b/Python/libraries/recognizers-text/recognizers_text/model.py index 43d2c271ed..94f7a6aba3 100644 --- a/Python/libraries/recognizers-text/recognizers_text/model.py +++ b/Python/libraries/recognizers-text/recognizers_text/model.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from enum import Flag from typing import List, Dict, Generic, TypeVar, Callable, Optional, Union, Any diff --git a/Python/libraries/recognizers-text/recognizers_text/parser.py b/Python/libraries/recognizers-text/recognizers_text/parser.py index 40b2acc8cf..fe24e2d820 100644 --- a/Python/libraries/recognizers-text/recognizers_text/parser.py +++ b/Python/libraries/recognizers-text/recognizers_text/parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from typing import Optional from .extractor import ExtractResult diff --git a/Python/libraries/recognizers-text/recognizers_text/recognizer.py b/Python/libraries/recognizers-text/recognizers_text/recognizer.py index ceea7fc113..676778cfde 100644 --- a/Python/libraries/recognizers-text/recognizers_text/recognizer.py +++ b/Python/libraries/recognizers-text/recognizers_text/recognizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from abc import ABC, abstractmethod from typing import Generic, Callable from .model import T_MODEL_OPTIONS, ModelFactory, Model diff --git a/Python/libraries/recognizers-text/recognizers_text/utilities.py b/Python/libraries/recognizers-text/recognizers_text/utilities.py index 60eeeb1dde..0d97ef8dc3 100644 --- a/Python/libraries/recognizers-text/recognizers_text/utilities.py +++ b/Python/libraries/recognizers-text/recognizers_text/utilities.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import re import unicodedata from typing import Pattern, Union, List, Match, Dict diff --git a/Python/libraries/recognizers-text/setup.py b/Python/libraries/recognizers-text/setup.py index d6d6845e7c..91faa3c6ed 100644 --- a/Python/libraries/recognizers-text/setup.py +++ b/Python/libraries/recognizers-text/setup.py @@ -1,5 +1,5 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. from setuptools import setup, find_packages diff --git a/Python/libraries/resource-generator/index.py b/Python/libraries/resource-generator/index.py index 3aa650cc9f..20c86fa3e4 100644 --- a/Python/libraries/resource-generator/index.py +++ b/Python/libraries/resource-generator/index.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import sys import json import os diff --git a/Python/libraries/resource-generator/lib/base_code_generator.py b/Python/libraries/resource-generator/lib/base_code_generator.py index edf8edfd5d..a45c4a5128 100644 --- a/Python/libraries/resource-generator/lib/base_code_generator.py +++ b/Python/libraries/resource-generator/lib/base_code_generator.py @@ -1,3 +1,5 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. import os from .yaml_parser import parse diff --git a/Python/libraries/resource-generator/lib/code_writer.py b/Python/libraries/resource-generator/lib/code_writer.py index d21b7793c7..ce77f5a526 100644 --- a/Python/libraries/resource-generator/lib/code_writer.py +++ b/Python/libraries/resource-generator/lib/code_writer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import abc import json from .yaml_parser import SimpleRegex, NestedRegex, ParamsRegex, Dictionary, List diff --git a/Python/libraries/resource-generator/lib/yaml_parser.py b/Python/libraries/resource-generator/lib/yaml_parser.py index 658ff1e130..417e94a708 100644 --- a/Python/libraries/resource-generator/lib/yaml_parser.py +++ b/Python/libraries/resource-generator/lib/yaml_parser.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from ruamel.yaml import YAML diff --git a/Python/samples/simple_console/sample.py b/Python/samples/simple_console/sample.py index 79bb1106a4..e091b14c1e 100644 --- a/Python/samples/simple_console/sample.py +++ b/Python/samples/simple_console/sample.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import json from typing import List import recognizers_suite as Recognizers diff --git a/Python/setup.py b/Python/setup.py index 4a82fc3b8d..b5f024954c 100644 --- a/Python/setup.py +++ b/Python/setup.py @@ -1,4 +1,4 @@ -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. # to be used as root setup diff --git a/Python/tests/datatypes/test_time.py b/Python/tests/datatypes/test_time.py index 11a8997c12..46a51f88f0 100644 --- a/Python/tests/datatypes/test_time.py +++ b/Python/tests/datatypes/test_time.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datatypes_timex_expression import Time diff --git a/Python/tests/datatypes/test_timex.py b/Python/tests/datatypes/test_timex.py index 1503a97363..96fea110fd 100644 --- a/Python/tests/datatypes/test_timex.py +++ b/Python/tests/datatypes/test_timex.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datatypes_timex_expression import Timex, datetime, Time diff --git a/Python/tests/datatypes/test_timex_convert.py b/Python/tests/datatypes/test_timex_convert.py index 604bcddbcb..9b65090aae 100644 --- a/Python/tests/datatypes/test_timex_convert.py +++ b/Python/tests/datatypes/test_timex_convert.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datatypes_timex_expression import TimexConvert, Timex diff --git a/Python/tests/datatypes/test_timex_date_helpers.py b/Python/tests/datatypes/test_timex_date_helpers.py index 984b85ed47..7f3b47b865 100644 --- a/Python/tests/datatypes/test_timex_date_helpers.py +++ b/Python/tests/datatypes/test_timex_date_helpers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datetime import datetime from datatypes_timex_expression import TimexDateHelpers, Constants diff --git a/Python/tests/datatypes/test_timex_format.py b/Python/tests/datatypes/test_timex_format.py index 08b2b839b1..0537d39e98 100644 --- a/Python/tests/datatypes/test_timex_format.py +++ b/Python/tests/datatypes/test_timex_format.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datatypes_timex_expression import Timex diff --git a/Python/tests/datatypes/test_timex_helpers.py b/Python/tests/datatypes/test_timex_helpers.py index 803a35b34e..29d81ee376 100644 --- a/Python/tests/datatypes/test_timex_helpers.py +++ b/Python/tests/datatypes/test_timex_helpers.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datatypes_timex_expression import Timex, TimexHelpers, datetime, Time diff --git a/Python/tests/datatypes/test_timex_parsing.py b/Python/tests/datatypes/test_timex_parsing.py index 056e5ee0aa..b2ace21956 100644 --- a/Python/tests/datatypes/test_timex_parsing.py +++ b/Python/tests/datatypes/test_timex_parsing.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datatypes_timex_expression import Timex, Constants diff --git a/Python/tests/datatypes/test_timex_range_resolver.py b/Python/tests/datatypes/test_timex_range_resolver.py index ea1e3c2151..4028d3733d 100644 --- a/Python/tests/datatypes/test_timex_range_resolver.py +++ b/Python/tests/datatypes/test_timex_range_resolver.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datatypes_timex_expression import Timex, TimexRangeResolver, TimexCreator diff --git a/Python/tests/datatypes/test_timex_relative_convert.py b/Python/tests/datatypes/test_timex_relative_convert.py index 8aba043b31..b691f1dc9a 100644 --- a/Python/tests/datatypes/test_timex_relative_convert.py +++ b/Python/tests/datatypes/test_timex_relative_convert.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datatypes_timex_expression import Timex, datetime, TimexRelativeConvert diff --git a/Python/tests/datatypes/test_timex_resolver.py b/Python/tests/datatypes/test_timex_resolver.py index e68506b78b..caef3188e2 100644 --- a/Python/tests/datatypes/test_timex_resolver.py +++ b/Python/tests/datatypes/test_timex_resolver.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from datatypes_timex_expression import Timex, datetime, TimexResolver diff --git a/Python/tests/matcher/test_simple_tokenizer.py b/Python/tests/matcher/test_simple_tokenizer.py index 23a59cda7d..5a0253eb40 100644 --- a/Python/tests/matcher/test_simple_tokenizer.py +++ b/Python/tests/matcher/test_simple_tokenizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_text.matcher.simple_tokenizer import SimpleTokenizer diff --git a/Python/tests/matcher/test_string_matcher.py b/Python/tests/matcher/test_string_matcher.py index cb9266b8bc..43ad58407f 100644 --- a/Python/tests/matcher/test_string_matcher.py +++ b/Python/tests/matcher/test_string_matcher.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + from recognizers_text.matcher.string_matcher import StringMatcher from recognizers_text.matcher.match_result import MatchResult diff --git a/Python/tests/runner.py b/Python/tests/runner.py index a3f33e463f..1420fe11ec 100644 --- a/Python/tests/runner.py +++ b/Python/tests/runner.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import glob import os import json diff --git a/Python/tests/test_initialization_choice_recognizer.py b/Python/tests/test_initialization_choice_recognizer.py index 856ed64d16..ad0127d02a 100644 --- a/Python/tests/test_initialization_choice_recognizer.py +++ b/Python/tests/test_initialization_choice_recognizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import pytest from recognizers_text import Culture from recognizers_choice.choice.models import BooleanModel diff --git a/Python/tests/test_initialization_number_recognizer.py b/Python/tests/test_initialization_number_recognizer.py index acd9804eda..264cff8308 100644 --- a/Python/tests/test_initialization_number_recognizer.py +++ b/Python/tests/test_initialization_number_recognizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import pytest from recognizers_text import Culture from recognizers_number.number import NumberOptions, NumberModel, NumberRecognizer diff --git a/Python/tests/test_initialization_number_with_unit_recognizer.py b/Python/tests/test_initialization_number_with_unit_recognizer.py index f57e835832..da1d6d27f9 100644 --- a/Python/tests/test_initialization_number_with_unit_recognizer.py +++ b/Python/tests/test_initialization_number_with_unit_recognizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import pytest from recognizers_text import Culture from recognizers_number_with_unit.number_with_unit import NumberWithUnitRecognizer, NumberWithUnitOptions diff --git a/Python/tests/test_initialization_sequence_recognizer.py b/Python/tests/test_initialization_sequence_recognizer.py index acabe6022f..86a1deffbb 100644 --- a/Python/tests/test_initialization_sequence_recognizer.py +++ b/Python/tests/test_initialization_sequence_recognizer.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import pytest from recognizers_text import Culture from recognizers_sequence.sequence import SequenceOptions, SequenceRecognizer, ChinesePhoneNumberExtractorConfiguration diff --git a/Python/tests/test_runner_choice.py b/Python/tests/test_runner_choice.py index b9f094562c..04a7b9b110 100644 --- a/Python/tests/test_runner_choice.py +++ b/Python/tests/test_runner_choice.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import pytest from runner import get_specs from recognizers_choice import recognize_boolean diff --git a/Python/tests/test_runner_datetime.py b/Python/tests/test_runner_datetime.py index 9dee81d3cb..6f364390be 100644 --- a/Python/tests/test_runner_datetime.py +++ b/Python/tests/test_runner_datetime.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import importlib import datetime import pytest @@ -173,7 +176,7 @@ def single_assert(actual, expected, prop, spec_info): "Actual: {} | Expected: {} | Context: {}".format(actual, expected, spec_info) else: assert actual.get(prop) is None, \ - "Actual: 'None' | Expected: {} | Context: {}".format(actual, expected, spec_info) + "Actual: 'None' | Expected: {} | Context: {}".format(expected, spec_info) def assert_verbose(actual, expected, spec_info): diff --git a/Python/tests/test_runner_number.py b/Python/tests/test_runner_number.py index 10a645eff7..bb0d9895f4 100644 --- a/Python/tests/test_runner_number.py +++ b/Python/tests/test_runner_number.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import pytest from runner import get_specs from recognizers_number.number.number_recognizer import recognize_number, recognize_ordinal, recognize_percentage diff --git a/Python/tests/test_runner_number_with_unit.py b/Python/tests/test_runner_number_with_unit.py index 5f03556b63..eb33655c70 100644 --- a/Python/tests/test_runner_number_with_unit.py +++ b/Python/tests/test_runner_number_with_unit.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import pytest from runner import get_specs from recognizers_number_with_unit.number_with_unit.number_with_unit_recognizer import recognize_age, recognize_currency, \ diff --git a/Python/tests/test_runner_sequence.py b/Python/tests/test_runner_sequence.py index 01774f72b6..9a69a442f7 100644 --- a/Python/tests/test_runner_sequence.py +++ b/Python/tests/test_runner_sequence.py @@ -1,3 +1,6 @@ +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. + import pytest from runner import get_specs from recognizers_sequence.sequence.sequence_recognizer import * diff --git a/Specs/DateTime/German/DateTimeModel.json b/Specs/DateTime/German/DateTimeModel.json index 4d113aab9c..6282df7935 100644 --- a/Specs/DateTime/German/DateTimeModel.json +++ b/Specs/DateTime/German/DateTimeModel.json @@ -4847,5 +4847,63 @@ } } ] + }, + { + "Input": "In Deutschland gibt es unter anderem den meteorologischen und kalendarischen Herbstanfang.", + "Context": { + "ReferenceDateTime": "2020-11-07T00:00:00" + }, + "NotSupported": "python", + "Results": [ + { + "Text": "herbstanfang", + "Start": 77, + "End": 88, + "TypeName": "datetimeV2.date", + "Resolution": { + "values": [ + { + "timex": "XXXX-09-22", + "type": "date", + "value": "2020-09-22" + }, + { + "timex": "XXXX-09-22", + "type": "date", + "value": "2021-09-22" + } + ] + } + } + ] + }, + { + "Input": "Mit dem Ewigkeitssonntag endet das Kirchenjahr.", + "Context": { + "ReferenceDateTime": "2020-11-07T00:00:00" + }, + "NotSupported": "python", + "Results": [ + { + "Text": "ewigkeitssonntag", + "Start": 8, + "End": 23, + "TypeName": "datetimeV2.date", + "Resolution": { + "values": [ + { + "timex": "XXXX", + "type": "date", + "value": "2019-11-24" + }, + { + "timex": "XXXX", + "type": "date", + "value": "2020-11-22" + } + ] + } + } + ] } ] \ No newline at end of file diff --git a/Specs/Number/English/OrdinalModel.json b/Specs/Number/English/OrdinalModel.json index 4a4eefdd63..b48f15f888 100644 --- a/Specs/Number/English/OrdinalModel.json +++ b/Specs/Number/English/OrdinalModel.json @@ -746,5 +746,22 @@ } } ] + }, + { + "Input": "Nineth Meeting of the Research Partnership Platform on Competition and Consumer Protection.", + "NotSupported": "java, javascript, python", + "Results": [ + { + "Text": "nineth", + "Start": 0, + "End": 5, + "TypeName": "ordinal", + "Resolution": { + "offset": "9", + "relativeTo": "start", + "value": "9" + } + } + ] } ] \ No newline at end of file diff --git a/Tools/src/ValidationTool/ValidationTool.cs b/Tools/src/ValidationTool/ValidationTool.cs index cafe3ca5fd..78a0801eee 100644 --- a/Tools/src/ValidationTool/ValidationTool.cs +++ b/Tools/src/ValidationTool/ValidationTool.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; using System.Collections.Generic; using System.CommandLine; using System.CommandLine.Invocation;