Twinword Text Analysis Bundle

FREEMIUM
Verified
By Twinword, Inc. | Updated a year ago | Text Analysis
Popularity

9.3 / 10

Latency

467ms

Service Level

100%

Back to All Discussions

Similarity value returned in actual API call

L
leontay
3 years ago

Hi,

I have signed up for your Text Similarity API plan and have succeeded in connecting to it via the GET protocol. However, I notice that the similarity scores returned in the actual API calls are rounded off to the nearest 1 decimal place.

This is different behavior from your demo page at: https://www.twinword.com/api/text-similarity.php which returns the unrounded value e.g. 0.022598713878062. In the actual API call, the value returned would be 0.

May I know if there is some setting that I can send in the GET call to request the API server to not do any rounding prior to returning the value?

Thanks!

avatar
twinword commented 3 years ago

Hi Leontay,

Thank you for using Twinword API.

We’re sorry for the issue you experienced. You were correct and we fixed the error! In case you experience any further issues, you can always contact us at help@twinword.com.

If you enjoy our API, we’d appreciate if you would leave us a review: https://g.page/Twinword/review?gm

Thank you and best regards,
Team Twinword

Join in the discussion - add comment below:

Login / Signup to post new comments
Rating: 5 - Votes: 1