Class TranslatorSplitter

All Implemented Interfaces:
Configurable<TranslatorSplitterConfig>, ConfigurableDocHandler<TranslatorSplitterConfig>, DocHandler

public class TranslatorSplitter extends AbstractDocumentSplitter<TranslatorSplitterConfig>

Translate documents using one of the supported translation API. The following lists the supported APIs, along with the required authentication properties or settings for each:

For example, the Microsoft Translation API requires a client ID and a client secret, both obtained on Microsoft Azure Marketplace with your Microsoft account.

Translated documents will have the original document language stored in a field "document.translatedFrom".

This class is not a document "splitter" per se, but like regular splitters, the translation will create children documents for each translation performed. The parent document will always remain the original document, while the children will always be the translations.

See Also: