Serviços Personalizados
Journal
Artigo
Indicadores
- Citado por SciELO
- Acessos
Links relacionados
- Similares em SciELO
Compartilhar
Computación y Sistemas
versão On-line ISSN 2007-9737versão impressa ISSN 1405-5546
Resumo
CUEVAS-RASGADO, Alma Delia et al. Adding Semantics for Solving ‘PP Attachment’ in Spanish. Comp. y Sist. [online]. 2023, vol.27, n.2, pp.489-509. Epub 18-Set-2023. ISSN 2007-9737. https://doi.org/10.13053/cys-27-2-4015.
This paper describes a semantic module called Disambiguator of prepositions (DISPRE) in English, DESambiguador de PREposiciones in Spanish (hereinafter, DESPRE), that solves the prepositional phrase attachment for Spanish, and complements the syntactic analysis (based on 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 it to its correct sense; once the preposition sense is disambiguated, parsing rules can easily determine which is the right head, 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. New rules have been added 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 effectiveness of DESPRE, which was able to attach correctly prepositional phrases that the syntactic analysis of Freeling alone could not do.
Palavras-chave : PP attachment; semantic frame; ontology; natural language processing; syntactic rules.