MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / get_name

Method get_name

python/graphvite/dataset.py:906–908  ·  view source on GitHub ↗
(self, synset)

Source from the content-addressed store, hash-verified

904 return wordnet
905
906 def get_name(self, synset):
907 name = synset.name()
908 return name[:name.find(".")]
909
910 def readable_label(self, labels, save_file, hierarchy=False):
911 wordnet = self.import_wordnet()

Callers 1

readable_labelMethod · 0.95

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected