/deterministic
Last updated
Last updated
POST
https://zero-shot-ner.p.rapidapi.com/ner/deterministic
The "Deterministic" endpoint of our NER API employs a rule-based approach for recognizing and classifying entities according to predefined labels set by the user. It excels in scenarios demanding high recall and deterministic outputs, ensuring consistent results and providing additional information such as the entity’s location in the text and a confidence score for each identified entity.
X-RapidAPI-Key*
String
Your API key.
X-RapidAPI-Host*
String
zero-shot-ner.p.rapidapi.com
content-type*
String
application/json
text*
String
Text for processing.
labels*
String array
Types of entities you wish to identify and classify in the provided text.
all
Boolean
This parameter controls the number of entities included in the response. In most cases, the best results are achieved by including only the target entities.
However, if necessary, the parameter can be set to true and more entities will be included. The default value is set to false. Ignored if entities
provided.
scorer
Boolean
If set to true, the response will contain probability scores for each entity. The default value is set to false.
demojize
Boolean
Converting emoji to string.
threshold
Float
Threshold of scores.
entities
Object array
Define what specific entities will be processed, and others will be skipped.
The model has successfully analyzed the input text and labels. Explore further response details.