I'm a consultant that frequently works with clients that want NER. In some cases, I've been exporting datasets from Pandas to Google sheets and having my clients label with their own team.
For a project I'm working on right now, I'm breaking up a corpus of documents into sentences and building a labeled set based on a few categories (does the sentence contain the named entity of interest). My client told me my awesome google sheet is difficult to use given the lack of context of where the sentences are in the original documents. They suggested having 2 sentences on either side of the sentence of interest in context while labeling the sentence of interest. I could build this in Django but is it possible to format data and use it in a way with Prodigy that allows it to be displayed in this manner for applying a single label to a sentence?
Sentence 58: I am a sentence.
Sentence 59: There are many like me.
Sentence 60: This sentence has an entity of interest!
Sentence 61: This sentence does not.
Sentence 62: Also, this sentence does not.
Buttons: cat 1, cat 2, cat 3, cat 4
Sentence 60 is the one that needs to be labeled but two sentences prior and after are in context. I admit, for this exact project, this would be very helpful given the language. Could this be done with Prodigy?
Thanks in advance!