From e71daf59ea7f4e9a503ba9268465e84f8cc04666 Mon Sep 17 00:00:00 2001 From: Adam Radziszewski <adam.radziszewski@pwr.wroc.pl> Date: Thu, 5 May 2011 15:31:53 +0200 Subject: [PATCH] test for unmark --- .../{cclmatch-exc.ccl => cclmatch2.ccl} | 1 - .../rules-data/match/unmark/cclmatch2.out.xml | 70 +++++++++++++++++++ 2 files changed, 70 insertions(+), 1 deletion(-) rename tests/rules-data/match/unmark/{cclmatch-exc.ccl => cclmatch2.ccl} (87%) create mode 100644 tests/rules-data/match/unmark/cclmatch2.out.xml diff --git a/tests/rules-data/match/unmark/cclmatch-exc.ccl b/tests/rules-data/match/unmark/cclmatch2.ccl similarity index 87% rename from tests/rules-data/match/unmark/cclmatch-exc.ccl rename to tests/rules-data/match/unmark/cclmatch2.ccl index c67e433..c81f1a1 100644 --- a/tests/rules-data/match/unmark/cclmatch-exc.ccl +++ b/tests/rules-data/match/unmark/cclmatch2.ccl @@ -3,7 +3,6 @@ apply( optional(equal(class[0], other)), repeat(inter(class[0], adj)) ), - cond(debug(M)), actions( unmark(M, "B") ) diff --git a/tests/rules-data/match/unmark/cclmatch2.out.xml b/tests/rules-data/match/unmark/cclmatch2.out.xml new file mode 100644 index 0000000..19cd867 --- /dev/null +++ b/tests/rules-data/match/unmark/cclmatch2.out.xml @@ -0,0 +1,70 @@ +<?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">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> + </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> + </tok> + <tok> + <orth>zapchlone</orth> + <lex><base>zapchlić</base><ctag>adj</ctag></lex> + <ann chan="A">1</ann> + <ann chan="B">2</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> + </tok> + <tok> + <orth>zjadły</orth> + <lex><base>zjeść</base><ctag>verb</ctag></lex> + <ann chan="A">0</ann> + <ann chan="B">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">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">0</ann> + </tok> + <tok> + <orth>soczystych</orth> + <lex><base>soczysty</base><ctag>adj</ctag></lex> + <ann chan="A">2</ann> + <ann chan="B">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> + </tok> + </sentence> + </chunk> +</chunkList> +</cesAna> -- GitLab