|
@@ -100,16 +100,14 @@ public abstract class CaseToken {
|
|
|
}
|
|
|
}
|
|
|
if (!hasFeature) {
|
|
|
- if (sn < 5) {
|
|
|
- Map<String, Object> fMap = new HashMap<>(10);
|
|
|
- fMap.put("feature_name", lexeme.getText());
|
|
|
- fMap.put("feature_type", featureType);
|
|
|
- fMap.put("negative", key);
|
|
|
- fMap.put("sn", String.valueOf(sn++));
|
|
|
- fMap.put("property", lexeme.getProperty());
|
|
|
- fMap.put("concept", lexeme.getConcept());
|
|
|
- featuresList.add(fMap);
|
|
|
- }
|
|
|
+ Map<String, Object> fMap = new HashMap<>(10);
|
|
|
+ fMap.put("feature_name", lexeme.getText());
|
|
|
+ fMap.put("feature_type", featureType);
|
|
|
+ fMap.put("negative", key);
|
|
|
+ fMap.put("sn", String.valueOf(sn++));
|
|
|
+ fMap.put("property", lexeme.getProperty());
|
|
|
+ fMap.put("concept", lexeme.getConcept());
|
|
|
+ featuresList.add(fMap);
|
|
|
}
|
|
|
}
|
|
|
}
|