Closed pheyvaer closed 9 years ago
The confidence
parameter should have better documentation, see freme-project/Documentation#50
fixed, now the confidence parameter can take only values in the range [0..1]. Appropriate BadRequestException is thrown in case the value is out of the range. Try:
curl -v -X POST "http://api-dev.freme-project.eu/current/e-entity/dbpedia-spotlight/documents?confidence=1.3&language=en&informat=text&input=Berlin" -H "Content-Type:"
I tested it and it works fine now
If the value for
confidence
is not between 0 and 1, or when it is for example a word, the call does not fail. However, no entities are detected.