pyner
pyner copied to clipboard
changed the way that SocketNER retrieves data from the socket server
SocketNER.tag_text would now retrieve data in chunks of size 4092, and bail after a two-second timeout. May address issue #14 and issue #11. It will probably desirable to make the timeout configurable (either in the SocketNER constructor, or as a kwarg in tag_text), but I didn't quite feel comfortable messing with the API.
@dat This was a while ago, but maybe still useful? Just added a .travis.yml file so this PR wouldn't look so scary...
BTW, I'm happy to help maintain this.