# NER for long string

**URL:** <https://support.prodi.gy/t/ner-for-long-string/6065>\
**Category:** Uncategorized\
**Created:** [November 1, 2022, 1:55pm UTC](https://support.prodi.gy/t/ner-for-long-string/6065 "2022-11-01T13:55:37Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [November 4, 2022, 4:25pm UTC](https://support.prodi.gy/t/ner-for-long-string/6065/3 "2022-11-04T16:25:43Z")

</div>

Yes, We used ner.manual, we highlighted 1130 strings (either with Primary or Secondary), so they are individual examples, right?

For the pattern file, I was not sure how to " test on individual pattern and try to run it through spaCy to confirm it works?" as you suggested. I did have patter file issue when I was working on it, this is my [original post,](https://support.prodi.gy/t/unicodedecodeerror/6037/7), the pattern file that i generated from ner.manal returns UnicodeDecodeError everytime I want to use the pattern file in ner.manual for new annotation tasks. After I used the custom recipe for converting, I can used the updated pattern file with ner.manual, but no highlight appears.

I am attaching my original patter file, and updated pattern file for your information.  
[cite\_pattern\_original.jsonl](https://support.prodi.gy/uploads/short-url/1ZX5vqEZmPm9rdNQ4xMn5wZvWna.jsonl) (1.3 MB)  
[patterns\_updated.jsonl](https://support.prodi.gy/uploads/short-url/6JLpBSxzHLdY7Ox1CVboR5VF8dn.jsonl) (113.0 KB)

---

_[View the full topic](https://support.prodi.gy/t/ner-for-long-string/6065)._
