code: public String buildText(String str1) {
      StringBuilder sb = new StringBuilder();
      int prev = 0;
      for (int i = 0; i < str1.length(); i++) {
        char numChar = str1.charAt(i);
        String temp = basicOf(numChar - '0');
        if (numChar - '0' > 0) {
          if (i - prev > 1) temp = CHINESE_NAMES[0] + temp;
          prev = i;
          temp = temp + priorityOf(str1.length() - i);
          sb.append(temp);
        }
      }
      String result = sb.toString();
      if (result.startsWith("一十")) result = result.substring(1);
      return result.replaceAll("零一十", "零十");
    }
docs: <p>
  buildText.
  </p>
  
  @param str1 a {@link java.lang.String} object.
  @return a {@link java.lang.String} object.