Filter results before sorting (or use max straight away)
nielstron opened this issue · comments
Niels Mündler commented
Is your feature request related to a problem? Please describe.
In disambiguation, the results of the classifier areas first sorted, then filtered, thanks the first element is chosen. This is a possible runtime problem and unnecessarily complicated.
Describe the solution you'd like
Just use max for choosing the best result and filter first to reduce the list length.
Describe alternatives you've considered
Sorting may be kept