Any seals on the beach, in Kolobrzeg?
With the great help of JMichaelTX I've added some lines to the Keyboard Maestro DeepL macro to replace wrong words with correct words in DeepL's output via the API.
You'll need a glossary (e.g. DeepL-out.txt) with replacement terms and of course you need to set the path to the correct location of this glossary.
Have fun with this macro!
I tried... and it worked :-)
Thanks a lot woorden, CT's got talent!♩♪♫
Wouldn't simply be adding word borders to potential items in the blacklist do?
Implying it in the existing macro may be difficult. If the blacklist only consists of single words, the adding borders thing might work there as well.
Had some seals again, this morning. And washing machines!
Make sure that you structure the replacement file the right way:
longer forms (e.g. plural) should come before shorter forms (e.g. singular), since the replacement doesn't respect word boundaries.
The one entry 'zeehond' will handle both the singular and plural of zeehond (seal) correct.
For 'wasmachine' (washer/washing machine), there are two entries necessary, the longer one comes first.
Well done :-)
Please note: You'll need Keyboard Maestro 8 for this macro!