293 research outputs found

    A text generation system that uses simple rhetorical figures

    Get PDF
    Este artículo describe el enriquecimiento de la calidad estilística de los textos generados por el sistema PRINCE, una aplicación de generación de lenguaje natural diseñada para construir textos de cuentos fantásticos. Para ello se explota el potencial de un recurso léxico (WordNet) y algoritmos de mapeamiento estructural para enriquecer los textos de salida con figuras retóricas simples como metáfora y analogía. El sistema enriquecido sigue la arquitectura para sistemas multi-agente OAA, con varios agentes cooperando para conseguir los textos finales. Los resultados de la versión enriquecida son presentados y discutidos. Finalmente, se describen algunos problemas y posibles extensiones.This paper describes the improvement of the stylistic quality of the texts generated by the PRINCE system, a natural language generation application designed for building texts for simple fairy tales. This is done by exploiting the potential of a lexical resource - such as WordNet - and structure mapping algorithms to enhance the output texts with simple rhetorical tropes such as metaphor and analogy. The enhanced system follows the OAA multi-agent system architecture, with various agents cooperating to achieve the final texts. The results of the enhanced version are presented and discussed. Finally, some problems and possible extensions are described.Partially supported by the Spanish Ministry of Education and Science, Acción Integrada Hispano-Portuguesa (HP2003-0068

    ContrastWSD: Enhancing Metaphor Detection with Word Sense Disambiguation Following the Metaphor Identification Procedure

    Full text link
    This paper presents ContrastWSD, a RoBERTa-based metaphor detection model that integrates the Metaphor Identification Procedure (MIP) and Word Sense Disambiguation (WSD) to extract and contrast the contextual meaning with the basic meaning of a word to determine whether it is used metaphorically in a sentence. By utilizing the word senses derived from a WSD model, our model enhances the metaphor detection process and outperforms other methods that rely solely on contextual embeddings or integrate only the basic definitions and other external knowledge. We evaluate our approach on various benchmark datasets and compare it with strong baselines, indicating the effectiveness in advancing metaphor detection.Comment: 10 pages, 2 figure

    Diesseits und jenseits des Hirsches : Theorie und Praxis einer Poesiemaschine

    Get PDF
    Die vorliegende Arbeit beschreibt den ein Jahr lang andauernden Prozess der Entwicklung meiner eigenen Poesiemaschine. Buchrückentext: Wer ist der Hirsch? Und was hat er mit dem Buch zu tun? Der Band dokumentiert auf spielerische Weise den Entstehungsprozess einer außergewöhnlich leistungsfähigen Poesiemaschine. Den drei Versionen dieser Poesiemaschine werden die bildhaften Namen Wurm, Hähnchen und Hirsch gegeben. Inspiriert von Hans Magnus Enzensbergers Einladung zu einem Poesieautomaten wagt sich der Autor «in das Labyrinth» hinein. Nach dem Vorbild der französischen Literaturgruppe Oulipo werden zunächst die Anforderungen an eine Poesiemaschine in formelle, akustische, syntaktische, semantische und kreative Einschränkungen unterteilt. Die Modellierung der syntaktischen und kreativen Aspekte orientiert sich insbesondere an der Installation Poetry Machine des renommierten Medienkünstlers David Link. Neuartig beim Hirsch ist die Verwirklichung phonetischer Algorithmen, die Gedichte mit komplexen Reimen und metrischer Regulierung ermöglichen. Abschließend wirft der Autor einen Blick in die Zukunft. Das Ergebnis stellt eine Goldgrube an Einsichten und Ideen dar für Poesiemaschinen-Entwickler der nächsten Generation. Inhalt: Aus dem Inhalt: «Jenseits der Berechenbarkeit» - Was muss ein Poesie-Erzeuger können? - Gedichtgerüstbau anhand der GGT-Grammatik - Überraschungseffekt - Poesiemaschine Poetry Machine - Carnegie Mellons phonetisches Wörterbuch - WordNet - eine lexikalische Datenbank - POS-Tagger - Syntaktische Formeln mit dem manuellen Tagger - Blocking - Balancing - Phonetischer Beweis - Jenseits des Hirsches (Zukunft der Computerpoesie) - Computing with Words - Stephen Thalers Creativity Machine
    corecore