Skip to content

Commit

Permalink
Update Graph_NN_Classification.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RubensZimbres authored Feb 2, 2021
1 parent 9db9444 commit 5bfbdaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Graph-Networks/Graph_NN_Classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
from nltk import Tree
#nltk.download('punkt')

def norm(x):
return (x-np.min(x))/(np.max(x)-np.min(x))

en_nlp = spacy.load('en_core_web_sm')
phrase="The quick brown fox jumps over the lazy dog"
doc = en_nlp(phrase)
Expand Down

0 comments on commit 5bfbdaa

Please sign in to comment.