{{ if or .Translation.TargetSynonyms .Translation.SourceSynonyms }}
Synonyms & Antonyms
{{ if .Translation.TargetSynonyms }}
Synonyms for {{.Translation.OutputText}}{{ range $index, $key := .Translation.TargetSynonyms }}{{ if eq $key "" }}{{ else }}{{ if eq $index 0 }}{{ else }}, {{ end }}{{.}}{{ end }}{{ end }}
{{ end }}
{{ if .Translation.SourceSynonyms }}
Synonyms for {{.OriginalText}}{{ range $index, $key := .Translation.SourceSynonyms }}{{ if eq $key "" }}{{ else }}{{ if eq $index 0 }}{{ else }}, {{ end }}{{.}}{{ end }}{{ end }}
{{ end }}
{{ if .Translation.TargetAntonyms }}
Antonyms for {{.Translation.OutputText}}{{ range $index, $key := .Translation.TargetAntonyms }}{{ if eq $key "" }}{{ else }}{{ if eq $index 0 }}{{ else }}, {{ end }}{{.}}{{ end }}{{ end }}
{{ end }}
{{ if .Translation.SourceAntonyms }}
Antonyms for {{.OriginalText}}{{ range $index, $key := .Translation.SourceAntonyms }}{{ if eq $key "" }}{{ else }}{{ if eq $index 0 }}{{ else }}, {{ end }}{{.}}{{ end }}{{ end }}
{{ end }}
{{ end }}
{{ range $key := .Translation.WordChoices }}
{{ $key.Word }}
{{ range $index, $key2 := $key.ExamplesSource }}
{{ index $key.ExamplesSource $index }} {{ index $key.ExamplesTarget $index }}