docs: public <T extends BaseNlpEntity> List<T> getEntities(Class<T> clazz) {
      List<BaseNlpEntity> resultList = new ArrayList<>();
      for (BaseNlpEntity item : getEntities()) {
        if (item.getClass().equals(clazz)) {
          resultList.add(item);
        }
      }
      return (List<T>) resultList;
    }