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

noprep.ccl: rm propositions from np

parent 946e8c73
Branches
No related merge requests found
// generates "real" NP chunks by removing chunk-initial prepositions
// the new chunks are added as "cut_np"
// to be used with wccl-rules
tag_rules(
rule("noprep",
and(
isannbeg(0, "chunk_np"),
not(in({prep}, class[0])),
rlook(0, end, $End,
isannend($End, "chunk_np")
)
),
mark(0, $End, "cut_np")
);
rule("withprep",
and(
isannbeg(0, "chunk_np"),
in({prep}, class[0]),
rlook(0, end, $End,
isannend($End, "chunk_np")
)
),
mark(1, $End, "cut_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