def convert_old_study(self): print "Converting Divisi1 to Divisi2 study." from csc.divisi2.network import conceptnet_matrix cnet_matrix = conceptnet_matrix('en') divisi2.save( cnet_matrix, self.study_path(os.path.join("Matrices", "conceptnet_en.smat")))
def convert_old_study(self): print "Converting Divisi1 to Divisi2 study." from csc.divisi2.network import conceptnet_matrix cnet_matrix = conceptnet_matrix('en') divisi2.save(cnet_matrix, self.study_path(os.path.join("Matrices", "conceptnet_en.smat")))
def get_conceptnet(): from csc.divisi2.network import conceptnet_matrix return conceptnet_matrix('en').normalize_all()