Skip to content

Fixed extra spaces in annotated text#1

Open
brykneval wants to merge 1 commit intoDataTurks:masterfrom
brykneval:master
Open

Fixed extra spaces in annotated text#1
brykneval wants to merge 1 commit intoDataTurks:masterfrom
brykneval:master

Conversation

@brykneval
Copy link

@brykneval brykneval commented Jul 16, 2019

Added check for spaces in annotated text, and accordingly updated start and end index.
Based on data provided on: https://dataturks.com/projects/abhishek.narayanan/Entity%20Recognition%20in%20Resumes I was getting some error due to start and end index containing leading and trailing spaces.

Error:

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. You can also use the experimental debug-data command to validate your
JSON-formatted training data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant