One of the NER attribute is tagged with float (3.0, 2.0, ...) while the text file I am trying to inference from are in string format of (3, 2, ...).

The Spacy model I used can't pick up the numbers interchangeably with or without a (.0) tail.

Anyone has any idea how to solve this issue?

Many thanks!

  • $\begingroup$ Welcome to DataScienceSE. Please clarify what you call "NER attribute" in this context, maybe give an example of what you mean. $\endgroup$
    – Erwan
    Jan 10 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.