Log tokenization options in a section separated from results.
This commit is contained in:
parent
d63781a0d2
commit
ee5492e69d
@ -162,7 +162,8 @@ def pick_one_tokenization(options, knowledge_base):
|
||||
Just pick the one with more results.
|
||||
'''
|
||||
options = list(options)
|
||||
with session().log("Picking among: {} options\n{}".format(len(options), '\n'.join(map(str, options)))):
|
||||
with session().log("Picking among: {} options".format(len(options))):
|
||||
session().log("Options: \n{}".format('\n'.join(map(str, options))))
|
||||
return pick_by_score(options,
|
||||
[
|
||||
# By number of splits without structuring elements
|
||||
|
Loading…
Reference in New Issue
Block a user