Commit 53d5369c authored by Dominique Merle's avatar Dominique Merle
Browse files

Sparsely document.

Really not fond of the :param thing: shenanigans.
parent 96db16fa
......@@ -263,6 +263,12 @@ def deliberate(judgments_data,
def sort_candidates(judgments_tallies, candidates, mentions):
"""
:param judgments_tallies: Dict, candidate => mention => int
:param candidates: List
:param mentions: List, highest to lowest
:return:
"""
def _cmp_candidates(ca, cb):
# Here we could hook to external, replaceable classes
# to simplify usage of other algorithms.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment