| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- L'objectif ici est de regrouper les fragments ("chunks") en des fragments plus grands. Celà facilite, par la suite, la détection de relations entre syntagmes plus éloignés, ce qui est notamment utile pour la génération des énonciatifs --> |
| 3 |
<interchunk> |
| 4 |
<section-def-cats> |
| 5 |
<def-cat n="SN-unk"> |
| 6 |
<cat-item tags="SN.*"/> |
| 7 |
<cat-item tags="unknown"/> |
| 8 |
</def-cat> |
| 9 |
|
| 10 |
<def-cat n="SN"> |
| 11 |
<cat-item tags="SN.*"/> |
| 12 |
</def-cat> |
| 13 |
|
| 14 |
<def-cat n="SNSA"> |
| 15 |
<cat-item tags="SN.*"/> |
| 16 |
<cat-item tags="SA.*"/> |
| 17 |
</def-cat> |
| 18 |
|
| 19 |
<def-cat n="num"> |
| 20 |
<cat-item tags="Num"/> |
| 21 |
<cat-item tags="Num.*"/> |
| 22 |
</def-cat> |
| 23 |
|
| 24 |
<def-cat n="DET"> |
| 25 |
<cat-item tags="Det.*"/> |
| 26 |
</def-cat> |
| 27 |
|
| 28 |
<def-cat n="SAdj"> |
| 29 |
<cat-item tags="SA.*"/> |
| 30 |
</def-cat> |
| 31 |
|
| 32 |
<def-cat n="SAnodet"> |
| 33 |
<cat-item lemma="adj" tags="SA.*"/> |
| 34 |
</def-cat> |
| 35 |
|
| 36 |
<def-cat n="PREP"> |
| 37 |
<cat-item tags="PREP"/> |
| 38 |
<cat-item tags="PREP.*"/> |
| 39 |
</def-cat> |
| 40 |
|
| 41 |
<def-cat n="de"> |
| 42 |
<cat-item lemma="de" tags="PREP"/> |
| 43 |
</def-cat> |
| 44 |
|
| 45 |
<def-cat n="SAdv"> |
| 46 |
<cat-item tags="SAdv"/> |
| 47 |
</def-cat> |
| 48 |
|
| 49 |
<def-cat n="adv_cnjadv"> |
| 50 |
<cat-item tags="SAdv"/> |
| 51 |
<cat-item tags="cnjadv"/> |
| 52 |
</def-cat> |
| 53 |
|
| 54 |
<def-cat n="SV"> |
| 55 |
<cat-item tags="SV.*"/> |
| 56 |
</def-cat> |
| 57 |
|
| 58 |
<def-cat n="and_or"> |
| 59 |
<cat-item lemma="e" tags="cnjcoo"/> |
| 60 |
<cat-item lemma="o" tags="cnjcoo"/> |
| 61 |
</def-cat> |
| 62 |
|
| 63 |
<def-cat n="CM"> |
| 64 |
<cat-item tags="CM"/> |
| 65 |
</def-cat> |
| 66 |
|
| 67 |
<def-cat n="lpar"> |
| 68 |
<cat-item tags="LPAR"/> |
| 69 |
</def-cat> |
| 70 |
|
| 71 |
<def-cat n="rpar"> |
| 72 |
<cat-item tags="RPAR"/> |
| 73 |
</def-cat> |
| 74 |
|
| 75 |
<def-cat n="unknown"> |
| 76 |
<cat-item lemma="unknown" tags="unknown"/> |
| 77 |
</def-cat> |
| 78 |
</section-def-cats> |
| 79 |
|
| 80 |
<section-def-attrs> |
| 81 |
<def-attr n="name"> |
| 82 |
<attr-item tags="SN"/> |
| 83 |
<attr-item tags="SA"/> |
| 84 |
<attr-item tags="SAdv"/> |
| 85 |
<attr-item tags="SV"/> |
| 86 |
</def-attr> |
| 87 |
|
| 88 |
<def-attr n="gen"> |
| 89 |
<attr-item tags="m"/> |
| 90 |
<attr-item tags="f"/> |
| 91 |
<attr-item tags="mf"/> |
| 92 |
<attr-item tags="ND"/> |
| 93 |
</def-attr> |
| 94 |
|
| 95 |
<def-attr n="nbr"> |
| 96 |
<attr-item tags="sg"/> |
| 97 |
<attr-item tags="pl"/> |
| 98 |
<attr-item tags="sp"/> |
| 99 |
<attr-item tags="ND"/> |
| 100 |
</def-attr> |
| 101 |
|
| 102 |
<def-attr n="tipus_prn"> |
| 103 |
<attr-item tags="subj"/> |
| 104 |
<attr-item tags="obj"/> |
| 105 |
<attr-item tags="dat"/> |
| 106 |
<attr-item tags="tn"/> |
| 107 |
<attr-item tags="itg"/> |
| 108 |
<attr-item tags="pos"/> |
| 109 |
<attr-item tags="ref"/> |
| 110 |
</def-attr> |
| 111 |
</section-def-attrs> |
| 112 |
|
| 113 |
<section-def-vars> |
| 114 |
<def-var n="nombre"/> |
| 115 |
<def-var n="genere"/> |
| 116 |
<def-var n="b1"/> |
| 117 |
<def-var n="b2"/> |
| 118 |
<def-var n="b3"/> |
| 119 |
<def-var n="b4"/> |
| 120 |
</section-def-vars> |
| 121 |
|
| 122 |
<section-def-macros> |
| 123 |
|
| 124 |
<def-macro n="coordinacion_nbr" npar="2"> |
| 125 |
<choose> |
| 126 |
<when> |
| 127 |
<test> |
| 128 |
<and> |
| 129 |
<or> |
| 130 |
<equal><clip pos="2" part="nbr"/><lit-tag v="sp"/></equal> |
| 131 |
<equal><clip pos="2" part="nbr"/><lit-tag v="ND"/></equal> |
| 132 |
</or> |
| 133 |
<or> |
| 134 |
<equal><clip pos="1" part="nbr"/><lit-tag v="sg"/></equal> |
| 135 |
<equal><clip pos="1" part="nbr"/><lit-tag v="pl"/></equal> |
| 136 |
</or> |
| 137 |
</and> |
| 138 |
</test> |
| 139 |
<let><clip pos="2" part="nbr"/><clip pos="1" part="nbr"/></let> |
| 140 |
</when> |
| 141 |
</choose> |
| 142 |
<choose> |
| 143 |
<when> |
| 144 |
<test> |
| 145 |
<and> |
| 146 |
<or> |
| 147 |
<equal><clip pos="1" part="nbr"/><lit-tag v="sp"/></equal> |
| 148 |
<equal><clip pos="1" part="nbr"/><lit-tag v="ND"/></equal> |
| 149 |
</or> |
| 150 |
<or> |
| 151 |
<equal><clip pos="2" part="nbr"/><lit-tag v="sg"/></equal> |
| 152 |
<equal><clip pos="2" part="nbr"/><lit-tag v="pl"/></equal> |
| 153 |
</or> |
| 154 |
</and> |
| 155 |
</test> |
| 156 |
<let><clip pos="1" part="nbr"/><clip pos="2" part="nbr"/></let> |
| 157 |
</when> |
| 158 |
</choose> |
| 159 |
</def-macro> |
| 160 |
|
| 161 |
<def-macro n="coordinacion_gen" npar="2"> |
| 162 |
<choose> |
| 163 |
<when> |
| 164 |
<test> |
| 165 |
<and> |
| 166 |
<or> |
| 167 |
<equal><clip pos="2" part="gen"/><lit-tag v="mf"/></equal> |
| 168 |
<equal><clip pos="2" part="gen"/><lit-tag v="ND"/></equal> |
| 169 |
</or> |
| 170 |
<or> |
| 171 |
<equal><clip pos="1" part="gen"/><lit-tag v="m"/></equal> |
| 172 |
<equal><clip pos="1" part="gen"/><lit-tag v="f"/></equal> |
| 173 |
</or> |
| 174 |
</and> |
| 175 |
</test> |
| 176 |
<let><clip pos="2" part="gen"/><clip pos="1" part="gen"/></let> |
| 177 |
</when> |
| 178 |
</choose> |
| 179 |
<choose> |
| 180 |
<when> |
| 181 |
<test> |
| 182 |
<and> |
| 183 |
<or> |
| 184 |
<equal><clip pos="1" part="gen"/><lit-tag v="mf"/></equal> |
| 185 |
<equal><clip pos="1" part="gen"/><lit-tag v="ND"/></equal> |
| 186 |
</or> |
| 187 |
<or> |
| 188 |
<equal><clip pos="2" part="gen"/><lit-tag v="m"/></equal> |
| 189 |
<equal><clip pos="2" part="gen"/><lit-tag v="f"/></equal> |
| 190 |
</or> |
| 191 |
</and> |
| 192 |
</test> |
| 193 |
<let><clip pos="1" part="gen"/><clip pos="2" part="gen"/></let> |
| 194 |
</when> |
| 195 |
</choose> |
| 196 |
</def-macro> |
| 197 |
|
| 198 |
<def-macro n="f_bcond" npar="2"><!--Per mirar si el blanc conté o no format. Cal posar aquesta funció en les regles en què desaparegui alguna paraula, per tal de decidir si el blanc de la paraula eliminada s'ha d'eliminar o conservar. Si conté format cal conservar-la, si no en conté cal eliminar-la perquè no apareguin dos espais seguits. --> |
| 199 |
<choose> |
| 200 |
<when> |
| 201 |
<test><not><equal><b pos="1"/><lit v=" "/></equal></not></test> |
| 202 |
<out> |
| 203 |
<b pos="1"/> |
| 204 |
</out> |
| 205 |
</when> |
| 206 |
</choose> |
| 207 |
</def-macro> |
| 208 |
|
| 209 |
</section-def-macros> |
| 210 |
|
| 211 |
<section-rules> |
| 212 |
|
| 213 |
<!-- Règlas de SAdj --> |
| 214 |
|
| 215 |
<!-- |
| 216 |
<rule comment="RÈGLA: DET SA - SA "> |
| 217 |
<pattern> |
| 218 |
<pattern-item n="DET"/> |
| 219 |
<pattern-item n="SAnodet"/> |
| 220 |
</pattern> |
| 221 |
<action> |
| 222 |
<call-macro n="coordinacion_nbr"> |
| 223 |
<with-param pos="1"/> |
| 224 |
<with-param pos="2"/> |
| 225 |
</call-macro> |
| 226 |
<choose> |
| 227 |
<when> |
| 228 |
<test> |
| 229 |
<equal caseless="yes"><clip pos="1" part="lem"/><lit v="un"/></equal> |
| 230 |
</test> |
| 231 |
<out> |
| 232 |
<chunk> |
| 233 |
<get-case-from pos="1"><lit v="det_adj1"/></get-case-from> |
| 234 |
<clip pos="2" part="tags"/> |
| 235 |
<lit v="{"/> |
| 236 |
<clip pos="2" part="content"/> |
| 237 |
<lit v="}"/> |
| 238 |
</chunk> |
| 239 |
</out> |
| 240 |
<call-macro n="f_bcond"><with-param pos="1"/><with-param pos="2"/></call-macro> |
| 241 |
</when> |
| 242 |
<otherwise> |
| 243 |
<out> |
| 244 |
<chunk> |
| 245 |
<get-case-from pos="1"><lit v="det_adj2"/></get-case-from> |
| 246 |
<clip pos="2" part="tags"/> |
| 247 |
<lit v="{"/> |
| 248 |
<clip pos="1" part="content"/> |
| 249 |
<b pos="1"/> |
| 250 |
<clip pos="2" part="content"/> |
| 251 |
<lit v="}"/> |
| 252 |
</chunk> |
| 253 |
</out> |
| 254 |
</otherwise> |
| 255 |
</choose> |
| 256 |
</action> |
| 257 |
</rule> |
| 258 |
|
| 259 |
|
| 260 |
<rule comment="RÈGLA: ADV SAdj - SAdj "> |
| 261 |
<pattern> |
| 262 |
<pattern-item n="SAdv"/> |
| 263 |
<pattern-item n="SAdj"/> |
| 264 |
</pattern> |
| 265 |
<action> |
| 266 |
<out> |
| 267 |
<chunk> |
| 268 |
<get-case-from pos="1"><clip pos="2" part="lem"/></get-case-from> |
| 269 |
<clip pos="2" part="tags"/> |
| 270 |
<lit v="{"/> |
| 271 |
<clip pos="1" part="content"/> |
| 272 |
<b pos="1"/> |
| 273 |
<clip pos="2" part="content"/> |
| 274 |
<lit v="}"/> |
| 275 |
</chunk> |
| 276 |
</out> |
| 277 |
</action> |
| 278 |
</rule> |
| 279 |
|
| 280 |
|
| 281 |
<rule comment="RÈGLA: ADV ADV SAdj - SAdj "> |
| 282 |
<pattern> |
| 283 |
<pattern-item n="SAdv"/> |
| 284 |
<pattern-item n="SAdv"/> |
| 285 |
<pattern-item n="SAdj"/> |
| 286 |
</pattern> |
| 287 |
<action> |
| 288 |
<out> |
| 289 |
<chunk> |
| 290 |
<get-case-from pos="1"><clip pos="3" part="lem"/></get-case-from> |
| 291 |
<clip pos="3" part="tags"/> |
| 292 |
<lit v="{"/> |
| 293 |
<clip pos="1" part="content"/> |
| 294 |
<b pos="1"/> |
| 295 |
<clip pos="2" part="content"/> |
| 296 |
<b pos="2"/> |
| 297 |
<clip pos="3" part="content"/> |
| 298 |
<lit v="}"/> |
| 299 |
</chunk> |
| 300 |
</out> |
| 301 |
</action> |
| 302 |
</rule> |
| 303 |
|
| 304 |
|
| 305 |
<rule comment="RÈGLA: SAdj and/or SAdj - SAdj "> |
| 306 |
<pattern> |
| 307 |
<pattern-item n="SAdj"/> |
| 308 |
<pattern-item n="and_or"/> |
| 309 |
<pattern-item n="SAdj"/> |
| 310 |
</pattern> |
| 311 |
<action> |
| 312 |
<call-macro n="coordinacion_nbr"> |
| 313 |
<with-param pos="1"/> |
| 314 |
<with-param pos="3"/> |
| 315 |
</call-macro> |
| 316 |
<out> |
| 317 |
<chunk> |
| 318 |
<clip pos="1" part="lem"/> |
| 319 |
<clip pos="1" part="tags"/> |
| 320 |
<lit v="{"/> |
| 321 |
<clip pos="1" part="content"/> |
| 322 |
<b pos="1"/> |
| 323 |
<clip pos="2" part="content"/> |
| 324 |
<b pos="2"/> |
| 325 |
<clip pos="3" part="content"/> |
| 326 |
<lit v="}"/> |
| 327 |
</chunk> |
| 328 |
</out> |
| 329 |
</action> |
| 330 |
</rule> |
| 331 |
|
| 332 |
|
| 333 |
<rule comment="RÈGLA: ADV SAdj and/or SAdj - SAdj "> |
| 334 |
<pattern> |
| 335 |
<pattern-item n="SAdv"/> |
| 336 |
<pattern-item n="SAdj"/> |
| 337 |
<pattern-item n="and_or"/> |
| 338 |
<pattern-item n="SAdj"/> |
| 339 |
</pattern> |
| 340 |
<action> |
| 341 |
<call-macro n="coordinacion_nbr"> |
| 342 |
<with-param pos="2"/> |
| 343 |
<with-param pos="4"/> |
| 344 |
</call-macro> |
| 345 |
<out> |
| 346 |
<chunk> |
| 347 |
<clip pos="2" part="lem"/> |
| 348 |
<clip pos="2" part="tags"/> |
| 349 |
<lit v="{"/> |
| 350 |
<clip pos="1" part="content"/> |
| 351 |
<b pos="1"/> |
| 352 |
<clip pos="2" part="content"/> |
| 353 |
<b pos="2"/> |
| 354 |
<clip pos="3" part="content"/> |
| 355 |
<b pos="3"/> |
| 356 |
<clip pos="4" part="content"/> |
| 357 |
<lit v="}"/> |
| 358 |
</chunk> |
| 359 |
</out> |
| 360 |
</action> |
| 361 |
</rule> |
| 362 |
|
| 363 |
|
| 364 |
<rule comment="RÈGLA: ADV SAdj and/or ADV SAdj - SAdj "> |
| 365 |
<pattern> |
| 366 |
<pattern-item n="SAdv"/> |
| 367 |
<pattern-item n="SAdj"/> |
| 368 |
<pattern-item n="and_or"/> |
| 369 |
<pattern-item n="SAdv"/> |
| 370 |
<pattern-item n="SAdj"/> |
| 371 |
</pattern> |
| 372 |
<action> |
| 373 |
<call-macro n="coordinacion_nbr"> |
| 374 |
<with-param pos="2"/> |
| 375 |
<with-param pos="5"/> |
| 376 |
</call-macro> |
| 377 |
<out> |
| 378 |
<chunk> |
| 379 |
<clip pos="2" part="lem"/> |
| 380 |
<clip pos="2" part="tags"/> |
| 381 |
<lit v="{"/> |
| 382 |
<clip pos="1" part="content"/> |
| 383 |
<b pos="1"/> |
| 384 |
<clip pos="2" part="content"/> |
| 385 |
<b pos="2"/> |
| 386 |
<clip pos="3" part="content"/> |
| 387 |
<b pos="3"/> |
| 388 |
<clip pos="4" part="content"/> |
| 389 |
<b pos="4"/> |
| 390 |
<clip pos="5" part="content"/> |
| 391 |
<lit v="}"/> |
| 392 |
</chunk> |
| 393 |
</out> |
| 394 |
</action> |
| 395 |
</rule> |
| 396 |
|
| 397 |
|
| 398 |
<rule comment="RÈGLA: SAdj, SAdj and/or SAdj - SAdj "> |
| 399 |
<pattern> |
| 400 |
<pattern-item n="SAdj"/> |
| 401 |
<pattern-item n="CM"/> |
| 402 |
<pattern-item n="SAdj"/> |
| 403 |
<pattern-item n="and_or"/> |
| 404 |
<pattern-item n="SAdj"/> |
| 405 |
</pattern> |
| 406 |
<action> |
| 407 |
<call-macro n="coordinacion_nbr"> |
| 408 |
<with-param pos="1"/> |
| 409 |
<with-param pos="3"/> |
| 410 |
</call-macro> |
| 411 |
<call-macro n="coordinacion_nbr"> |
| 412 |
<with-param pos="1"/> |
| 413 |
<with-param pos="5"/> |
| 414 |
</call-macro> |
| 415 |
<out> |
| 416 |
<chunk> |
| 417 |
<clip pos="1" part="lem"/> |
| 418 |
<clip pos="1" part="tags"/> |
| 419 |
<lit v="{"/> |
| 420 |
<clip pos="1" part="content"/> |
| 421 |
<b pos="1"/> |
| 422 |
<clip pos="2" part="content"/> |
| 423 |
<b pos="2"/> |
| 424 |
<clip pos="3" part="content"/> |
| 425 |
<b pos="3"/> |
| 426 |
<clip pos="4" part="content"/> |
| 427 |
<b pos="4"/> |
| 428 |
<clip pos="5" part="content"/> |
| 429 |
<lit v="}"/> |
| 430 |
</chunk> |
| 431 |
</out> |
| 432 |
</action> |
| 433 |
</rule> |
| 434 |
|
| 435 |
|
| 436 |
<rule comment="RÈGLA: ADV SAdj, SAdj and/or SAdj - SAdj "> |
| 437 |
<pattern> |
| 438 |
<pattern-item n="SAdv"/> |
| 439 |
<pattern-item n="SAdj"/> |
| 440 |
<pattern-item n="CM"/> |
| 441 |
<pattern-item n="SAdj"/> |
| 442 |
<pattern-item n="and_or"/> |
| 443 |
<pattern-item n="SAdj"/> |
| 444 |
</pattern> |
| 445 |
<action> |
| 446 |
<call-macro n="coordinacion_nbr"> |
| 447 |
<with-param pos="2"/> |
| 448 |
<with-param pos="4"/> |
| 449 |
</call-macro> |
| 450 |
<call-macro n="coordinacion_nbr"> |
| 451 |
<with-param pos="2"/> |
| 452 |
<with-param pos="6"/> |
| 453 |
</call-macro> |
| 454 |
<out> |
| 455 |
<chunk> |
| 456 |
<clip pos="2" part="lem"/> |
| 457 |
<clip pos="2" part="tags"/> |
| 458 |
<lit v="{"/> |
| 459 |
<clip pos="1" part="content"/> |
| 460 |
<b pos="1"/> |
| 461 |
<clip pos="2" part="content"/> |
| 462 |
<b pos="2"/> |
| 463 |
<clip pos="3" part="content"/> |
| 464 |
<b pos="3"/> |
| 465 |
<clip pos="4" part="content"/> |
| 466 |
<b pos="4"/> |
| 467 |
<clip pos="5" part="content"/> |
| 468 |
<b pos="5"/> |
| 469 |
<clip pos="6" part="content"/> |
| 470 |
<lit v="}"/> |
| 471 |
</chunk> |
| 472 |
</out> |
| 473 |
</action> |
| 474 |
</rule> |
| 475 |
|
| 476 |
|
| 477 |
<rule comment="RÈGLA: SAdj, SAdj, SAdj and/or SAdj - SAdj "> |
| 478 |
<pattern> |
| 479 |
<pattern-item n="SAdj"/> |
| 480 |
<pattern-item n="CM"/> |
| 481 |
<pattern-item n="SAdj"/> |
| 482 |
<pattern-item n="CM"/> |
| 483 |
<pattern-item n="SAdj"/> |
| 484 |
<pattern-item n="and_or"/> |
| 485 |
<pattern-item n="SAdj"/> |
| 486 |
</pattern> |
| 487 |
<action> |
| 488 |
<call-macro n="coordinacion_nbr"> |
| 489 |
<with-param pos="1"/> |
| 490 |
<with-param pos="3"/> |
| 491 |
</call-macro> |
| 492 |
<call-macro n="coordinacion_nbr"> |
| 493 |
<with-param pos="1"/> |
| 494 |
<with-param pos="5"/> |
| 495 |
</call-macro> |
| 496 |
<call-macro n="coordinacion_nbr"> |
| 497 |
<with-param pos="1"/> |
| 498 |
<with-param pos="7"/> |
| 499 |
</call-macro> |
| 500 |
<out> |
| 501 |
<chunk> |
| 502 |
<clip pos="1" part="lem"/> |
| 503 |
<clip pos="1" part="tags"/> |
| 504 |
<lit v="{"/> |
| 505 |
<clip pos="1" part="content"/> |
| 506 |
<b pos="1"/> |
| 507 |
<clip pos="2" part="content"/> |
| 508 |
<b pos="2"/> |
| 509 |
<clip pos="3" part="content"/> |
| 510 |
<b pos="3"/> |
| 511 |
<clip pos="4" part="content"/> |
| 512 |
<b pos="4"/> |
| 513 |
<clip pos="5" part="content"/> |
| 514 |
<b pos="5"/> |
| 515 |
<clip pos="6" part="content"/> |
| 516 |
<b pos="6"/> |
| 517 |
<clip pos="7" part="content"/> |
| 518 |
<lit v="}"/> |
| 519 |
</chunk> |
| 520 |
</out> |
| 521 |
</action> |
| 522 |
</rule> |
| 523 |
|
| 524 |
|
| 525 |
<rule comment="RÈGLA: ADV SAdj, SAdj and/or SAdj - SAdj "> |
| 526 |
<pattern> |
| 527 |
<pattern-item n="SAdv"/> |
| 528 |
<pattern-item n="SAdj"/> |
| 529 |
<pattern-item n="CM"/> |
| 530 |
<pattern-item n="SAdj"/> |
| 531 |
<pattern-item n="CM"/> |
| 532 |
<pattern-item n="SAdj"/> |
| 533 |
<pattern-item n="and_or"/> |
| 534 |
<pattern-item n="SAdj"/> |
| 535 |
</pattern> |
| 536 |
<action> |
| 537 |
<call-macro n="coordinacion_nbr"> |
| 538 |
<with-param pos="2"/> |
| 539 |
<with-param pos="4"/> |
| 540 |
</call-macro> |
| 541 |
<call-macro n="coordinacion_nbr"> |
| 542 |
<with-param pos="2"/> |
| 543 |
<with-param pos="6"/> |
| 544 |
</call-macro> |
| 545 |
<call-macro n="coordinacion_nbr"> |
| 546 |
<with-param pos="2"/> |
| 547 |
<with-param pos="8"/> |
| 548 |
</call-macro> |
| 549 |
<out> |
| 550 |
<chunk> |
| 551 |
<clip pos="2" part="lem"/> |
| 552 |
<clip pos="2" part="tags"/> |
| 553 |
<lit v="{"/> |
| 554 |
<clip pos="1" part="content"/> |
| 555 |
<b pos="1"/> |
| 556 |
<clip pos="2" part="content"/> |
| 557 |
<b pos="2"/> |
| 558 |
<clip pos="3" part="content"/> |
| 559 |
<b pos="3"/> |
| 560 |
<clip pos="4" part="content"/> |
| 561 |
<b pos="4"/> |
| 562 |
<clip pos="5" part="content"/> |
| 563 |
<b pos="5"/> |
| 564 |
<clip pos="6" part="content"/> |
| 565 |
<b pos="6"/> |
| 566 |
<clip pos="7" part="content"/> |
| 567 |
<b pos="7"/> |
| 568 |
<clip pos="8" part="content"/> |
| 569 |
<lit v="}"/> |
| 570 |
</chunk> |
| 571 |
</out> |
| 572 |
</action> |
| 573 |
</rule> |
| 574 |
|
| 575 |
|
| 576 |
<rule comment="RÈGLA: SAdj, SAdj, SAdj, SAdj and/or SAdj - SAdj "> |
| 577 |
<pattern> |
| 578 |
<pattern-item n="SAdj"/> |
| 579 |
<pattern-item n="CM"/> |
| 580 |
<pattern-item n="SAdj"/> |
| 581 |
<pattern-item n="CM"/> |
| 582 |
<pattern-item n="SAdj"/> |
| 583 |
<pattern-item n="CM"/> |
| 584 |
<pattern-item n="SAdj"/> |
| 585 |
<pattern-item n="and_or"/> |
| 586 |
<pattern-item n="SAdj"/> |
| 587 |
</pattern> |
| 588 |
<action> |
| 589 |
<call-macro n="coordinacion_nbr"> |
| 590 |
<with-param pos="1"/> |
| 591 |
<with-param pos="3"/> |
| 592 |
</call-macro> |
| 593 |
<call-macro n="coordinacion_nbr"> |
| 594 |
<with-param pos="1"/> |
| 595 |
<with-param pos="5"/> |
| 596 |
</call-macro> |
| 597 |
<call-macro n="coordinacion_nbr"> |
| 598 |
<with-param pos="1"/> |
| 599 |
<with-param pos="7"/> |
| 600 |
</call-macro> |
| 601 |
<call-macro n="coordinacion_nbr"> |
| 602 |
<with-param pos="1"/> |
| 603 |
<with-param pos="9"/> |
| 604 |
</call-macro> |
| 605 |
<out> |
| 606 |
<chunk> |
| 607 |
<clip pos="1" part="lem"/> |
| 608 |
<clip pos="1" part="tags"/> |
| 609 |
<lit v="{"/> |
| 610 |
<clip pos="1" part="content"/> |
| 611 |
<b pos="1"/> |
| 612 |
<clip pos="2" part="content"/> |
| 613 |
<b pos="2"/> |
| 614 |
<clip pos="3" part="content"/> |
| 615 |
<b pos="3"/> |
| 616 |
<clip pos="4" part="content"/> |
| 617 |
<b pos="4"/> |
| 618 |
<clip pos="5" part="content"/> |
| 619 |
<b pos="5"/> |
| 620 |
<clip pos="6" part="content"/> |
| 621 |
<b pos="6"/> |
| 622 |
<clip pos="7" part="content"/> |
| 623 |
<b pos="7"/> |
| 624 |
<clip pos="8" part="content"/> |
| 625 |
<b pos="6"/> |
| 626 |
<clip pos="9" part="content"/> |
| 627 |
<lit v="}"/> |
| 628 |
</chunk> |
| 629 |
</out> |
| 630 |
</action> |
| 631 |
</rule> |
| 632 |
|
| 633 |
|
| 634 |
<rule comment="RÈGLA: ADV SAdj, SAdj, SAdj and/or SAdj - SAdj "> |
| 635 |
<pattern> |
| 636 |
<pattern-item n="SAdv"/> |
| 637 |
<pattern-item n="SAdj"/> |
| 638 |
<pattern-item n="CM"/> |
| 639 |
<pattern-item n="SAdj"/> |
| 640 |
<pattern-item n="CM"/> |
| 641 |
<pattern-item n="SAdj"/> |
| 642 |
<pattern-item n="CM"/> |
| 643 |
<pattern-item n="SAdj"/> |
| 644 |
<pattern-item n="and_or"/> |
| 645 |
<pattern-item n="SAdj"/> |
| 646 |
</pattern> |
| 647 |
<action> |
| 648 |
<call-macro n="coordinacion_nbr"> |
| 649 |
<with-param pos="2"/> |
| 650 |
<with-param pos="4"/> |
| 651 |
</call-macro> |
| 652 |
<call-macro n="coordinacion_nbr"> |
| 653 |
<with-param pos="2"/> |
| 654 |
<with-param pos="6"/> |
| 655 |
</call-macro> |
| 656 |
<call-macro n="coordinacion_nbr"> |
| 657 |
<with-param pos="2"/> |
| 658 |
<with-param pos="8"/> |
| 659 |
</call-macro> |
| 660 |
<call-macro n="coordinacion_nbr"> |
| 661 |
<with-param pos="2"/> |
| 662 |
<with-param pos="10"/> |
| 663 |
</call-macro> |
| 664 |
<out> |
| 665 |
<chunk> |
| 666 |
<clip pos="2" part="lem"/> |
| 667 |
<clip pos="2" part="tags"/> |
| 668 |
<lit v="{"/> |
| 669 |
<clip pos="1" part="content"/> |
| 670 |
<b pos="1"/> |
| 671 |
<clip pos="2" part="content"/> |
| 672 |
<b pos="2"/> |
| 673 |
<clip pos="3" part="content"/> |
| 674 |
<b pos="3"/> |
| 675 |
<clip pos="4" part="content"/> |
| 676 |
<b pos="4"/> |
| 677 |
<clip pos="5" part="content"/> |
| 678 |
<b pos="5"/> |
| 679 |
<clip pos="6" part="content"/> |
| 680 |
<b pos="6"/> |
| 681 |
<clip pos="7" part="content"/> |
| 682 |
<b pos="7"/> |
| 683 |
<clip pos="8" part="content"/> |
| 684 |
<b pos="8"/> |
| 685 |
<clip pos="9" part="content"/> |
| 686 |
<b pos="9"/> |
| 687 |
<clip pos="10" part="content"/> |
| 688 |
<lit v="}"/> |
| 689 |
</chunk> |
| 690 |
</out> |
| 691 |
</action> |
| 692 |
</rule> |
| 693 |
|
| 694 |
|
| 695 |
<rule comment="RÈGLA: DET ADV SAdj - SAdj "> |
| 696 |
<pattern> |
| 697 |
<pattern-item n="DET"/> |
| 698 |
<pattern-item n="SAdv"/> |
| 699 |
<pattern-item n="SAdj"/> |
| 700 |
</pattern> |
| 701 |
<action> |
| 702 |
<call-macro n="coordinacion_nbr"> |
| 703 |
<with-param pos="1"/> |
| 704 |
<with-param pos="3"/> |
| 705 |
</call-macro> |
| 706 |
<out> |
| 707 |
<chunk> |
| 708 |
<get-case-from pos="1"><clip pos="3" part="lem"/></get-case-from> |
| 709 |
<clip pos="3" part="tags"/> |
| 710 |
<lit v="{"/> |
| 711 |
<clip pos="1" part="content"/> |
| 712 |
<b pos="1"/> |
| 713 |
<clip pos="2" part="content"/> |
| 714 |
<b pos="2"/> |
| 715 |
<clip pos="3" part="content"/> |
| 716 |
<lit v="}"/> |
| 717 |
</chunk> |
| 718 |
</out> |
| 719 |
</action> |
| 720 |
</rule> |
| 721 |
--> |
| 722 |
|
| 723 |
|
| 724 |
<!-- Règlas de SN --> |
| 725 |
|
| 726 |
<rule comment="RÈGLA: DET SN - SN "> |
| 727 |
<pattern> |
| 728 |
<pattern-item n="DET"/> |
| 729 |
<pattern-item n="SN"/> |
| 730 |
</pattern> |
| 731 |
<action> |
| 732 |
<call-macro n="coordinacion_nbr"> |
| 733 |
<with-param pos="1"/> |
| 734 |
<with-param pos="2"/> |
| 735 |
</call-macro> |
| 736 |
<call-macro n="coordinacion_gen"> |
| 737 |
<with-param pos="1"/> |
| 738 |
<with-param pos="2"/> |
| 739 |
</call-macro> |
| 740 |
<out> |
| 741 |
<chunk> |
| 742 |
<get-case-from pos="1"><lit v="det_nom2"/></get-case-from> |
| 743 |
<clip pos="2" part="tags"/> |
| 744 |
<lit v="{"/> |
| 745 |
<clip pos="1" part="content"/> |
| 746 |
<b pos="1"/> |
| 747 |
<clip pos="2" part="content"/> |
| 748 |
<lit v="}"/> |
| 749 |
</chunk> |
| 750 |
</out> |
| 751 |
</action> |
| 752 |
</rule> |
| 753 |
|
| 754 |
|
| 755 |
<!-- coordinacion --> |
| 756 |
|
| 757 |
<rule comment="RÈGLA: SN1 and/or SN2 - SN "> |
| 758 |
<pattern> |
| 759 |
<pattern-item n="SN"/> |
| 760 |
<pattern-item n="and_or"/> |
| 761 |
<pattern-item n="SN-unk"/> |
| 762 |
</pattern> |
| 763 |
<action> |
| 764 |
<choose> |
| 765 |
<when> |
| 766 |
<test> |
| 767 |
<and> |
| 768 |
<equal><clip pos="1" part="nbr"/><clip pos="3" part="nbr"/></equal> |
| 769 |
<equal><clip pos="1" part="gen"/><clip pos="3" part="gen"/></equal> |
| 770 |
</and> |
| 771 |
</test> |
| 772 |
<out> |
| 773 |
<chunk> |
| 774 |
<get-case-from pos="1"><lit v="nom_conj_nom"/></get-case-from> |
| 775 |
<clip pos="1" part="tags"/> |
| 776 |
<lit v="{"/> |
| 777 |
<clip pos="1" part="content"/> |
| 778 |
<b pos="1"/> |
| 779 |
<clip pos="2" part="content"/> |
| 780 |
<b pos="2"/> |
| 781 |
<clip pos="3" part="content"/> |
| 782 |
<lit v="}"/> |
| 783 |
</chunk> |
| 784 |
</out> |
| 785 |
</when> |
| 786 |
<otherwise> |
| 787 |
<out> |
| 788 |
<chunk> |
| 789 |
<clip pos="1" part="whole"/> |
| 790 |
</chunk> |
| 791 |
<b pos="1"/> |
| 792 |
<chunk> |
| 793 |
<clip pos="2" part="whole"/> |
| 794 |
</chunk> |
| 795 |
<b pos="2"/> |
| 796 |
<chunk> |
| 797 |
<clip pos="3" part="whole"/> |
| 798 |
</chunk> |
| 799 |
</out> |
| 800 |
</otherwise> |
| 801 |
</choose> |
| 802 |
</action> |
| 803 |
</rule> |
| 804 |
|
| 805 |
<rule comment="RÈGLA: SN0, SN1 and/or SN2 - SN "> |
| 806 |
<pattern> |
| 807 |
<pattern-item n="SN"/> |
| 808 |
<pattern-item n="CM"/> |
| 809 |
<pattern-item n="SN-unk"/> |
| 810 |
<pattern-item n="and_or"/> |
| 811 |
<pattern-item n="SN-unk"/> |
| 812 |
</pattern> |
| 813 |
<action> |
| 814 |
<choose> |
| 815 |
<when> |
| 816 |
<test> |
| 817 |
<and> |
| 818 |
<equal><clip pos="1" part="nbr"/><clip pos="3" part="nbr"/></equal> |
| 819 |
<equal><clip pos="1" part="nbr"/><clip pos="5" part="nbr"/></equal> |
| 820 |
<equal><clip pos="1" part="nbr"/><clip pos="3" part="gen"/></equal> |
| 821 |
<equal><clip pos="1" part="nbr"/><clip pos="5" part="gen"/></equal> |
| 822 |
</and> |
| 823 |
</test> |
| 824 |
<out> |
| 825 |
<chunk> |
| 826 |
<get-case-from pos="1"><lit v="nom_conj_nom"/></get-case-from> |
| 827 |
<clip pos="1" part="tags"/> |
| 828 |
<lit v="{"/> |
| 829 |
<clip pos="1" part="content"/> |
| 830 |
<b pos="1"/> |
| 831 |
<clip pos="2" part="content"/> |
| 832 |
<b pos="2"/> |
| 833 |
<clip pos="3" part="content"/> |
| 834 |
<b pos="3"/> |
| 835 |
<clip pos="4" part="content"/> |
| 836 |
<b pos="4"/> |
| 837 |
<clip pos="5" part="content"/> |
| 838 |
<lit v="}"/> |
| 839 |
</chunk> |
| 840 |
</out> |
| 841 |
</when> |
| 842 |
<otherwise> |
| 843 |
<out> |
| 844 |
<chunk> |
| 845 |
<clip pos="1" part="whole"/> |
| 846 |
</chunk> |
| 847 |
<b pos="1"/> |
| 848 |
<chunk> |
| 849 |
<clip pos="2" part="whole"/> |
| 850 |
</chunk> |
| 851 |
<b pos="2"/> |
| 852 |
<chunk> |
| 853 |
<clip pos="3" part="whole"/> |
| 854 |
</chunk> |
| 855 |
<b pos="3"/> |
| 856 |
<chunk> |
| 857 |
<clip pos="4" part="whole"/> |
| 858 |
</chunk> |
| 859 |
<b pos="4"/> |
| 860 |
<chunk> |
| 861 |
<clip pos="5" part="whole"/> |
| 862 |
</chunk> |
| 863 |
</out> |
| 864 |
</otherwise> |
| 865 |
</choose> |
| 866 |
</action> |
| 867 |
</rule> |
| 868 |
|
| 869 |
<rule comment="RÈGLA: SN0, SN1, and/or SN2 - SN "> |
| 870 |
<pattern> |
| 871 |
<pattern-item n="SN"/> |
| 872 |
<pattern-item n="CM"/> |
| 873 |
<pattern-item n="SN-unk"/> |
| 874 |
<pattern-item n="CM"/> |
| 875 |
<pattern-item n="and_or"/> |
| 876 |
<pattern-item n="SN-unk"/> |
| 877 |
</pattern> |
| 878 |
<action> |
| 879 |
<choose> |
| 880 |
<when> |
| 881 |
<test> |
| 882 |
<and> |
| 883 |
<equal><clip pos="1" part="nbr"/><clip pos="3" part="nbr"/></equal> |
| 884 |
<equal><clip pos="1" part="nbr"/><clip pos="6" part="nbr"/></equal> |
| 885 |
<equal><clip pos="1" part="nbr"/><clip pos="3" part="gen"/></equal> |
| 886 |
<equal><clip pos="1" part="nbr"/><clip pos="6" part="gen"/></equal> |
| 887 |
</and> |
| 888 |
</test> |
| 889 |
<out> |
| 890 |
<chunk> |
| 891 |
<get-case-from pos="1"><lit v="nom_conj_nom"/></get-case-from> |
| 892 |
<clip pos="1" part="tags"/> |
| 893 |
<lit v="{"/> |
| 894 |
<clip pos="1" part="content"/> |
| 895 |
<b pos="1"/> |
| 896 |
<clip pos="2" part="content"/> |
| 897 |
<b pos="2"/> |
| 898 |
<clip pos="3" part="content"/> |
| 899 |
<b pos="3"/> |
| 900 |
<clip pos="4" part="content"/> |
| 901 |
<b pos="4"/> |
| 902 |
<clip pos="5" part="content"/> |
| 903 |
<b pos="5"/> |
| 904 |
<clip pos="6" part="content"/> |
| 905 |
<lit v="}"/> |
| 906 |
</chunk> |
| 907 |
</out> |
| 908 |
</when> |
| 909 |
<otherwise> |
| 910 |
<out> |
| 911 |
<chunk> |
| 912 |
<clip pos="1" part="whole"/> |
| 913 |
</chunk> |
| 914 |
<b pos="1"/> |
| 915 |
<chunk> |
| 916 |
<clip pos="2" part="whole"/> |
| 917 |
</chunk> |
| 918 |
<b pos="2"/> |
| 919 |
<chunk> |
| 920 |
<clip pos="3" part="whole"/> |
| 921 |
</chunk> |
| 922 |
<b pos="3"/> |
| 923 |
<chunk> |
| 924 |
<clip pos="4" part="whole"/> |
| 925 |
</chunk> |
| 926 |
<b pos="4"/> |
| 927 |
<chunk> |
| 928 |
<clip pos="5" part="whole"/> |
| 929 |
</chunk> |
| 930 |
<b pos="5"/> |
| 931 |
<chunk> |
| 932 |
<clip pos="6" part="whole"/> |
| 933 |
</chunk> |
| 934 |
</out> |
| 935 |
</otherwise> |
| 936 |
</choose> |
| 937 |
</action> |
| 938 |
</rule> |
| 939 |
|
| 940 |
|
| 941 |
<!-- Règlas de SPrep --> |
| 942 |
|
| 943 |
<rule comment="RÈGLA: PREP SN - SPrep "> |
| 944 |
<pattern> |
| 945 |
<pattern-item n="PREP"/> |
| 946 |
<pattern-item n="SN-unk"/> |
| 947 |
</pattern> |
| 948 |
<action> |
| 949 |
<let><clip pos="2" part="name"/><lit-tag v="SPrep"/></let> |
| 950 |
<out> |
| 951 |
<chunk> |
| 952 |
<lit v="pr-n"/> |
| 953 |
<clip pos="2" part="tags"/> |
| 954 |
<lit v="{"/> |
| 955 |
<clip pos="1" part="content"/> |
| 956 |
<b pos="1"/> |
| 957 |
<clip pos="2" part="content"/> |
| 958 |
<lit v="}"/> |
| 959 |
</chunk> |
| 960 |
</out> |
| 961 |
</action> |
| 962 |
</rule> |
| 963 |
|
| 964 |
<rule comment="RÈGLA: PREP DET SN - SPrep "> |
| 965 |
<pattern> |
| 966 |
<pattern-item n="PREP"/> |
| 967 |
<pattern-item n="DET"/> |
| 968 |
<pattern-item n="SN-unk"/> |
| 969 |
</pattern> |
| 970 |
<action> |
| 971 |
<call-macro n="coordinacion_nbr"> |
| 972 |
<with-param pos="2"/> |
| 973 |
<with-param pos="3"/> |
| 974 |
</call-macro> |
| 975 |
<call-macro n="coordinacion_gen"> |
| 976 |
<with-param pos="2"/> |
| 977 |
<with-param pos="3"/> |
| 978 |
</call-macro> |
| 979 |
<let><clip pos="3" part="name"/><lit-tag v="SPrep"/></let> |
| 980 |
<out> |
| 981 |
<chunk> |
| 982 |
<lit v="pr-det-n"/> |
| 983 |
<clip pos="3" part="tags"/> |
| 984 |
<lit v="{"/> |
| 985 |
<clip pos="1" part="content"/> |
| 986 |
<b pos="1"/> |
| 987 |
<clip pos="2" part="content"/> |
| 988 |
<b pos="2"/> |
| 989 |
<clip pos="3" part="content"/> |
| 990 |
<lit v="}"/> |
| 991 |
</chunk> |
| 992 |
</out> |
| 993 |
</action> |
| 994 |
</rule> |
| 995 |
|
| 996 |
|
| 997 |
<!-- Règlas de SV --> |
| 998 |
|
| 999 |
<rule comment="RÈGLA: SV, ADVCNJ, - SV "> |
| 1000 |
<pattern> |
| 1001 |
<pattern-item n="SV"/> |
| 1002 |
<pattern-item n="CM"/> |
| 1003 |
<pattern-item n="adv_cnjadv"/> |
| 1004 |
<pattern-item n="CM"/> |
| 1005 |
</pattern> |
| 1006 |
<action> |
| 1007 |
<out> |
| 1008 |
<chunk> |
| 1009 |
<get-case-from pos="1"><clip pos="1" part="lem"/></get-case-from> |
| 1010 |
<clip pos="1" part="tags"/> |
| 1011 |
<lit v="{"/> |
| 1012 |
<clip pos="1" part="content"/> |
| 1013 |
<b pos="1"/> |
| 1014 |
<clip pos="2" part="content"/> |
| 1015 |
<b pos="2"/> |
| 1016 |
<clip pos="3" part="content"/> |
| 1017 |
<b pos="3"/> |
| 1018 |
<clip pos="4" part="content"/> |
| 1019 |
<lit v="}"/> |
| 1020 |
</chunk> |
| 1021 |
</out> |
| 1022 |
</action> |
| 1023 |
</rule> |
| 1024 |
|
| 1025 |
|
| 1026 |
<!-- |
| 1027 |
<rule comment="RÈGLA: SV ADV - SV "> |
| 1028 |
<pattern> |
| 1029 |
<pattern-item n="SV"/> |
| 1030 |
<pattern-item n="SAdv"/> |
| 1031 |
</pattern> |
| 1032 |
<action> |
| 1033 |
<out> |
| 1034 |
<chunk> |
| 1035 |
<get-case-from pos="1"><clip pos="1" part="lem"/></get-case-from> |
| 1036 |
<clip pos="1" part="tags"/> |
| 1037 |
<lit v="{"/> |
| 1038 |
<clip pos="1" part="content"/> |
| 1039 |
<b pos="1"/> |
| 1040 |
<clip pos="2" part="content"/> |
| 1041 |
<lit v="}"/> |
| 1042 |
</chunk> |
| 1043 |
</out> |
| 1044 |
</action> |
| 1045 |
</rule> |
| 1046 |
|
| 1047 |
|
| 1048 |
<rule comment="RÈGLA: SV ADV and/or ADV - SV "> |
| 1049 |
<pattern> |
| 1050 |
<pattern-item n="SV"/> |
| 1051 |
<pattern-item n="SAdv"/> |
| 1052 |
<pattern-item n="and_or"/> |
| 1053 |
<pattern-item n="SAdv"/> |
| 1054 |
</pattern> |
| 1055 |
<action> |
| 1056 |
<out> |
| 1057 |
<chunk> |
| 1058 |
<get-case-from pos="1"><clip pos="1" part="lem"/></get-case-from> |
| 1059 |
<clip pos="1" part="tags"/> |
| 1060 |
<lit v="{"/> |
| 1061 |
<clip pos="1" part="content"/> |
| 1062 |
<b pos="1"/> |
| 1063 |
<clip pos="2" part="content"/> |
| 1064 |
<b pos="2"/> |
| 1065 |
<clip pos="3" part="content"/> |
| 1066 |
<b pos="3"/> |
| 1067 |
<clip pos="4" part="content"/> |
| 1068 |
<lit v="}"/> |
| 1069 |
</chunk> |
| 1070 |
</out> |
| 1071 |
</action> |
| 1072 |
</rule> |
| 1073 |
--> |
| 1074 |
|
| 1075 |
|
| 1076 |
<!-- advèrbis --> |
| 1077 |
|
| 1078 |
<rule comment="RÈGLA: ADV ADV - ADV "> |
| 1079 |
<pattern> |
| 1080 |
<pattern-item n="SAdv"/> |
| 1081 |
<pattern-item n="SAdv"/> |
| 1082 |
</pattern> |
| 1083 |
<action> |
| 1084 |
<out> |
| 1085 |
<chunk> |
| 1086 |
<clip pos="1" part="lem"/> |
| 1087 |
<clip pos="1" part="tags"/> |
| 1088 |
<lit v="{"/> |
| 1089 |
<clip pos="1" part="content"/> |
| 1090 |
<b pos="1"/> |
| 1091 |
<clip pos="2" part="content"/> |
| 1092 |
<lit v="}"/> |
| 1093 |
</chunk> |
| 1094 |
</out> |
| 1095 |
</action> |
| 1096 |
</rule> |
| 1097 |
|
| 1098 |
<rule comment="RÈGLA: ADV ADV ADV - ADV "> |
| 1099 |
<pattern> |
| 1100 |
<pattern-item n="SAdv"/> |
| 1101 |
<pattern-item n="SAdv"/> |
| 1102 |
<pattern-item n="SAdv"/> |
| 1103 |
</pattern> |
| 1104 |
<action> |
| 1105 |
<out> |
| 1106 |
<chunk> |
| 1107 |
<clip pos="1" part="lem"/> |
| 1108 |
<clip pos="1" part="tags"/> |
| 1109 |
<lit v="{"/> |
| 1110 |
<clip pos="1" part="content"/> |
| 1111 |
<b pos="1"/> |
| 1112 |
<clip pos="2" part="content"/> |
| 1113 |
<b pos="2"/> |
| 1114 |
<clip pos="3" part="content"/> |
| 1115 |
<lit v="}"/> |
| 1116 |
</chunk> |
| 1117 |
</out> |
| 1118 |
</action> |
| 1119 |
</rule> |
| 1120 |
|
| 1121 |
<rule comment="RÈGLA: ADV ADV ADV ADV - ADV "> |
| 1122 |
<pattern> |
| 1123 |
<pattern-item n="SAdv"/> |
| 1124 |
<pattern-item n="SAdv"/> |
| 1125 |
<pattern-item n="SAdv"/> |
| 1126 |
<pattern-item n="SAdv"/> |
| 1127 |
</pattern> |
| 1128 |
<action> |
| 1129 |
<out> |
| 1130 |
<chunk> |
| 1131 |
<clip pos="1" part="lem"/> |
| 1132 |
<clip pos="1" part="tags"/> |
| 1133 |
<lit v="{"/> |
| 1134 |
<clip pos="1" part="content"/> |
| 1135 |
<b pos="1"/> |
| 1136 |
<clip pos="2" part="content"/> |
| 1137 |
<b pos="2"/> |
| 1138 |
<clip pos="3" part="content"/> |
| 1139 |
<b pos="3"/> |
| 1140 |
<clip pos="4" part="content"/> |
| 1141 |
<lit v="}"/> |
| 1142 |
</chunk> |
| 1143 |
</out> |
| 1144 |
</action> |
| 1145 |
</rule> |
| 1146 |
|
| 1147 |
<rule comment="RÈGLA: ADV and/or ADV - ADV "> |
| 1148 |
<pattern> |
| 1149 |
<pattern-item n="SAdv"/> |
| 1150 |
<pattern-item n="and_or"/> |
| 1151 |
<pattern-item n="SAdv"/> |
| 1152 |
</pattern> |
| 1153 |
<action> |
| 1154 |
<out> |
| 1155 |
<chunk> |
| 1156 |
<clip pos="1" part="lem"/> |
| 1157 |
<clip pos="1" part="tags"/> |
| 1158 |
<lit v="{"/> |
| 1159 |
<clip pos="1" part="content"/> |
| 1160 |
<b pos="1"/> |
| 1161 |
<clip pos="2" part="content"/> |
| 1162 |
<b pos="2"/> |
| 1163 |
<clip pos="3" part="content"/> |
| 1164 |
<lit v="}"/> |
| 1165 |
</chunk> |
| 1166 |
</out> |
| 1167 |
</action> |
| 1168 |
</rule> |
| 1169 |
|
| 1170 |
<rule comment="RÈGLA: ADV, ADV and/or ADV - ADV "> |
| 1171 |
<pattern> |
| 1172 |
<pattern-item n="SAdv"/> |
| 1173 |
<pattern-item n="CM"/> |
| 1174 |
<pattern-item n="SAdv"/> |
| 1175 |
<pattern-item n="and_or"/> |
| 1176 |
<pattern-item n="SAdv"/> |
| 1177 |
</pattern> |
| 1178 |
<action> |
| 1179 |
<out> |
| 1180 |
<chunk> |
| 1181 |
<clip pos="1" part="lem"/> |
| 1182 |
<clip pos="1" part="tags"/> |
| 1183 |
<lit v="{"/> |
| 1184 |
<clip pos="1" part="content"/> |
| 1185 |
<b pos="1"/> |
| 1186 |
<clip pos="2" part="content"/> |
| 1187 |
<b pos="2"/> |
| 1188 |
<clip pos="3" part="content"/> |
| 1189 |
<b pos="3"/> |
| 1190 |
<clip pos="4" part="content"/> |
| 1191 |
<b pos="4"/> |
| 1192 |
<clip pos="5" part="content"/> |
| 1193 |
<lit v="}"/> |
| 1194 |
</chunk> |
| 1195 |
</out> |
| 1196 |
</action> |
| 1197 |
</rule> |
| 1198 |
|
| 1199 |
|
| 1200 |
<!-- UNKNOWN --> |
| 1201 |
|
| 1202 |
<!-- |
| 1203 |
<rule comment="RÈGLA: DET UNK - UNK "> |
| 1204 |
<pattern> |
| 1205 |
<pattern-item n="DET"/> |
| 1206 |
<pattern-item n="unknown"/> |
| 1207 |
</pattern> |
| 1208 |
<action> |
| 1209 |
<choose> |
| 1210 |
<when> |
| 1211 |
<test> |
| 1212 |
<equal caseless="yes"><clip pos="1" part="lem"/><lit v="un"/></equal> |
| 1213 |
</test> |
| 1214 |
<out> |
| 1215 |
<chunk> |
| 1216 |
<get-case-from pos="1"><lit v="det_unk1"/></get-case-from> |
| 1217 |
<lit-tag v="SN"/> |
| 1218 |
<clip pos="1" part="gen"/> |
| 1219 |
<clip pos="1" part="nbr"/> |
| 1220 |
<lit-tag v="nom.nom"/> |
| 1221 |
<lit v="{"/> |
| 1222 |
<clip pos="2" part="content"/> |
| 1223 |
<lit v="}"/> |
| 1224 |
</chunk> |
| 1225 |
</out> |
| 1226 |
<call-macro n="f_bcond"><with-param pos="1"/><with-param pos="2"/></call-macro> |
| 1227 |
</when> |
| 1228 |
<otherwise> |
| 1229 |
<out> |
| 1230 |
<chunk> |
| 1231 |
<get-case-from pos="1"><lit v="det_unk2"/></get-case-from> |
| 1232 |
<lit-tag v="SN"/> |
| 1233 |
<clip pos="1" part="gen"/> |
| 1234 |
<clip pos="1" part="nbr"/> |
| 1235 |
<lit-tag v="nom.nom"/> |
| 1236 |
<lit v="{"/> |
| 1237 |
<clip pos="1" part="content"/> |
| 1238 |
<b pos="1"/> |
| 1239 |
<clip pos="2" part="content"/> |
| 1240 |
<lit v="}"/> |
| 1241 |
</chunk> |
| 1242 |
</out> |
| 1243 |
</otherwise> |
| 1244 |
</choose> |
| 1245 |
</action> |
| 1246 |
</rule> |
| 1247 |
--> |
| 1248 |
|
| 1249 |
</section-rules> |
| 1250 |
</interchunk> |