We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af6547a commit 3d9b331Copy full SHA for 3d9b331
README.md
@@ -1,3 +1,6 @@
1
+if not graph.has_node(word):
2
+ graph.add_node(word, encoded=encode_word_with_context(word, surrounding_words))
3
+
4
import networkx as nx
5
nltk.download('wordnet')
6
def add_acronym_node_to_graph(graph, acronym, possible_meanings, context=None, relevance=0.5, related_nodes_weights=None):
0 commit comments