Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spacy problem with whitespace or punctuation #13434

Closed
salma2302 opened this issue Apr 11, 2024 · 2 comments
Closed

Spacy problem with whitespace or punctuation #13434

salma2302 opened this issue Apr 11, 2024 · 2 comments
Labels
usage General spaCy usage

Comments

@salma2302
Copy link

Hi everyone !

I have a problem when i train my NER model spacy. I have a annoted span like $400 in a text. But when i train my model i have this error :

ValueError: [E024] Could not find an optimal move to supervise the parser. Usually, this means that the model can't be updated in a way that's valid and satisfies the correct annotations specified in the GoldParse. For example, are all labels added to the model? If you're training a named entity recognizer, also make sure that none of your annotated entity spans have leading or trailing whitespace or punctuation. You can also use the `debug data` command to validate your JSON-formatted training data. For details, run:
python -m spacy debug data --help

So how can i add $ in spacy caracters?

@salma2302
Copy link
Author

I find the error is a bug in doccano and not with dollar

@svlandeg svlandeg added the usage General spaCy usage label Apr 15, 2024
Copy link
Contributor

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
usage General spaCy usage
Projects
None yet
Development

No branches or pull requests

2 participants