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

Feature Request: Annotate parts of a string based on index value #33

Open
sanwal-clarifai opened this issue Jan 6, 2023 · 0 comments
Open

Comments

@sanwal-clarifai
Copy link

Consider we have this text

In July, a company tied to Evan Spiegel, the co-founder and CEO of Snap, closed on the $119.868 million purchase of a Holmby Hills estate in Los Angeles, according to property records and people familiar with the situation. \n\n\n'

We run this through an NER model and get back the indexes of the string where we can highlight specific portions of the string with ids. So we know, for example that from index 141:152 is "Los Angeles" which is a Location. So instead of having to string concatenate the final output, create an output where you can take in string index as well as ids and annotate them as such.

You can recreate this result using Clarifai's NER model listed here.

@sanwal-clarifai sanwal-clarifai changed the title Featur Request: Annotate parts of a string based on index value Feature Request: Annotate parts of a string based on index value Jan 6, 2023
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

No branches or pull requests

1 participant