JP2006302068A - Character processing apparatus - Google Patents

Character processing apparatus Download PDF

Info

Publication number
JP2006302068A
JP2006302068A JP2005124587A JP2005124587A JP2006302068A JP 2006302068 A JP2006302068 A JP 2006302068A JP 2005124587 A JP2005124587 A JP 2005124587A JP 2005124587 A JP2005124587 A JP 2005124587A JP 2006302068 A JP2006302068 A JP 2006302068A
Authority
JP
Japan
Prior art keywords
character
font data
font
unit
speech
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2005124587A
Other languages
Japanese (ja)
Other versions
JP4309867B2 (en
Inventor
Akira Kataoka
朗 片岡
Masashi Enomoto
昌史 榎本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KATAOKA DESIGN WORKS KK
Original Assignee
KATAOKA DESIGN WORKS KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KATAOKA DESIGN WORKS KK filed Critical KATAOKA DESIGN WORKS KK
Priority to JP2005124587A priority Critical patent/JP4309867B2/en
Publication of JP2006302068A publication Critical patent/JP2006302068A/en
Application granted granted Critical
Publication of JP4309867B2 publication Critical patent/JP4309867B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a character processing apparatus which changes font data to be assigned, in accordance with parts of speech. <P>SOLUTION: In a character processing apparatus 10, a character string analysis part 24 analyzes parts of speech of words in an inputted character string, and a font data storage part 44 has font data stored therein corresponding to parts of speech, and an assignment part 26 assigns font data to inputted characters in accordance with analyzed parts of speech of words. A plurality of pieces of font data are held per character to constitute the storage part 44. Font data representing a prescribed character string may be held in the storage part 44. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、文字を表現する文字処理装置に関し、特に手で書いたような文字を画面上や印刷紙上などに表現する文字処理装置に関する。   The present invention relates to a character processing device that expresses characters, and more particularly, to a character processing device that expresses characters written by hand on a screen, printed paper, or the like.

従来のワープロソフトには、様々な種類のフォントが組み込まれている。「フォント」とは、文字をコンピュータを使って表示したり印刷したりする際の文字の形であり、「書体」とも呼ばれる。ワープロソフトは、ゴシック体や明朝体など複数のフォントタイプを予め用意しておき、ユーザが文章の種類に応じてフォントを使い分けることで、文章の表現力を向上させることができる。   Various types of fonts are incorporated in conventional word processing software. A “font” is a character shape used when a character is displayed or printed using a computer, and is also called a “typeface”. The word processor software can prepare a plurality of font types such as Gothic and Mincho in advance, and the user can use different fonts according to the type of the sentence, thereby improving the expression of the sentence.

フォントデータをコンピュータに持たせる代表的な手法として、文字の形を小さな正方形の点(ドット)の集まりとして表現するビットマップフォントと、基準となる点の座標と輪郭線の集まりとして表現するアウトラインフォントが存在する。これらは、表示処理または印刷処理の高速性を重視するか、または文字の美観性を重視するかにより、使い分けがなされる。例えばビットマップフォントは高速処理が可能である一方で、拡大・縮小すると文字の形が崩れてしまうという欠点がある。アウトラインフォントは、表示や印刷に時間がかかるが、いくら拡大・縮小しても美しい出力が可能である。近年では、コンピュータの処理速度の向上、およびプリンタの高解像度化にともなって、アウトラインフォントによる処理時間の遅延が低減されるようになり、アウトラインフォントが好まれて利用される場面がふえている。   As a typical method of giving font data to a computer, a bitmap font that expresses the shape of a character as a collection of small square dots (dots) and an outline font that expresses the coordinates of a reference point and a collection of outlines Exists. These are selectively used depending on whether high-speed display processing or printing processing is important or whether aesthetics of characters is important. For example, while bitmap fonts can be processed at high speed, there is a drawback in that the shape of characters is lost when the font is enlarged or reduced. Outline fonts take time to display and print, but beautiful output is possible no matter how much they are enlarged or reduced. In recent years, with an increase in computer processing speed and higher resolution of printers, delays in processing time due to outline fonts have been reduced, and scenes in which outline fonts are preferred and used are increasing.

単なる情報を伝達するためであれば、ゴシック体や明朝体などのフォントが典型的に用いられる。例えば事務書類では、フォントを工夫することによる美観性は重視されず、情報の伝達を主目的とするため、ゴシック体や明朝体などのフォントで文書を作成することが一般に行われている。一方で、年賀状や挨拶状などのフォーマルな文書や、知人に宛てる手紙などでは、毛筆体のフォントが用いられることが多い。毛筆体の書体は、力強く、またときに爽やかな雰囲気を醸しだす。このように、状況に応じて適切なフォントを選択することで、文章の内容だけでなく、その文章全体から文書作成者の意図を読み手に伝えようとしている。   For the purpose of simply transmitting information, fonts such as Gothic and Mincho are typically used. For example, in office documents, aesthetics by devising fonts are not emphasized, and since the main purpose is to transmit information, it is common practice to create documents in fonts such as Gothic and Mincho. On the other hand, brush fonts are often used for formal documents such as New Year's cards and greeting cards, and letters addressed to acquaintances. The brush typeface creates a powerful and sometimes refreshing atmosphere. In this way, by selecting an appropriate font according to the situation, the intention of the document creator is transmitted to the reader not only from the contents of the sentence but also from the entire sentence.

このようなフォントを工夫する技術として、例えば特許文献1に開示されるように、手書きの文字フォントで個性を表現するものや、特許文献2、3に開示されるように、フォントの濃淡を調整するものなどが提案されている。
特開2002−297115号公報 特開平5−238066号公報 特開2004−61909号公報
As a technique for devising such a font, for example, as disclosed in Patent Literature 1, the character is expressed by a handwritten character font, and as disclosed in Patent Literatures 2 and 3, the density of the font is adjusted. Something to do is proposed.
JP 2002-297115 A Japanese Patent Laid-Open No. 5-238066 JP 2004-61909 A

古来より長らく文字は毛筆で書かれていたが、現在では毛筆を使う人は少なく、特に若者にいたっては皆無という状況にある。さらに万年筆についてみると、毛筆よりもさらに使用される機会が少なくなっており、万年筆の文化自体が廃れつつある現状がある。万年筆や毛筆による文字は、手のぬくもりを相手に伝えることができ、手書きならではの味わいを醸し出す。例えば、墨やインクのかすれ、にじみなどを見て、読み手は書き手の心理状態を想像し、思いを巡らすこともある。これは、一つの日本文化である。   For a long time, letters were written with a brush, but now there are few people who use a brush, especially for young people. Furthermore, with regard to fountain pens, there are fewer opportunities to use them than brushes, and the culture of the fountain pens is becoming obsolete. Letters with a fountain pen and brush can convey the warmth of the hand to the other party, creating a taste unique to handwriting. For example, the reader may imagine the psychological state of the writer and ponder his thoughts by looking at the blurring of ink or ink. This is a Japanese culture.

上記したように、毛筆フォントを提供するワープロソフトは従来から存在するが、明朝体やゴシック体などの他のフォントと同様に、一つ一つの文字に同じ大きさのフォントデータが用意されているにすぎない。そのため、明朝体やゴシック体などの典型的なフォントに比べて、文字単体による美観を構成することはできるが、それらの文字は、決められた大きさのマスにそれぞれ画一的に表現されるため、文章全体として見た場合の美観性は乏しいといえる。文章を手書きする場合、文字の大きさは全てが同じになることはなく、また正確に直線的に並ぶものでもない。手書きの文書には抑揚があり、全てが画一的に統一されたものでもなく、それらのある種雑然とした視覚効果により、手書き感が発生するということが言える。   As mentioned above, word processor software that provides brushstroke fonts has existed in the past, but as with other fonts such as Mincho and Gothic fonts, font data of the same size is prepared for each character. I'm just there. Therefore, compared to typical fonts such as the Mincho and Gothic fonts, it is possible to compose a aesthetic appearance with single characters, but these characters are each expressed uniformly in a square of a predetermined size. Therefore, it can be said that the aesthetics when viewed as a whole sentence are poor. When handwriting a sentence, the size of the letters is not all the same, and they are not exactly lined up. It can be said that handwritten documents have inflections, and not all of them are uniformly unified, but a handwritten feeling is generated by their sort of cluttered visual effects.

そこで本発明は、手書きの雰囲気を醸し出す文字処理装置を提供することを目的とする。   Therefore, an object of the present invention is to provide a character processing device that creates a handwritten atmosphere.

上記課題を解決するために、本発明のある態様の文字処理装置は、ユーザからの文字入力を受け付ける受付部と、入力された文字列における単語の品詞を解析する解析部と、フォントデータを格納する格納部と、解析された単語の品詞に応じて、入力された文字に、格納部に格納されたフォントデータを割り当てる割当部とを備える。   In order to solve the above problems, a character processing device according to an aspect of the present invention stores a receiving unit that receives character input from a user, an analysis unit that analyzes a part of speech of a word in the input character string, and font data And a allocating unit that assigns font data stored in the storage unit to the input character according to the part of speech of the analyzed word.

この態様によると、品詞に応じて入力された文字にフォントデータを割り当てることで、同一の文字であっても、その使われ方によって異なるフォントデータを使用することができる。これにより、この態様の文字処理装置は、作成する文書の手書き感を向上することができる。   According to this aspect, by assigning font data to characters input according to the part of speech, even if the same character is used, different font data can be used depending on how it is used. Thereby, the character processing apparatus of this aspect can improve the handwriting feeling of the document to create.

格納部は、1つのフォントタイプにおいて、同一の文字につき複数のフォントデータを保持してもよい。また格納部は、所定の文字列を表現したフォントデータを保持してもよい。さらに格納部は、フォントデータを画像データとして保持してもよい。   The storage unit may hold a plurality of font data for the same character in one font type. The storage unit may hold font data representing a predetermined character string. Further, the storage unit may hold the font data as image data.

本態様の文字処理装置は、仮想的な基準線を設定し、その基準線を基準として受付部において受け付けた文字の位置を決定する配置部をさらに備えてもよい。また前後に続く単語の品詞の関係から、その単語間の間隔を決定する配置部をさらに備えてもよい。   The character processing device according to this aspect may further include an arrangement unit that sets a virtual reference line and determines the position of the character received by the reception unit using the reference line as a reference. Moreover, you may further provide the arrangement | positioning part which determines the space | interval between the words from the relationship of the part of speech of the word which follows before and after.

なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、記録媒体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効である。   It should be noted that any combination of the above-described constituent elements and a conversion of the expression of the present invention between a method, an apparatus, a system, a recording medium, a computer program, etc. are also effective as an aspect of the present invention.

本発明によれば、手書きの雰囲気を醸し出すことのできる文字処理装置を提供することができる。   According to the present invention, it is possible to provide a character processing device that can create a handwritten atmosphere.

図1は、本発明の実施例にかかる文字処理装置の構成を示す。文字処理装置10は、入力受付部20、前処理部22、文字列解析部24、割当部26、配置部28、表示変換処理部30、選択部32および格納部40を備える。格納部40は、辞書データ格納部42およびフォントデータ格納部44を有する。本実施例の文字処理装置10は、ワードプロセッサないしはワードプロセッサ用のソフトウエアを組み込んだコンピュータであり、ユーザより入力された文字の表示態様を、その文字が属する単語の品詞に応じて変化させる機能をもつ。   FIG. 1 shows the configuration of a character processing apparatus according to an embodiment of the present invention. The character processing device 10 includes an input receiving unit 20, a preprocessing unit 22, a character string analysis unit 24, an allocation unit 26, an arrangement unit 28, a display conversion processing unit 30, a selection unit 32, and a storage unit 40. The storage unit 40 includes a dictionary data storage unit 42 and a font data storage unit 44. The character processing device 10 of this embodiment is a computer incorporating a word processor or software for a word processor, and has a function of changing the display mode of a character input by a user according to the part of speech of the word to which the character belongs. .

本実施例における文字処理装置10の文字処理機能は、CPU、メモリ、メモリにロードされたプログラムなどによって実現され、ここではそれらの連携によって実現される機能ブロックを描いている。プログラムは、文字処理装置10に内蔵されていてもよく、また記録媒体に格納された形態で外部から供給されるものであってもよい。また、ネットワークを介して外部から供給される形態をとってもよい。例えば、図1に示す機能ブロックを実行するソフトウェアの形態で文字処理機能が実現されてもよい。このとき、例えば本実施例の文字処理機能を実現する製品は、ワードプロセッサ用のソフトウエアとなる。したがってこれらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者に理解されるところである。   The character processing function of the character processing apparatus 10 in the present embodiment is realized by a CPU, a memory, a program loaded in the memory, and the like, and here, functional blocks realized by their cooperation are depicted. The program may be built in the character processing apparatus 10 or supplied from the outside in a form stored in a recording medium. Moreover, the form supplied from the outside via a network may be taken. For example, the character processing function may be realized in the form of software that executes the functional blocks shown in FIG. At this time, for example, a product that realizes the character processing function of this embodiment is software for a word processor. Accordingly, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.

文字処理装置10は、例えばコンピュータ上でワープロソフトを起動することで実現される。入力受付部20は、ユーザからの入力を受け付ける。ユーザは、例えばキーボードやマウスなどの入力インタフェースを利用して入力を行う。本実施例のワープロソフトを起動すると、モニタには、例えば複数のフォントタイプの選択画面が表示される。   The character processing device 10 is realized, for example, by starting word processing software on a computer. The input receiving unit 20 receives input from the user. The user performs input using an input interface such as a keyboard or a mouse. When the word processor software of the present embodiment is activated, for example, a plurality of font type selection screens are displayed on the monitor.

複数種類のフォントタイプは、男性用と女性用に分けて作成されてもよい。一般に男性と女性の筆圧は異なり、手書きされた文字をみると、書き手が男性であるか、または女性であるかの判断がつくことが多い。「書は人を表す」とはよくいわれるが、手書き文字は、人の性別のみならず、内面の性格的な要素も表す。筆使いに心が表れるということは、筆をもったことのある人であれば容易に理解ができるであろう。本実施例の文字処理装置10は、コンピュータ上での入力でありながら、あたかも手書きしたかのような文章を出力できる。そのため、本実施例のフォントデータ格納部44は、ユーザの選択肢を広げるために、様々な種類の万年筆フォントタイプを用意する。なお、本実施例の文字処理装置10は、万年筆書体だけでなく、毛筆書体やその他の書体を用意してもよい。   Multiple types of font types may be created separately for men and women. Generally, men and women have different writing pressures, and handwritten characters often determine whether the writer is male or female. It is often said that "a book represents a person", but handwritten characters represent not only a person's gender but also an inner personality element. It is easy for anyone who has a brush to understand that a brush is used. The character processing apparatus 10 according to the present embodiment can output a text as if it were handwritten while being input on a computer. For this reason, the font data storage unit 44 of this embodiment prepares various types of fountain pen font types in order to expand the user's choices. In addition, the character processing apparatus 10 of a present Example may prepare not only a fountain calligraphy font but a writing brush font and other typefaces.

ユーザは、モニタに表示されるフォントタイプの選択画面をみて、入力インタフェースを用いて、いずれか気に入ったフォントタイプを選択する。例えば、選択画面には、フォントタイプ選択用のボタンが複数用意され、いずれかのボタンを選択することで、フォントタイプの選択指示がなされる。入力受付部20が、ユーザのフォントタイプ選択指示を受け付けると、選択部32が、フォントデータ格納部44に格納された複数のフォントファイルの中から、使用するフォントファイルを選択する。フォントファイルは、フォントタイプのフォントデータを保持したファイルであり、フォントタイプの数だけ存在する。フォントタイプのそれぞれは、例えば力強い書体、線の細い書体、かすれの多い書体、躍動感のある書体など、何らかの主題を有し、対応するフォントファイルは、その主題に沿ったフォントデータを有するように作成される。   The user looks at the font type selection screen displayed on the monitor, and selects one of the favorite font types using the input interface. For example, a plurality of buttons for font type selection are prepared on the selection screen, and a font type selection instruction is made by selecting one of the buttons. When the input reception unit 20 receives a user's font type selection instruction, the selection unit 32 selects a font file to be used from among a plurality of font files stored in the font data storage unit 44. The font file is a file holding font type font data, and there are as many font types as there are font types. Each font type has some subject, such as a strong typeface, a thin typeface, a typeface with a faint appearance, a typeface with a feeling of movement, and the corresponding font file has font data according to the subject. Created.

これらの書体は、それぞれ書体の作成時に、実際に万年筆を用いて手書きした文字をスキャナで読み取ることで作成されてもよい。このとき、フォントタイプをユーザに対して表現するものは、フォントデータのモデルとなった人の名前であってもよく、万年筆や筆などの筆記具の名称、または上記したようにフォントタイプの主題であってもよい。なお、複数種類のフォントファイルをデフォルトとして用意しておき、さらにユーザ自身が、自分で手書きしたフォントデータを、フォントファイルとして作成できるようにしてもよい。また、デフォルトで用意されたフォントファイルに、ユーザが手書きして作成したフォントデータを組み込めるようにしてもよい。フォントデータ格納部44は、フォントデータを画像データとして格納している。なお、フォントデータ格納部44は、少なくとも全てのひらがな文字の画像データを一文字ずつ保持する。印刷技術の進歩により、家庭用のプリンタでも細かな濃淡まで再現可能になった。万年筆で書かれた手書き文字を高解像度でスキャンした画像データをフォントデータとすることで、印刷して得られる書面は万年筆の濃淡やかすれ具合までを再現したものになる。以上のように、本実施例では、フォントデータが、画像データとして用意されているものとするが、例えばフォントデータは、従来のようにアウトラインフォントないしはビットマップフォントとして用意することも可能であり、また関数として表現することも可能である。また、フォントデータは、アウトラインフォントを特定する情報と文字サイズや文字修飾の種類を特定する情報の組み合わせとして用意してもよい。   Each of these typefaces may be created by reading a character actually handwritten with a fountain pen with a scanner when creating the typeface. At this time, what represents the font type to the user may be the name of the person who became the model of the font data, and the name of the writing instrument such as a fountain pen or brush, or the subject of the font type as described above. There may be. A plurality of types of font files may be prepared as defaults, and the user himself / herself may create font data handwritten by himself as a font file. In addition, font data created by handwriting by the user may be incorporated into a font file prepared by default. The font data storage unit 44 stores font data as image data. The font data storage unit 44 holds image data of at least all hiragana characters one by one. Advances in printing technology have made it possible to reproduce fine shades even on home printers. By using font data as image data obtained by scanning handwritten characters written with a fountain pen at high resolution, the document obtained by printing reproduces the shading and faintness of the fountain pen. As described above, in this embodiment, it is assumed that the font data is prepared as image data. However, for example, the font data can be prepared as an outline font or a bitmap font as in the past. It can also be expressed as a function. Further, the font data may be prepared as a combination of information for specifying the outline font and information for specifying the character size and character modification type.

選択部32がフォントタイプを選択すると、以降の処理においては、選択されたフォントタイプのフォントデータのみが利用されることになる。なお、文章の入力途中でフォントタイプを変更することを可能としてもよいが、この場合には、複数の人間が協同して一つの文書を手書きしたような印象を与えることになる。   When the selection unit 32 selects a font type, only the font data of the selected font type is used in the subsequent processing. Note that it is possible to change the font type in the middle of text input, but in this case, it gives the impression that a plurality of people cooperated to handwrite a single document.

フォントデータ格納部44は、1つのフォントタイプにおいて、同一の文字につき、複数のフォントデータを保持する。例えば、ひらがなの「の」について、サイズの大きいものと、サイズの小さいものを用意する。もちろんサイズの違いだけでなく、横長のフォントデータや、縦長のフォントデータなど、上下左右の比率が異なるものを用意してもよい。なお、フォントデータ格納部44は、全ての文字について複数のフォントデータを保持する必要はなく、少なくとも一部の文字について複数のフォントデータを保持していればよい。   The font data storage unit 44 holds a plurality of font data for the same character in one font type. For example, for hiragana “no”, a large size and a small size are prepared. Of course, not only the difference in size but also a horizontally long font data or a vertically long font data such as those having different top / bottom / left / right ratios may be prepared. Note that the font data storage unit 44 does not need to hold a plurality of font data for all characters, and may hold a plurality of font data for at least some characters.

またフォントデータ格納部44は、所定の文字列を表現したフォントデータを保持する。例えば、「ぼんやり」という文字列を出力する場合、フォントデータ格納部44は、「ぼ」、「ん」、「や」、「り」をそれぞれ一文字の画像データとして保持しているが、一文字の画像データとは別に、文字列「ぼんやり」を一つの画像データとして保持してもよい。これにより、文字処理装置10では、4つの画像データを配列して文字列「ぼんやり」を出力できるだけでなく、1つの画像データで文字列「ぼんやり」を出力することもできる。   The font data storage unit 44 holds font data representing a predetermined character string. For example, in the case of outputting a character string “buzzy”, the font data storage unit 44 holds “bo”, “n”, “ya”, “ri” as image data of one character. In addition to the image data, the character string “blurred” may be held as one image data. As a result, the character processing apparatus 10 can output not only the character string “blurred” by arranging the four image data, but also can output the character string “blurred” with one image data.

フォントデータ格納部44のデータ量を削減するため、一つの画像データで表現する所定の文字列は、一続きの文字列として多用されるものに限定することが好ましい。人が文章を書くとき、一つの単語は、一気に書き上げられる傾向がある。一気に書き上げる文字列は、文字同士が繋がり、読み手からみても、繋がった文字は一つの意味を構成することが推測できる。このような効果を実現するために、複数の文字から構成される所定の文字列については、フォントデータ格納部44が、文字同士を繋げて表現したフォントデータを保持することが好ましい。   In order to reduce the amount of data stored in the font data storage unit 44, it is preferable that the predetermined character string expressed by one image data is limited to one frequently used as a series of character strings. When a person writes a sentence, one word tends to be written at a stretch. Character strings written at once are connected to each other, and it can be inferred from the readers that the connected characters constitute one meaning. In order to realize such an effect, it is preferable that the font data storage unit 44 holds font data expressed by connecting characters for a predetermined character string including a plurality of characters.

フォントタイプが選択された後、前処理部22は、モニタに文字の入力画面を表示する。入力画面は、既存のワープロソフトで見られるようなものであってよく、画面中の入力位置にカーソルが点滅して、ユーザが文字入力をすると、カーソルが行方向に動くとともに、そのカーソルの点滅箇所から入力文字が表示される。   After the font type is selected, the preprocessing unit 22 displays a character input screen on the monitor. The input screen may be similar to that found in existing word processing software. When the cursor blinks at the input position on the screen and the user enters characters, the cursor moves in the line direction and the cursor blinks. Input characters are displayed from the location.

入力受付部20は、ユーザから文字入力を受け付け、前処理部22は、画面中に入力された文字をひらがなで表示する。このとき、前処理部22は、フォントデータ格納部44において選択されたフォントファイルを用いるのではなく、例えば明朝体などのフォントデータを用いて入力された文字を表示してもよい。入力された文字は、文字処理装置10の入力インターフェースとして設けられた変換キーが押下されると、フォントデータ格納部44の対応するフォントデータに変換される。この処理は、基本的には、既存のワープロソフトにおける処理と同様である。したがって、変換キーをユーザが押すまでは、未変換の状態で、入力されたひらがなが画面上の行に並べられていく。   The input receiving unit 20 receives a character input from the user, and the preprocessing unit 22 displays the characters input on the screen in hiragana. At this time, the preprocessing unit 22 may display characters input using font data such as Mincho, instead of using the font file selected in the font data storage unit 44. When a conversion key provided as an input interface of the character processing device 10 is pressed, the input character is converted into corresponding font data in the font data storage unit 44. This processing is basically the same as the processing in existing word processing software. Therefore, until the user presses the conversion key, the input hiragana characters are arranged in rows on the screen in an unconverted state.

図2は、ユーザより入力されて、前処理部22により画面に表示された例を示す。入力受付部20が、ユーザから「のんびりとしためざめ。」とかな入力を受け付け、前処理部22が画面に文字列を表示させる。図2では、明朝体のフォントで文字が表示されている。なお、文章の横に付した点線は、入力文字が変換前であることを示している。   FIG. 2 shows an example of input from the user and displayed on the screen by the preprocessing unit 22. The input accepting unit 20 accepts an input such as “slowly and swiftly” from the user, and the preprocessing unit 22 displays a character string on the screen. In FIG. 2, characters are displayed in a Mincho font. A dotted line attached to the side of the sentence indicates that the input character is not converted.

なお、図2では明朝体のフォントで文字を表示しているが、フォントデータ格納部44に格納されたひらがなのフォントデータで文字を画面を表示してもよい。明朝体で表示させているのは、データの処理量を軽くするためであり、文字処理装置10がハイスペックなハードウエアで構成されていれば、フォントデータ格納部44に格納された文字の画像データ(フォントデータ)を用いて、画面の表示を行ってもよい。   In FIG. 2, characters are displayed in Mincho font, but characters may be displayed on the screen using hiragana font data stored in the font data storage unit 44. The display in the Mincho style is to reduce the amount of data processing. If the character processing device 10 is composed of high-spec hardware, the character data stored in the font data storage unit 44 is displayed. Screen display may be performed using image data (font data).

ユーザが、キーボード上の変換ボタンを押下すると、入力受付部20が、その押下を受け付け、文字列解析部24が、自然言語で書かれた文を形態素の列に分割する形態素解析を行う。具体的に、文字列解析部24は、単語の境界を判別する「わかち書き」処理を行い、品詞を解析する。まずわかち書き処理により、入力文字列「のんびりとしためざめ」は、「のんびり」、「と」、「し」、「た」、「めざめ」、「。」の単語に分けられる。なお、本実施例では、句読点も単語の一つとしてわかち書き処理している。   When the user presses the conversion button on the keyboard, the input receiving unit 20 receives the pressing, and the character string analyzing unit 24 performs morpheme analysis that divides a sentence written in a natural language into morpheme strings. Specifically, the character string analysis unit 24 performs a “wakachi writing” process for discriminating word boundaries and analyzes the part of speech. First, by the wakachi writing process, the input character string “slowly and sizzling” is divided into the words “slowly”, “to”, “shi”, “ta”, “mezame”, “.”. In this embodiment, the punctuation mark is also processed as a word.

文字列解析部24は、入力された複数文字からなる文字列における品詞を解析する。わかち書き処理と品詞の解析は、同時に実行されてもよい。つまり、わかち書き処理が行われた際に、分割された単語に対して品詞を割り当てる処理が行われてもよい。形態素解析は、単語を文法的な機能や形態などにより分類することで実行される。品詞の分類法としては、形態的な分類法、意味的な分類法、統語的な分類法などが考えられており、本実施例において形態素解析は、既存の文法解析アルゴリズムを利用することで行われてもよい。   The character string analysis unit 24 analyzes the part of speech in the input character string composed of a plurality of characters. The writing process and the part-of-speech analysis may be executed simultaneously. That is, when the writing process is performed, a process of assigning parts of speech to the divided words may be performed. Morphological analysis is performed by classifying words according to grammatical functions and forms. As part-of-speech classification methods, morphological classification method, semantic classification method, syntactic classification method, etc. are considered. In this example, morphological analysis is performed by using an existing grammar analysis algorithm. It may be broken.

文字列解析部24の解析機能を実現するために、辞書データ格納部42は、日本語文法の知識と品詞付きの単語リストを保持した辞書データを格納する。さらに辞書データ格納部42は、読み(かな)と漢字との変換対応表を保持する。文字列解析部24は、単語の品詞を求め、さらに辞書データ格納部42に格納された辞書および変換対応表を参照して、ひらがな文を漢字仮名混じり文に変換する。この例では、かな文字列「めざめ」を、「目ざめ」に変換する。   In order to realize the analysis function of the character string analysis unit 24, the dictionary data storage unit 42 stores dictionary data holding knowledge of Japanese grammar and a word list with parts of speech. Further, the dictionary data storage unit 42 holds a conversion correspondence table between reading (kana) and kanji. The character string analysis unit 24 obtains the part of speech of the word and further converts the hiragana sentence into a kanji-kana mixed sentence by referring to the dictionary and the conversion correspondence table stored in the dictionary data storage unit 42. In this example, the kana character string “Awake” is converted to “Awake”.

図3は、文字列解析部24による品詞解析結果を示す。「のんびりとしためざめ。」を品詞解析すると、わかち書き処理された単語が、それぞれ対応する品詞に分けられる。   FIG. 3 shows a part of speech analysis result by the character string analysis unit 24. When the part-of-speech analysis of “slowly and savory shark” is performed, the words that have been processed for writing are divided into corresponding parts of speech.

図4は、従来のフォントタイプの一つである明朝体で記述した例文を示す。この例文は、従来のワープロソフトにより文字処理したものである。一般に、明朝体はビジネス文書など、フォーマルな堅い文書に使われることが多い。従来のワープロソフトでは、全ての文字が同じ大きさで出力され、また一文字が決められたマス内に出力されて、文字間隔が等しく設定されている。   FIG. 4 shows an example sentence described in the Mincho style, which is one of the conventional font types. This example sentence is a character processed by conventional word processing software. In general, the Mincho style is often used for formal, hard documents such as business documents. In conventional word processing software, all characters are output in the same size, and one character is output in a predetermined cell, and the character spacing is set equal.

図5は、図4に示した例文を従来のフォントタイプの一つである毛筆の楷書体で記述したものを示す。毛筆体のフォントで文字を記述すると、明朝体やゴシック体よりも柔らかい雰囲気を醸し出すことができる。しかしながら、全ての文字が同じ大きさで出力され、また文字間隔が等しく設定される点は、明朝体などの出力と同じである。   FIG. 5 shows the example sentence shown in FIG. 4 described in a brush typeface, which is one of the conventional font types. Writing characters in a brush font can create a softer atmosphere than Mincho and Gothic. However, all characters are output in the same size, and the character spacing is set equal.

図4および図5に示したように、従来のフォントタイプで文字出力すると、文字の大きさおよび文字間隔が全て等しいために、書き手の思いが読み手に伝わりにくい。毛筆体の場合には、明朝体などよりも若干雰囲気を和らげる効果は確かにあるが、それでもなお、単なる文字の羅列としか捉えられないことは否めない。そこで、本実施例の文字処理装置10では、手書き文章であるような雰囲気をだすことのできる文字処理機能を提供する。   As shown in FIGS. 4 and 5, when characters are output in the conventional font type, the size of the characters and the character spacing are all the same, so that the writer's feelings are not easily transmitted to the reader. In the case of a brushstroke body, there is certainly an effect that makes the atmosphere slightly softer than in the Mincho style, but it cannot be denied that it can still be regarded as just a list of characters. Therefore, the character processing apparatus 10 according to the present embodiment provides a character processing function that can give an atmosphere like a handwritten sentence.

図1に戻って、割当部26が、文字列解析部24において解析された単語の品詞に応じて、フォントデータ格納部44に格納されたフォントデータを当該単語に割り当てる。フォントデータ格納部44は、1つのフォントタイプにおいて、同一の文字につき複数のフォントデータを保持する。例えば、ひらがな文字「の」に対して、複数のフォントデータを画像データとして保持する。   Returning to FIG. 1, the assigning unit 26 assigns the font data stored in the font data storage unit 44 to the word according to the part of speech of the word analyzed by the character string analyzing unit 24. The font data storage unit 44 holds a plurality of font data for the same character in one font type. For example, a plurality of font data is held as image data for the hiragana character “no”.

図6は、フォントデータ格納部44が格納するフォントデータの一例を示す。ここでは、フォントデータ格納部44が、同一文字「の」に関して、複数のフォントデータを保持している状態を示す。なお、フォントデータ格納部44は、全ての文字について複数のフォントデータを保持する必要はなく、少なくとも特定の文字についてのみ複数のフォントデータを保持していればよい。なお、ハードディスク等のハードウエアの性能に余裕があれば、全ての文字について複数のフォントデータを保持しておき、それらのフォントデータを使い分けて、文章の統一感をあえて崩すことで、手書きの雰囲気を一層醸し出すことができる。   FIG. 6 shows an example of font data stored in the font data storage unit 44. Here, a state in which the font data storage unit 44 holds a plurality of font data for the same character “NO” is shown. Note that the font data storage unit 44 does not need to hold a plurality of font data for all characters, and only needs to hold a plurality of font data for at least specific characters. In addition, if there is a margin in the performance of hardware such as a hard disk, a plurality of font data is retained for all characters, the font data is used properly, and the sense of unity of the text is intentionally destroyed, thereby creating a handwritten atmosphere Can be created further.

フォントデータ格納部44は、フォントデータを、その文字が含まれる単語の品詞に対応付けて格納する。単語が一文字で構成される場合には、対応付けを行う品詞は、その文字自体で表現される単語の品詞を示し、単語が複数文字で構成される場合、対応付けを行う品詞は、その文字が含まれる単語の品詞を示す。例えば、単語「のんびり」は副詞であるが、割当部26は、単語「のんびり」に含まれる「の」に対して、副詞に対応付けて記憶されているフォントデータを割り当てることになる。   The font data storage unit 44 stores the font data in association with the part of speech of the word including the character. When a word is composed of one character, the part of speech to be associated indicates the part of speech of the word expressed by the character itself, and when the word is composed of a plurality of characters, the part of speech to be associated is the character Indicates the part of speech of a word that contains For example, although the word “free” is an adverb, the assigning unit 26 assigns font data stored in association with the adverb to “no” included in the word “free”.

図中、フォントデータとして、画面に表示するための表示データと、印刷用の印刷データの2種類を設定している。図6の例では、表示データおよび印刷データが同一の画像データで構成されているが、これらは異なるものであってもよい。印刷の解像度は一般に画面に表示する解像度よりも高いため、例えば印刷用のフォントデータを、表示用のフォントデータよりも解像度の高い画像データで作成してもよい。また、表示データおよび印刷データを別個のものとして用意しない場合には、1つのフォントデータのみ用意すればよい。   In the figure, two types of font data, display data for display on the screen and print data for printing, are set. In the example of FIG. 6, the display data and the print data are composed of the same image data, but they may be different. Since the printing resolution is generally higher than the resolution displayed on the screen, for example, the font data for printing may be created with image data having a higher resolution than the font data for display. If display data and print data are not prepared separately, only one font data need be prepared.

本実施例において、フォントデータ格納部44は、選択されたフォントタイプにおいて、文字「の」に対して、大きいフォントデータと小さいフォントデータを保持している。大きいフォントデータは、動詞、形容詞、名詞、連体詞、副詞、接続詞に対応付けられている。また、小さいフォントデータは、助詞、助動詞に対応付けられている。このように本実施例では、2種類のフォントデータを、自立語または付属語の一方に対応付けている。自立語とは、単独で文節を構成できる品詞であり、また付属語とは、単独で文節を構成できない品詞である。自立語および付属語は、さらに活用の有無によって分類することができ、活用の有無に応じて別のフォントデータを対応付けてもよい。   In the present embodiment, the font data storage unit 44 holds large font data and small font data for the character “NO” in the selected font type. Large font data is associated with verbs, adjectives, nouns, conjunctions, adverbs, and conjunctions. Small font data is associated with particles and auxiliary verbs. Thus, in this embodiment, two types of font data are associated with one of independent words or attached words. An independent word is a part of speech that can constitute a phrase alone, and an accessory word is a part of speech that cannot constitute a phrase alone. Independent words and ancillary words can be further classified according to whether or not they are used, and different font data may be associated depending on whether or not they are used.

本実施例では、文字処理に関するいくつかのポリシーをもとに、フォントデータと品詞とを対応づける。例えば、自立語は文章において重要な役割を果たすというポリシーのもとで、自立語、すなわち動詞、形容詞、名詞、連体詞、副詞、接続詞などの品詞に含まれる文字は、大きなフォントデータで表現する。一方で、付属語は文章において相対的に重要な役割を果たさないというポリシーのもとで、付属語、すなわち助詞、助動詞などの品詞に含まれる文字は、小さなフォントデータで表現する。フォントデータの割当て方法は、品詞に応じてさらに細分化されてもよい。例えば、活用の有無に応じて、フォントデータの割当てが設定されてもよい。さらに、品詞ごとに複数(3種類以上)のフォントデータを用意して、フォントデータの割当てが設定されてもよい。   In this embodiment, the font data and the part of speech are associated with each other based on some policies regarding character processing. For example, under the policy that independent words play an important role in sentences, characters contained in parts of speech such as independent words, that is, verbs, adjectives, nouns, conjunctions, adverbs, and conjunctions, are expressed in large font data. On the other hand, under the policy that an adjunct does not play a relatively important role in a sentence, the characters included in the part of speech such as an adjunct, that is, a particle and an auxiliary verb, are expressed by small font data. The font data allocation method may be further subdivided according to the part of speech. For example, font data allocation may be set according to whether or not it is used. Furthermore, a plurality (three or more types) of font data may be prepared for each part of speech, and font data allocation may be set.

また図6において、データ項目「配置位置」では、フォントデータの行中の配置位置が設定される。本実施例の文字処理装置10において、文章は、画面中ないしは印刷紙中に設定された行に入力される。本実施例では、文字を配列するための行が、表示されるか否かは問わず設定されており、縦書きの場合には縦方向の行に、また横書きの場合には横方向の行に、文字が並んで配置される。配置位置が「中央」に設定されている場合、その文字は、行中の中央に配置される。また行の中心から左右方向のいずれかに寄らせて配置する場合には、配置位置が「右20%」、「左15%」と設定される。ここで、%は、行中心から右端または左端に対するずれ量を示し、例えば右50%であれば、行中心線と右端の真ん中に配置位置がくることになる。   In FIG. 6, in the data item “arrangement position”, the arrangement position in the line of the font data is set. In the character processing apparatus 10 of the present embodiment, the text is input to a line set in the screen or on the printing paper. In this embodiment, a line for arranging characters is set regardless of whether or not it is displayed. In the vertical writing, the line is arranged in the vertical direction, and in the horizontal writing, the line in the horizontal direction is set. The characters are arranged side by side. When the arrangement position is set to “center”, the character is arranged at the center in the line. Further, in the case where the arrangement is arranged in any of the left and right directions from the center of the row, the arrangement position is set to “right 20%” and “left 15%”. Here,% indicates a shift amount from the center of the row to the right end or the left end. For example, if it is 50% to the right, the arrangement position is located in the middle between the row center line and the right end.

割当部26は、フォントデータ格納部44に格納したフォントファイルを参照して、入力された文字に対してフォントデータを割り当てる。例えば、図3に示した品詞解析結果を参照すると、単語「のんびり」の品詞は副詞であるため、割当部26は、「のんびり」における「の」に対しては、図6に示す大小のフォントデータのうち、大きな方の「の」を割り当てることになる。   The allocation unit 26 refers to the font file stored in the font data storage unit 44 and allocates font data to the input character. For example, referring to the part-of-speech analysis result shown in FIG. 3, since the part-of-speech of the word “freedom” is an adverb, the allocating unit 26 uses the large and small fonts shown in FIG. Of the data, the larger “no” is assigned.

図7は、文字列解析部24による品詞解析結果を示す。図4ないしは図5の3行目に示した「頭の隅の方でぼんやりと思う朝の目ざめ。」を品詞解析すると、わかち書き処理された単語の品詞が設定される。   FIG. 7 shows a part of speech analysis result by the character string analysis unit 24. When the part-of-speech analysis of “Awakening in the morning that is blurred in the direction of the head” shown in the third line of FIG. 4 or FIG. 5 is performed, the part-of-speech of the word that has been processed is set.

例文の3行目には、3つの「の」が登場するが、それぞれ品詞は助詞である。したがって、割当部26は、フォントデータ格納部44に格納したフォントファイルを参照して、この3つの「の」に対しては、図6に示すフォントデータのうち、小さな方の「の」を割り当てる。以上のように、割当部26は、解析された単語の品詞に応じてフォントデータを割り当て、同一文字であっても品詞に応じて文字の形を異ならせることができる。   In the third line of the example sentence, three “no” appear, but each part of speech is a particle. Therefore, the assigning unit 26 refers to the font file stored in the font data storage unit 44 and assigns the smaller “no” of the font data shown in FIG. 6 to these three “no” s. . As described above, the assigning unit 26 assigns font data according to the part of speech of the analyzed word, and can change the shape of the character according to the part of speech even for the same character.

配置部28は、割当部26において割り当てられたフォントデータの配置位置を決定する。このとき、配置部28は、図6に示すフォントファイルの「配置位置」のデータ項目を参照して、文字の配置位置を決定する。フォントファイルにおいて、「配置位置」を行中心だけでなく、行の左右方向にふれる位置に設定しておくことで、全ての文字が整然として配置されるのではなく左右方向にばらけて配置されることで、手書きの雰囲気をもった文章を作成することができる。   The arrangement unit 28 determines the arrangement position of the font data allocated by the allocation unit 26. At this time, the arrangement unit 28 refers to the data item “arrangement position” of the font file shown in FIG. 6 and determines the character arrangement position. In the font file, by setting the "placement position" not only at the center of the line but also at a position that touches the left and right of the line, all the characters are placed in the left and right direction instead of neatly arranged. This makes it possible to create a sentence with a handwritten atmosphere.

配置部28は、仮想的な基準線を設定し、その基準線を基準として文字の位置を決定してもよい。
図8は、行中に設定される仮想的な基準線を示す。図8において、行は2本の実線で囲まれる領域であり、行中に設定する基準線を点線で示す。図8の例では、基準線は、行の中心線として直線の形態をとる。
The placement unit 28 may set a virtual reference line and determine the position of the character with reference to the reference line.
FIG. 8 shows a virtual reference line set in a row. In FIG. 8, a row is an area surrounded by two solid lines, and a reference line set in the row is indicated by a dotted line. In the example of FIG. 8, the reference line takes the form of a straight line as the center line of the row.

配置部28は、この基準線を基準として、文字の位置を決定する。配置部28は、配置する文字の重心位置が基準線上にくるように、文字を配置する。文字の重心位置は、予め求められており、フォントデータの属性としてフォントデータ格納部44に格納されていることが好ましい。重心位置の求め方には様々なものが考えられるが、最も簡単には、上下左右の長さから中心位置を算出することで、重心位置としてもよい。さらに、線要素の太さを考慮し、濃度分布の中心点を探ることで、重心位置を求めてもよい。このとき、重心位置は、見た目の中心位置となるように求められることが好ましい。このように、重心位置の求め方としては、様々な手法を利用することが可能であり、本実施例では、公知の重心位置の探索手法を利用して、重心位置を予め設定しておく。   The placement unit 28 determines the position of the character with reference to this reference line. The placement unit 28 places the characters so that the center of gravity position of the placed characters is on the reference line. The position of the center of gravity of the character is obtained in advance and is preferably stored in the font data storage unit 44 as an attribute of the font data. There are various ways of obtaining the center of gravity position, but the simplest way is to calculate the center position from the vertical and horizontal lengths to obtain the center of gravity position. Further, the center of gravity position may be obtained by considering the center point of the density distribution in consideration of the thickness of the line element. At this time, it is preferable that the center-of-gravity position is obtained so as to be the apparent center position. As described above, various methods can be used as a method of obtaining the center of gravity position. In this embodiment, the center of gravity position is set in advance using a known center-of-gravity position search method.

配置部28が基準線上にフォントデータの重心位置を配置することで、文字列の基本的なラインを設定することができる。なお、この基準線に対して、フォントファイルにおいて設定された配置位置を適用してもよい。これにより、基準線に対して、文字の配置を左右方向にばらけさせることが可能となる。   The arrangement unit 28 arranges the barycentric position of the font data on the reference line, so that a basic line of the character string can be set. The arrangement position set in the font file may be applied to the reference line. Thereby, it is possible to disperse the character arrangement in the left-right direction with respect to the reference line.

配置部28は、一つの単語における文字間隔を所定値に設定する。この所定値は、複数文字が一塊の集合であることを示すために、例えば0mmや0.1mmなどの小さい間隔が設定される。一方、配置部28は、単語間の区切りにおいては、単語同士の間隔を設定する。これにより、行内における文字の位置が決定されることになる。具体的に配置部28は、前後の単語の品詞に応じて、その間隔を設定する。   The placement unit 28 sets the character spacing in one word to a predetermined value. This predetermined value is set to a small interval such as 0 mm or 0.1 mm, for example, to indicate that a plurality of characters is a set of one lump. On the other hand, the arrangement unit 28 sets an interval between words in the separation between words. Thereby, the position of the character in the line is determined. Specifically, the arrangement unit 28 sets the interval according to the part of speech of the preceding and following words.

例えば、動詞や助動詞の次に名詞が続く場合、名詞の前の文字列は、名詞を修飾することが多い。そのため、動詞ないしは助動詞と名詞の間隔を広げて、名詞の前の文字列が名詞の修飾語であることを示すようにする。例えば、このときの単語間の区切りは、0.5mmなどの比較的大きい所定値に設定する。なお、この場合の単語間の間隔は、単語内の文字間隔よりも広い値に設定されることが好ましい。   For example, when a noun follows a verb or auxiliary verb, the character string before the noun often modifies the noun. For this reason, the interval between the verb or auxiliary verb and the noun is increased to indicate that the character string before the noun is a noun modifier. For example, the separation between words at this time is set to a relatively large predetermined value such as 0.5 mm. In addition, it is preferable that the space | interval between words in this case is set to a value wider than the character space | interval in a word.

助動詞と名詞が続く例は、図4および図5に示す例文の1行目における「のんびりとした」と、「目ざめ」の区切りに相当する。同様に、助詞の次に副詞が続く場合、副詞の前の文字列は、その後の文字列と意味がきれることが多い。これは、例文の2行目における「まぶたは」と、「まだ」の区切りに相当する。助詞の次に名詞が続く場合も同様である。これは、例文の3行目の「隅の方で」、「ぼんやり」の区切りに相当する。なお、このような特別の関係にある場合には、単語同士の間隔を、広い値に設定し、それ以外の単語同士の区切りは、それよりも狭い値に設定する。単語同士の間隔を広げるための前後の品詞の条件は、配置部28が予め保持しておく。このように単語同士の間隔を設定することで、読み手は意味をとりやすくなり、また手書き感を向上することができる。   An example in which an auxiliary verb and a noun are followed corresponds to a break between “slowly” and “awake” in the first line of the example sentences shown in FIGS. Similarly, when an adverb follows an adverb, the character string before the adverb often has a meaning different from the subsequent character string. This corresponds to a break between “eyelid” and “still” in the second line of the example sentence. The same applies when a noun follows a particle. This corresponds to a break between “In the corner” and “Buzzy” in the third line of the example sentence. When there is such a special relationship, the interval between words is set to a wide value, and the breaks between other words are set to a narrower value. The arrangement unit 28 holds in advance the conditions of parts of speech before and after that for increasing the interval between words. Thus, by setting the space | interval of words, a reader becomes easy to take a meaning and can improve a handwriting feeling.

なお、単語同士の間隔を広げるための前後の品詞の条件を設定した場合、この条件が満足されると常に単語間隔を広げてもよいが、ランダムにこの決定がなされてもよい。例えば、単語間隔を広げるか否かの確率を予め設定しておき、条件が満足された場合に、この確率で抽選を行うことで、単語間隔を広げるか否かの判定を行ってもよい。   In addition, when the condition of the part of speech before and after for widening the space | interval of words is set, when this condition is satisfied, you may always widen a word space | interval, but this determination may be made at random. For example, the probability of whether or not to increase the word interval may be set in advance, and when the condition is satisfied, it may be determined whether or not to increase the word interval by performing a lottery with this probability.

なお、単語間隔を広げる場合、隣の文章と比較して、単語間隔の広いところが著しく多かったり、または少なかったりすると、見た目上好ましくない場合もある。そのため、例えば、配置部28は、所定の文字数のうち、単語間隔を広げる箇所の上限を有していてもよい。例えば、15文字のうちで、6箇所に単語間隔の広いところがあると、全体として間延びした印象を与えることも考えられる。そのため、15文字のうちで単語間隔を5箇所以下とするように、配置部28が、上限を定めてもよい。間隔を広げる上限を満たす箇所が6箇所以上ある場合には、その6箇所につき抽選等を行うことで、5箇所以内に収めるようにする。本実施例の文字処理機能によると、文字が同一の大きさに構成されているわけではないため、例えば文字数をみるのではなく、文字列の長さで判断してもよい。   It should be noted that, when the word interval is widened, it may be visually unpreferable if there are a large number or a small number of wide word intervals compared to the adjacent sentence. Therefore, for example, the arrangement unit 28 may have an upper limit of a portion where the word interval is widened among the predetermined number of characters. For example, if there are places where the word spacing is wide at 6 places out of 15 characters, it may be possible to give the impression of being extended as a whole. For this reason, the arrangement unit 28 may set an upper limit so that the word interval is 5 or less in 15 characters. If there are 6 or more locations that satisfy the upper limit for expanding the interval, the 6 locations are selected by lottery or the like so as to be within 5 locations. According to the character processing function of the present embodiment, since the characters are not configured to have the same size, for example, instead of looking at the number of characters, it may be determined by the length of the character string.

表示変換処理部30は、配置部28において配置位置を決定された文字を、画面中に配置する。これにより、画面中の表示を、万年筆フォントの文字に変換することができる。なお、画面に表示する場合には、割当部26により表示データが割り当てられ、印刷する場合には、印刷データが割り当てられることになる。   The display conversion processing unit 30 arranges the character whose arrangement position is determined by the arrangement unit 28 on the screen. Thereby, the display in a screen can be converted into the character of a fountain pen font. Note that display data is assigned by the assigning unit 26 when displayed on the screen, and print data is assigned when printing.

図9は、文字処理装置10により文字処理されて画面に表示される例文を示す。本実施例の文字処理装置10によると、品詞に応じて文字のフォントデータを変化させることにより、全ての文字が無機質に並べられるのではなく、手書き感を醸し出した出力を得ることができる。1行目の「の」と、3行目の「の」を比較すると、1行目の「の」の方が、3行目の「の」よりも大きく表示されていることが分かる。また、全ての文字が中心線にしたがって配置されているわけではなく、文字によっては、左右方向にぶれた位置に配置されていることが分かる。なお、実施例では、特に文字「の」について説明したが、他の文字についても同様であり、様々な文字について複数のフォントデータを用意することで、画一的な文章スタイルではなく、気持ちのこもった文章を自動的に作成することが可能となる。   FIG. 9 shows an example sentence that is processed by the character processing apparatus 10 and displayed on the screen. According to the character processing device 10 of the present embodiment, by changing the font data of the character according to the part of speech, it is possible to obtain an output with a sense of handwriting rather than arranging all the characters in an inorganic material. When “NO” in the first row is compared with “NO” in the third row, it is understood that “NO” in the first row is displayed larger than “NO” in the third row. In addition, it is understood that not all characters are arranged according to the center line, and some characters are arranged at positions shifted in the left-right direction. In the embodiment, the character “no” has been described in particular, but the same applies to other characters. By preparing a plurality of font data for various characters, it is not a uniform sentence style but a feeling of feeling. It is possible to automatically create a sentence that has been stored.

図10は、行中に設定される仮想的な基準線の別の例を示す。図10において、行は2本の実線で囲まれた領域であり、行中に設定する基準線が点線で示される。図示されるように、基準線は、行内において波線として設定されている。   FIG. 10 shows another example of a virtual reference line set in a row. In FIG. 10, a row is an area surrounded by two solid lines, and a reference line set in the row is indicated by a dotted line. As illustrated, the reference line is set as a wavy line in the row.

一般に、人が文章を書くとき、一直線に文字を並べて書くことは稀であり、曲がったり、傾いたりすることが多い。例えば、便箋に行を示す2本の直線が引かれている場合であっても、人は書くことに関して何らかの癖を持っていることが常であるため、縦書きの場合には文章が右よりになったり、また横書きの場合には文章が右上がりになったりする。例えば、人が文字を書く姿勢であったり、筆の持ち方であったり、そういったものが影響を与えて、結果として味のある文書が作成されるのである。本発明者は、この点に注目し、単に文字を直線的に並べるのではなく、何らかのリズムをつけて文字を並べることで、手書き感の向上を図ることにした。   In general, when a person writes a sentence, it is rare to write a character in a straight line, and it is often bent or tilted. For example, even when two straight lines indicating lines are drawn on the stationery, people usually have some hesitation about writing. Or in horizontal writing, the sentence goes up to the right. For example, a person's attitude of writing letters or how to hold a brush affects such things, and as a result, a tasty document is created. The inventor paid attention to this point and decided to improve the handwriting feeling by arranging characters with some rhythm rather than simply arranging characters linearly.

配置部28が、それぞれの文字の重心位置を、図10に示す波線の基準線に重なるように文字の配置位置を決定することで、文字が適度に左右方向に散らばった文章を作成できる。これにより、整然と文字が配列された文章ではなく、手書きで作成した文書のように、ある意味、雑然とした雰囲気を出すことができ、手書き感を向上できる。なお、基準線は、波線だけでなく、例えば行の右上から左下に結ぶような直線であってもよい。この場合には、右側に傾いた文章が作成されることになる。以上は縦書きの場合であるが、横書きの場合であっても同様である。このように、中心線とは異なる直線ないしは曲線を基準線として設定し、各文字の重心位置が基準線上にくるように文字の配置位置を決定することで、手書き感の高い文章を作成できる。   The placement unit 28 determines the character placement position so that the center of gravity of each character overlaps the wavy reference line shown in FIG. 10, thereby creating a sentence in which the characters are moderately scattered in the left-right direction. As a result, it is possible to create a cluttered atmosphere in a certain sense like a document created by handwriting, not a text in which characters are arranged in an orderly manner, and the handwriting feeling can be improved. Note that the reference line is not limited to a wavy line, and may be a straight line that connects, for example, from the upper right to the lower left of the row. In this case, a sentence tilted to the right is created. The above is the case of vertical writing, but the same applies to the case of horizontal writing. As described above, a straight line or a curve different from the center line is set as a reference line, and the character placement position is determined so that the center of gravity of each character is on the reference line, whereby a sentence with a high handwriting feeling can be created.

図11は、フォントデータ格納部44が格納するフォントデータの別の例を示す。ここでは、フォントデータ格納部44が、複数文字からなる所定の文字列に関して、フォントデータを保持している状態を示す。所定の文字列は、一つの品詞から構成される単語だけでなく、複数の品詞から構成されるものであってもよい。図11に示す例において、文字列「ぼんやり」は一つの名詞であるが、文字列「とした」は、助詞「と」、動詞「し」、助動詞「た」の3つの品詞から構成されている。フォントデータ格納部44は、例えば文章に頻出する文字列を予め一つのフォントデータとして保持しておく。   FIG. 11 shows another example of font data stored in the font data storage unit 44. Here, a state in which the font data storage unit 44 holds font data for a predetermined character string made up of a plurality of characters is shown. The predetermined character string may be composed of a plurality of parts of speech as well as a word composed of one part of speech. In the example shown in FIG. 11, the character string “bobby” is a single noun, but the character string “to” is composed of three parts of speech: the particle “to”, the verb “shi”, and the auxiliary verb “ta”. Yes. The font data storage unit 44 holds, for example, a character string frequently appearing in a sentence as one font data in advance.

手書きの文章において、頻出する文字列は、続け字として書かれることが多い。これは、よく書くことで、筆の走りを手が覚えていることにも一因がある。また、文字の書き始め位置と書き終わり位置との関係から、続け字として書きやすい文字列もある。このような文字列は、走り書きされて、文字が続けて書かれることになる。そこで、フォントデータ格納部44が、所定の文字列を、続け字として作成したフォントデータとして保持して、割当部26が、このフォントデータを、入力された文字列に割り当てることで、筆の勢いを感じさせる文章を作成できる。図11のフォントファイルの例では、ひらがなの文字列のみを示しているが、当然のことながら、漢字の文字列、およびかな漢字混在文字列であってもよい。図9に示した例文では、この文字列のフォントデータが割り当てられている。   In handwritten text, frequently appearing character strings are often written as continuous characters. This is partly due to the fact that handwriting is memorized by writing well. Some character strings are easy to write as continuous characters because of the relationship between the writing start position and the writing end position. Such a character string is scribbled and characters are written continuously. Therefore, the font data storage unit 44 holds a predetermined character string as font data created as a continuous character, and the assigning unit 26 assigns the font data to the input character string, whereby the momentum of the brush is obtained. You can create sentences that make you feel. In the example of the font file in FIG. 11, only the hiragana character string is shown, but it goes without saying that it may be a kanji character string or a kana-kanji mixed character string. In the example sentence shown in FIG. 9, font data of this character string is assigned.

なお、文字列のフォントデータは、続け字に限定するものではない。フォントデータ格納部44の格納するデータ量に配慮した場合には、文字列のフォントデータの数を制限することが好ましいが、フォントデータ格納部44の記憶容量が大きければ、文字列のフォントデータを数多く持たせてもよい。この場合には、一般の単語について、文字列のフォントデータを作成してもよい。なお、フォントデータ格納部44は、ひらがなの文字データについては全て保持しているため、ある単語の文字列が保持されていない場合であっても、その単語を少なくともひらがなで表現することは可能である。   Note that the font data of the character string is not limited to continuous characters. In consideration of the amount of data stored in the font data storage unit 44, it is preferable to limit the number of font data of the character string. However, if the storage capacity of the font data storage unit 44 is large, the font data of the character string is You may have many. In this case, font data of a character string may be created for a general word. Since the font data storage unit 44 stores all the character data of hiragana, even if the character string of a certain word is not stored, it is possible to represent the word at least in hiragana. is there.

文字列のフォントデータには、選択するための重みが設定されていてもよい。例えば、名詞「めざめ」に対して、フォントデータとして、「めざめ」、「目ざめ」、「目覚め」の3種類が用意されている場合を想定する。3種類のフォントデータのうち、「目ざめ、「目覚め」、「めざめ」の順に重み付けがされている場合、割当部26は、単語「めざめ」に対して、重みの高い「目ざめ」を優先的に割り当てる。この重みは、割当ての優先順位として設定されていてもよい。優先順位は、より味わい深いフォントデータの順に設定されることが好ましい。優先順位は、フォント作成者ないしは文字処理装置10の文字処理機能の作成者(例えば、ソフトウェアの作成者)によりデフォルトで設定される。なお、ユーザには、選択肢が提示され、ユーザが他のフォントデータを選択する場合には、そのフォントデータが割り当てられることになる。このとき、デフォルト設定した優先順位が変化し、選択したフォントデータの優先順位が1番になることが好ましい。このように、フォントデータの優先順位を可変とすることで、ユーザの好みを反映したフォントデータの割当てが可能となる。   A weight for selection may be set in the font data of the character string. For example, it is assumed that three types of font data “awake”, “awake”, and “awake” are prepared for the noun “awake”. Of the three types of font data, when the weights are weighted in the order of “awake,“ awake ”,“ awake ”, the allocation unit 26 gives priority to the“ awake ”having a higher weight over the word“ awake ”. assign. This weight may be set as an allocation priority. The priority order is preferably set in the order of more tasteful font data. The priority is set by default by the font creator or the creator of the character processing function of the character processing apparatus 10 (for example, the creator of the software). The user is presented with choices, and when the user selects other font data, the font data is assigned. At this time, it is preferable that the priority order set by default changes, and the priority order of the selected font data becomes the first. As described above, by changing the priority order of the font data, it is possible to assign the font data reflecting the user's preference.

またフォントデータ格納部44は、文字毎に「流れ具合」、「にじみ具合」、「かすれ具合」をそれぞれ段階的に表現したフォントデータを保持し、割当部26は、それらを予め決められた比率に応じて選択してもよい。   Further, the font data storage unit 44 stores font data that expresses “flowing condition”, “smearing condition”, and “smearing condition” step by step for each character, and the allocating unit 26 sets them in a predetermined ratio. You may choose according to.

図12は、本実施例における文字処理を実現するフローチャートである。この文字処理フローでは、フォントデータ格納部44のフォントタイプが選択されていることを前提とする。入力受付部20が、ユーザから文字入力を受け付ける(S10)。複数文字を入力した状態でユーザが変換キーを押下すると、入力受付部20が、その変換指示を受け付ける(S12)。文字列解析部24は、入力された文字列における単語の品詞を形態素解析し(S14)、かな漢字変換処理を行う(S16)。なお、形態素解析およびかな漢字変換処理は、文字処理装置10の内部処理として実行され、この時点では、その処理結果は画面中には表れていない。   FIG. 12 is a flowchart for realizing character processing in this embodiment. In this character processing flow, it is assumed that the font type of the font data storage unit 44 has been selected. The input receiving unit 20 receives a character input from the user (S10). When the user presses the conversion key while inputting a plurality of characters, the input reception unit 20 receives the conversion instruction (S12). The character string analysis unit 24 performs morphological analysis on the part of speech of the word in the input character string (S14), and performs kana-kanji conversion processing (S16). Note that the morphological analysis and kana-kanji conversion processing are executed as internal processing of the character processing apparatus 10, and at this time, the processing results do not appear on the screen.

入力された文字列において、割当部26は、所定の文字列が存在するか否かを判定する(S18)。この所定の文字列とは、フォントデータ格納部44のフォントデータとして登録されている文字列である。所定の文字列が存在する場合(S18のY)、割当部26は、その文字列に対して、フォントデータ格納部44に保持されている文字列フォントデータを割り当てる(S20)。一方で、所定の文字列に含まれない文字については(S18のN)、割当部26が、形態素解析により解析された品詞に基づいて、入力文字に文字フォントデータを割り当てる(S22)。   In the input character string, the assignment unit 26 determines whether or not a predetermined character string exists (S18). The predetermined character string is a character string registered as font data in the font data storage unit 44. When the predetermined character string exists (Y in S18), the assigning unit 26 assigns the character string font data held in the font data storage unit 44 to the character string (S20). On the other hand, for characters not included in the predetermined character string (N in S18), the assigning unit 26 assigns character font data to the input character based on the part of speech analyzed by the morphological analysis (S22).

続いて、配置部28が、文字を配置する位置を決定する(S24)。全ての文字の位置が決定されると、表示変換処理部30が、割り当てられたフォントデータを、決定された位置に配置し(S26)、手書き感の高い文書を生成する。   Subsequently, the placement unit 28 determines the position where the character is placed (S24). When the positions of all the characters are determined, the display conversion processing unit 30 places the assigned font data at the determined positions (S26), and generates a document with a high handwriting feeling.

図13は、図12のS24に示す文字位置決定処理のフローチャートである。まず、配置部28は、文字列における前後の単語の品詞を取得する(S30)。前後の単語の品詞に所定の関係がある場合(S32のY)、配置部28は、単語間隔を広く設定する(S34)。一方、前後の単語の品詞に所定の関係がない場合(S32のN)、単語間隔を狭く設定する(S36)。なお、単語内における文字間隔は固定値として予め設定されていてもよい。さらに配置部28は、フォントデータ格納部44のフォントファイルに含まれる配置位置データを読み出し(S38)、行内に設定した基準線を用いて、文字の位置を決定する(S40)。具体的には、基準線上に各文字の重心位置が重なるように文字の位置を仮決めし、さらに仮決めされた位置から、配置位置データで示される方向にフォントデータを移動する。例えば、配置位置データが「中央」と設定されている文字については、フォントデータの仮決め位置で確定することになり、配置位置データが「右10%」と設定されている文字については、フォントデータの重心位置を、行の半分の幅の10%分だけ右にずらされることになる。以上のようにして、文字の位置が決定される。   FIG. 13 is a flowchart of the character position determination process shown in S24 of FIG. First, the placement unit 28 acquires part-of-speech of the previous and subsequent words in the character string (S30). When there is a predetermined relationship between the parts of speech of the preceding and following words (Y in S32), the placement unit 28 sets a wide word interval (S34). On the other hand, when there is no predetermined relationship between the parts of speech of the preceding and following words (N in S32), the word interval is set narrow (S36). Note that the character spacing in the word may be preset as a fixed value. Further, the arrangement unit 28 reads out the arrangement position data included in the font file of the font data storage unit 44 (S38), and determines the character position using the reference line set in the line (S40). Specifically, the character position is provisionally determined so that the center of gravity of each character overlaps the reference line, and the font data is moved from the provisionally determined position in the direction indicated by the arrangement position data. For example, for a character whose arrangement position data is set to “center”, it is determined at the provisional position of the font data. For a character whose arrangement position data is set to “10% right”, the font is used. The position of the center of gravity of the data is shifted to the right by 10% of the half width of the row. As described above, the position of the character is determined.

以上、本発明を実施例をもとに説明した。これらの実施例は例示であり、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。   In the above, this invention was demonstrated based on the Example. These embodiments are exemplifications, and it is understood by those skilled in the art that various modifications can be made to the combination of each component and each processing process, and such modifications are within the scope of the present invention. is there.

本実施例においては、図2に示すように、入力した一文をまとめて文字処理する場合について説明したが、一文より短い文節を単位として文字処理することも可能である。文字処理は、ユーザが変換キーを押下することを実行のトリガとし、したがって入力受付部20が変換指示を受け付けたタイミングで、入力された文字列に関して文字処理が実行される。   In the present embodiment, as shown in FIG. 2, the case has been described in which character processing is performed on a single input sentence, but it is also possible to perform character processing in units of clauses shorter than one sentence. The character processing is triggered by the user pressing the conversion key. Therefore, the character processing is executed for the input character string at the timing when the input receiving unit 20 receives the conversion instruction.

配置部28は、前後の単語の品詞の関係をもとに、単語同士の間隔を決定するが、間隔を決定する際には、既に文字処理された直前の単語との関係を考慮する。既に文字処理された単語の品詞も参照することで、配置部28は、単語同士の間隔を適切に設定することができる。   The arrangement unit 28 determines the interval between words based on the relationship between the parts of speech of the preceding and following words. When determining the interval, the arrangement unit 28 considers the relationship with the immediately preceding word that has already undergone character processing. By referring to the part of speech of a word that has already undergone character processing, the placement unit 28 can appropriately set the interval between words.

また割当部26は、フォントデータの拡大・縮小を行って、フォントデータの割当て処理を行ってもよい。フォントデータの拡大・縮小機能をもつことで、拡大したフォントデータ、縮小したフォントデータをフォントデータ格納部44にあらためて持たせる必要がなくなる。   The allocation unit 26 may perform font data allocation processing by enlarging / reducing font data. By having the font data enlargement / reduction function, it is not necessary to provide the font data storage unit 44 with the enlarged font data and the reduced font data.

また、全ての文字処理が終了すると、文書が完成することになるが、割当部26は、その時点で、フォントデータの割当て処理を再実行してもよい。例えば、割当て処理を再実行するための指示がユーザより入力され、その指示を受けて割当部26が、フォントデータの割当て処理を実行する。このとき、例えば、予めデフォルトとして設定された優先順位の低いフォントデータが割り当てられている場合、そのフォントデータを、より優先順位の高いものに変更できる可能性をユーザに示唆してもよい。例えば、その文字の色を変えて表示などすることで、ユーザに対する示唆を行うことができる。   Further, when all the character processing is completed, the document is completed, but the allocation unit 26 may re-execute the font data allocation processing at that time. For example, an instruction to re-execute the allocation process is input from the user, and the allocation unit 26 receives the instruction and executes the font data allocation process. At this time, for example, when font data with a low priority set in advance as a default is assigned, it may be suggested to the user that the font data can be changed to one with a higher priority. For example, it is possible to give suggestions to the user by changing the color of the character and displaying it.

また、全ての文字処理が終了したとき、文字列解析部24が、再度、品詞解析処理を行ってもよい。これは、品詞解析処理を再実行するための指示がユーザより入力され、その指示を受けて文字列解析部24が、文字列を解析する。   Further, when all the character processing is completed, the character string analysis unit 24 may perform the part of speech analysis processing again. In this case, an instruction for re-executing the part-of-speech analysis process is input from the user, and the character string analysis unit 24 receives the instruction and analyzes the character string.

また、実施例では主として文字について説明したが、配置部28は、さらに句読点や括弧などの記号の位置を設定する機能をもつ。配置部28は、例えば記号の位置を、左右方向のランダムな位置に配置してもよい。特に、句読点については、必ず右側に配置しなければならないものでもなく、中央付近や左側寄りに配置することで、手書き感を向上できる。   In the embodiment, the description has mainly been made on characters. However, the arrangement unit 28 further has a function of setting the positions of symbols such as punctuation marks and parentheses. For example, the placement unit 28 may place the symbols at random positions in the left-right direction. In particular, the punctuation marks are not necessarily placed on the right side, but the handwriting feeling can be improved by placing them near the center or near the left side.

また、実施例ではユーザがフォントタイプを選択することとしたが、例えばフォントデータに、文字の雰囲気をアナログ的に評価した値が設定されており、ユーザがフォントタイプを選択するのではなく、そのアナログ評価の数値範囲を指定することで、フォントデータが文字割当の候補としてフォントデータ格納部44から抽出されるものであってもよい。アナログ評価は、フォントの作成者ないしはソフトウエアの作成者によって行われ、この評価値をもとに、文字割当処理が実行されてもよい。   In the embodiment, the user selects the font type. For example, the font data is set to a value obtained by analogly evaluating the character atmosphere, and the user does not select the font type. By specifying a numerical range for analog evaluation, font data may be extracted from the font data storage unit 44 as a candidate for character allocation. The analog evaluation is performed by a font creator or a software creator, and the character assignment process may be executed based on the evaluation value.

また本実施例の文字処理装置10はスタンドアロン型の端末として説明したが、ネットワークを介したクライアントサーバ型のシステムとして構築されてもよい。この場合、ユーザは、クライアント端末から文章を入力して、サーバに送信し、サーバは、一括して、送信されてきた文章の文字処理を行う。この文字処理機能は、上述したものに相当する。これにより、クライアント端末は文字処理機能を有する必要はなくなる。この場合、サーバから、文字処理された結果物が送信され、クライアント端末は、それを画面に表示または印刷することが可能となる。   Moreover, although the character processing apparatus 10 of the present embodiment has been described as a stand-alone terminal, it may be constructed as a client-server system via a network. In this case, the user inputs a sentence from the client terminal and transmits it to the server, and the server collectively performs character processing on the transmitted sentences. This character processing function corresponds to that described above. This eliminates the need for the client terminal to have a character processing function. In this case, the character-processed result is transmitted from the server, and the client terminal can display or print it on the screen.

本発明の実施例にかかる文字処理装置の構成を示す図である。It is a figure which shows the structure of the character processing apparatus concerning the Example of this invention. ユーザより入力されて、前処理部により画面に表示された文字列の例を示す図である。It is a figure which shows the example of the character string input from the user and displayed on the screen by the pre-processing part. 文字列解析部による品詞解析結果を示す図である。It is a figure which shows the part of speech analysis result by a character string analysis part. 従来のフォントタイプの一つである明朝体で記述した例文を示す図である。It is a figure which shows the example sentence described in the Mincho style which is one of the conventional font types. 図4に示した例文を従来のフォントタイプの一つである毛筆の楷書体で記述したものを示す図である。It is a figure which shows what described the example sentence shown in FIG. 4 with the typeface of the brush which is one of the conventional font types. フォントデータ格納部が格納するフォントデータの一例を示す図である。It is a figure which shows an example of the font data which a font data storage part stores. 文字列解析部による品詞解析結果を示す図である。It is a figure which shows the part of speech analysis result by a character string analysis part. 行中に設定される仮想的な基準線を示す図である。It is a figure which shows the virtual reference line set in the line. 文字処理装置により文字処理されて画面に表示される例文を示す図である。It is a figure which shows the example sentence displayed on a screen by character processing with a character processing apparatus. 行中に設定される仮想的な基準線の別の例を示す図である。It is a figure which shows another example of the virtual reference line set in the line. フォントデータ格納部が格納するフォントデータの別の例を示す図である。It is a figure which shows another example of the font data which a font data storage part stores. 本実施例における文字処理を実現するフローチャートである。It is a flowchart which implement | achieves the character processing in a present Example. 図12のS24に示す文字位置決定処理のフローチャートである。It is a flowchart of the character position determination process shown to S24 of FIG.

符号の説明Explanation of symbols

10・・・文字処理装置、20・・・入力受付部、22・・・前処理部、24・・・文字列解析部、26・・・割当部、28・・・配置部、30・・・表示変換処理部、32・・・選択部、40・・・格納部、42・・・辞書データ格納部、44・・・フォントデータ格納部。
DESCRIPTION OF SYMBOLS 10 ... Character processing apparatus, 20 ... Input reception part, 22 ... Pre-processing part, 24 ... Character string analysis part, 26 ... Assignment part, 28 ... Arrangement part, 30 ... Display conversion processing unit 32... Selection unit 40... Storage unit 42.

Claims (6)

ユーザからの文字入力を受け付ける受付部と、
入力された文字列における単語の品詞を解析する解析部と、
フォントデータを格納する格納部と、
解析された単語の品詞に応じて、入力された文字に、前記格納部に格納されたフォントデータを割り当てる割当部と、
を備えることを特徴とする文字処理装置。
A reception unit for receiving character input from the user;
An analysis unit for analyzing the part of speech of the word in the input character string;
A storage unit for storing font data;
An assigning unit that assigns font data stored in the storage unit to the input character according to the part of speech of the analyzed word;
A character processing device comprising:
前記格納部は、1つのフォントタイプにおいて、同一の文字につき複数のフォントデータを保持することを特徴とする請求項1に記載の文字処理装置。   The character processing apparatus according to claim 1, wherein the storage unit holds a plurality of font data for the same character in one font type. 前記格納部は、所定の文字列を表現したフォントデータを保持することを特徴とする請求項1または2に記載の文字処理装置。   The character processing apparatus according to claim 1, wherein the storage unit holds font data representing a predetermined character string. 前記格納部は、フォントデータを画像データとして保持することを特徴とする請求項1から3のいずれかに記載の文字処理装置。   The character processing apparatus according to claim 1, wherein the storage unit holds font data as image data. 仮想的な基準線を設定し、その基準線を基準として前記受付部において受け付けた文字の位置を決定する配置部をさらに備えることを特徴とする請求項1から4のいずれかに記載の文字処理装置。   5. The character processing according to claim 1, further comprising an arrangement unit that sets a virtual reference line and determines a position of a character received by the receiving unit with reference to the reference line. apparatus. 前後に続く単語の品詞の関係から、その単語間の間隔を決定する配置部をさらに備えることを特徴とする請求項1から4のいずれかに記載の文字処理装置。   The character processing apparatus according to claim 1, further comprising an arrangement unit that determines an interval between words based on a relationship between parts of speech of words that precede and follow.
JP2005124587A 2005-04-22 2005-04-22 Character processing device Expired - Fee Related JP4309867B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005124587A JP4309867B2 (en) 2005-04-22 2005-04-22 Character processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005124587A JP4309867B2 (en) 2005-04-22 2005-04-22 Character processing device

Publications (2)

Publication Number Publication Date
JP2006302068A true JP2006302068A (en) 2006-11-02
JP4309867B2 JP4309867B2 (en) 2009-08-05

Family

ID=37470264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005124587A Expired - Fee Related JP4309867B2 (en) 2005-04-22 2005-04-22 Character processing device

Country Status (1)

Country Link
JP (1) JP4309867B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4886098B1 (en) * 2011-07-29 2012-02-29 義一 中村 Portable information terminal device
JP4971528B1 (en) * 2012-01-05 2012-07-11 義一 中村 Handwritten text creation method and program

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0247763A (en) * 1988-08-09 1990-02-16 Matsushita Electric Ind Co Ltd Document processor
JPH05158401A (en) * 1991-12-06 1993-06-25 Ricoh Co Ltd Document fast reading support/display system and document processor and document retrieving device
JPH06149792A (en) * 1992-11-10 1994-05-31 Oki Electric Ind Co Ltd Document processor
JPH07141340A (en) * 1993-11-16 1995-06-02 Fuji Software Kk Document output method and document processor
JPH0877159A (en) * 1994-09-07 1996-03-22 Toshiba Corp Learning method
JPH08286654A (en) * 1995-04-17 1996-11-01 Brother Ind Ltd Character output device
JPH11203279A (en) * 1998-01-19 1999-07-30 Toshiba Corp Kana-kanji conversion device and method and storage medium
JP2000207393A (en) * 1999-01-20 2000-07-28 Techno Advance:Kk Character arrangement outputting device
JP2000267645A (en) * 1999-03-19 2000-09-29 Denso Corp Character string display controller
JP2003058527A (en) * 2001-08-20 2003-02-28 Seiko Epson Corp Font file generator, program, and storage medium
JP2003196277A (en) * 2001-12-25 2003-07-11 Seiko Epson Corp Document display device, method for controlling document display device, control program, and recording medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0247763A (en) * 1988-08-09 1990-02-16 Matsushita Electric Ind Co Ltd Document processor
JPH05158401A (en) * 1991-12-06 1993-06-25 Ricoh Co Ltd Document fast reading support/display system and document processor and document retrieving device
JPH06149792A (en) * 1992-11-10 1994-05-31 Oki Electric Ind Co Ltd Document processor
JPH07141340A (en) * 1993-11-16 1995-06-02 Fuji Software Kk Document output method and document processor
JPH0877159A (en) * 1994-09-07 1996-03-22 Toshiba Corp Learning method
JPH08286654A (en) * 1995-04-17 1996-11-01 Brother Ind Ltd Character output device
JPH11203279A (en) * 1998-01-19 1999-07-30 Toshiba Corp Kana-kanji conversion device and method and storage medium
JP2000207393A (en) * 1999-01-20 2000-07-28 Techno Advance:Kk Character arrangement outputting device
JP2000267645A (en) * 1999-03-19 2000-09-29 Denso Corp Character string display controller
JP2003058527A (en) * 2001-08-20 2003-02-28 Seiko Epson Corp Font file generator, program, and storage medium
JP2003196277A (en) * 2001-12-25 2003-07-11 Seiko Epson Corp Document display device, method for controlling document display device, control program, and recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4886098B1 (en) * 2011-07-29 2012-02-29 義一 中村 Portable information terminal device
WO2013018166A1 (en) * 2011-07-29 2013-02-07 Nakamura Yoshikazu Text writing device
JP4971528B1 (en) * 2012-01-05 2012-07-11 義一 中村 Handwritten text creation method and program

Also Published As

Publication number Publication date
JP4309867B2 (en) 2009-08-05

Similar Documents

Publication Publication Date Title
Legge et al. Does print size matter for reading? A review of findings from vision science and typography
Meletis The nature of writing: A theory of grapholinguistics
US7944581B2 (en) Imposition systems, methods and drivers for printer products
US20020124026A1 (en) Methods and apparata for enhancing text to increase reading speed and comprehension
Vandendorpe Reading on screen: The new media sphere
Lupton Type on screen: A critical guide for designers, writers, developers, and students
JPWO2008015825A1 (en) Written font data and character output system
Landoni The Visual Book system: A study of the use of visual rhetoric in the design of electronic books
French InDesign Type: Professional Typography with Adobe InDesign
Dawson et al. Graphic Design Rules: 365 Essential Design Dos and Don'ts
Moys Typographic Layout and First Impressions-Testing how changes in text layout influence reader's judgments of documents
JP4309867B2 (en) Character processing device
JP2018025730A (en) Method and apparatus for generating font whose style is changeable
Ambrose et al. The visual dictionary of typography
Gookin Word 2016 for professionals for dummies
Qiu et al. Affective font selection: The hybrid of japanese and latin typefaces
Meletis Reintroducing graphetics: the study of the materiality of writing
Ellison The complete guide to digital type: Creative use of typography in the digital arts
Wang Interview with Charles Bigelow
Brandão et al. The Italic style: understanding the shape through history
Shoemaker Literalism: Reading machines reading
Harris et al. Typography
TWI664604B (en) System for construction and application of handwriting chinese character glyph sets to be used in a computer system
Hosken Creating an orthography description
Yaghan Non-descender and all-cap arabic writing

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080930

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081201

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090403

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090428

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090508

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120515

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150515

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees