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
Translate text from one language to another or idenfity a language using the [Language Translator][language_translator] service.
387
420
@@ -423,51 +456,6 @@ languageTranslator.identify(
423
456
);
424
457
```
425
458
426
-
### Language Translator v2
427
-
428
-
**Note:** Language Translator v3 is now available. The v2 Language Translator API will no longer be available after July 31, 2018. To take advantage of the latest service enhancements, migrate to the v3 API. View the [Migrating to Language Translator v3](https://console.bluemix.net/docs/services/language-translator/migrating.html) page for more information.
429
-
430
-
Translate text from one language to another or idenfity a language using the [Language Translator][language_translator] service.
431
-
432
-
```javascript
433
-
var LanguageTranslatorV2 =require('watson-developer-cloud/language-translator/v2');
'The language translator service takes text input and identifies the language used.'
459
-
},
460
-
function(err, language) {
461
-
if (err) {
462
-
console.log('error:', err);
463
-
} else {
464
-
console.log(JSON.stringify(language, null, 2));
465
-
}
466
-
}
467
-
);
468
-
```
469
-
470
-
471
459
### Natural Language Classifier
472
460
473
461
Use [Natural Language Classifier](https://console.bluemix.net/docs/services/natural-language-classifier/getting-started.html) service to create a classifier instance by providing a set of representative strings and a set of one or more correct classes for each as training. Then use the trained classifier to classify your new question for best matching answers or to retrieve next actions for your application.
0 commit comments