struct DeepL::Options

Defined in:

deepl/options.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def action : Action #

[View source]
def action=(action : Action) #

[View source]
def context : String | Nil #

[View source]
def context=(context : String | Nil) #

[View source]
def detect_source_language : Bool #

[View source]
def detect_source_language=(detect_source_language : Bool) #

[View source]
def formality : String | Nil #

[View source]
def formality=(formality : String | Nil) #

[View source]
def glossary_name : String | Nil #

property glossary_id : String? = nil


[View source]
def glossary_name=(glossary_name : String | Nil) #

property glossary_id : String? = nil


[View source]
def ignore_tags : Array(String) | Nil #

[View source]
def ignore_tags=(ignore_tags : Array(String) | Nil) #

[View source]
def initialize #

[View source]
def input_path : Path #

[View source]
def input_path=(input_path : Path) #

[View source]
def input_text : String #

[View source]
def input_text=(input_text : String) #

[View source]
def interval : Float32 #

[View source]
def interval=(interval : Float32) #

[View source]
def no_ansi : Bool #

[View source]
def no_ansi=(no_ansi : Bool) #

[View source]
def non_splitting_tags : Array(String) | Nil #

[View source]
def non_splitting_tags=(non_splitting_tags : Array(String) | Nil) #

[View source]
def outline_detection : Bool #

[View source]
def outline_detection=(outline_detection : Bool) #

[View source]
def output_file : Path | Nil #

[View source]
def output_file=(output_file : Path | Nil) #

[View source]
def output_format : String | Nil #

[View source]
def output_format=(output_format : String | Nil) #

[View source]
def preserve_formatting : Bool #

[View source]
def preserve_formatting=(preserve_formatting : Bool) #

[View source]
def source_lang : String | Nil #

[View source]
def source_lang=(source_lang : String | Nil) #

[View source]
def split_sentences : String | Nil #

[View source]
def split_sentences=(split_sentences : String | Nil) #

[View source]
def splitting_tags : Array(String) | Nil #

[View source]
def splitting_tags=(splitting_tags : Array(String) | Nil) #

[View source]
def tag_handling : String | Nil #

[View source]
def tag_handling=(tag_handling : String | Nil) #

[View source]
def target_lang : String #

[View source]
def target_lang=(target_lang : String) #

[View source]