ieml/dictionary/relations.py
def connexity(self):
        """
        A boolean matrix, m[i, j] == True if there is a relation term(i) -> term(j)
        :return: a np.matrix (len(dictionary), len(dictionary)) of boolean
        """
        return np.matrix(sum(self.relations.values()).todense(), dtype=bool)
def connexity(self):
        """
        A boolean matrix, m[i, j] == True if there is a relation term(i) -> term(j)
        :return: a np.matrix (len(dictionary), len(dictionary)) of boolean
        """
        return np.matrix(sum(self.relations.values()).todense(), dtype=bool)
def connexity ( self ) : return np . matrix ( sum ( self . relations . values ( ) ) . todense ( ) , dtype = bool )
A boolean matrix, m[i, j] == True if there is a relation term(i) -> term(j)
        :return: a np.matrix (len(dictionary), len(dictionary)) of boolean
A boolean matrix m [ i j ] == True if there is a relation term ( i ) - > term ( j ) : return : a np . matrix ( len ( dictionary ) len ( dictionary )) of boolean