Błąd #1453
ann i annsub dodają nowy kanał o pustej nazwie
Status: | Zamknięty | Start date: | 26 Apr 2011 | |
---|---|---|---|---|
Priority: | Normalny | Due date: | ||
Assignee: | Tomasz Śniatowski | % Done: | 100% | |
Category: | - | |||
Target version: | - |
Description
wccl-match m1-cond.ccl in0.xml
<?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 id="ch1" type="p"> <sentence> <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>to</base><ctag>conj</ctag></lex> <lex><base>to</base><ctag>pred</ctag></lex> <lex><base>to</base><ctag>qub</ctag></lex> <lex><base>to</base><ctag>subst:sg:nom:n</ctag></lex> <lex><base>to</base><ctag>subst:sg:acc:n</ctag></lex> <lex><base>to</base><ctag>subst:sg:voc:n</ctag></lex> <ann chan="">0</ann> </tok> </sentence> </chunk> </chunkList> </cesAna>
cat m1-cond.ccl
apply( match( and( inter(class[0], {subst, ger, depr}), inter(cas[0], {nom}) ) ), cond( ann(:1, 'XN') ), actions( mark($m:_M, 'N') ) )
cat in0.xml
<?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>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>to</base><ctag>conj</ctag></lex> <lex><base>to</base><ctag>pred</ctag></lex> <lex><base>to</base><ctag>qub</ctag></lex> <lex><base>to</base><ctag>subst:sg:nom:n</ctag></lex> <lex><base>to</base><ctag>subst:sg:acc:n</ctag></lex> <lex><base>to</base><ctag>subst:sg:voc:n</ctag></lex> </tok> </chunk> </chunk> </chunkList> </cesAna>
History
#1 Updated by Tomasz Śniatowski over 12 years ago
- Status changed from Nowy to Zamknięty
- % Done changed from 0 to 100
Był błąd w gramatyce, naprawione w 5767ba52b727b...