Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iobber
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Syntactic Tools
Chunking
Iobber
Commits
1b2b4bf8
Commit
1b2b4bf8
authored
12 years ago
by
Adam Radziszewski
Browse files
Options
Downloads
Patches
Plain Diff
noprep.ccl: rm propositions from np
parent
946e8c73
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/noprep.ccl
+28
-0
28 additions, 0 deletions
tools/noprep.ccl
with
28 additions
and
0 deletions
tools/noprep.ccl
0 → 100644
+
28
−
0
View file @
1b2b4bf8
// 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")
)
)
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment