Closed rohanrajpal closed 4 years ago
@rohanrajpal Which region did you test this out with? It looks like they've changed something in the backend recently. The key I've used is set to the global region and it works by just removing southeastasia
from https://github.com/microsoft/GLUECoS/blob/19fb6713ad2d22d181647db4aa2bd2c76aea4270/transliterator.py#L13
Can you check if this works for you? I do not think that any of the other changes you've made are needed
@rohanrajpal Which region did you test this out with? It looks like they've changed something in the backend recently. The key I've used is set to the global region and it works by just removing
southeastasia
fromCan you check if this works for you? I do not think that any of the other changes you've made are needed
The key I've set is to the eastasia
region and it does not work if I remove southeastasia
.
so my guess is that the instructions should be region based then, also sorry for the late reply
Hmm. All of this seems to be a bit confusing. I'll just update the docs specifying that the key generated belong to the global region.
If the version of code you have works with your key, I would suggest that you use it as is. This is a minor aspect to worry too much about.
Currently, Azure translator region is hardcoded and breaks if we use another Azure region. This PR fixes issue #5