SHARE
TWEET

Untitled

a guest Oct 21st, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import spacy
  2. from spacy.lang.en import English
  3. nlpsm = English()
  4. sbd = nlpsm.create_pipe('sentencizer')
  5. nlpsm.add_pipe(sbd)
  6. import en_vectors_web_lg
  7. nlplg = en_vectors_web_lg.load()
  8. nlplg.add_pipe(sbd)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top