code: public static boolean setAttribute(String word, String... natures)
      {
          if (natures == null) return false;
  
          Nature[] natureArray = new Nature[natures.length];
          for (int i = 0; i < natureArray.length; i++)
          {
              natureArray[i] = Nature.create(natures[i]);
          }
  
          return setAttribute(word, natureArray);
      }
docs: 设置某个单词的属性
  @param word
  @param natures
  @return