-
Notifications
You must be signed in to change notification settings - Fork 4
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
Resolving adposition spelling variants #51
Comments
|
OK, I guess my assumption was that adpositions with |
I can do it by creating them manually. Is that convenient for Hebrew and other languages where adpositions have more than one variant? |
If you're talking about pronominal inflections in Hebrew, those are not reflected in the lemma, so we're OK as long as long as the text has been morphologically processed. In English we can't rely on lemmas for possessives because the current UD policy is super weird: UniversalDependencies/docs#517 |
Each adposition has a citation form and may have variants. For example, the citation form for all possessives is
's
, and possessive pronouns need to be linked to this. "Toward"/"towards" and "out of"/"outta" may be considered conventionalized variant spellings. Moreover, annotated sentences may have adpositions with nonstandard spellings or capitalization. Thep
Markdown macro thus needs to be able to link to an adposition whose canonical name is different from the one used in the sentence.Proposed solution:
Extend the
p
macro to include a display spelling that differs from the canonical lemma:[p my en/'s]
or[p my en/'s Possessor]
.[p en/'s]
would continue to work and be equivalent to[p 's en/'s]
.To avoid verbosity in the Markdown for standard possessive pronouns and other spelling variants,
[p en/my]
and similar should, in the absence of a matching citation form, search for a match in theother_forms
field. If exactly one is found, the link will point to that adposition.The text was updated successfully, but these errors were encountered: