A Computational Framework for Slang Generation

Zhewei Sun, Richard Zemel, Yang Xu


Abstract
Abstract Slang is a common type of informal language, but its flexible nature and paucity of data resources present challenges for existing natural language systems. We take an initial step toward machine generation of slang by developing a framework that models the speaker’s word choice in slang context. Our framework encodes novel slang meaning by relating the conventional and slang senses of a word while incorporating syntactic and contextual knowledge in slang usage. We construct the framework using a combination of probabilistic inference and neural contrastive learning. We perform rigorous evaluations on three slang dictionaries and show that our approach not only outperforms state-of-the-art language models, but also better predicts the historical emergence of slang word usages from 1960s to 2000s. We interpret the proposed models and find that the contrastively learned semantic space is sensitive to the similarities between slang and conventional senses of words. Our work creates opportunities for the automated generation and interpretation of informal language.
Anthology ID:
2021.tacl-1.28
Volume:
Transactions of the Association for Computational Linguistics, Volume 9
Month:
Year:
2021
Address:
Cambridge, MA
Venue:
TACL
SIG:
Publisher:
MIT Press
Note:
Pages:
462–478
Language:
URL:
https://aclanthology.org/2021.tacl-1.28
DOI:
10.1162/tacl_a_00378
Bibkey:
Cite (ACL):
Zhewei Sun, Richard Zemel, and Yang Xu. 2021. A Computational Framework for Slang Generation. Transactions of the Association for Computational Linguistics, 9:462–478.
Cite (Informal):
A Computational Framework for Slang Generation (Sun et al., TACL 2021)
Copy Citation:
PDF:
https://preview.aclanthology.org/auto-file-uploads/2021.tacl-1.28.pdf
Video:
 https://preview.aclanthology.org/auto-file-uploads/2021.tacl-1.28.mp4