Package com.github.vbauer.yta.service
Interface YTranslateApi
-
- All Known Implementing Classes:
YTranslateApiImpl
public interface YTranslateApi
Facade service which allows to use Yandex.Translate features.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetectionApi
detectionApi()
DetectionApi
detects the language of the specified text.LanguageApi
languageApi()
LanguageApi
allows to get information about available languages.TranslationApi
translationApi()
TranslationApi
allows to translate text from one language to another.
-
-
-
Method Detail
-
languageApi
@Nonnull LanguageApi languageApi()
LanguageApi
allows to get information about available languages.- Returns:
- language API service
-
detectionApi
@Nonnull DetectionApi detectionApi()
DetectionApi
detects the language of the specified text.- Returns:
- detection API service
-
translationApi
@Nonnull TranslationApi translationApi()
TranslationApi
allows to translate text from one language to another.- Returns:
- translation API service
-
-