Beispiel #1
0
 /**
  * Gets the definition of a word using the default dictionary
  *
  * @param word the word to get
  * @return the definition of the word
  * @throws IOException if an error occurred whilst reading the definition
  */
 public static Dictionary.Definition getDefinition(String word) throws IOException {
   return getDefinition(
       word, Dictionary.valueOf(CommandsEX.config.getString("defaultDictionary", "DUCK_DUCK_GO")));
 }