-
-
Save celestialized/462646d6c26b63eed86c96a151fdb66d to your computer and use it in GitHub Desktop.
Revisions
-
prateekjoshi565 revised this gist
Oct 8, 2019 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,6 @@ import spacy nlp = spacy.load('en_core_web_sm') doc = nlp("The 22-year-old recently won ATP Challenger tournament.") for tok in doc: -
prateekjoshi565 created this gist
Oct 8, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ doc = nlp("The 22-year-old recently won ATP Challenger tournament.") for tok in doc: print(tok.text, "...", tok.dep_)