It seems removing this conditional here and not putting any similar check inside `GenerativeContextSimilarity` makes it burp when the models does not contain `context.mem`.

maybe the same conditional before any call to `intersect` (  [here](https://github.com/jodaiber/dbpedia-spotlight/blob/master/core/src/main/scala/org/dbpedia/spotlight/db/similarity/GenerativeContextSimilarity.scala#L94) ) will make it?