Annotating Multiple Sentences with Gene Entities Using PubTator
0
0
Entering edit mode
8 months ago

Hi,

I need to annotate approximately 2,000 sentences for gene entities and their corresponding IDs (e.g., NCBI IDs) using PubTator. Based on their documentation, it seems I should use the API available at https://www.ncbi.nlm.nih.gov/CBBresearch/Lu/Demo/RESTful/request.cgi.

However, I’m unclear about how to send multiple sentences in a single request. Additionally, I need to ensure that the IDs I assign to each sentence are preserved in the response so I can keep track of them.

What would be the best way to handle this? Any guidance would be greatly appreciated.

Thanks!

Pubtator annotation Text NER • 782 views
ADD COMMENT
0
Entering edit mode

approximately 2,000 sentences for gene entities and their corresponding IDs

What do you mean by "sentences"? Are you referring to 2000 rows of IDs? I don't see any way to send sentences in the API documentation that you linked above.

ADD REPLY
0
Entering edit mode

For the documentation, you can find the API usage for Named Entity Recognition under the title ‘Process Raw Text’ on that webpage. Regarding the sentences, that’s correct: I have a JSON file containing 2,000 individual sentences that I need to process using Pubtator to identify genes and their NCBI IDs. Additionally, I need to retain the sentence IDs from the JSON file.

ADD REPLY

Login before adding your answer.

Traffic: 4274 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6