Adding Semantics for Solving ‘PP Attachment’ in Spanish
DOI:
https://doi.org/10.13053/cys-27-2-4015Keywords:
PP attachment, semantic frame, ontology, natural language processing, syntactic rulesAbstract
This paper describes a semantic module called DESPRE (DESambiguador de PREposiciones, or Disambiguator of prepositions) that solves the prepositional phrase attachment for Spanish and complements the syntactic analysis (based in tags and syntactic rules) of project FreeLing. Syntactic analysis is not enough to correctly disambiguate prepositions and attach each prepositional phrase to the appropriate head. This is because, depending on the context, the same preposition conveys different meanings. DESPRE analyzes the preposition and its surroundings, assigning to it its correct sense; once the preposition sense is disambiguated, parsing rules can more easily determine which the right head is, thus building the correct dependency tree. In this manner, with the help of the preposition semantics, the sentence is disambiguated and the prepositional phrase is correctly attached. DESPRE uses an ontology with semantic frames (for each prepositional sense) to disambiguate and solve prepositional phrase attachment. We have added new rules to the FreeLing dependency parser to handle the different preposition senses. Thus, DESPRE, the modified version of FreeLing, uses syntactic and semantic analysis. Several examples show the potential effectiveness of DESPRE, which was able to correctly attach prepositional phrases that the syntactic analysis of Freeling alone could not.Downloads
Published
2023-06-17
Issue
Section
Articles
License
Hereby I transfer exclusively to the Journal "Computación y Sistemas", published by the Computing Research Center (CIC-IPN),the Copyright of the aforementioned paper. I also accept that these
rights will not be transferred to any other publication, in any other format, language or other existing means of developing.I certify that the paper has not been previously disclosed or simultaneously submitted to any other publication, and that it does not contain material whose publication would violate the Copyright or other proprietary rights of any person, company or institution. I certify that I have the permission from the institution or company where I work or study to publish this work.The representative author accepts the responsibility for the publicationof this paper on behalf of each and every one of the authors.
This transfer is subject to the following conditions:- The authors retain all ownership rights (such as patent rights) of this work, except for the publishing rights transferred to the CIC, through this document.
- Authors retain the right to publish the work in whole or in part in any book they are the authors or publishers. They can also make use of this work in conferences, courses, personal web pages, and so on.
- Authors may include working as part of his thesis, for non-profit distribution only.