How to use the @microsoft/recognizers-text-suite.Culture.Chinese 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
*/
    yesInLanguage: string;
    /**
     * Equivalent of "No" in Culture Model's Language.
     * @example
     * "No"
     */
    noInLanguage: string;
}

/**
 * Class container for currently-supported Culture Models in Confirm and Choice Prompt.
 */
export class PromptCultureModels {
    public static Chinese: PromptCultureModel = {
        locale: Culture.Chinese,
        separator: ', ',
        inlineOr: ' 要么 ',
        inlineOrMore: ', 要么 ',
        yesInLanguage: '是的',
        noInLanguage: '不',
    }

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