Text Compression Methods Based on Dictionaries