Assigned
Status Update
Comments
pu...@google.com <pu...@google.com>
nr...@google.com <nr...@google.com> #2
I have one question related to Google translate API. but it is not related to this issue.
When i am trying to access Google Translate API using javascript when the query string size is around 13000 characters i am getting server response error code 400. Can you please let me know what is the request size limit if any exist.
When i am trying to access Google Translate API using javascript when the query string size is around 13000 characters i am getting server response error code 400. Can you please let me know what is the request size limit if any exist.
dm...@ringcentral.com <dm...@ringcentral.com> #3
@vrames
according to Google API FAQ
The maximum size of each text to be translated is 5000 characters, not including any HTML tags.
according to Google API FAQ
The maximum size of each text to be translated is 5000 characters, not including any HTML tags.
ha...@gmail.com <ha...@gmail.com> #4
N/A
Description
Today Class Tokens do not enforce grammar rules. Enforce API response to be aligned with a grammar rule match. Grammar rules can be regex-like.
Example 1: define a grammar rule to accept 6 digits, like “\d\d\d\d\d\d”
User says: eight eight ahhhh,, four two one three
API response: 884213 (API ignore “ahhhh”)
User says: eight eight four <inaudible> one three
API response: BLANK - API was not able to match 6 digits
Example 2: define a grammar rule to accept 2 letters, 3 digits and 1 letter, like “[A-Z][A-Z]\d\d\dL”
User says: P, O, zero eight ahhhh,, four W
API response: PO084W
User says: P, O, O (letter O, not zero) eight ahhhh,, four W
API response: PO084W (API understand that O should be converted to 0)
User says: zero eight ahhhh,, four W
API response: BLANK - user didn’t say “P O”
Example 3: define a grammar rule to accept 2 letters, 3 to 5 digits, like “[A-Z]{2}#{3,5}”
User says: P, O, zero eight four W
API response: PO884 (return matched case and ignore W)