A semiconductor memory device performing an erase operation using an erase gate and a method of manufacturing the same are provided. Two document units are extracted from a document database and relevance degrees between individual elements of a group of the document units are calculated. A dataset tag is included in the data entries in either dataset indicating which dataset each entry belongs to. The adjusting the magnetic field can be based on a location of the magnetically movable object over the display.