Назад ко всем обсуждениям

Server error 500

avatar
sanpietro
5 лет назад

Hello. I am frequently getting the following error when sending text. Not really sure what the message means. Thanks!

<title>Error 500 Server Error</title>
</head>
<body><h2>HTTP ERROR 500</h2>
<p>Problem accessing /zh/sentiment. Reason:
<pre> Server Error</pre></p><h3>Caused by:</h3><pre>org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: Negative score is outside of expected range: -1.0

avatar
dmitrykey commented 5 лет назад

Hi sanpietro,

Yes, it is in the roadmap. What do you think of the sentiment api – is it useful in your application?

avatar
sanpietro commented 5 лет назад

Hello,

Will you be building out the remaining enrichments based on the Chinese langage
api? Services such as entity extraction or key phrase extraction would be very important for developers in market who would like to see which entity frequencies etc are driving interest. Thank you.

avatar
dmitrykey commented 5 лет назад

Hi sanpietro,

The issue is now fixed. I tested with some texts you have sent earlier that produced this issue. Pls don’t trust sentiment strengths you have received before, because they will not necessarily match those you get now. Labels however should match.

Pls test on your end and let me know, thanks.

avatar
dmitrykey commented 5 лет назад

Hi,

thanks for reporting. I will take a look and update here.

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии
Оценки: 5 - Голосов: 1