82 83 84
# File 'lib/whatlanguage.rb', line 82 def language(text) process_text(text).max { |a,b| a[1] <=> b[1] }.first rescue nil end