Creating spacy doc objects without supplying a model object? #11093
-
Hi, I'm currently working with the Stanford University based Stanza NLP models and using spaCy's visualization powers. Upon writing some scripts to visualize different languages, it seems that loading
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @SecroLoL , In this case, a blank pipeline is what you need. In the case of English, you can do something like: import spacy
nlp = spacy.blank("en")
# texts = ...
docs = nlp.pipe(texts) |
Beta Was this translation helpful? Give feedback.
Hi @SecroLoL ,
In this case, a blank pipeline is what you need. In the case of English, you can do something like: