public FrenchMergedParserConfiguration(IOptionsConfiguration config) : base(config) { BeforeRegex = FrenchMergedExtractorConfiguration.BeforeRegex; AfterRegex = FrenchMergedExtractorConfiguration.AfterRegex; SinceRegex = FrenchMergedExtractorConfiguration.SinceRegex; AroundRegex = FrenchMergedExtractorConfiguration.AroundRegex; DateAfter = FrenchMergedExtractorConfiguration.DateAfterRegex; YearRegex = FrenchDatePeriodExtractorConfiguration.YearRegex; SuperfluousWordMatcher = FrenchMergedExtractorConfiguration.SuperfluousWordMatcher; SetParser = new BaseSetParser(new FrenchSetParserConfiguration(this)); HolidayParser = new BaseHolidayParser(new FrenchHolidayParserConfiguration(this)); TimeZoneParser = new DummyTimeZoneParser(); }
public ItalianMergedParserConfiguration(IOptionsConfiguration options) : base(options) { BeforeRegex = ItalianMergedExtractorConfiguration.BeforeRegex; AfterRegex = ItalianMergedExtractorConfiguration.AfterRegex; SinceRegex = ItalianMergedExtractorConfiguration.SinceRegex; AroundRegex = ItalianMergedExtractorConfiguration.AroundRegex; DateAfter = ItalianMergedExtractorConfiguration.DateAfterRegex; YearRegex = ItalianDatePeriodExtractorConfiguration.YearRegex; SuperfluousWordMatcher = ItalianMergedExtractorConfiguration.SuperfluousWordMatcher; DatePeriodParser = new BaseDatePeriodParser(new ItalianDatePeriodParserConfiguration(this)); TimePeriodParser = new BaseTimePeriodParser(new ItalianTimePeriodParserConfiguration(this)); DateTimePeriodParser = new BaseDateTimePeriodParser(new ItalianDateTimePeriodParserConfiguration(this)); SetParser = new BaseSetParser(new ItalianSetParserConfiguration(this)); HolidayParser = new BaseHolidayParser(new ItalianHolidayParserConfiguration(this)); TimeZoneParser = new DummyTimeZoneParser(); }
public GermanMergedParserConfiguration(IOptionsConfiguration config) : base(config) { BeforeRegex = GermanMergedExtractorConfiguration.BeforeRegex; AfterRegex = GermanMergedExtractorConfiguration.AfterRegex; SinceRegex = GermanMergedExtractorConfiguration.SinceRegex; AroundRegex = GermanMergedExtractorConfiguration.AroundRegex; SuffixAfter = GermanMergedExtractorConfiguration.SuffixAfterRegex; YearRegex = GermanDatePeriodExtractorConfiguration.YearRegex; SuperfluousWordMatcher = GermanMergedExtractorConfiguration.SuperfluousWordMatcher; DatePeriodParser = new BaseDatePeriodParser(new GermanDatePeriodParserConfiguration(this)); TimePeriodParser = new BaseTimePeriodParser(new GermanTimePeriodParserConfiguration(this)); DateTimePeriodParser = new BaseDateTimePeriodParser(new GermanDateTimePeriodParserConfiguration(this)); SetParser = new BaseSetParser(new GermanSetParserConfiguration(this)); HolidayParser = new HolidayParserGer(new GermanHolidayParserConfiguration(this)); TimeZoneParser = new DummyTimeZoneParser(); }
public PortugueseMergedParserConfiguration(IDateTimeOptionsConfiguration config) : base(config) { BeforeRegex = PortugueseMergedExtractorConfiguration.BeforeRegex; AfterRegex = PortugueseMergedExtractorConfiguration.AfterRegex; SinceRegex = PortugueseMergedExtractorConfiguration.SinceRegex; AroundRegex = PortugueseMergedExtractorConfiguration.AroundRegex; EqualRegex = PortugueseMergedExtractorConfiguration.EqualRegex; SuffixAfter = PortugueseMergedExtractorConfiguration.SuffixAfterRegex; YearRegex = PortugueseDatePeriodExtractorConfiguration.YearRegex; SuperfluousWordMatcher = PortugueseMergedExtractorConfiguration.SuperfluousWordMatcher; DatePeriodParser = new BaseDatePeriodParser(new PortugueseDatePeriodParserConfiguration(this)); TimePeriodParser = new BaseTimePeriodParser(new PortugueseTimePeriodParserConfiguration(this)); DateTimePeriodParser = new DateTimePeriodParser(new PortugueseDateTimePeriodParserConfiguration(this)); SetParser = new BaseSetParser(new PortugueseSetParserConfiguration(this)); HolidayParser = new BaseHolidayParser(new PortugueseHolidayParserConfiguration(this)); TimeZoneParser = new DummyTimeZoneParser(); }
public SpanishMergedParserConfiguration(IDateTimeOptionsConfiguration config) : base(config) { BeforeRegex = SpanishMergedExtractorConfiguration.BeforeRegex; AfterRegex = SpanishMergedExtractorConfiguration.AfterRegex; SinceRegex = (config.Options & DateTimeOptions.ExperimentalMode) != 0 ? SpanishMergedExtractorConfiguration.SinceRegexExp : SpanishMergedExtractorConfiguration.SinceRegex; AroundRegex = SpanishMergedExtractorConfiguration.AroundRegex; EqualRegex = SpanishMergedExtractorConfiguration.EqualRegex; SuffixAfter = SpanishMergedExtractorConfiguration.SuffixAfterRegex; YearRegex = SpanishDatePeriodExtractorConfiguration.YearRegex; SuperfluousWordMatcher = SpanishMergedExtractorConfiguration.SuperfluousWordMatcher; DatePeriodParser = new BaseDatePeriodParser(new SpanishDatePeriodParserConfiguration(this)); TimePeriodParser = new BaseTimePeriodParser(new SpanishTimePeriodParserConfiguration(this)); DateTimePeriodParser = new DateTimePeriodParser(new SpanishDateTimePeriodParserConfiguration(this)); SetParser = new BaseSetParser(new SpanishSetParserConfiguration(this)); HolidayParser = new BaseHolidayParser(new SpanishHolidayParserConfiguration(this)); TimeZoneParser = new DummyTimeZoneParser(); }