/*
* set instantiated semantics, if the fam sem is a pattern use this semantics
* else use normally the semantics of the entry
*/
Semantics lexSemantics = new Semantics(famSem.isPattern() ? famSem.getSemantics() : entry.getSemantics());
lexSemantics.instantiate(famSem.getLemmas().get(lemma));
lexEntry.setSemantics(lexSemantics);
/*
* set all equations: the family-wide equations, the equations for the particular lemma and the co-anchor equations.
* Note that the family equations are only set for famSem that have lemmas!