def acronymize(str)
      cleared_str = clear_string(str, :encoding => 'ASCII').gsub(/\W/," ")

      # opcio 1
      unwanted_words_pttrn = %w[de en].map {|w| "\\b#{w}\\b"}.join("|")
      res = cleared_str.gsub(/\b\w\b|#{unwanted_words_pttrn}/i," ")
      res = res.split(" ").map {|s| s[0..0].upcase}.join
    
      # opcio 2
      if res == ""
        res = cleared_str.split(" ").map {|s| s[0..0].upcase}.join
      end
      res
    end
def acronymize(str)
      cleared_str = clear_string(str, :encoding => 'ASCII').gsub(/\W/," ")

      # opcio 1
      unwanted_words_pttrn = %w[de en].map {|w| "\\b#{w}\\b"}.join("|")
      res = cleared_str.gsub(/\b\w\b|#{unwanted_words_pttrn}/i," ")
      res = res.split(" ").map {|s| s[0..0].upcase}.join
    
      # opcio 2
      if res == ""
        res = cleared_str.split(" ").map {|s| s[0..0].upcase}.join
      end
      res
    end
Transforms a string +str+ to an acronym