LR-POR / PorGram

A Portuguese HPSG Grammar
Other
2 stars 1 forks source link

implement clausal subjects #54

Open leoalenc opened 2 years ago

leoalenc commented 2 years ago

Implement sentences with a clausal subject, especially those described in Mateus et al. (1989) that involve the infinitive, according to #17:

Surpreendeu os críticos que o filme tivesse ganhado o festival. (p. 265) Surpreendeu os críticos o filme ter ganho o festival. (p. 266) É surpreendente o filme ter ganho o festival. (p. 280)

leoalenc commented 1 year ago

@arademaker , there are generic types in the matrix.tdl file that can be manually customized to build the Portuguese types needed to parse these sentences (see clausal-arg-intrans-lex-item). I manually implemented several types to handle infinitive clauses (both inflected and uninflected). See article:

ALENCAR, L. F. de; RADEMAKER, A. Modelação da valência verbal numa gramática computacional do português no formalismo HPSG . Domínios de Lingu@gem, Uberlândia, v. 16, n. 4, p. 1339–1400, 2022. DOI: 10.14393/DL52-v16n4a2022-6. Disponível em: https://seer.ufu.br/index.php/dominiosdelinguagem/article/view/64132. Acesso em: 6 fev. 2023.

leoalenc commented 1 year ago

Also include in the test file:

Surpreendeu os críticos os filmes terem ganho o festival. É surpreendente os filmes terem ganho o festival.

leoalenc commented 1 year ago

@arademaker , this another good task to manually implement with the assistance of @danflick.