drime

French rhyme dictionary with web and CLI interface
git clone https://a3nm.net/git/drime/
Log | Files | Refs | README

commit cdce4068c78da593e371a5df737f0df1bceb22db
parent 1e3e32d1068a76e43b5a1fa991ab05fcb7d917ce
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Fri, 19 Aug 2011 10:00:06 -0400

fix bug

Diffstat:
reorder.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reorder.py b/reorder.py @@ -24,7 +24,7 @@ names = {0: "pour l'œil", 1: "pauvre", 2: "suffisante", 3: "riche"} def key(l): # frequency of interpretation desc, phonemes desc, eye desc, same as base, frequency desc, alpha #print(l) - return (-float(l[0]), -l[10], -l[11], 0 if l[9] == l[3] else -1, -float(l[5]), l[3]) + return (-float(l[0]), -l[10], -l[11], 0 if l[9] == l[3] else 1, -float(l[5]), l[3]) mx = [0] * 12 while True: