|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface AsyncBackTranslationWithTemporalDictionaryService
一時辞書を用いる非同期折り返し翻訳のインターフェース。
メソッドの概要 | |
---|---|
AsyncBackTranslationResult |
getCurrentResult(String token)
現在翻訳できている文章を取得する。 |
String |
startBackTranslation(String sourceLang,
String intermediateLang,
String[] sources,
Translation[] temporalDict,
String dictTargetLang)
非同期折り返し翻訳を行う。 |
void |
terminate(String token)
実行中の翻訳処理を中断する。 |
メソッドの詳細 |
---|
String startBackTranslation(String sourceLang, String intermediateLang, String[] sources, Translation[] temporalDict, String dictTargetLang) throws InvalidParameterException, ProcessFailedException
sourceLang
- 翻訳元言語(RFC3066準拠)intermediateLang
- 中間言語(RFC3066準拠)sources
- 翻訳する文字列の配列temporalDict
- 翻訳時に使用する対訳辞書データdictTargetLang
- 辞書データの対象言語(targetLang)
InvalidParameterException
- 不正なパラメータが渡された
ProcessFailedException
- 翻訳処理に失敗したAsyncBackTranslationResult getCurrentResult(String token) throws InvalidParameterException, ProcessFailedException
token
- 結果取得用トークン
InvalidParameterException
- An invalid parameter was passed
ProcessFailedException
- Translation process failedvoid terminate(String token) throws InvalidParameterException, ProcessFailedException
token
- 結果取得用トークン
InvalidParameterException
- An invalid parameter was passed
ProcessFailedException
- Translation process failed
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |