According to such methods, it is impossible to cope with documents of many kinds of formats as shown in FIGS. 11A to 11D. For example, a condition such that the separator in the lateral direction exists in the document, the document is laterally written, or the like is needed.