浏览代码

提取特征bug

wangyu 5 年之前
父节点
当前提交
b394613679
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      nlp-web/src/main/java/org/diagbot/nlp/controller/FeatureController.java

+ 1 - 1
nlp-web/src/main/java/org/diagbot/nlp/controller/FeatureController.java

@@ -156,7 +156,7 @@ public class FeatureController extends BaseController<Feature, FeatureWrapper, L
             List<Map<String, Object>> data = new ArrayList<>();
 
             PropertiesUtil propertiesUtil = new PropertiesUtil("nlp.properties");
-            featureNum = propertiesUtil.getProperty("push.feature.num");
+            featureNum = propertiesUtil.getProperty("extract.feature.num");
             Boolean filter = false;//判断是否需要过滤
             if(propertiesUtil.getProperty("extract.feature.filter").equals("1")){//配置为1时过滤
                 filter = true;