LoadDictionary + ANC corpus

LoadDictionary loads word frequency corpus in the ANC format and
calculates the log probability for each transition in the trie, as well
as the ending log probability for each node.