Inverted index: Difference between revisions
Content added Content deleted
m (→{{header|jq}}: shorten lines) |
m (→{{header|Perl 6}}: Updating deprecated 'uniq' to 'unique') |
||
Line 1,834: | Line 1,834: | ||
$file X=> slurp($file).lc.words; |
$file X=> slurp($file).lc.words; |
||
} |
} |
||
(my %inv).push: %norm.invert. |
(my %inv).push: %norm.invert.unique; |
||
while prompt("Search terms: ").words -> @words { |
while prompt("Search terms: ").words -> @words { |