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: Give option to return found start and end index of IoC #291

Open
bablf opened this issue Aug 30, 2023 · 2 comments
Open

Comments

@bablf
Copy link

bablf commented Aug 30, 2023

Great project. Love it.

It would be great if we could get the indices of the found IoCs with start and end position in the provided string.

We will probably run into problems because of the fanging of the text, since we use ioc_fanger.fang(text) which will change the indices from the original string.

@fhightower
Copy link
Owner

Hi @bablf: Thanks for the feature request and the kind words! We've gotten this request before, so we'll give it some thought and see what we can do.

@bablf
Copy link
Author

bablf commented Sep 4, 2023

if we can provide the indices of IoCs, a spacy component would also be possible 👍

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

2 participants