dice-group / Palmetto

Palmetto is a quality measuring tool for topics
GNU Affero General Public License v3.0
209 stars 36 forks source link

The request contains too many words. This service supports a maximum of 10 words. #40

Closed shinchan13 closed 3 years ago

shinchan13 commented 3 years ago

Dear @MichaelRoeder: Can it be more than 10 words? How do I set it up? thanks a lot.

MichaelRoeder commented 3 years ago

Can it be more than 10 words?

Yes :smiley:

How do I set it up?

Create the web service as described in the wiki. When editing the palmetto.properties file you can change the maximum number of words. However, please note that more words lead to much longer runtimes since some of the coherences have high runtime complexities.

shinchan13 commented 3 years ago

@MichaelRoeder thank you very much for your reply and answer😃 If python is used, where is the Maximum number of words modified? Thank you again

MichaelRoeder commented 3 years ago

When you use the python client, the server (written in Java) defines the maximum number of words. So you still have to do the same steps (i.e., clone the code, download the index, configure and start the server) but change your python client to send the requests to your local server instead of our server.

Does that answer your question?

shinchan13 commented 3 years ago

Because of your patience, I know. Thank you again

MichaelRoeder commented 3 years ago

You are welcome :smiley: