Commit 72ab5e41 authored by vpodpecan's avatar vpodpecan

new muse stuff

parent 813a195a
......@@ -125,6 +125,18 @@ def MUSE_PG_preprocessing(input_dict):
#end
def MUSE_PG_SRL(input_dict):
url = input_dict['url']
tokens = input_dict['tokens']
import socket
socket.setdefaulttimeout(None)
cli = JSONWSPClient(url)
result = cli.PG_SRL(tokens=tokens)
srl = result.response_dict['result']
return {'srl': srl}
#end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment