function L = compute_text_likelihood(filename, T, dict, histogram)
% Compute the (log) likelihood L of a given string (in 'filename') given
% a word transition probability T, dictionary 'dict', and histogram
% 'histogram'
