Abstract

As the current mainstream social networking method, online social networking brings convenience to people, but also generates negative problems such as language violence. Therefore, offensive text style transfer research has become an arduous task. Research has shown that the semantic loss is caused by the discreteness and timing of the text data, resulting in a low degree of content retention after style transferring, and the lack of relevant parallel corpus data and specific style tag keywords, therefore, the accuracy of text style transfer is limited. Aiming at the existing problems, this paper proposes an Offensive Text Style Transfer based on the Unsupervised Learning (OTST-UL) model. First, the input text is encoded through the bidirectional encoding attention mechanism to retain the core content of the text. Then the generatordiscriminator is applied for adversarial training, and a reconstruction loss algorithm is constructed to ensure the accuracy of the offensive language style transformation and the integrity of the text content. Experimental results show that the OTST-UL model outperforms existing text style transfer models on offensive language datasets.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call