Data update

This commit is contained in:
Ingy döt Net 2024-03-06 22:25:12 -08:00
parent ed705008a8
commit 0df55f9f24
2196 changed files with 32999 additions and 3075 deletions

View file

@ -19,7 +19,7 @@ public program()
auto dictionary := new Map<string,object>();
File.assign("unixdict.txt").forEachLine:(word)
File.assign("unixdict.txt").forEachLine::(word)
{
var key := word.normalized();
var item := dictionary[key];
@ -29,13 +29,13 @@ public program()
dictionary[key] := item
};
item.append:word
item.append(word)
};
dictionary.Values
.quickSort:(former,later => former.Item2.Length > later.Item2.Length )
.top:20
.forEach:(pair){ console.printLine(pair.Item2) };
.quickSort::(former,later => former.Item2.Length > later.Item2.Length )
.top(20)
.forEach::(pair){ console.printLine(pair.Item2) };
var end := now;