brendano / stanford_corenlp_pywrapper

151 stars 59 forks source link

Wishlist: public server mode #4

Open Liontooth opened 10 years ago

Liontooth commented 10 years ago

Hi Brendan,

Thanks you for a really cool package! It works great. Is there a way to start a public server that several scripts can call?

Cheers, Dave

brendano commented 10 years ago

That could be done with changes to sockwrap.py. No direct support currently though.

ahalterman commented 9 years ago

Yes, thanks for a great package! I use it every day, both for Open Event Data Alliance work and other projects, too. I'm also interested in getting it set up as a standalone server. Educational Testing Service has a standalone CoreNLP server (https://github.com/EducationalTestingService/stanford-thrift) but it's not as neat and nice as this one. @Liontooth, are you doing anything on on getting a server mode running? I'd be interesting in helping with a project to do this but my Java skills aren't very good.

Liontooth commented 9 years ago

Hi ahalterman -- WordSeer added a load balancer, and zigeuner support for 3.4 on top of that, see https://github.com/zigeuner/stanford-corenlp-python. I haven't had time to pursue this but remain interested. Cheers, David

ahalterman commented 9 years ago

Thanks! I've gotten the zigeuner version up and running and I think it's probably enough for the project I'm doing right now. I'll let you know if I decide to start modifying this one.

brendano commented 9 years ago

hi @ahalterman , do you still find this package useful, or have you switched to something else? i was fixing some things up, but if there's something else that's better i'd be happy to switch myself.

johnb30 commented 9 years ago

Just a comment on the usefulness. We're still using this wrapper in our deployment and it's worked great.

brendano commented 9 years ago

thanks, good to know. i ran into some serious bugs when trying to use it more recently (see commit log and one of the closed issues) so i guess i was curious if they had bee showstoppers for everyone else

brendano commented 9 years ago

FYI i now committed a change (merged from the namedpipe branch) where the socket mode isn't the default option. there's a new "pipe" mode that's now default. socket mode is still in there and it's probably the thing you want to modify if you want to make a public socket system. well, at least if you like the idiosyncratic communication protocol and stuff this system does