Skip to main content

Antonymy-Synonymy Discrimination in Spanish with a Parasiamese Network

  • Conference paper
  • First Online:
Advances in Artificial Intelligence – IBERAMIA 2022 (IBERAMIA 2022)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 13788))

Included in the following conference series:

  • 724 Accesses

Abstract

Antonymy-Synonymy Discrimination (ASD) is a challenging NLP task that has been tackled mainly for English. We present a dataset for ASD in Spanish, built using online dictionaries and Wordnet in Spanish. To evaluate the quality of the dataset, we performed two manual annotations on a random sample of the dataset, obtaining 0.89 of kappa score between them. Additionally, each annotator obtained 0.9 of agreement according to the dataset. The dataset is split into train, val and test using three algorithms: (1) randomly, (2) Shwartz’s split [20], and (3) graph split. The last two are without lexical intersection between its parts, and (3) is based on the topology of the antonymy relation depicted from data. Finally, we report results using a parasiamese neural network [6] in our dataset, one of the best performing approaches in the literature.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    [8] addressed lexical relations detection and performed a manually curated automatic translation of the dataset to spanish and german and only consists of 1850 pairs of antonyms.

  2. 2.

    The meanings were obtained through the Real Academia Española dictionary (https://dle.rae.es/).

References

  1. Ali, M.A., Sun, Y., Zhou, X., Wang, W., Zhao, X.: Antonym-synonym classification based on new sub-space embeddings. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 33, pp. 6204–6211 (2019)

    Google Scholar 

  2. Hagberg, A., Dan Schult, P.S.: Networkx, July 2005. https://github.com/networkx/networkx#readme

  3. Bromley, J., et al.: Signature verification using a “Siamese” time delay neural network. Int. J. Pattern Recogn. Artif. Intell. 07(04), 669–688 (1993). https://doi.org/10.1142/S0218001493000339

  4. Cardellino, C.: Spanish Billion Words Corpus and Embeddings, August 2019. https://crscardellino.github.io/SBWCE/

  5. Cohen, J.: A coefficient of agreement for nominal scales. Educ. Psychol. Measur. 20(1), 37–46 (1960). https://doi.org/10.1177/001316446002000104

  6. Etcheverry, M., Wonsever, D.: Unraveling antonym’s word vectors through a Siamese-like network. In: Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 3297–3307. Association for Computational Linguistics, Florence, Italy, July 2019. https://doi.org/10.18653/v1/P19-1319, https://aclanthology.org/P19-1319

  7. Fernández-Montraveta, A., Vázquez, G., Fellbaum, C.: The Spanish version of wordnet 3.0, September 2008. https://doi.org/10.1515/9783110211818.3.175

  8. Glavaš, G., Vulić, I.: Discriminating between lexico-semantic relations with the specialization tensor model (2018)

    Google Scholar 

  9. Gonzalez-Agirre, A., Laparra, E., Rigau, G.: Multilingual central repository version 3.0. In: Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC 2012), pp. 2525–2529. European Language Resources Association (ELRA), Istanbul, Turkey, May 2012. https://www.lrec-conf.org/proceedings/lrec2012/pdf/293_Paper.pdf

  10. Hearst, M.A.: Automatic acquisition of hyponyms from large text corpora. In: COLING 1992 Volume 2: The 15th International Conference on Computational Linguistics (1992)

    Google Scholar 

  11. Jacobs, R.A., Jordan, M.I., Nowlan, S.J., Hinton, G.E.: Adaptive mixtures of local experts. Neural Comput. 3(1), 79–87 (1991). https://doi.org/10.1162/neco.1991.3.1.79

  12. Joulin, A., Grave, E., Bojanowski, P., Mikolov, T.: Bag of tricks for efficient text classification. arXiv preprint arXiv:1607.01759 (2016)

  13. Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization (2014). https://doi.org/10.48550/ARXIV.1412.6980, https://arxiv.org/abs/1412.6980

  14. Levy, O., Remus, S., Biemann, C., Dagan, I.: Do supervised distributional methods really learn lexical inference relations? In: Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 970–976 (2015)

    Google Scholar 

  15. Mikolov, T., Chen, K., Corrado, G., Dean, J.: Efficient estimation of word representations in vector space (2013). https://doi.org/10.48550/ARXIV.1301.3781, https://arxiv.org/abs/1301.3781

  16. Miller, G.A.: Wordnet: a lexical database for English. Commun. ACM. 38(11), 39–41 (1995). https://doi.org/10.1145/219717.219748

  17. Nguyen, K.A., Walde, S.S., Vu, N.T.: Distinguishing antonyms and synonyms in a pattern-based neural network. arXiv preprint arXiv:1701.02962 (2017)

  18. Pedregosa, F., et al.: Scikit-learn: machine learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011)

    MathSciNet  MATH  Google Scholar 

  19. Roller, S., Kiela, D., Nickel, M.: Hearst patterns revisited: Automatic hypernym detection from large text corpora. arXiv preprint arXiv:1806.03191 (2018)

  20. Shwartz, V., Goldberg, Y., Dagan, I.: Improving hypernymy detection with an integrated path-based and distributional method. In: Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 2389–2398. Association for Computational Linguistics, Berlin, Germany, August 2016. https://doi.org/10.18653/v1/P16-1226, https://aclanthology.org/P16-1226

  21. Vulić, I.: Injecting lexical contrast into word vectors by guiding vector space specialisation. In: Proceedings of The Third Workshop on Representation Learning for NLP, pp. 137–143. Association for Computational Linguistics, Melbourne, Australia, July 2018. https://doi.org/10.18653/v1/W18-3018, https://aclanthology.org/W18-3018

  22. Xie, Z., Zeng, N.: A mixture-of-experts model for antonym-synonym discrimination. In: Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers), pp. 558–564. Association for Computational Linguistics, Online, August 2021. https://doi.org/10.18653/v1/2021.acl-short.71, https://aclanthology.org/2021.acl-short.71

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Juan Camacho .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Camacho, J., Cámera, J., Etcheverry, M. (2022). Antonymy-Synonymy Discrimination in Spanish with a Parasiamese Network. In: Bicharra Garcia, A.C., Ferro, M., Rodríguez Ribón, J.C. (eds) Advances in Artificial Intelligence – IBERAMIA 2022. IBERAMIA 2022. Lecture Notes in Computer Science(), vol 13788. Springer, Cham. https://doi.org/10.1007/978-3-031-22419-5_24

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-22419-5_24

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-22418-8

  • Online ISBN: 978-3-031-22419-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics