Class: DeeplAPI::SplitSentences

Inherits:
Object
  • Object
show all
Includes:
Ruby::Enum
Defined in:
lib/deepl_api.rb

Overview

Translation option that controls the splitting of sentences before the translation.

  • SplitSentences::NONE - Don't split sentences.
  • SplitSentences::PUNCTUATION - Split on punctiation only.
  • SplitSentences::PUNCTUATION_AND_NEWLINES - Split on punctiation and newlines.