Currently editor.suggest returns words or tuples ordered by likelihood.
It would be great to be able to return the actual likelihood to compare likelihoods between suggestions. This could be done by passing the meta=True argument
Sample usage:
sug = editor.suggest('this is a tiny {mask} dog', meta=True)
print(sug.data[0], sug.meta[0])
print(sug.data[0], sug.meta[0])
'cute', 0.98
'yappy', 0.86
Currently editor.suggest returns words or tuples ordered by likelihood. It would be great to be able to return the actual likelihood to compare likelihoods between suggestions. This could be done by passing the meta=True argument
Sample usage: