Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPTSP/NBAR root ambiguity with proper names #95

Open
olzama opened this issue Mar 1, 2024 · 2 comments
Open

OPTSP/NBAR root ambiguity with proper names #95

olzama opened this issue Mar 1, 2024 · 2 comments

Comments

@olzama
Copy link
Contributor

olzama commented Mar 1, 2024

In Spanish, proper names can occur with articles, so a typical way to realize a construction with a proper name is with the optional specifier rule:

Screenshot from 2024-03-01 18-17-14

At the same time, a root like this seems to be needed, for various titles and such (e.g. many examples in TIBIDABO portion with sentences of length 2, "bebe prematuro" and so on):

root_nbar := phrase-or-lexrule &
 [ SYNSEM [ LOCAL [ COORD-REL.PRED non_implicit_coord_rel,
                    AGR.DIVISIBLE -,
                    CAT [ HEAD noun & [ KEYS.KEY nom_rel ], 
                          VAL [ SUBJ < >,
                                COMPS < >,
                                CLTS < > ] ] ],
            NON-LOCAL [ REL 0-dlist,
                        SLASH 0-dlist ] ] ].

This results in some ambiguity for proper names:

Screenshot from 2024-03-01 18-15-18

I couldn't immediately figure out how to rule this out without breaking things, so, just documenting that this ambiguity is there.

@olzama
Copy link
Contributor Author

olzama commented Jul 30, 2024

Generally, right now the grammar attempts to distinguish between different types of nouns, some that allow optional specifier and some that require a specifier. Furthermore, some nouns are DIVISIBLE + and some are DIVISIBLE -, which determines whether they can go through the optional specifier unary rule or the so-called N-bar rule (the latter requires DIVISIBLE +). However, in the lexicon there is not a perfect assignment of nouns to the appropriate types, and perhaps many should be reassigned to the type which allows an optional specifier. Before, many sentences were covered due to various mistakes such as underspecified SPR < > in some of the phrase structure rules. After fixing, some, I lost sentences such as "Es profesor universitario". To fix that, I reassigned "profesor" to a type that allows an optional specifier. Many other nouns remain that should probably also be reassigned.

@fcbond
Copy link
Member

fcbond commented Jul 30, 2024

We could use the Spanish wordnet to find nouns related to professions, if that would help, ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants