|
@@ -46,6 +46,8 @@ public class EntityProcess {
|
|
|
JSONArray entitys = annotation.getJSONArray("T");
|
|
|
JSONArray relations = annotation.getJSONArray("R");
|
|
|
|
|
|
+ if (entitys == null || entitys.isEmpty()) return resultLemmaList;
|
|
|
+
|
|
|
List<Lemma> allLemmaList = loadAllLemmaList(entitys);
|
|
|
List<String> relationIds = new ArrayList<>();
|
|
|
for (Lemma l : allLemmaList) {
|