Change format of dictionary file and correct some spelling errors