A Method of Query Generation Using the Related Word Extraction Algorithm