code: public static boolean setAttribute(String word, Nature... natures)
      {
          if (natures == null) return false;
  
          CoreDictionary.Attribute attribute = new CoreDictionary.Attribute(natures, new int[natures.length]);
          Arrays.fill(attribute.frequency, 1);
  
          return setAttribute(word, attribute);
      }
docs: 设置某个单词的属性
  @param word
  @param natures
  @return