NegesAPIUna API para la Detección de Claves de Negación y para la Identificación de su Ámbito en Español

  1. Martín Valdivia, María Teresa
  2. Ureña López, Luis Alfonso
  3. Valle Aguilera, José
  4. Jiménez Zafra, Salud M.
Revista:
Procesamiento del lenguaje natural

ISSN: 1135-5948

Año de publicación: 2023

Número: 71

Páginas: 97-108

Tipo: Artículo

Otras publicaciones en: Procesamiento del lenguaje natural

Resumen

This paper presents NegesAPI, an API for negation detection in Spanish. This API receives as input a text, analyzes it and automatically annotated it with the negation cues present in the text and their respective scopes of influence for their subsequent incorporation in Natural Language Processing systems. For the development of it, the SFU Review SP-NEG corpus and the negation model of Jiménez-Zafra et al. (2020a) have been updated. Moreover, it has been created a web application with the API documentation, a tutorial and a user management system to monitor the API usage.

Referencias bibliográficas

  • Carreras, X., I. Chao, L. Padró, and M. Padró. 2004. Freeling: An open-source suite of language analyzers. In LREC, pages 239–242. Citeseer.
  • Chapman, W. W., W. Bridewell, P. Hanbury, G. F. Cooper, and B. G. Buchanan. 2001. A simple algorithm for identifying negated findings and diseases in discharge summaries. Journal of biomedical informatics, 34(5):301–310.
  • Councill, I., R. McDonald, and L. Velikovich. 2010. What’s great and what’s not: learning to classify the scope of negation for improved sentiment analysis.
  • Cruz, N. P., M. Taboada, and R. Mitkov. 2016. A machine-learning approach to negation and speculation detection for sentiment analysis. Journal of the Association for Information Science and Technology, 67(9):2118–2136.
  • de Albornoz, J. C., L. Plaza, A. Díaz, and M. Ballesteros. 2012. Ucm-i: A rule-based syntactic approach for resolving the scope of negation. In * SEM 2012: The First Joint Conference on Lexical and Computational Semantics–Volume 1: Proceedings of the main conference and the shared task, and Volume 2: Proceedings of the Sixth International Workshop on Semantic Evaluation (SemEval 2012), pages 282–287.
  • Dominguez-Mas, L., F. Ronzano, and L. I. Furlong. 2019. Supervised learning approaches to detect negation cues in spanish reviews. In Proceedings of the Iberian Languages Evaluation Forum (IberLEF 2019), CEUR Workshop Proceedings, Bilbao, Spain. CEURWS.
  • Enger, M., E. Velldal, and L. Øvrelid. 2017. An open-source tool for negation detection: a maximum-margin approach. In Proceedings of the Workshop Computational Semantics Beyond Events and Roles, pages 64–69, Valencia, Spain, April. Association for Computational Linguistics.
  • Fancellu, F., A. Lopez, and B.Webber. 2016. Neural networks for negation scope detection. In Proceedings of the 54th annual meeting of the Association for Computational Linguistics (volume 1: long papers), pages 495–504.
  • Farkas, R., V. Vincze, G. Móra, J. Csirik, and G. Szarvas. 2010. The conll-2010 shared task: learning to detect hedges and their scope in natural language text. In Proceedings of the fourteenth conference on computational natural language learning– Shared task, pages 1–12.
  • Gkotsis, G., S. Velupillai, A. Oellrich, H. Dean, M. Liakata, and R. Dutta. 2016. Don’t let notes be misunderstood: A negation detection method for assessing risk of suicide in mental health records. In Proceedings of the third workshop on computational linguistics and clinical psychology, pages 95–105.
  • Honnibal, M. and I. Montani. 2017. spaCy 2: Natural language understanding with Bloom embeddings, convolutional neural networks and incremental parsing. To appear.
  • Horn, L. R. and H.Wansing. 2015. Negation.
  • Jiménez-Zafra, S. M. 2019. Negation processing in Spanish and its application to sentiment analysis. Ph.D. thesis, Universidad de Jaén.
  • Jiménez-Zafra, S. M., R. Morante, E. Blanco, M.-T. Martín-Valdivia, and L. A. U. López. 2020a. Detecting negation cues and scopes in spanish. In Proceedings of the Twelfth Language Resources and Evaluation Conference, pages 6902–6911.
  • Jiménez-Zafra, S. M., R. Morante, M. T. Martín-Valdivia, and L. A. U. Lopez. 2020b. Corpora annotated with negation: An overview. Computational Linguistics, 46(1):1–52.
  • Jiménez-Zafra, S. M., M. Taulé, M. T. Martín-Valdivia, L. A. Urena-López, and M. A. Martí. 2018. Sfu review sp-neg: a spanish corpus annotated with negation for sentiment analysis. a typology of negation patterns. Language Resources and Evaluation, 52:533–569. Lafferty, J., A. McCallum, and F. C. Pereira. 2001. Conditional random fields: Probabilistic models for segmenting and labeling sequence data.
  • Loharja, H., L. Padró, and J. Turmo Borras. 2018. Negation cues detection using crf on spanish product review texts. In NEGES 2018: Workshop on Negation in Spanish: Seville, Spain: September 19-21, 2018: proceedings book, pages 49–54.
  • Marimon, M., L. Padró, and J. Turmo Borras. 2018. Coreference resolution in freeling 4.0. In LREC 2018: 11th International Conference on Language, Resources and Evaluation: Miyazaki, Japan: May 7-12, 2018: proceedings book, pages 376– 381.
  • Martí, M. A., M. Taulé, M. Nofre, L. Marsó, M. T. Martín-Valdivia, and S. M. Jiménez-Zafra. 2016. La negación en español: análisis y tipología de patrones de negación. Procesamiento del Lenguaje Natural, (57):41–48.
  • Mehrabi, S., A. Krishnan, S. Sohn, A. M. Roch, H. Schmidt, J. Kesterson, C. Beesley, P. Dexter, C. M. Schmidt, H. Liu, et al. 2015. Deepen: A negation detection system for clinical text incorporating dependency relation into negex. Journal of biomedical informatics, 54:213–219.
  • Okazaki, N. 2007. Crfsuite: a fast implementation of conditional random fields (crfs).
  • Pabón, O. S., O. Montenegro, M. Torrente, A. R. González, M. Provencio, and E. Menasalvas. 2022. Negation and uncertainty detection in clinical texts written in spanish: a deep learning-based approach. PeerJ Computer Science, 8:e913.
  • Padró, L. and E. Stanilovsky. 2012. Freeling 3.0: Towards wider multilinguality. In LREC2012.
  • Pedregosa, F., G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, et al. 2011. Scikit-learn: Machine learning in python. the Journal of machine Learning research, 12:2825– 2830.
  • Peng, Y., X. Wang, L. Lu, M. Bagheri, R. Summers, and Z. Lu. 2018. Negbio: a high-performance tool for negation and uncertainty detection in radiology reports. AMIA Summits on Translational Science Proceedings, 2018:188.
  • Sanamaría, Jesús. 2019. NegEx-MES (v1.0.1). Zenodo. https://doi.org/10.5281/zenodo.2542567.
  • Valle-Aguilera, J., S. M. Jiménez-Zafra, M. T. Martín-Valdivia, and L. A. Ureña López. 2023. Describing the architecture of NegesAPI, an API for Spanish negation processing. In SEPLN-PD 2023: Annual Conference of the Spanish Association for Natural Language Processing 2023: Projects and Demonstrations. CEUR Workshop Proceedings.