Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube :

Commit 32096067 authored by Janez K's avatar Janez K
Browse files

Merge branch 'dev'

parents 42735127 e09fc779
......@@ -95,8 +95,8 @@ def nlp_def_extraction_patterns(input_dict):
wsdl = input_dict.get('wsdl', '')
ws = WebService(wsdl, 60000)
pattern = input_dict['pattern']
response = ws.client.GlossaryExtractionByWnet(corpus=annotations,
lang=lang, pattern=pattern)
response = ws.client.GlossaryExtractionByPatterns(corpus=annotations,
lang=lang, pattern=pattern)
return {'sentences': response['candidates']}
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