[CWB] query the s-attributes

"Andrés Chandía" andres at chandia.net
Sun Sep 30 20:30:44 CEST 2018



<text_text_titol_or = ".*"> []* </text_text_titol_or>;

**Error:** only a single ''_'' separator allowed between word form and
POS constraint (use ''\_'' to match literal underscore)  - when parsing ''
<text_text_titol_or '' as **token_expression**, **phrase_element**  - at this location: ''
<text_text_titol_or ''**<==**'' = ".*"> []* </text_text_titol_or> ;
''  - when parsing '' <text_text_titol_or = ".*"> []*
</text_text_titol_or>; '' as **phrase_query**  - when parsing ''  <text_text_titol_or
= ".*"> []* </text_text_titol_or>;   '' as **default** 



<text> a:[] []* </text> :: a.text_text_titol_or =
".*";



**Error:** empty list of alternatives not allowed in wildcard pattern  - when parsing '' ]
'' as **wildcard_item**  - at this location: '' a: [ ] ''**<==**''  ''  - when parsing ''
a:[] '' as **wildcard_pattern**,  **wordform_pattern**, **word_or_lemma**,
**word_or_lemma_constraint**,  **token_expression**, **phrase_element**  - at this location:
'' <text> a:[] ''**<==**'' []*  </text> :: a.text_text_titol_or =
".*"; ''  - when parsing '' <text> a:[] []* </text> :: 
a.text_text_titol_or = ".*"; '' as **phrase_query**  - when parsing ''  <text>
a:[] []* </text> :: a.text_text_titol_or = ".*";   '' as **default** 

 



El Dom, 30 de Septiembre de 2018, 20:25, Hardie, Andrew escribió:
 <style type="text/css">-></style>


It would help if you could
actually tell us what the error message is.
 
(I have an idea what the error
is, but unless I see the message, I can’t be sure)
 
Best
 
Andrew.
 
From:
cwb-bounces at sslmit.unibo.it  On Behalf Of "Andrés
Chandía"
 Sent: 30 September 2018 19:23

To: Open source development of the Corpus WorkBench 

Subject: Re: [CWB] query the s-attributes
 

At cqp web I tried all of this with no success (error message)


 


 []* ;


 []* ;


 []* ;


 []* ;


 


 a:[] []*  ::
a.text_text_titol_or = ".*";


 etc....


and all the variants that are in
http://cwb.sourceforge.net/files/CQP_Tutorial/node27.html


 


 

El Dom, 30 de Septiembre de 2018, 19:54, Hardie, Andrew escribió:


See:
http://cwb.sourceforge.net/files/CQP_Tutorial/node24.html 
http://cwb.sourceforge.net/files/CQP_Tutorial/node26.html
http://cwb.sourceforge.net/files/CWB_Encoding_Tutorial/node7.html
http://cwb.sourceforge.net/files/CWB_Encoding_Tutorial/node8.html
best
Andrew.
From: cwb-bounces at sslmit.unibo.it On Behalf Of
"Andrés Chandía"
 Sent: 30 September 2018
18:43
 To: cwb at sslmit.unibo.it
 Subject:
[CWB] query the s-attributes

Can the
s-attributes be queried, I would say yes, but I can not find the way....


for instalnce
the corpus is composed by many texts each one of them has its own title="whaterver"
at the xml label, so can I obtain a list of all titles?, how?


 


 _______________________
 andrés chandía
 [IMAGE REMOVED]
 Dungupeyem |  IECMap |  ISECMap |  NMT |  Corlexim
 
 administrador de:
 Parles.upf |  IWCH |  Amind terapia
|  ONG Mapuche koyaktu |  Nocando |  IAC |  CddZ |  ISAC |  CatCg

P 
No imprima innecesariamente. ¡Cuide el medio ambiente!



 
 
 _______________________
            
andrés chandía
 
 Dungupeyem |  IECMap |  ISECMap |  NMT |  Corlexim
 
 administrador de:
 Parles.upf |  IWCH | Amind terapia |
 ONG Mapuche koyaktu | Nocando | IAC | CddZ | ISAC | CatCg
 P  No imprima innecesariamente. ¡Cuide el medio
ambiente!


 


_______________________

            andrés
chandía
 
Dungupeyem | IECMap | ISECMap | NMT | Corlexim

administrador de:
Parles.upf | IWCH | Amind
terapia | ONG Mapuche koyaktu | Nocando | IAC
| CddZ | ISAC |
CatCg
P No imprima innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20180930/00b9777a/attachment-0001.html>


More information about the CWB mailing list