mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-27 06:30:37 +00:00
Add first things to get more context for one match.
This commit is contained in:
1 parent
d2334e6a1e
commit
94e8d0895c
3 files changed
+51
-5
No files matched your search
@@ -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