mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-15 02:20:40 +00:00
Add first things to get more context for one match.
This commit is contained in:
@ -294,4 +294,7 @@ class CQiWrapper(CQiClient):
|
||||
t1 = time.time()
|
||||
t_total = t1 - t0
|
||||
logger.warning('Got all sentences informations in {} seconds'. format(t_total))
|
||||
return context_sentences, all_cpos_infos, text_lookup
|
||||
match_context = {'context_s_cpos': context_sentences,
|
||||
'cpos_lookup': all_cpos_infos,
|
||||
'text_lookup': text_lookup}
|
||||
return match_context
|
||||
|
Reference in New Issue
Block a user