dart_naver_papago

Creator: coderz1093

Last updated:

0 purchases

dart_naver_papago Image
dart_naver_papago Images

Languages

Categories

Add to Cart

Description:

dart naver papago

dart_naver_papago #
An unofficial package for using Naver Papago translation, language detection, romanization api.

Naver Papago API

Translation
Language detection
Romanization



Requirements #
Here is what you need to use the Dart SDK:

Dart 2.19.0 or higher

Exmaple #
First, generate Naver client id and client secret.
Initialize NaverWithoutLoginApi with your API key.
NaverWithoutLoginApi.init(clientId: clientId, clientSecret: clientSecret)
copied to clipboard
Use APIname.queryFunction form to call query function.
You can check available API.
/// Translate Korean to English
///
/// Returns PapagoResponseMessage
final result = await PapagoTranslation.getTranslation(LangCode.ko, LangCode.en, "안녕하세요");
print(result.getText); // Print Hello

/// Detect language code
///
/// Returns LanguageDetectionResponse
final result = await LanguageDetection.detectLanguage("안녕하세요");
print(result.langCode); // Print LangCode.ko

/// Name romanization
///
/// Returns RomanizationResponse
final result = await Romanization.romanization("강형욱");
copied to clipboard
pub.dev #

dart_naver_papago
dart_naver_clova_face_recognition
dart_naver_without_login_common

Documentation comment will be added gradually 😀

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.