alan-turing-institute / netts

Toolbox for creating networks capturing semantic content of speech transcripts.
https://alan-turing-institute.github.io/netts/
GNU General Public License v3.0
8 stars 1 forks source link

OpenIE Client should not block on `connect()` but instead start processing transcripts until we're server comes online #83

Open OscartGiles opened 3 years ago

Iain-S commented 3 years ago

Could we return after the self.process = subprocess.Popen(...) and then do the while True loop the first time somebody calls extract()? By that point, we can't proceed until the server is up and running.

OscartGiles commented 3 years ago

I think that should do it