Azure翻译API V3无法检测特殊字符,如%,#,=,=>等等... [英] Azure translation API V3 unabale to detect special character like %,#,=,=> etc...

查看:179
本文介绍了Azure翻译API V3无法检测特殊字符,如%,#,=,=>等等...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我从V2迁移到V3,因为V2在今年4月被淘汰。问题是"我正在使用API​​的检测功能来检测语言,当我想翻译包含一些特殊字符的文本时,例如%,#,=> ;,= etc ... API响应500
内部服务器错误?"这个问题是V3 API识别特殊字符......它不是用V2?

解决方案

你好,


有趣的是,您在使用v3 API时遇到了错误。我已经通过订阅对此进行了测试,并且能够在翻译期间返回字符。



当您看到此错误时,是否可以提供您正在使用的文本?另外,请你检查一下请求中是否有垃圾字符。


我还要求你在使用特殊字符之前用文本检查翻译,以确保你的服务确实正常工作 

Recently I migrated to V3 from V2 as V2 is decomissioned in this April.Issue is "I am using detect function of API to detect language and when I want to translate text containing some special characters like %,#,=>,= etc... API respond with 500 interal server error?" is this issue with V3 API to recognize special characters... It was not with V2?

解决方案

Hello,

It is interesting to note that you have encountered an error while using the API for v3. I have tested this with my subscription and it was able to return the characters during translation.

Could you please provide the text that you are using when this error was seen? Also, could you please check if there are any junk characters in the request.

I would also request you to check the translation with just text before using special characters to ensure that the your service is actually working fine. 


这篇关于Azure翻译API V3无法检测特殊字符,如%,#,=,=>等等...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆