[Corpora-List] What is best for text processing Perl of Python?

Emiliano Guevara emiliano.guevara at unibo.it
Tue Mar 4 08:46:29 UTC 2008


I'm sorry to say this is a bad question...
A programming language (and a text editor) become so important in the  
life of a "data-driven linguist" that I don't think anyone could  
answer with an impartial view.

And most programmers are so fond of their favorite programming  
language that they could explode in anger if someone says another  
language is better...

In any case, all programming languages can deal with text, with pros  
and cons, but all of them do it.

Just learn whatever you can:
If you have a colleague who can program Perl, follow that.
If you're into web design and know a little a PHP, go on with that.
If you like Python and you think it's cool (most do), learn Python.
But don't forget the basic Unix tools that can save you lots of time  
and programming: tr, diff, sed/awk, uniq, sort, etc, etc.

good luck,

E.


On 4 Mar 2008, at 09:25, True Friend wrote:

> I am wondering what language to learn for text processing. I've  
> found scripting languages too easy for simple but teasing tasks in  
> corpus text processing. Plz suggest me what language I should learn  
> Perl or Python.
> Regards
>
> -- 
> محمد شاکر عزیز
> _______________________________________________
> Corpora mailing list
> Corpora at uib.no
> http://mailman.uib.no/listinfo/corpora

****************************************
Emiliano R. Guevara
Facoltà di Lingue e Lett. Straniere
Dip. di Lingue e Lett. Straniere
Università di Bologna
Via Cartoleria 5 (40124) Bologna, Italia

Homepage: http://morbo.lingue.unibo.it/

E-mail:   emiliano.guevara at unibo.it
           emiguevara at gmail.com
****************************************


_______________________________________________
Corpora mailing list
Corpora at uib.no
http://mailman.uib.no/listinfo/corpora



More information about the Corpora mailing list