code: static boolean containsNoDigit(final String s) {
      for (int k = 0; k < s.length(); k++) {
        if (Character.isDigit(s.charAt(k))) {
          return false;
        }
      }
      return true;
    }
docs: Checks whether a string contains a digit. Used for ignoring words with
  numbers
  
  @param s
  Word to be checked.
  @return True if there is a digit inside the word.