摘要 |
PURPOSE:To provide the document processor which can automatically allocate one document to the same style with an existent document. CONSTITUTION:A CPU 6 stores an original sentence inputted from an input device 2 in a RAM 5, and then reads an example, specified from the input device 2, out of an external storage device 2 and stores it in the RAM 5. The CPU 6 takes a logical analysis of the example to obtain document structure and further obtains style information from the document structure, and also takes a logical analysis of the original sentence to obtain document structure. When the document structure of the example matches the document structure of the original sentence, the CPU 6 allocates the original sentence to the style of the example and shapes it on the basis of the style information on the example and the document structure of the original sentence. Consequently, the original sentence is automatically allocated to the same style with the existent example. |