Akshayc1 / named-entity-recognition

Name Entity Recognition using Python and Keras
44 stars 47 forks source link

X, Y calling the wrong list giving error, solution suggested #4

Open RuchitaGarde opened 4 years ago

RuchitaGarde commented 4 years ago

In file NER using Bidirectional LSTM - CRF .ipynb Refer code block no. 31 & 32.

The for loop is looping on the list 'sentences' which is making it split down to characters. Capture

Instead if we loop on the list 'sent' & then 'sentences' we will be able to access the word, pos & tag. Attaching debugging steps: debug1 debug2

Final solution: final_solution