/// <summary> /// Sets the no translate template for post processor. /// </summary> /// <param name="patterns">List of patterns for the current language that can be used to fix some translation errors.</param> public void SetPostProcessorTemplate(List <string> patterns) { _postProcessor = new PostProcessTranslator(patterns); }
public Translator(string apiKey) { _authToken = new AzureAuthToken(apiKey); _postProcessor = new PostProcessTranslator(); }