共用方式為

LUIS 应用的百分比预生成实体

Important

语言理解智能服务(LUIS)将于 2026 年 3 月 31 日完全停用。 LUIS 资源创建不可用。 从 2025 年 10 月 31 日开始,LUIS 门户将不再可用。 建议将 LUIS 应用程序迁移对话语言理解,以便从持续的产品支持和多语言功能中受益。

百分比数字可以显示为分数 3 1/2 或百分比 2%。 此实体已定型,因此不需要将包含百分比的陈述示例添加到应用程序意向中。 Percentage entity is supported in many cultures.

百分比类型

Percentage is managed from the Recognizers-text GitHub repository

预构建百分比实体的解析

查询返回以下实体对象:

set a trigger when my stock goes up 2%

以下 JSON 的 verbose 参数设置为 false

"entities": {
    "percentage": [
        2
    ]
}

Next steps

Learn about the ordinal, number, and temperature entities.