Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue