-
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
exclusion contexts in patterns #50
Comments
Hey, As for the first part, I coded this thing more than two years ago so I'm not very sure, but I was just looking in the documentation: <def-cat n="det">
<cat-item has-tags="det"/>
<cat-item has-tags="det pos"/>
</def-cat>
<def-cat n="not_noun_or_adj">
<cat-item exclude-tags="n"/>
<cat-item exclude-tags="adj"/>
</def-cat> and then in markable: <pattern>
<pattern-item n="det"/>
<pattern-item n="not_noun_or_adj"/>
</pattern> I do recognise that this would be more tedious than just being able to negate pattern-items, plus I haven't even tried this yet. So can look into it. |
Ah, yeah that might help :-) didn't know you could have just exclude without has-tags :) |
I'm not sure either tbh :p try it once
…On Mon, Jun 27, 2022, 01:45 Kevin Brubeck Unhammer ***@***.***> wrote:
Ah, yeah that might help :-) didn't know you could have *just* exclude
without has-tags :)
—
Reply to this email directly, view it on GitHub
<#50 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGJBIHQYBTEFM5DA2LYH5FDVRC26TANCNFSM5ZY6YEKQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
That does work! =D
|
I want lone determiners/adjectives to be antecedents. In Norwegian, we get these ellipses like
the<mf><sg> was sold
orred<pl> was drawn
– both of those are good antecedents, but we never want the determiner inthe car
or adjective inred paint
to be an antecedent. So it'd be nice to be able to sayand have that match determiners not followed by noun or adj.
Alternatively, would it be easier to add a score per pattern-item? Then I could make a negative rule for modifying determiner/adj's of noun phrases, e.g.
or something like that.
The text was updated successfully, but these errors were encountered: