<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.rws.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Synchronous translation</title><link>https://community.rws.com/product-groups/linguistic-ai/cloud/w/language-weaver-wiki/5122/synchronous-translation</link><description>Wiki for Language Weaver Cloud</description><dc:language>en-US</dc:language><generator>Telligent Community 12 Non-Production</generator><item><title>Synchronous translation</title><link>https://community.rws.com/product-groups/linguistic-ai/cloud/w/language-weaver-wiki/5122/synchronous-translation</link><pubDate>Mon, 26 Jul 2021 07:21:02 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:de2cf617-c191-446d-b7d4-1da6cf82fe4a</guid><dc:creator>Ruxandra Grosan</dc:creator><comments>https://community.rws.com/product-groups/linguistic-ai/cloud/w/language-weaver-wiki/5122/synchronous-translation#comments</comments><description>Current Revision posted to Wiki by Ruxandra Grosan on 7/26/2021 7:21:02 AM&lt;br /&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;We have a hidden synchronous translation endpoint that we only share the documentation for after we ensure that the client is aware of its limitations.&amp;nbsp; The synchronous translation endpoint is recommended for integration where&amp;nbsp;&lt;b&gt;there is absolute certainty&lt;/b&gt;&amp;nbsp;that the input source is always&amp;nbsp;&lt;/span&gt;&lt;span class="s2"&gt;no longer than 1,000 characters, or 200 words&lt;/span&gt;&lt;span class="s1"&gt;.&amp;nbsp; This limitation is in place to minimize the chance that a timeout happens (usually 60 secs) because the application is still waiting for a response from Language Weaver.&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;Because &lt;span&gt;Language Weaver&lt;/span&gt; is a multi-tenant SaaS and there are certain user features that can impact the speed of translation, these factors lead to variable observed translation speed from translation request to translation request.&amp;nbsp;&lt;/span&gt;&lt;span class="s1"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;If you can assure through your workflow integration that the input for the synchronous translation request will be no longer than 1,000 characters, then we can provide the offline REST API documentation that includes the hidden sync translation endpoint.&amp;nbsp; Please discuss this with your technical account manager.&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;One of the things we recommend to our customers who need to handle more than 1,000 chars occasionally is to build in a logic that checks the input and route it through different endpoints based on the char count.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p3"&gt;&lt;span class="s1"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p3"&gt;&lt;span class="s1"&gt;An example pseudo code:&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;inputLength = countChar(input)&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;if (inputLength &amp;lt;= 1000), then&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; syncTranslate(input)&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;else&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncTranslate(input)&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wait (inputLength/300) &amp;nbsp;#assuming a speed of 300 characters/sec.&amp;nbsp; Feel free to reduce this wait time&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;div id="vidyowebrtcscreenshare_is_installed"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>Synchronous translation</title><link>https://community.rws.com/product-groups/linguistic-ai/cloud/w/language-weaver-wiki/5122/synchronous-translation/revision/1</link><pubDate>Fri, 07 Feb 2020 00:56:47 GMT</pubDate><guid isPermaLink="false">10acfa76-f078-475b-a7ef-fc5b3e8d2934:de2cf617-c191-446d-b7d4-1da6cf82fe4a</guid><dc:creator>Quinn Lam (former member)</dc:creator><comments>https://community.rws.com/product-groups/linguistic-ai/cloud/w/language-weaver-wiki/5122/synchronous-translation#comments</comments><description>Revision 1 posted to Wiki by Quinn Lam (former member) on 2/7/2020 12:56:47 AM&lt;br /&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;We have a hidden synchronous translation endpoint that we only share the documentation for after we ensure that the client is aware of its limitations.&amp;nbsp; The synchronous translation endpoint is recommended for integration where&amp;nbsp;&lt;b&gt;there is absolute certainty&lt;/b&gt;&amp;nbsp;that the input source is always&amp;nbsp;&lt;/span&gt;&lt;span class="s2"&gt;no longer than 1,000 characters, or 200 words&lt;/span&gt;&lt;span class="s1"&gt;.&amp;nbsp; This limitation is in place to minimize the chance that a timeout happens (usually 60 secs) because the application is still waiting for a response from SDL MT Cloud.&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;Because&amp;nbsp;SDL MT Cloud is a multi-tenant SaaS and there are certain user features that can impact the speed of translation, these factors lead to variable observed translation speed from translation request to translation request.&amp;nbsp;&lt;/span&gt;&lt;span class="s1"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;span class="s1"&gt;If you can assure through your workflow integration that the input for the synchronous translation request will be no longer than 1,000 characters, then we can provide the offline REST API documentation that includes the hidden sync translation endpoint.&amp;nbsp; Please discuss this with your technical account manager.&lt;/span&gt;&lt;/p&gt;
&lt;p class="p2"&gt;&lt;span class="s1"&gt;One of the things we recommend to our customers who need to handle more than 1,000 chars occasionally is to build in a logic that checks the input and route it through different endpoints based on the char count.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p3"&gt;&lt;span class="s1"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="p3"&gt;&lt;span class="s1"&gt;An example pseudo code:&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;inputLength = countChar(input)&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;if (inputLength &amp;lt;= 1000), then&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; syncTranslate(input)&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;else&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; asyncTranslate(input)&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wait (inputLength/300) &amp;nbsp;#assuming a speed of 300 characters/sec.&amp;nbsp; Feel free to reduce this wait time&lt;/span&gt;&lt;/p&gt;
&lt;p class="p4"&gt;&lt;span class="s1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;div id="vidyowebrtcscreenshare_is_installed"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>