Getting weird markup from Google translates as ~~ POS = TRUNC

I suddenly get the same weird markup when translating phrases into the Google Translate APIs through the Java library. Examples of English → Swedish include:

Vector graphics → vektor~~POS=TRUNC grafikk~~POS=HEADCOMP Javascript → Javascript script~~POS=HEADCOMP 

This seems to be related to the handling of compound names. Is this an API function that I can deactivate in any way or is this a new server-side error?

+6
source share
1 answer

This seems to be due to the way Google "translates" the lines, returning what is statistically most likely correct. Thus, common Unix commands may end up in your translation.

More on the topic: https://www.reddit.com/r/German/comments/47kfah/thanks_google/

+1
source

Source: https://habr.com/ru/post/1012176/


All Articles