You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: services/language_translator/v2.html
+5-2
Original file line number
Diff line number
Diff line change
@@ -146,11 +146,14 @@
146
146
<p></p>
147
147
<p><b>Training Mode</b>.</p>
148
148
<p>This mode enables you to add your own customized model to the Watson Language Translator service. </p>
149
-
<p>In the Dropbox node, you must specify one ore more of the following file options to customize the training:</p>
149
+
<p>In <code>msg.payload</code>, (this can be through box, dropbox or a file-inject node.
150
+
you must specify one of the following file options to customize the training:</p>
150
151
<p>forced_glossary - A UTF-8 encoded TMX file that contains pairs of matching terms in the source and target language that are seen as absolute by the system. This file completely overwrites the original domain data.</p>
151
152
<p>parallel_corpus - A UTF-8 encoded TMX file that contains matching phrases in the source and target language that serve as examples for Watson. Parallel corpora differ from glossaries because they do not overwrite the original domain data.</p>
152
153
<p>monolingual_corpus - A UTF-8 encoded plain text file that contains a body of text in the target language that is related to what you are translating. A monolingual corpus helps improve literal translations to be more fluent and human.</p>
153
154
<p>The Language Translator Node will return the ID of the created customized model.</p>
155
+
<p<b>Note:</b>As the input file is expected on msg.payload, only one file can be specified. This is
156
+
an enforced restriction by this Node. The service API allows more than one file to be specified.</p>
154
157
<p></p>
155
158
<p><b>Get Status Mode</b>.</p>
156
159
<p>This mode allows you to get the status of a model sent to training by providing its ID.</p>
0 commit comments