{{ if or .Translation.TargetSynonyms .Translation.SourceSynonyms }}
Synonyms
{{ if .Translation.TargetSynonyms }}
{{.Translation.OutputText}}{{ range $index, $key := .Translation.TargetSynonyms }}{{ if eq $key "" }}{{ else }}{{ if eq $index 0 }}{{ else }}, {{ end }}{{.}}{{ end }}{{ end }}
{{ end }}
{{ if .Translation.SourceSynonyms }}
{{.OriginalText}}{{ range $index, $key := .Translation.SourceSynonyms }}{{ 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 }}