简体   繁体   English

计数 Azure 中的字符翻译并具有混合定价层

[英]Counting characters in Azure Translate and having hybrid pricing tier

Regarding the Azure Translator service,关于 Azure 翻译服务,

  1. The Frequently Asked Questions page says: 常见问题页面说:

For scripts based on graphic symbols, such as written Chinese and Japanese Kanji, the Translator service counts the number of Unicode code points.对于基于图形符号的脚本,例如书面中文和日文汉字,翻译服务会计算 Unicode 代码点的数量。 One character per symbol.每个符号一个字符。 Exception: Unicode surrogate pairs count as two characters.例外:Unicode 代理对计为两个字符。

Am I correct to say that "驚くばかり" would count as 5 characters , even though it's 15 bytes, but the emoji "" would count as 7 characters , because of the surrogate pairs?我是否正确地说“惊くばかり”将计为5 个字符,即使它是 15 个字节,但表情符号“”将计为7 个字符,因为代理对?

  1. It appears that I can either choose to have "2M free chars" or "pay as I go", but not both: "first 2M chars free, then pay as I go".看来我可以选择“2M 免费字符”或“按需付费”,但不能同时选择两者:“先免费 2M 字符,然后按需付费”。
    However, is it OK/allowed to create two Translate resources, where one would be on the "Free tier", and the other "Pay as you go", and have the application point to the second one when I exceed the 2M free quota?但是,是否可以/允许创建两个翻译资源,其中一个位于“免费层”,另一个位于“按需付费”,当我超过 2M 的免费配额时让应用程序指向第二个?

在此处输入图像描述

Not sure about emoji because each emoji can be counted as different character counts.不确定表情符号,因为每个表情符号都可以算作不同的字符数。 But yes, each foreign character will be counted single.但是,是的,每个外来字符都将被计算为单个。

And when it comes to pricing, there isn't any option for hybrid pricing.在定价方面,没有任何混合定价的选择。 Therefore, you either choose a free F0 or Pay as you go S1 pricing tier based on your requirement.因此,您可以根据您的要求选择免费 F0 或按您的方式付费 go S1 定价层。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 azure 中是否有可能制定政策来强制执行定价层? - Is it possible in azure to have policy to enforce a pricing tier? Azure SQL数据库的“定价层”详细信息 - powershell - 'Pricing tier' details of Azure SQL databases - powershell Azure 扬声器验证 API 的定价层错误 - Pricing tier error with Azure Speaker Verification API Azure中Active Directory中定价层的主要区别是什么? - What is the main differences of Pricing tier in Active Directory in Azure? 如何检查SQL Server数据库的Azure定价层更改历史记录? - How to check Azure Pricing tier change history for SQL Server Database? "Azure Functions 错误消息:此定价层中不允许使用方法" - Azure Functions Error Message: Method not allowed in this pricing tier 尽管有 S1 定价层,Azure 计算机视觉仍未运行 - Azure Computer Vision not running despite S1 pricing tier 我们如何自动缩放Azure SQL数据库的定价层? - How can we autoscale the pricing tier of Azure SQL database? Azure SQL定价层会影响还原速度吗? - Does the Azure SQL Pricing Tier affect restore speeds? 如何使用Azure AzAnalysisServicesServer Powershell获取分析服务的定价层 - How to get the Pricing tier of an analysis service using azure AzAnalysisServicesServer powershell
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM