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

more tests

parent c7925d96
Branches
No related merge requests found
<?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("rule1",
in(class[0], {conj, qub}),
delete(
equal(class[0], {qub})
)
)
)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cesAna SYSTEM "xcesAnaIPI.dtd">
<cesAna version="1.0" type="lex disamb">
<chunkList>
<chunk id="ch51" type="tok">
<chunk type="s">
<tok>
<orth>Uważam</orth>
<lex disamb="1"><base>uważać</base><ctag>fin:sg:pri:imperf</ctag></lex>
</tok>
<ns/>
<tok>
<orth>,</orth>
<lex disamb="1"><base>,</base><ctag>interp</ctag></lex>
</tok>
<tok>
<orth>że</orth>
<lex disamb="1"><base>że</base><ctag>conj</ctag></lex>
</tok>
<tok>
<orth>światopogląd</orth>
<lex><base>światopogląd</base><ctag>subst:sg:acc:m3</ctag></lex>
<lex disamb="1"><base>światopogląd</base><ctag>subst:sg:nom:m3</ctag></lex>
</tok>
<tok>
<orth>może</orth>
<lex><base>może</base><ctag>qub</ctag></lex>
<lex disamb="1"><base>móc</base><ctag>fin:sg:ter:imperf</ctag></lex>
</tok>
<tok>
<orth>być</orth>
<lex disamb="1"><base>być</base><ctag>inf:imperf</ctag></lex>
</tok>
<tok>
<orth>materialistyczny</orth>
<lex><base>materialistyczny</base><ctag>adj:sg:acc:m3:pos</ctag></lex>
<lex><base>materialistyczny</base><ctag>adj:sg:nom:m1:pos</ctag></lex>
<lex><base>materialistyczny</base><ctag>adj:sg:nom:m2:pos</ctag></lex>
<lex disamb="1"><base>materialistyczny</base><ctag>adj:sg:nom:m3:pos</ctag></lex>
</tok>
<tok>
<orth>lub</orth>
<lex disamb="1"><base>lub</base><ctag>conj</ctag></lex>
<lex><base>lubić</base><ctag>impt:sg:sec:imperf</ctag></lex>
</tok>
<tok>
<orth>idealistyczny</orth>
<lex><base>idealistyczny</base><ctag>adj:sg:acc:m3:pos</ctag></lex>
<lex><base>idealistyczny</base><ctag>adj:sg:nom:m1:pos</ctag></lex>
<lex><base>idealistyczny</base><ctag>adj:sg:nom:m2:pos</ctag></lex>
<lex disamb="1"><base>idealistyczny</base><ctag>adj:sg:nom:m3:pos</ctag></lex>
</tok>
<tok>
<orth>(</orth>
<lex disamb="1"><base>(</base><ctag>interp</ctag></lex>
</tok>
<ns/>
<tok>
<orth>w</orth>
<lex><base>w</base><ctag>prep:acc:nwok</ctag></lex>
<lex disamb="1"><base>w</base><ctag>prep:loc:nwok</ctag></lex>
</tok>
<tok>
<orth>prymitywnych</orth>
<lex><base>prymitywny</base><ctag>adj:pl:acc:m1:pos</ctag></lex>
<lex><base>prymitywny</base><ctag>adj:pl:gen:f:pos</ctag></lex>
<lex><base>prymitywny</base><ctag>adj:pl:gen:m1:pos</ctag></lex>
<lex><base>prymitywny</base><ctag>adj:pl:gen:m2:pos</ctag></lex>
<lex><base>prymitywny</base><ctag>adj:pl:gen:m3:pos</ctag></lex>
<lex><base>prymitywny</base><ctag>adj:pl:gen:n:pos</ctag></lex>
<lex disamb="1"><base>prymitywny</base><ctag>adj:pl:loc:f:pos</ctag></lex>
<lex><base>prymitywny</base><ctag>adj:pl:loc:m1:pos</ctag></lex>
<lex><base>prymitywny</base><ctag>adj:pl:loc:m2:pos</ctag></lex>
<lex><base>prymitywny</base><ctag>adj:pl:loc:m3:pos</ctag></lex>
<lex><base>prymitywny</base><ctag>adj:pl:loc:n:pos</ctag></lex>
</tok>
<tok>
<orth>cywilizacjach</orth>
<lex disamb="1"><base>cywilizacja</base><ctag>subst:pl:loc:f</ctag></lex>
</tok>
<tok>
<orth>nawet</orth>
<lex disamb="1"><base>nawet</base><ctag>qub</ctag></lex>
</tok>
<tok>
<orth>magiczny</orth>
<lex><base>magiczny</base><ctag>adj:sg:acc:m3:pos</ctag></lex>
<lex><base>magiczny</base><ctag>adj:sg:nom:m1:pos</ctag></lex>
<lex><base>magiczny</base><ctag>adj:sg:nom:m2:pos</ctag></lex>
<lex disamb="1"><base>magiczny</base><ctag>adj:sg:nom:m3:pos</ctag></lex>
</tok>
<ns/>
<tok>
<orth>)</orth>
<lex disamb="1"><base>)</base><ctag>interp</ctag></lex>
</tok>
<ns/>
<tok>
<orth>,</orth>
<lex disamb="1"><base>,</base><ctag>interp</ctag></lex>
</tok>
<tok>
<orth>ale</orth>
<lex disamb="1"><base>ale</base><ctag>conj</ctag></lex>
</tok>
<tok>
<orth>nie</orth>
<lex disamb="1"><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>morski</orth>
<lex><base>morski</base><ctag>adj:sg:acc:m3:pos</ctag></lex>
<lex><base>morski</base><ctag>adj:sg:nom:m1:pos</ctag></lex>
<lex><base>morski</base><ctag>adj:sg:nom:m2:pos</ctag></lex>
<lex disamb="1"><base>morski</base><ctag>adj:sg:nom:m3:pos</ctag></lex>
</tok>
<ns/>
<tok>
<orth>,</orth>
<lex disamb="1"><base>,</base><ctag>interp</ctag></lex>
</tok>
<tok>
<orth>lotniczy</orth>
<lex><base>lotniczy</base><ctag>adj:pl:nom:m1:pos</ctag></lex>
<lex><base>lotniczy</base><ctag>adj:sg:acc:m3:pos</ctag></lex>
<lex><base>lotniczy</base><ctag>adj:sg:nom:m1:pos</ctag></lex>
<lex><base>lotniczy</base><ctag>adj:sg:nom:m2:pos</ctag></lex>
<lex disamb="1"><base>lotniczy</base><ctag>adj:sg:nom:m3:pos</ctag></lex>
</tok>
<ns/>
<tok>
<orth>,</orth>
<lex disamb="1"><base>,</base><ctag>interp</ctag></lex>
</tok>
<tok>
<orth>rolny</orth>
<lex><base>rolny</base><ctag>adj:sg:acc:m3:pos</ctag></lex>
<lex><base>rolny</base><ctag>adj:sg:nom:m1:pos</ctag></lex>
<lex><base>rolny</base><ctag>adj:sg:nom:m2:pos</ctag></lex>
<lex disamb="1"><base>rolny</base><ctag>adj:sg:nom:m3:pos</ctag></lex>
</tok>
<tok>
<orth>czy</orth>
<lex disamb="1"><base>czy</base><ctag>conj</ctag></lex>
<lex><base>czy</base><ctag>qub</ctag></lex>
</tok>
<tok>
<orth>leśny</orth>
<lex><base>leśny</base><ctag>adj:sg:acc:m3:pos</ctag></lex>
<lex><base>leśny</base><ctag>adj:sg:nom:m1:pos</ctag></lex>
<lex><base>leśny</base><ctag>adj:sg:nom:m2:pos</ctag></lex>
<lex disamb="1"><base>leśny</base><ctag>adj:sg:nom:m3:pos</ctag></lex>
</tok>
<ns/>
<tok>
<orth>.</orth>
<lex disamb="1"><base>.</base><ctag>interp</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