|
@@ -84,7 +84,7 @@ public class FeatureController extends BaseController<Feature, FeatureWrapper, L
|
|
for (int i = 0; i < properties.length; i++) {
|
|
for (int i = 0; i < properties.length; i++) {
|
|
if (NlpUtil.isFeature(properties[i], new NegativeEnum[]{NegativeEnum.SYMPTOM})) {
|
|
if (NlpUtil.isFeature(properties[i], new NegativeEnum[]{NegativeEnum.SYMPTOM})) {
|
|
Map<String, String> map = new HashMap<>();
|
|
Map<String, String> map = new HashMap<>();
|
|
- map.put("conceptId", conceptIds[i]);
|
|
|
|
|
|
+// map.put("conceptId", conceptIds[i]);
|
|
map.put("name", lexeme.getText());
|
|
map.put("name", lexeme.getText());
|
|
map.put("libType", NegativeEnum.SYMPTOM.toString());
|
|
map.put("libType", NegativeEnum.SYMPTOM.toString());
|
|
map.put("chronicLabel", "0");
|
|
map.put("chronicLabel", "0");
|
|
@@ -93,7 +93,7 @@ public class FeatureController extends BaseController<Feature, FeatureWrapper, L
|
|
if (NlpUtil.isFeature(properties[i], new NegativeEnum[]{NegativeEnum.DISEASE})) {
|
|
if (NlpUtil.isFeature(properties[i], new NegativeEnum[]{NegativeEnum.DISEASE})) {
|
|
if ("慢病".equals(classifies.get(lexeme.getText()))) {
|
|
if ("慢病".equals(classifies.get(lexeme.getText()))) {
|
|
Map<String, String> map = new HashMap<>();
|
|
Map<String, String> map = new HashMap<>();
|
|
- map.put("conceptId", conceptIds[i]);
|
|
|
|
|
|
+// map.put("conceptId", conceptIds[i]);
|
|
map.put("name", lexeme.getText());
|
|
map.put("name", lexeme.getText());
|
|
map.put("libType", NegativeEnum.DISEASE.toString());
|
|
map.put("libType", NegativeEnum.DISEASE.toString());
|
|
map.put("chronicLabel", "0");
|
|
map.put("chronicLabel", "0");
|