Guest User

Untitled

a guest
Oct 21st, 2019
100
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