Improve error message for stop word > 4 sequences

Hey,

I never knew why more than 4 stop words would fail with a strange message

Error: “[’\\n###\\n’, ‘###’, ‘\\n’, ’ ### ', ‘[[’, ‘—’] is not valid under any of the given schemas - ‘stop’”

I’d suggest something like “Up to 4 sequences are allowed as stop word argument”
As it is clearly written here:

1 Like