public class GoogleAutoMLTranslationConnector extends BaseConnector
| Constructor and Description |
|---|
GoogleAutoMLTranslationConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this connector.
|
String |
getName()
Gets the name of the connector.
|
GoogleAutoMLTranslationParameters |
getParameters()
Gets the current parameters of this connector.
|
String |
getSettingsDisplay()
Gets a display representation of the current settings for this connector.
|
void |
open()
Opens this query engine.
|
int |
query(String plainText)
Starts a query for a give plain text.
|
int |
query(TextFragment sourceFragment)
Starts a query for a given text.
|
void |
setParameters(IParameters params)
Sets the parameters for opening and querying this connector.
|
batchLeverage, batchLeverageUsingBatchQuery, batchQuery, batchQueryText, clearAttributes, getNoQueryThreshold, getSourceLanguage, getTargetLanguage, getWeight, hasNext, leverage, leverageUsingBatchQuery, next, removeAttribute, setAttribute, setLanguages, setNoQueryThreshold, setRootDirectory, setWeight, toInternalCodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic GoogleAutoMLTranslationParameters getParameters()
IQuerygetParameters in interface IQuerygetParameters in class BaseConnectorpublic void setParameters(IParameters params)
IQuerysetParameters in interface IQuerysetParameters in class BaseConnectorparams - the parameters to set.public String getName()
IQuerypublic String getSettingsDisplay()
IQuerypublic void open()
IQuerypublic void close()
IQuerypublic int query(String plainText)
IQueryplainText - text to query.public int query(TextFragment sourceFragment)
IQuerysourceFragment - The text to query.Copyright © 2022. All rights reserved.