4 ms·
As a terrible human being, I tested Chinese-to-English translations on f-word-based profanity on the demo page (https://demo-pnmt.systran.net/production https:/
by arthur2e5 10y ago
As a terrible human being, I tested Chinese-to-English translations on f-word-based profanity on the demo page (https://demo-pnmt.systran.net/production https://demo-pnmt.systran.net/production). The results were arguably not as good as Google Translate, which can recognize the colloquial form 操[^1] but not the more orthodox 肏. PNMT's results were great in another way as they form more fluent English.
[^1]: Everyone hijacked the character.
On the other hand, OpenNMT appears able to translate the "f* you!" sentence to "你妈!" in Chinese, a form of "操你妈" with the F word not spoken but implied. The single-f-word sentence generates amusing variations when used with different punctuations, although many ("...", "?", "!", "") fail by reducing the sentence to a normal call for one's own mother.
These experiments make me curious about what kind of corpora the system was trained on.
* * *
The test sentences used were:
操你十八辈子祖宗![^2]
操你十八辈祖宗!
操你妈!
[^2]: This one is technically wrong.
For the orthodox version, replace all instances of 操 with 肏.
As an additional experiment, I tested some variations of "mother" profanities without "操":
1. 你妈!
2. 他妈的!
3. 他妈的。
Between #2 and #3, PNMT appears more sensitive to punctuations than human do. #1 is only included as a round-trip validation.
Edit: (#1) ... and is not supposed to be translated back into profanity due to high false positive rate.
- liushuyu 10y agoI think that's kind of uncertainty of the nature of neutral network? Or the training data is not very trustworthy. IMO, the latter is more probable.
- srush 10y agoWhile this type of translation is heinously understudied, the opposite problem of controlling the politeness forms of translation is actually an important area of research. For instance Controlling Politeness in Neural Machine Translation via Side Constraints (http://homepages.inf.ed.ac.uk/abmayne/publications/sennrich2016NAACL.pdf http://homepages.inf.ed.ac.uk/abmayne/publications/sennrich2...) is something that OpenNMT can support.