A document processing apparatus includes a first judgement unit for verifying the spelling of a word while referring to the first correct spelling information stored in a first spelling dictionary 17; a second judgement unit for verifying the spelling of a word different from those stored in the first spelling dictionary while referring to the second correct spelling information stored in a second spelling dictionary 13; a connection unit 12 for detachably connecting the second judgement unit to the apparatus main body; and a switch for switching the spelling verification judgement process between the first and second judgement units in accordance with the connection state of the second judgement unit relative to the connection unit. <IMAGE>