title: Advise to create a translator in Java
body: <p>I want to make a <strong>translator</strong> ex: English to Spanish. </p>
  
  <p>I want to translate a <strong>large text</strong> with a map for the translation. </p>
  
  <pre><code>HashMap &lt;String, Object&gt; hashmap = new HashMap &lt;String, Object&gt;();
  hashmap.put("hello", "holla"); 
  .
  .
  .
  </code></pre>
  
  <p>Witch <strong>object</strong> should I use to handle my inital text of 1000 words? A String or StringBuilder is fine ? </p>
  
  <p>How can I do a large <strong>replace</strong>? Without <strong>iterate</strong> each word with each element of the map ? </p>
  
  <p>I don't want take each word of the string, and see there is a match in my map</p>
  
  <p>Maybe a multimap with the first letter of the word?  </p>
  
  <p>If you have any answer or advise thank you</p>