in reply to Refining a 'vector space search'.

Is there a module on cpan that detects the language a text is written in? I can't find one.

I have multiple texts which are in german, french , english, protugese, etc... and I need to know which stemming language module to apply on the document.