Skip to content
Snippets Groups Projects
Commit b30acda4 authored by Adam Radziszewski's avatar Adam Radziszewski
Browse files

simple syntactic example

parent ffeca60f
Branches
No related merge requests found
match_rules(
apply(
match(
optional(equal(base[0], "nie")),
repeat(
inter(class[0], {adj, ppas, pact})
)
),
cond(
agr(first(:2), last(M), {nmb,gnd,cas})
),
actions(
mark(M, "AdjP")
)
);
apply(
match(
optional(is("AdjP")),
inter(class[0], {subst, ger, depr})
),
cond(
or(
empty(:1),
agrpp(last(:1), first(:2), {nmb,gnd,cas})
)
),
actions(
mark(M, M, :2, "NP")
)
)
)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment