code: public static int getFrequency(String word)
      {
          CoreDictionary.Attribute attribute = getAttribute(word);
          if (attribute == null) return 0;
          return attribute.totalFrequency;
      }
docs: 获取某个单词的词频
  @param word
  @return