JPH02250141A - Character processor - Google Patents

Character processor

Info

Publication number
JPH02250141A
JPH02250141A JP1007225A JP722589A JPH02250141A JP H02250141 A JPH02250141 A JP H02250141A JP 1007225 A JP1007225 A JP 1007225A JP 722589 A JP722589 A JP 722589A JP H02250141 A JPH02250141 A JP H02250141A
Authority
JP
Japan
Prior art keywords
character
attribute
input
circuit
imparting
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.)
Pending
Application number
JP1007225A
Other languages
Japanese (ja)
Inventor
Masahisa Minami
賢尚 南
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1007225A priority Critical patent/JPH02250141A/en
Publication of JPH02250141A publication Critical patent/JPH02250141A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To improve the operability by providing a means for deciding a character kind of an input character-string, an attribute imparting means for imparting an attribute to the input character-string by this character kind, and a switching means for instructing whether an effect of both the means exists or not. CONSTITUTION:In the case a character code inputted from a character input circuit 1 is a character code input example 5, a character kind deciding circuit 3 decides a fact that 0x31, 0x32, 0x8252 and 0x8253 are numerals, and 0x82a0 and 0x82a2 are 'KANA' (Japanese syllabary) from the character code. An attribute imparting circuit 4 imparts a half size attribute and a full size attribute to the numeral and the 'KANA', respectively from the character kind decided by the character kind deciding circuit 3. In this state, when the half size attribute is shown by one byte code, and the full size attribute is shown by two bytes, the attribute imparting circuit 4 executes a processing for changing 0x8252 and 0x8253 to 0x33 and 0x34, respectively, and can match the attributes of every character kind. In such a way, with respect to a character-string input in which different character kinds are mixed, the operation for imparting the attribute comes to be scarcely executed, and the operability is improved.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、文字処理に於て文字列の文字種によって、文
字属性を付与する文字処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a character processing device that assigns character attributes depending on the character type of a character string in character processing.

従来の技術 従来の文字処理装置は、文字列として英数字、漢字、仮
名、記号等の文字種が混在した文字列を入力する場合、
各文字種の属性を変更したい場合、その文字種の先頭で
属性を切り替える必要があった。しかも、この属性の変
更は文字種単位ではなく日本語処理装置に於いてローマ
字かな漢字変換を用いて英数字と漢字を入力する場合、
まず英数字モードにし更に英数字に半角属性をつけたい
場合はさらに半角モードにしたのち、英数字を入力し、
続いて漢字を入力する場合は、全角モード、仮名モート
に戻したのち、漢字の人力を行わねばならなかりた。
BACKGROUND OF THE INVENTION Conventional character processing devices input character strings containing a mixture of alphanumeric characters, kanji, kana, symbols, etc.
If you wanted to change the attributes of each character type, you had to switch the attributes at the beginning of that character type. Moreover, this attribute change is not done for each character type, but when inputting alphanumeric characters and kanji using Romaji-Kana-Kanji conversion in a Japanese processing device,
First, enter alphanumeric mode, and if you want to add half-width attributes to alphanumeric characters, change to half-width mode, enter alphanumeric characters,
If I wanted to enter kanji next, I had to switch back to full-width mode and kana mode, and then manually input kanji.

発明が解決しようとする課題点2 そのため従来の文字処理装置に於いては一つの文字種に
は特定の属性を付与することが多く生じるにも関わらず
、文字種と属性の対応をとっていないため操作が煩雑に
なった。特に文字のバランスから考えて文書中では数字
は半角、漢字などは全角とする場合が多く、従来の日本
語処理装置に於けるJIS鍵盤であると、ローマ字入力
中にも数字が入力できるため、半角人力モード、全角入
力モードの切り替えが頻繁に起こり、操作性が悪かった
Problem to be Solved by the Invention 2 Therefore, in conventional character processing devices, although a specific attribute is often assigned to one character type, there is no correspondence between the character type and the attribute, making operation difficult. has become complicated. In particular, considering the balance of characters, numbers in documents are often half-width, and kanji characters are often full-width.With the JIS keyboard of conventional Japanese processing devices, numbers can be input even while inputting Roman characters. Switching between half-width manual mode and full-width input mode occurred frequently, resulting in poor operability.

また、公知の1バイトコートと2ハイトコートの混在す
るシフトJISコード系を使用した日本語処理装置では
文字コードのバイト数によって属性を判定しているので
、例えは数字の「1」は1バイトでは半角、2バイ!・
では全角になるなどの不都合があった。
In addition, in Japanese language processing devices that use the well-known Shift JIS code system, which includes a mixture of 1-byte code and 2-height code, attributes are determined based on the number of bytes in the character code, so for example, the number "1" is 1 byte. So half-width, 2-bye!・
However, there were some inconveniences such as full-width characters.

本発明はかかる点に鐵み、文字種に対応して属性を自動
的に付与することによって、操作性の良い文字処理装置
を提供することを目的とする。
The present invention takes this into account and aims to provide a character processing device with good operability by automatically assigning attributes in accordance with character types.

課題を解決するための手段 上記目的を達成するために、本発明の文字処理装置に於
いては文字列人力手段と、該文字列入力手段から人力さ
れた人力文字列の文字種を判定する文字種判定手段と、
該文字種判定手段からの文字種によって該入力文字列に
属性を付与する属性付与手段と該文字種判定手段と該属
性付与手段との効果の有無を指示する切り替え手段とを
有するものである。
Means for Solving the Problems In order to achieve the above object, the character processing device of the present invention includes a character string manual means, and a character type determination for determining the character type of a human character string manually input from the character string input means. means and
The character type determining means includes an attribute assigning means for assigning an attribute to the input character string according to the character type from the character type determining means, and a switching means for instructing whether or not the character type determining means and the attribute assigning means are effective.

作   用 上記のように構成された本発明の文字処理装置では、切
り替え手段を用いて使用者が属性の自動的な付与を指示
した場合は、文字入力手段から人力された入力文字列の
文字種を文字種判定手段が判定し、該文字種に対応した
属性を属性付与手段が該人力文字列の文字毎に属性を付
与することによって、該人力文字列の文字種毎に特定の
属性を付与し、従って、文字種の変化に伴う属性変更の
操作はなくなり、操作性の良い文字処理装置が実現でき
る。また、線切り替え手段を用いて使用者が属性の字動
的な付与を指示しなかった場合は通常の文字人力装置と
して機能する。
Effect: In the character processing device of the present invention configured as described above, when the user uses the switching means to instruct automatic assignment of attributes, the character type of the input character string input manually from the character input means is changed. The character type determination means determines an attribute corresponding to the character type, and the attribute assigning means assigns an attribute to each character of the human-powered character string, thereby assigning a specific attribute to each character type of the human-powered character string, and thus, This eliminates the need to change attributes in response to changes in character types, making it possible to realize a character processing device with good operability. In addition, if the user does not instruct the dynamic addition of attributes using the line switching means, the device functions as a normal character input device.

実施例 第1図は本発明の一実施例に於ける文字処理装置の動作
を表すブロック図であり、図に於いてlは文字入力回路
、2は切り替え回路、3は文字種判定回路、4は属性付
与回路である。
Embodiment FIG. 1 is a block diagram showing the operation of a character processing device in an embodiment of the present invention, in which l is a character input circuit, 2 is a switching circuit, 3 is a character type determination circuit, and 4 is a character type determination circuit. This is an attribute assignment circuit.

以上のように構成されたこの実施例の文字処理装置につ
いて、以下その動作を説明する。第2図は切り替え回路
2によって属性の自動的な付与か指示された場合の文字
入力回路1から入力される文字コードの例と、同実施例
と従来例に於ける属性付与後の文字の出力であり、図に
於いて5は文字入力回路1から入力される文字コードと
表現する文字の例、6は同実施例に於ける属性付与後の
文字の出力例、7は従来例に於ける属性付与後の文字の
出力例である。
The operation of the character processing device of this embodiment configured as described above will be explained below. FIG. 2 shows an example of a character code input from the character input circuit 1 when automatic attribute assignment is instructed by the switching circuit 2, and the output of characters after attribute assignment in the same embodiment and the conventional example. In the figure, 5 is an example of a character expressed as a character code input from the character input circuit 1, 6 is an example of character output after attribute assignment in the same embodiment, and 7 is an example of a character output in the conventional example. This is an example of character output after attributes are added.

この実施例に於いて使用者が切り替え回路2を用いて属
性の自動的な付与を指示し、文字入力回路1から人力さ
れた文字コードが文字コード入力例5であるとする。こ
の文字コード入力例5は公知のシフトJISコードとし
た。
In this embodiment, it is assumed that the user uses the switching circuit 2 to instruct automatic assignment of attributes, and the character code input manually from the character input circuit 1 is character code input example 5. This character code input example 5 is a known shift JIS code.

文字種判定回路3は文字コードから0X31.0x32
.0x8252.0y8253が数字であり、0x82
aO1Ox82a2が仮名であることを判定する。属性
付与回路4は該文字種判定回路3で判定された文字種か
ら数字には半角属性をつけ、仮名には全角属性をつける
。本実施例に於いては半角属性を1バイトコードで表し
、全角属性を2バイトで表すとすれば、属性付与回路4
は0x8252を0x33に、0x8253を0X34
に変更する処理を行い、文字種毎の属性を揃えることが
可能になり、本実施例に於ける文字の出力例6のように
なる。
Character type determination circuit 3 reads 0x31.0x32 from the character code.
.. 0x8252.0y8253 is a number, 0x82
It is determined that aO1Ox82a2 is a pseudonym. The attribute assigning circuit 4 assigns half-width attributes to numbers and assigns full-width attributes to kana based on the character type determined by the character type determining circuit 3. In this embodiment, if a half-width attribute is represented by a 1-byte code and a full-width attribute is represented by 2 bytes, the attribute assignment circuit 4
is 0x8252 to 0x33, 0x8253 to 0x34
It becomes possible to align the attributes for each character type, resulting in a character output example 6 in this embodiment.

従来例による文字の出力例7では数字の「1」、「2」
は半角であり、数字の「3」、 「4」及び仮名の「あ
」、 「い」は全角となる。
In character output example 7 according to the conventional example, the numbers "1" and "2"
is half-width, and the numbers "3" and "4" and the kana characters "a" and "i" are full-width.

なお、本実施例では文字種が数字と仮名の場合のみを示
したが、文字種は文字コード上で判別できるものであれ
ばよく、漢字と仮名、特定の漢字とそれ以外の漢字など
種種の組合せが可能である。
Although this example shows only the case where the character types are numbers and kana, the character types may be anything that can be distinguished on the character code, and combinations of types such as kanji and kana, specific kanji and other kanji, etc. It is possible.

また、本実施例では属性付与回路4の動作として半角、
全角属性を述べたが、下線、網掛は等を付けることも可
能である。また、本文字処理装置の使用者が特定の文字
種に特定の属性を付与することを指示してもよい。
In addition, in this embodiment, the operation of the attribute assigning circuit 4 includes half-width,
Although the full-width attribute has been described, it is also possible to add underlining, shading, etc. Further, the user of the present character processing device may instruct that a specific attribute be assigned to a specific character type.

なお、本実施例では切り替え回路2によって属性の自動
的な付与が指示された場合を示したが切り替え回路2に
よって属性の自動的な付与が指示されなかった場合は文
字コード入力例5に対する文字出力例は従来例に於ける
文字出力例7と同じになる。
Note that in this embodiment, a case is shown in which the switching circuit 2 instructs automatic attribute assignment, but if the switching circuit 2 does not instruct automatic attribute assignment, the character output for character code input example 5 is The example is the same as character output example 7 in the conventional example.

また、文字列入力手段は公知のかな漢字変換装置でもよ
く、また、鍵盤でもよい。
Further, the character string input means may be a known kana-kanji conversion device or may be a keyboard.

また、属性付与手段は文字種に対して固定的に属性を付
与しても良いし、使用者が文字種と属性との対応を指示
し、指定された文字種に対して使用者が指定した属性を
付与してもよい。
Further, the attribute assigning means may assign fixed attributes to character types, or the user may instruct the correspondence between character types and attributes, and assign attributes specified by the user to the specified character types. You may.

発明の詳細 な説明したように、本発明によれば、異なった文字種の
混在する文字列入力に対して属性の付与操作が少なくな
り、操作性の良い文字処理装置を実現できる。
As described in detail, according to the present invention, it is possible to realize a character processing device with good operability by reducing the number of operations for adding attributes to input character strings containing a mixture of different character types.

さらに、本発明の構成要素に於いては大がかりなものは
必要とせず、小さな装置で実現することが可能である。
Furthermore, the components of the present invention do not require large-scale components and can be realized with a small device.

従って非常に有効な文字処理装置を実現することができ
、その実用的効果は大きい。
Therefore, a very effective character processing device can be realized, and its practical effects are great.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例に於ける文字処理装置の動作
を表すブロック図、第2図は文字入力回路から人力され
る文字コードの例と属性付与後の文字の出力を示す図で
ある。 1・・・文字入力回路、2・・・切り替え回路、3・・
・文字種判定回路、 4・・・属性付与回路、5・・・文字コート人力例、6
・・・実施例に於ける文字出力例、 7・・・従来例に於ける文字出力例。 代理人の氏名 弁理士 粟野重孝 はが1名I/ビ 区 憾 区
FIG. 1 is a block diagram showing the operation of a character processing device in an embodiment of the present invention, and FIG. 2 is a diagram showing an example of a character code input manually from a character input circuit and the output of a character after attributes are added. be. 1...Character input circuit, 2...Switching circuit, 3...
・Character type determination circuit, 4...Attribute assignment circuit, 5...Character coat manual example, 6
...Character output example in the embodiment, 7.Character output example in the conventional example. Name of agent: Patent attorney Shigetaka Awano, 1 person I/Biku-ku

Claims (1)

【特許請求の範囲】[Claims] 文字列入力手段と、該文字列入力手段から入力された入
力文字列の文字種を判定する文字種判定手段と、該文字
種判定手段によって判定された文字種に従って該入力文
字列内の文字に属性を付与する属性付与手段と、該文字
種判定手段と該属性付与手段との効果の有無を指示する
切り替え手段とを有することを特徴とする文字処理装置
a character string input means; a character type determination means for determining the character type of an input character string input from the character string input means; and an attribute for assigning attributes to characters in the input character string according to the character type determined by the character type determination means. A character processing device comprising: an attribute assigning means; and a switching means for instructing whether or not the character type determining means and the attribute assigning means are effective.
JP1007225A 1989-01-13 1989-01-13 Character processor Pending JPH02250141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1007225A JPH02250141A (en) 1989-01-13 1989-01-13 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1007225A JPH02250141A (en) 1989-01-13 1989-01-13 Character processor

Publications (1)

Publication Number Publication Date
JPH02250141A true JPH02250141A (en) 1990-10-05

Family

ID=11660054

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1007225A Pending JPH02250141A (en) 1989-01-13 1989-01-13 Character processor

Country Status (1)

Country Link
JP (1) JPH02250141A (en)

Similar Documents

Publication Publication Date Title
KR910008557A (en) How to link application programs with conversion programs
JPH02250141A (en) Character processor
JPS62274360A (en) Word processor
JPH02255933A (en) Word processor
Stotz et al. The terminal for the military message experiment
Reynolds The use of colour in language syntax analysis
JPS6488732A (en) Information processor
JPH04107766A (en) Kana/kanji converting system for word processor
JPS61196358A (en) Character processing device
JPS63225860A (en) Japanese-language input device
JPH02255944A (en) Kana/kanji converter
JPH08171568A (en) Multilingual input method
JPH06203012A (en) Candidate table display system
JPS58117038A (en) Kana(japanese syllabary)/kanji(chinese character) conversion system
JPS58129633A (en) Character processing device
JPH01111263A (en) Japanese/foreign language using kanji processor
JPH036608A (en) Control system for keyboard display
JPH02181266A (en) Japanese word processor with meaning explanation dictionary
JPH07168822A (en) Information processor
JPH08194698A (en) Character processor
JPS5846424A (en) Character input equipment
Zajac et al. Specification and Implementation of Input Methods Using Finite-State Transducers
JPS5816328A (en) Japanese word processor
JPS62237565A (en) Sentence input device
JPH01213747A (en) Keyboard input device