Btw, I turned Stanford NER into a startup <http://nerily.com>, what do you
make of it? :) Cheers.

Steven Goh,
*M:* +65 96634246
Founder, Spawt.

*Spawt is the easiest way to discover great things happening at places
nearby. *
*Download Spawt for your iPhone now at http://dl.spawt.me*


On Fri, Feb 8, 2013 at 12:38 AM, dat hoang <notifications@github.com> wrote:

> In ner/utils.py:
>
> >          s.shutdown(socket.SHUT_RDWR)
> >          s.close()
> > +    except:
>
> This does not achieve the same result that I'm aiming for. When some other
> piece of code invoke this and get a resulting socket and throws an error
> (maybe not related to the socket), then the error gets caught by the except
> clause and discarded away. The socket shutdown/close code following "yield
> s" never gets executed and the socket doesn't gets cleaned up. This change
> a) defeats the purpose of this function and b) obscure any exception that
> should be propagated upwards.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/dat/pyner/pull/3/files#r2928974>.
>
>