# Question about terms.patterns

**URL:** <https://support.prodi.gy/t/question-about-terms-patterns/6028>\
**Category:** Uncategorized\
**Tags:** solved\
**Created:** [October 14, 2022, 6:42am UTC](https://support.prodi.gy/t/question-about-terms-patterns/6028 "2022-10-14T06:42:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiebei](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jiebei](https://support.prodi.gy/u/jiebei)\
**Post date:** [October 14, 2022, 6:42am UTC](https://support.prodi.gy/t/question-about-terms-patterns/6028/1 "2022-10-14T06:42:04Z")

</div>

I have just started labeling a few phrases and added to the the dataset citation\_test\_1, I can see "Saved 4 annotations to database SQLite" after I hit ^c. But when I follow the tutorial to create the pattern file, the file is empty. I could figure out why.  
Thank you for your help!

```python
prodigy terms.to-patterns citation_test_1 --label PRI SEC --spacy-model blank:en > ./cite_pattern_test.jsonl

```

---

<div class="post-metadata">

**Author:** ![koaning](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/koaning/32/230_2.png) [@koaning](https://support.prodi.gy/u/koaning)\
**Post date:** [October 14, 2022, 8:59am UTC](https://support.prodi.gy/t/question-about-terms-patterns/6028/2 "2022-10-14T08:59:47Z")

</div>

Just for clarification, you mention "the tutorial", but which one is that? We have a bunch of tutorials at this point 😅.

Could you share how to started annotating the examples, maybe by passing the seed terms? I might be able to reproduce locally in that case. Also, could you share your Prodigy/Python version?

---

<div class="post-metadata">

**Author:** ![jiebei](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jiebei](https://support.prodi.gy/u/jiebei)\
**Post date:** [October 14, 2022, 3:20pm UTC](https://support.prodi.gy/t/question-about-terms-patterns/6028/3 "2022-10-14T15:20:02Z")

</div>

Thank you for getting back to me quickly. I just figured I forgot python -m in my command. I am learning NER recipe, and using AWS EC2 windows instance, using PowerShell to change my setting. The line below works.

```python
python -m prodigy terms.to-patterns citation_test_1 --label PRI SEC --spacy-model blank:en > ./cite_pattern_test.jsonl

```

---

<div class="post-metadata">

**Author:** ![koaning](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/koaning/32/230_2.png) [@koaning](https://support.prodi.gy/u/koaning)\
**Post date:** [October 17, 2022, 8:38am UTC](https://support.prodi.gy/t/question-about-terms-patterns/6028/4 "2022-10-17T08:38:47Z")

</div>

Happy to hear it. 😄

And yeah, `python -m` really can make a _huge_ difference.
