Pun Generator Released
Published:Jan 2, 2026 00:25
•1 min read
•r/LanguageTechnology
Analysis
The article describes the development of a pun generator, highlighting the challenges and design choices made by the developer. It discusses the use of Levenshtein distance, the avoidance of function words, and the use of a language model (Claude 3.7 Sonnet) for recognizability scoring. The developer used Clojure and integrated with Python libraries. The article is a self-report from a developer on a project.
Key Takeaways
- •A pun generator has been developed and released as a proof of concept.
- •The developer used Levenshtein distance for phonetic similarity, despite its limitations.
- •The tool avoids replacing function words by taking keywords as input.
- •A language model was used to pre-compute recognizability scores.
- •The project utilizes Clojure and integrates with Python libraries.
Reference
“The article quotes user comments from previous discussions on the topic, providing context for the design decisions. It also mentions the use of specific tools and libraries like PanPhon, Epitran, and Claude 3.7 Sonnet.”