In the case of being composed of software, the program for realizing the function of the data compression apparatus and data retrieving apparatus may be contained in recording mediums such as a floppy disk or a CD-ROM, in order to be read out and execute by a computer.