Here we assume the dictionary is provided on standard input.
say lines.grep({ [le] .comb }).classify(*.chars).max(*.key).value
[abbott accent accept access accost almost bellow billow biopsy chilly choosy choppy effort floppy glossy knotty]
Last updated 1 year ago