def jcn(self, s1: Synset, s2: Synset) -> float: return s1.jcn_similarity(s2, self.brown_ic)
def jcn(self, s1: Synset, s2: Synset) -> float: try: return s1.jcn_similarity(s2, self.brown_ic) except WordNetError: return NAN