[Corpora-List] XML parsers vs regex

Christoph Ruehlemann chrisruehlemann at googlemail.com
Mon Jun 30 16:39:14 UTC 2014


Hi Matías

Have you heard of XPath and XQuery? My most recent book ("Narrative in
English conversation", CUP, www.cambridge.org/9780521196987) contains a
section in which I try and explain how they work. Two related, extremely
powerful query languages for XML texts, which come at a cost, being fully
declarative programming languages.

Best
Chris


On Mon, Jun 30, 2014 at 1:55 PM, Matías Guzmán Naranjo <mortem.dei at gmail.com
> wrote:

> Dear all,
>
> When working with xml tagged corpora I have always used regex to extract
> the information I need, I have never used xml parsers like nltk's or any
> other. Is there an advantage to using parsers vs using regex? Which? what
> do you personally use?
>
> Best,
>
> Matías
>
> _______________________________________________
> UNSUBSCRIBE from this page: http://mailman.uib.no/options/corpora
> Corpora mailing list
> Corpora at uib.no
> http://mailman.uib.no/listinfo/corpora
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/corpora/attachments/20140630/57ecd856/attachment.htm>
-------------- next part --------------
_______________________________________________
UNSUBSCRIBE from this page: http://mailman.uib.no/options/corpora
Corpora mailing list
Corpora at uib.no
http://mailman.uib.no/listinfo/corpora


More information about the Corpora mailing list