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

To help you get started, we’ve selected a few @microsoft/recognizers-text-suite 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 / botbuilder-js / libraries / botbuilder-dialogs / src / prompts / promptCultureModels.ts View on Github external
inlineOrMore: ', 要么 ',
        yesInLanguage: '是的',
        noInLanguage: '不',
    }

    public static Dutch: PromptCultureModel = {
        locale: Culture.Dutch,
        separator: ', ',
        inlineOr: ' of ',
        inlineOrMore: ', of ',
        yesInLanguage: 'Ja',
        noInLanguage: 'Nee',
    }

    public static English: PromptCultureModel = {
        locale: Culture.English,
        separator: ', ',
        inlineOr: ' or ',
        inlineOrMore: ', or ',
        yesInLanguage: 'Yes',
        noInLanguage: 'No',
    }

    public static French: PromptCultureModel = {
        locale: Culture.French,
        separator: ', ',
        inlineOr: ' ou ',
        inlineOrMore: ', ou ',
        yesInLanguage: 'Oui',
        noInLanguage: 'Non',
    }