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

resturcture rules-data dir

parent 97b13d27
Branches
No related merge requests found
Showing
with 627 additions and 0 deletions
<?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>Na</orth>
<lex><base>na</base><ctag>prep:acc</ctag></lex>
<lex><base>na</base><ctag>prep:loc</ctag></lex>
</tok>
<tok>
<orth>starym</orth>
<lex><base>stara</base><ctag>subst:pl:dat:f</ctag></lex>
<lex><base>stary</base><ctag>adj:pl:dat:f:pos</ctag></lex>
<lex><base>stary</base><ctag>adj:pl:dat:m1:pos</ctag></lex>
<lex><base>stary</base><ctag>adj:pl:dat:m2:pos</ctag></lex>
<lex><base>stary</base><ctag>adj:pl:dat:m3:pos</ctag></lex>
<lex><base>stary</base><ctag>adj:pl:dat:n:pos</ctag></lex>
<lex><base>stary</base><ctag>adj:sg:inst:m1:pos</ctag></lex>
<lex><base>stary</base><ctag>adj:sg:inst:m2:pos</ctag></lex>
<lex><base>stary</base><ctag>adj:sg:inst:m3:pos</ctag></lex>
<lex><base>stary</base><ctag>adj:sg:inst:n:pos</ctag></lex>
<lex><base>stary</base><ctag>adj:sg:loc:m1:pos</ctag></lex>
<lex><base>stary</base><ctag>adj:sg:loc:m2:pos</ctag></lex>
<lex><base>stary</base><ctag>adj:sg:loc:m3:pos</ctag></lex>
<lex><base>stary</base><ctag>adj:sg:loc:n:pos</ctag></lex>
</tok>
<tok>
<orth>stole</orth>
<lex><base>stola</base><ctag>subst:pl:acc:f</ctag></lex>
<lex><base>stola</base><ctag>subst:pl:nom:f</ctag></lex>
<lex><base>stola</base><ctag>subst:pl:voc:f</ctag></lex>
<lex><base>stół</base><ctag>subst:sg:loc:m3</ctag></lex>
<lex><base>stół</base><ctag>subst:sg:voc:m3</ctag></lex>
</tok>
</chunk>
</chunk>
</chunkList>
</cesAna>
rules(
rule("prep-case", // prep [with-case]
and(
equal(class[-1], prep),
not(equal(cas[0], {}))
),
select(
in(cas[0], cas[-1])
)
),
rule("prep-subst-case", // [prep] with-case
and(
equal(class[0], prep),
not(equal(cas[1], {}))
),
select(
in(cas[0], cas[1])
)
),
rule("agr-right", // [here] next
select(
agr(0,1,{nmb,gnd,cas})
)
),
rule("agr-left", // prev [here]
select(
agr(-1,0,{nmb,gnd,cas})
)
)
)
<?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>Na</orth>
<lex><base>na</base><ctag>prep:loc</ctag></lex>
</tok>
<tok>
<orth>starym</orth>
<lex><base>stary</base><ctag>adj:sg:loc:m3:pos</ctag></lex>
</tok>
<tok>
<orth>stole</orth>
<lex><base>stół</base><ctag>subst:sg:loc:m3</ctag></lex>
</tok>
</chunk>
</chunk>
</chunkList>
</cesAna>
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>
<?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>Duże</orth>
<lex><base>duży</base><ctag>adj:pl:acc:f:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:acc:m2:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:acc:m3:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:acc:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:f:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:m2:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:m3:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:f:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:m2:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:m3:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:sg:acc:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:sg:nom:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:sg:voc:n:pos</ctag></lex>
</tok>
<tok>
<orth>psy</orth>
<lex><base>pies</base><ctag>subst:pl:acc:m2</ctag></lex>
<lex><base>pies</base><ctag>subst:pl:nom:m2</ctag></lex>
<lex><base>pies</base><ctag>subst:pl:voc:m2</ctag></lex>
</tok>
<tok>
<orth>i</orth>
<lex><base>i</base><ctag>conj</ctag></lex>
</tok>
<tok>
<orth>koty</orth>
<lex><base>kot</base><ctag>subst:pl:acc:m2</ctag></lex>
<lex><base>kot</base><ctag>subst:pl:nom:m1</ctag></lex>
<lex><base>kot</base><ctag>subst:pl:nom:m2</ctag></lex>
<lex><base>kot</base><ctag>subst:pl:voc:m1</ctag></lex>
<lex><base>kot</base><ctag>subst:pl:voc:m2</ctag></lex>
<lex><base>kota</base><ctag>subst:pl:acc:f</ctag></lex>
<lex><base>kota</base><ctag>subst:pl:nom:f</ctag></lex>
<lex><base>kota</base><ctag>subst:pl:voc:f</ctag></lex>
<lex><base>kota</base><ctag>subst:sg:gen:f</ctag></lex>
<lex><base>koty</base><ctag>subst:pl:acc:n</ctag></lex>
<lex><base>koty</base><ctag>subst:pl:nom:n</ctag></lex>
<lex><base>koty</base><ctag>subst:pl:voc:n</ctag></lex>
</tok>
</chunk>
</chunk>
</chunkList>
</cesAna>
rules(
rule("sel-agr0",
and(
equal(class[0], subst),
equal(class[2], subst),
in(base[1], ["i", "lub"])
),
select(
agrpp(0,2,{nmb,gnd,cas})
)
),
rule("sel-agr2",
and(
equal(class[0], subst),
equal(class[-2], subst),
in(base[-1], ["i", "lub"])
),
select(
agrpp(-2,0,{nmb,gnd,cas})
)
)
)
<?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>Duże</orth>
<lex><base>duży</base><ctag>adj:pl:acc:f:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:acc:m2:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:acc:m3:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:acc:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:f:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:m2:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:m3:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:f:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:m2:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:m3:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:sg:acc:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:sg:nom:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:sg:voc:n:pos</ctag></lex>
</tok>
<tok>
<orth>psy</orth>
<lex><base>pies</base><ctag>subst:pl:acc:m2</ctag></lex>
<lex><base>pies</base><ctag>subst:pl:nom:m2</ctag></lex>
<lex><base>pies</base><ctag>subst:pl:voc:m2</ctag></lex>
</tok>
<tok>
<orth>i</orth>
<lex><base>i</base><ctag>conj</ctag></lex>
</tok>
<tok>
<orth>koty</orth>
<lex><base>kot</base><ctag>subst:pl:acc:m2</ctag></lex>
<lex><base>kot</base><ctag>subst:pl:nom:m2</ctag></lex>
<lex><base>kot</base><ctag>subst:pl:voc:m2</ctag></lex>
</tok>
</chunk>
</chunk>
</chunkList>
</cesAna>
rules(
rule("sel-n",
select(
equal(gnd[0], {n})
)
)
)
<?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>Duże</orth>
<lex><base>duży</base><ctag>adj:pl:acc:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:sg:acc:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:sg:nom:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:sg:voc:n:pos</ctag></lex>
</tok>
<tok>
<orth>psy</orth>
<lex><base>pies</base><ctag>subst:pl:acc:m2</ctag></lex>
<lex><base>pies</base><ctag>subst:pl:nom:m2</ctag></lex>
<lex><base>pies</base><ctag>subst:pl:voc:m2</ctag></lex>
</tok>
<tok>
<orth>i</orth>
<lex><base>i</base><ctag>conj</ctag></lex>
</tok>
<tok>
<orth>koty</orth>
<lex><base>koty</base><ctag>subst:pl:acc:n</ctag></lex>
<lex><base>koty</base><ctag>subst:pl:nom:n</ctag></lex>
<lex><base>koty</base><ctag>subst:pl:voc:n</ctag></lex>
</tok>
</chunk>
</chunk>
</chunkList>
</cesAna>
rules(
rule("sel-n",
and(equal(base[0], "i")),
select(
1,
equal(gnd[1], {n})
)
)
)
<?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>Duże</orth>
<lex><base>duży</base><ctag>adj:pl:acc:f:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:acc:m2:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:acc:m3:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:acc:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:f:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:m2:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:m3:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:nom:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:f:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:m2:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:m3:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:pl:voc:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:sg:acc:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:sg:nom:n:pos</ctag></lex>
<lex><base>duży</base><ctag>adj:sg:voc:n:pos</ctag></lex>
</tok>
<tok>
<orth>psy</orth>
<lex><base>pies</base><ctag>subst:pl:acc:m2</ctag></lex>
<lex><base>pies</base><ctag>subst:pl:nom:m2</ctag></lex>
<lex><base>pies</base><ctag>subst:pl:voc:m2</ctag></lex>
</tok>
<tok>
<orth>i</orth>
<lex><base>i</base><ctag>conj</ctag></lex>
</tok>
<tok>
<orth>koty</orth>
<lex><base>koty</base><ctag>subst:pl:acc:n</ctag></lex>
<lex><base>koty</base><ctag>subst:pl:nom:n</ctag></lex>
<lex><base>koty</base><ctag>subst:pl:voc:n</ctag></lex>
</tok>
</chunk>
</chunk>
</chunkList>
</cesAna>
rules(
rule("unify3-case",
not(
equal(cas[0], {}),
equal(cas[2], {})
),
unify(0, 2, {nmb, gnd, cas})
)
)
<?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>Kobieta</orth>
<lex><base>kobieta</base><ctag>subst:sg:nom:f</ctag></lex>
</tok>
<tok>
<orth>nie</orth>
<lex><base>nie</base><ctag>qub</ctag></lex>
</tok>
<tok>
<orth>bita</orth>
<lex><base>bity</base><ctag>adj:sg:nom:f:pos</ctag></lex>
<lex><base>bić</base><ctag>ppas:sg:nom:f:imperf:aff</ctag></lex>
</tok>
<tok>
<orth>to</orth>
<lex><base>to</base><ctag>conj</ctag></lex>
</tok>
<tok>
<orth>jak</orth>
<lex><base>jak</base><ctag>conj</ctag></lex>
</tok>
<tok>
<orth>kosa</orth>
<lex><base>kosa</base><ctag>subst:sg:nom:f</ctag></lex>
<lex><base>kosy</base><ctag>adj:sg:nom:f:pos</ctag></lex>
<lex><base>kosy</base><ctag>adj:sg:voc:f:pos</ctag></lex>
</tok>
<tok>
<orth>nie</orth>
<lex><base>nie</base><ctag>qub</ctag></lex>
</tok>
<tok>
<orth>klepana</orth>
<lex><base>klepać</base><ctag>ppas:sg:nom:f:imperf:aff</ctag></lex>
<lex><base>klepać</base><ctag>ppas:sg:voc:f:imperf:aff</ctag></lex>
</tok>
<ns/>
<tok>
<orth>!</orth>
<lex><base>!</base><ctag>interp</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>Kobieta</orth>
<lex><base>kobieta</base><ctag>subst:sg:nom:f</ctag></lex>
</tok>
<tok>
<orth>nie</orth>
<lex><base>nie</base><ctag>qub</ctag></lex>
<lex><base>on</base><ctag>ppron3:sg:acc:n:ter:praep</ctag></lex>
<lex><base>on</base><ctag>ppron3:pl:acc:m2:ter:praep</ctag></lex>
<lex><base>on</base><ctag>ppron3:pl:acc:m3:ter:praep</ctag></lex>
<lex><base>on</base><ctag>ppron3:pl:acc:f:ter:praep</ctag></lex>
<lex><base>on</base><ctag>ppron3:pl:acc:n:ter:praep</ctag></lex>
</tok>
<tok>
<orth>bita</orth>
<lex><base>bity</base><ctag>adj:sg:nom:f:pos</ctag></lex>
<lex><base>bity</base><ctag>adj:sg:voc:f:pos</ctag></lex>
<lex><base>bić</base><ctag>ppas:sg:nom:f:imperf:aff</ctag></lex>
<lex><base>bić</base><ctag>ppas:sg:voc:f:imperf:aff</ctag></lex>
</tok>
<tok>
<orth>to</orth>
<lex><base>ten</base><ctag>adj:sg:nom:n:pos</ctag></lex>
<lex><base>ten</base><ctag>adj:sg:acc:n:pos</ctag></lex>
<lex><base>ten</base><ctag>adj:sg:voc:n:pos</ctag></lex>
<lex><base>to</base><ctag>conj</ctag></lex>
</tok>
<tok>
<orth>jak</orth>
<lex><base>jak</base><ctag>conj</ctag></lex>
<lex><base>jak</base><ctag>subst:sg:nom:m1</ctag></lex>
<lex><base>jak</base><ctag>subst:sg:nom:m2</ctag></lex>
<lex><base>jak</base><ctag>subst:sg:nom:m3</ctag></lex>
<lex><base>jaka</base><ctag>subst:pl:gen:f</ctag></lex>
</tok>
<tok>
<orth>kosa</orth>
<lex><base>kos</base><ctag>subst:sg:gen:m2</ctag></lex>
<lex><base>kos</base><ctag>subst:sg:acc:m2</ctag></lex>
<lex><base>kosa</base><ctag>subst:sg:nom:f</ctag></lex>
<lex><base>kosy</base><ctag>adj:sg:nom:f:pos</ctag></lex>
<lex><base>kosy</base><ctag>adj:sg:voc:f:pos</ctag></lex>
</tok>
<tok>
<orth>nie</orth>
<lex><base>nie</base><ctag>qub</ctag></lex>
<lex><base>on</base><ctag>ppron3:sg:acc:n:ter:praep</ctag></lex>
<lex><base>on</base><ctag>ppron3:pl:acc:m2:ter:praep</ctag></lex>
<lex><base>on</base><ctag>ppron3:pl:acc:m3:ter:praep</ctag></lex>
<lex><base>on</base><ctag>ppron3:pl:acc:f:ter:praep</ctag></lex>
<lex><base>on</base><ctag>ppron3:pl:acc:n:ter:praep</ctag></lex>
</tok>
<tok>
<orth>klepana</orth>
<lex><base>klepać</base><ctag>ppas:sg:nom:f:imperf:aff</ctag></lex>
<lex><base>klepać</base><ctag>ppas:sg:voc:f:imperf:aff</ctag></lex>
</tok>
<ns/>
<tok>
<orth>!</orth>
<lex><base>!</base><ctag>interp</ctag></lex>
</tok>
</chunk>
</chunk>
</chunkList>
</cesAna>
rules(
rule("agr3",
unify(0, 2, {nmb, gnd, cas})
)
)
<?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>nie</orth>
<lex><base>nie</base><ctag>qub</ctag></lex>
<lex><base>on</base><ctag>ppron3:sg:acc:n:ter:praep</ctag></lex>
</tok>
<tok>
<orth>czuję</orth>
<lex><base>czuć</base><ctag>fin:sg:pri:imperf</ctag></lex>
</tok>
<tok>
<orth>już</orth>
<lex><base>już</base><ctag>qub</ctag></lex>
</tok>
<tok>
<orth>całym</orth>
<lex><base>cały</base><ctag>adj:sg:inst:m1:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:sg:inst:m2:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:sg:inst:m3:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:sg:inst:n:pos</ctag></lex>
</tok>
<tok>
<orth>sobą</orth>
<lex><base>się</base><ctag>siebie:inst</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>nie</orth>
<lex><base>nie</base><ctag>qub</ctag></lex>
<lex><base>on</base><ctag>ppron3:pl:acc:f:ter:praep</ctag></lex>
<lex><base>on</base><ctag>ppron3:pl:acc:m2:ter:praep</ctag></lex>
<lex><base>on</base><ctag>ppron3:pl:acc:m3:ter:praep</ctag></lex>
<lex><base>on</base><ctag>ppron3:pl:acc:n:ter:praep</ctag></lex>
<lex><base>on</base><ctag>ppron3:sg:acc:n:ter:praep</ctag></lex>
</tok>
<tok>
<orth>czuję</orth>
<lex><base>czuć</base><ctag>fin:sg:pri:imperf</ctag></lex>
</tok>
<tok>
<orth>już</orth>
<lex><base>już</base><ctag>qub</ctag></lex>
</tok>
<tok>
<orth>całym</orth>
<lex><base>cały</base><ctag>adj:pl:dat:f:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:pl:dat:m1:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:pl:dat:m2:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:pl:dat:m3:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:pl:dat:n:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:sg:inst:m1:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:sg:inst:m2:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:sg:inst:m3:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:sg:inst:n:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:sg:loc:m1:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:sg:loc:m2:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:sg:loc:m3:pos</ctag></lex>
<lex><base>cały</base><ctag>adj:sg:loc:n:pos</ctag></lex>
</tok>
<tok>
<orth>sobą</orth>
<lex><base>się</base><ctag>siebie:inst</ctag></lex>
</tok>
</chunk>
</chunk>
</chunkList>
</cesAna>
rules(
rule("rule1",
in(class[0], {conj, qub}),
delete(
equal(class[0], {qub})
)
)
)
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