| Package | Description |
|---|---|
| net.sf.okapi.connectors.google |
| Modifier and Type | Method and Description |
|---|---|
protected <T> TranslationResponse |
GoogleMTv2Connector.executeSingleSegmentQuery(GoogleQueryBuilder<T> qb,
String sourceText) |
<T> TranslationResponse |
GoogleMTAPIImpl.translateSingleSegment(GoogleQueryBuilder<T> qb,
String sourceText) |
<T> TranslationResponse |
GoogleMTAPI.translateSingleSegment(GoogleQueryBuilder<T> qb,
String sourceText)
Perform translation of oversized (> 2048 characters) segments.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> List<TranslationResponse> |
GoogleMTv2Connector.executeQuery(GoogleQueryBuilder<T> qb,
net.sf.okapi.connectors.google.QueryResultBuilder<T> qrBuilder) |
<T> List<TranslationResponse> |
GoogleMTAPIImpl.translate(GoogleQueryBuilder<T> qb) |
<T> List<TranslationResponse> |
GoogleMTAPI.translate(GoogleQueryBuilder<T> qb)
Make a single call to Google to translate the provided list of source texts.
|
Copyright © 2021. All rights reserved.