[CWB] Regular expressions with word groups
"Andrés Chandía"
andres at chandia.net
Tue Jul 28 19:33:24 CEST 2020
Just an Idea, have you tried in every single one?
for instance:
(([(pos!="S.*") &
(word!="d.*")][word!=".*el"][word!="ca[buv]allo.*"])|[word!="entierra"]|([word!="en"][word!="tierra"]))
El Mar, 28 de Julio de 2020, 19:11, Josep M. Fontana escribió:
> Hi,
>
> I don't know whether this is the right forum to ask this particular kind
>
of question but I figure there are enough people here with sufficient
> experience to
lend me a hand with this problem. If you cannot answer the
> question but you can
point me to some other forum/group where I can find
> help, I would appreciate it.
>
> So, I have the following regular expression to identify a set of
>
expressions that can appear in a particular position in the text. What I
> would like
to do is to create the negation of this regular expression.
> That is, any
string/expression/group of expressions that does NOT
> contain the expressions in
these groups.
>
> I know how to use the != operator for a particular item
(word, pos,
> lemma) but where would one insert this operator to have scope over
the
> whole group of expressions that match this pattern? Thanks in advance.
>
> (([(pos="S.*") &
>
(word="d.*")][word=".*el"][word="ca[buv]allo.*"])|[word="entierra"]|([word="en"][word="tierra"]))
>
>
> Josep M.
>
>
>
_______________________________________________
> CWB mailing list
>
CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
>
_______________________
andrés
chandía
Düngupeyem | IECMap | ISECMap | NMT | Corlexim
Desarrollador 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/20200728/f29b53e3/attachment.html>
More information about the CWB
mailing list