Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
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
Analysers
WCCL
Commits
c0b59bc9
Commit
c0b59bc9
authored
13 years ago
by
Adam Radziszewski
Browse files
Options
Downloads
Patches
Plain Diff
test for first (failing)
parent
2b37b25c
Branches
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/rules-data/match/postcond2/cclmatch5.ccl
+14
-0
14 additions, 0 deletions
tests/rules-data/match/postcond2/cclmatch5.ccl
tests/rules-data/match/postcond2/cclmatch5.out.xml
+80
-0
80 additions, 0 deletions
tests/rules-data/match/postcond2/cclmatch5.out.xml
with
94 additions
and
0 deletions
tests/rules-data/match/postcond2/cclmatch5.ccl
0 → 100644
+
14
−
0
View file @
c0b59bc9
apply(
match(
repeat(
optional(equal(orth[0], "not:here")),
equal(class[0], adj),
optional(equal(orth[0], "not:there"))
)
),
// first(M) -> position
// regex… -> starting with w
cond(regex(orth[first(M)], "w.*")),
//cond(debug(orth[first(M)])),
actions(mark(M,"C"))
)
This diff is collapsed.
Click to expand it.
tests/rules-data/match/postcond2/cclmatch5.out.xml
0 → 100644
+
80
−
0
View file @
c0b59bc9
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cesAna SYSTEM "xcesAnaIPI.dtd">
<cesAna
xmlns:xlink=
"http://www.w3.org/1999/xlink"
version=
"1.0"
type=
"lex disamb"
>
<chunkList>
<chunk>
<sentence>
<tok>
<orth>
Dwa
</orth>
<lex><base>
dwa
</base><ctag>
other
</ctag></lex>
<ann
chan=
"A"
>
1
</ann>
<ann
chan=
"B"
head=
"1"
>
1
</ann>
<ann
chan=
"C"
>
0
</ann>
</tok>
<tok>
<orth>
wielkie
</orth>
<lex><base>
wielki
</base><ctag>
adj
</ctag></lex>
<ann
chan=
"A"
>
1
</ann>
<ann
chan=
"B"
head=
"1"
>
2
</ann>
<ann
chan=
"C"
head=
"1"
>
1
</ann>
</tok>
<tok>
<orth>
włochate
</orth>
<lex><base>
włochaty
</base><ctag>
adj
</ctag></lex>
<ann
chan=
"A"
>
1
</ann>
<ann
chan=
"B"
>
2
</ann>
<ann
chan=
"C"
>
1
</ann>
</tok>
<tok>
<orth>
zapchlone
</orth>
<lex><base>
zapchlić
</base><ctag>
adj
</ctag></lex>
<ann
chan=
"A"
>
1
</ann>
<ann
chan=
"B"
>
2
</ann>
<ann
chan=
"C"
>
1
</ann>
</tok>
<tok>
<orth>
koty
</orth>
<lex><base>
kot
</base><ctag>
noun
</ctag></lex>
<ann
chan=
"A"
head=
"1"
>
1
</ann>
<ann
chan=
"B"
head=
"1"
>
3
</ann>
<ann
chan=
"C"
>
0
</ann>
</tok>
<tok>
<orth>
zjadły
</orth>
<lex><base>
zjeść
</base><ctag>
verb
</ctag></lex>
<ann
chan=
"A"
>
0
</ann>
<ann
chan=
"B"
head=
"1"
>
4
</ann>
<ann
chan=
"C"
>
0
</ann>
</tok>
<tok>
<orth>
pięć
</orth>
<lex><base>
pięć
</base><ctag>
other
</ctag></lex>
<ann
chan=
"A"
head=
"1"
>
2
</ann>
<ann
chan=
"B"
>
4
</ann>
<ann
chan=
"C"
>
0
</ann>
</tok>
<tok>
<orth>
tłustych
</orth>
<lex><base>
tłusty
</base><ctag>
adj
</ctag></lex>
<ann
chan=
"A"
>
2
</ann>
<ann
chan=
"B"
>
4
</ann>
<ann
chan=
"C"
>
0
</ann>
</tok>
<tok>
<orth>
soczystych
</orth>
<lex><base>
soczysty
</base><ctag>
adj
</ctag></lex>
<ann
chan=
"A"
>
2
</ann>
<ann
chan=
"B"
>
4
</ann>
<ann
chan=
"C"
>
0
</ann>
</tok>
<tok>
<orth>
much
</orth>
<lex><base>
mucha
</base><ctag>
noun
</ctag></lex>
<ann
chan=
"A"
>
2
</ann>
<ann
chan=
"B"
>
0
</ann>
<ann
chan=
"C"
>
0
</ann>
</tok>
</sentence>
</chunk>
</chunkList>
</cesAna>
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