How to use the @microsoft/recognizers-text.Culture.Dutch function in @microsoft/recognizers-text

To help you get started, we’ve selected a few @microsoft/recognizers-text examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / Recognizers-Text / JavaScript / packages / recognizers-choice / src / choice / choiceRecognizer.ts View on Github external
protected InitializeConfiguration() {
        // #region Chinese
        this.registerModel("BooleanModel", Culture.Chinese, (options) => new BooleanModel(
            new BooleanParser(),
            new BooleanExtractor(new ChineseBooleanExtractorConfiguration())
        ));
        // #endregion

        // #region Dutch
        this.registerModel("BooleanModel", Culture.Dutch, (options) => new BooleanModel(
            new BooleanParser(),
            new BooleanExtractor(new DutchBooleanExtractorConfiguration())
        ));
        // #endregion

        // #region English
        this.registerModel("BooleanModel", Culture.English, (options) => new BooleanModel(
            new BooleanParser(),
            new BooleanExtractor(new EnglishBooleanExtractorConfiguration())
        ));
        // #endregion

        // #region French
        this.registerModel("BooleanModel", Culture.French, (options) => new BooleanModel(
            new BooleanParser(),
            new BooleanExtractor(new FrenchBooleanExtractorConfiguration())