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

Test for relabel. They will fail since there's no way of writing incomplete...

Test for relabel. They will fail since there's no way of writing incomplete tags. To consider and either fix or remove the feature.
parent 4a8f58d5
Branches
No related merge requests found
rules(
rule("enc_suger",
in({ger,subst}, class[0]),
relabel({ger}, equal(class[0], {subst}))
)
)
<?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>
<chunk type="s">
<tok>
<orth>Jedzenie</orth>
<lex><base>jedzenie</base><ctag>ger:sg:acc:n</ctag></lex>
<lex><base>jedzenie</base><ctag>ger:sg:nom:n</ctag></lex>
<lex><base>jedzenie</base><ctag>ger:sg:voc:n</ctag></lex>
<lex><base>jeść</base><ctag>ger:sg:acc:n:imperf:aff</ctag></lex>
<lex><base>jeść</base><ctag>ger:sg:nom:n:imperf:aff</ctag></lex>
<lex><base>jeść</base><ctag>ger:sg:voc:n:imperf:aff</ctag></lex>
</tok>
<ns/>
<tok>
<orth>,</orth>
<lex><base>,</base><ctag>interp</ctag></lex>
</tok>
<tok>
<orth>siedzenie</orth>
<lex><base>siedzenie</base><ctag>ger:sg:acc:n</ctag></lex>
<lex><base>siedzenie</base><ctag>ger:sg:nom:n</ctag></lex>
<lex><base>siedzenie</base><ctag>ger:sg:voc:n</ctag></lex>
<lex><base>siedzieć</base><ctag>ger:sg:acc:n:imperf:aff</ctag></lex>
<lex><base>siedzieć</base><ctag>ger:sg:nom:n:imperf:aff</ctag></lex>
<lex><base>siedzieć</base><ctag>ger:sg:voc:n:imperf:aff</ctag></lex>
</tok>
<tok>
<orth>i</orth>
<lex><base>i</base><ctag>conj</ctag></lex>
</tok>
<tok>
<orth>drzewo</orth>
<lex><base>drzewo</base><ctag>subst:sg:acc:n</ctag></lex>
<lex><base>drzewo</base><ctag>subst:sg:nom:n</ctag></lex>
<lex><base>drzewo</base><ctag>subst:sg:voc:n</ctag></lex>
</tok>
</chunk>
</chunk>
</chunkList>
</cesAna>
<?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>
<chunk type="s">
<tok>
<orth>Jedzenie</orth>
<lex><base>jedzenie</base><ctag>subst:sg:acc:n</ctag></lex>
<lex><base>jedzenie</base><ctag>subst:sg:nom:n</ctag></lex>
<lex><base>jedzenie</base><ctag>subst:sg:voc:n</ctag></lex>
<lex><base>jeść</base><ctag>ger:sg:acc:n:imperf:aff</ctag></lex>
<lex><base>jeść</base><ctag>ger:sg:nom:n:imperf:aff</ctag></lex>
<lex><base>jeść</base><ctag>ger:sg:voc:n:imperf:aff</ctag></lex>
</tok>
<ns/>
<tok>
<orth>,</orth>
<lex><base>,</base><ctag>interp</ctag></lex>
</tok>
<tok>
<orth>siedzenie</orth>
<lex><base>siedzenie</base><ctag>subst:sg:acc:n</ctag></lex>
<lex><base>siedzenie</base><ctag>subst:sg:nom:n</ctag></lex>
<lex><base>siedzenie</base><ctag>subst:sg:voc:n</ctag></lex>
<lex><base>siedzieć</base><ctag>ger:sg:acc:n:imperf:aff</ctag></lex>
<lex><base>siedzieć</base><ctag>ger:sg:nom:n:imperf:aff</ctag></lex>
<lex><base>siedzieć</base><ctag>ger:sg:voc:n:imperf:aff</ctag></lex>
</tok>
<tok>
<orth>i</orth>
<lex><base>i</base><ctag>conj</ctag></lex>
</tok>
<tok>
<orth>drzewo</orth>
<lex><base>drzewo</base><ctag>subst:sg:acc:n</ctag></lex>
<lex><base>drzewo</base><ctag>subst:sg:nom:n</ctag></lex>
<lex><base>drzewo</base><ctag>subst:sg:voc:n</ctag></lex>
</tok>
</chunk>
</chunk>
</chunkList>
</cesAna>
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