Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow WordLlama.rank to not sort the results
In some cases, it is useful to get a similarity measure for a list of documents, but not having it sorted (for example, to correlate with some characteristic of the documents in the original list). This change adds a parameter to rank(), so that the caller can decide the default, sorted, result (as it is now), or an unsorted result.
- Loading branch information