Search code examples
microsoft-translatorneural-mt

Can you use dictionary with the generalnn category in MS Text API?


Is there a way to upload a terminology dictionary to the Hub, that would be applied when translating using generalnn category (not a trained engine)?

The workaround that seem to work is to use the <mstrans:dictionary> tag e.g.:

Let's do a <mstrans:dictionary translation="tłumaczenie">translation</mstrans:dictionary>!

But this require to (1) preprocess each sample before sending for translation, and (2) wont work when you're targetting multiple languages.


Solution

  • Indeed the permanent dictionary functionality is not there yet for neural systems. The markup as you describe is the only current workaround.