You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If each RRP is in a separate process, it will be alright (not sure if flask
supports this). The RRPs are in the same process, they will almost
certainly corrupt each other if they're used simultaneously, unfortunately.
Please let me know if bllip parser can be used in this fashion. I am using Flask.
During start-up:
rrp = RerankingParser.fetch_and_load('WSJ-PTB3', verbose=True)
While processing (multiple concurrent) requests from clients (Same object rrp is reused):
constituency_lisp_string = str(rrp.parse_tagged(tokens, possible_tags=dict(enumerate(postags)))[0].ptb_parse)
The text was updated successfully, but these errors were encountered: