deepl-python icon indicating copy to clipboard operation
deepl-python copied to clipboard

Turn off translation punctuation entirely

Open Funktionar opened this issue 3 years ago • 3 comments

I really want to turn off punctuation completely on German language and others that I use. Using any of the preserve_formatting="1" or split_sentences='off' won't work.

Funktionar avatar Aug 03 '22 21:08 Funktionar

Hi @Funktionar, thanks for creating the issue. I'd like to understand your problem better, could you please give an example sentence that shows this problem?

daniel-jones-deepl avatar Aug 10 '22 12:08 daniel-jones-deepl

Hello there, I would assume that @Funktionar means something like the following example. Sentence: "This is a house, which is red. The boy said: 'This is my house.'"

Without punctuation for translation: "This is a house which is red The boy said This is my house", so completely removing all punctuation of the strings to be translated.

FOehlschlaeger avatar Aug 27 '22 14:08 FOehlschlaeger

Yes that's precisely what I'm talking about @FOehlschlaeger, especially with german language, example: "Die Vögel sind um diese Jahreszeit ganz nett, aber ich weiß nicht, wann sie abfliegen" -> "Die Vögel sind um diese Jahreszeit ganz nett aber ich weiß nicht wann sie abfliegen". I want the text to be completely free of punctuation and it's not possible via the API.

Funktionar avatar Sep 16 '22 18:09 Funktionar