function unigram_frequency_print ( c, freq, label )

%*****************************************************************************80
%
%% unigram_frequency_print() prints a letter frequency table.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    29 August 2021
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    integer C(27): the unigrams.
%
%    integer FREQ(27): the number of occurences of character i.
%
%    character LABEL, a label for the data.
%
  s = sum ( freq );

  fprintf ( 1, '\n' );
  fprintf ( 1, '%s\n', label );
  fprintf ( 1, '  Characters processed: %d\n', s );
  fprintf ( 1, '\n' );
  for i = 1 : length ( c )
    fprintf ( 1, '  %s:  %d\n', c(i), freq(i) );
  end

  return
end

