http://www.perlmonks.org?node_id=552296


in reply to Re^4: Extracting appropriate language text from HTML data
in thread Extracting appropriate language text from HTML data

Given your database constraints, I'm not sure that you're going to come up with a 'better' solution. Given that not every chunk is available in all languages, you're (effectively) going to have to decide at each chunk what's going to be the 'best' piece of text to return at that point, and I can't at the moment see a more elegant way of doing that...