# Using a spaCy-stanza model for tokenization with ner.manual

**URL:** <https://support.prodi.gy/t/using-a-spacy-stanza-model-for-tokenization-with-ner-manual/3111>\
**Category:** Uncategorized\
**Tags:** usage, ner, spacy\
**Created:** [June 29, 2020, 7:46pm UTC](https://support.prodi.gy/t/using-a-spacy-stanza-model-for-tokenization-with-ner-manual/3111 "2020-06-29T19:46:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [June 30, 2020, 9:11am UTC](https://support.prodi.gy/t/using-a-spacy-stanza-model-for-tokenization-with-ner-manual/3111/2 "2020-06-30T09:11:27Z")

</div>

Hi! The `spacy-stanza` wrapper currently doesn't [serialize the `stanza` model data](https://github.com/explosion/spacy-stanza#advanced-serialization-and-entry-points), so loading it back in still requires the loaded Stanza model. (I'm kinda confused by the error, though – this is normally what spaCy raises if the directory isn't valid or doesn't have a meta, so there might be something else going on here on top of it?)

Anyway, the good news is, once you have your `spacy-stanza` model loaded, you can use the `nlp` object like any other `nlp` object to tokenize text. So you should be able to adapt this example recipe here and just replace the `nlp` object with your `spacy-stanza` `nlp` object:

> <https://github.com/explosion/prodigy-recipes/blob/master/ner/ner_manual.py>

---

_[View the full topic](https://support.prodi.gy/t/using-a-spacy-stanza-model-for-tokenization-with-ner-manual/3111)._
