Help for this page

Select Code to Download


  1. or download this
    Build new empty hash 'output'
    Build a list of keys from longest to shortest
    For each key in the list
       If key not a fragment of a key in the output hash
           Add key to output hash
    
  2. or download this
    my %phrase_counts = (
              'rendition' => '3',
    ...
              'technology process' => 5,
              'automation process' => 2,
    );