TypeError: 'str' object does not support item assignment - ner.manual

hi @bev.manz!

This looks similar to this issue, where it was a problem in the data, i.e., the meta tag.

Can you check?

This is very similar too:

If it's not obvious, I would start to remove part of your data. For example, start with one record that you're confident is correct. Then add in 50% other data, then the remainder.

Initially I had suspect it was a problem with your pattern file too, since it seemed to hit the matcher.pyx. So if you can't find the data issue, another thing to try is run it without the pattern file.

Unfortunately, these errors are really tough for us to diagnose without a reproducible example. I understand your data may be too sensitive to share, but if you're still having issues, if you could even create one or two dummy examples that makes it a lot easier for us to reproduce.

Hope this helps!