code: public TermNatures getTermNatures(String word) {
          String[] params = null;
          // 获得词性 ， 先从系统辞典。在从用户自定义辞典
          AnsjItem ansjItem = DATDictionary.getItem(word);
          TermNatures tn = null;
  
          if (ansjItem != AnsjItem.NULL) {
              tn = ansjItem.termNatures;
          } else if ((params = getParams(word)) != null) {
              tn = new TermNatures(new TermNature(params[0], 1));
          } else if (WordAlert.isEnglish(word)) {
              tn = TermNatures.EN;
          } else if (WordAlert.isNumber(word)) {
              tn = TermNatures.M;
          } else {
              tn = TermNatures.NULL;
          }
          return tn;
      }
docs: 传入一次词语获得相关的词性
  
  @param word
  @return