|
@@ -37,6 +37,13 @@ public class EntityProcessMarital extends EntityProcess {
|
|
marryiage.setName(lemma.getText());
|
|
marryiage.setName(lemma.getText());
|
|
maritalLabel.setMarryiage(marryiage);
|
|
maritalLabel.setMarryiage(marryiage);
|
|
}
|
|
}
|
|
|
|
+ //读取结婚年龄所有本体及关联信息
|
|
|
|
+ List<Lemma> ageLemmas = createEntityTree(aiOut, EntityEnum.AGE.toString());
|
|
|
|
+ for (Lemma lemma :ageLemmas) {
|
|
|
|
+ Marryiage marryiage = new Marryiage();
|
|
|
|
+ marryiage.setName(lemma.getText());
|
|
|
|
+ maritalLabel.setMarryiage(marryiage);
|
|
|
|
+ }
|
|
//婚姻情况描述
|
|
//婚姻情况描述
|
|
List<Lemma> maritalStatusLemmas = createEntityTree(aiOut, EntityEnum.MARITAL_STATUS.toString());
|
|
List<Lemma> maritalStatusLemmas = createEntityTree(aiOut, EntityEnum.MARITAL_STATUS.toString());
|
|
for (Lemma lemma :maritalStatusLemmas) {
|
|
for (Lemma lemma :maritalStatusLemmas) {
|