JPH02148358A - Character input device with calculating function - Google Patents

Character input device with calculating function

Info

Publication number
JPH02148358A
JPH02148358A JP63303689A JP30368988A JPH02148358A JP H02148358 A JPH02148358 A JP H02148358A JP 63303689 A JP63303689 A JP 63303689A JP 30368988 A JP30368988 A JP 30368988A JP H02148358 A JPH02148358 A JP H02148358A
Authority
JP
Japan
Prior art keywords
characters
calculation
character
kana
section
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
JP63303689A
Other languages
Japanese (ja)
Inventor
Yukihiro Sasase
笹瀬 行弘
Yoshio Sumiya
炭屋 悦緒
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP63303689A priority Critical patent/JPH02148358A/en
Publication of JPH02148358A publication Critical patent/JPH02148358A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To realize a calculating function to an input device provided with a calculating function through a simple operation by adding a calculating function to an input device provided with no calculating function. CONSTITUTION:A character kind analyzing section 11 analyzes the kind of inputted characters, whether the characters are KANA (Japanese syllabary) or alphanumeric characters, and, when the characters are discriminated as KANA characters, outputs the characters to a dictionary accessing section 12. When the characters are discriminated as alphanumeric characters, the section 11 outputs the characters to a calculation processing section 13. The section 12 makes access to a dictionary based on the inputted KANA (characters and executes KANA-KANJI (Chinese character) conversion. After conversion, the section 11 sends the converted results to a candidate group producing and processing section 14. On the other hand, the section 13 analyzes the inputted alphanumeric characters and executes the calculation of numerals or calculation of a function expressed by the characters by respectively using calculation routines and outputs the calculated results to the processing section 14. The section 14 produces plural groups of candidates by grouping the plural candidates outputted from the sections 12 and 13 and outputs the results to a display processing section 15.

Description

【発明の詳細な説明】 [概要] 日本語ワードプロセッサなどのかな漢字変換機能を備え
た文字入力装置に関し、 計算機能を備えていない入力装置に対し計算機能を提供
し、計37機能を備えている入力装置に対しても計算機
能を前車な19.作で実現できる計算機能付人力装置を
提供することを目的とし、入力された文字がかな文字か
英数字かを識別してかな文字を辞書アクセス部に出力す
るとともに英数字を計算処理部に出力する文字種解析部
と、入力された英数字とかな文字に対し辞書にアクセス
して候補となる変換文字を出力する辞書アクセス部と、
入力された英数字により表現された計算処理を行い計算
結果を出力する計算処理部と、辞書アクセス部と計算処
理部からの各出力を候補群として作成する候補群作成処
理部と、候補群作成処理部からの出力を表示する処理を
行う表示処理部とを備えるよう構成する。
[Detailed Description of the Invention] [Summary] Regarding character input devices equipped with a kana-kanji conversion function such as a Japanese word processor, this input device provides a calculation function to an input device that does not have a calculation function, and has a total of 37 functions. 19.The device also has a calculation function in the front car. The purpose is to provide a human-powered device with a calculation function that can be realized in a computer, and it identifies whether the input characters are kana characters or alphanumeric characters, and outputs the kana characters to the dictionary access part and the alphanumeric characters to the calculation processing part. a dictionary access unit that accesses a dictionary and outputs candidate conversion characters for input alphanumeric characters and kana characters;
A calculation processing section that performs calculation processing expressed by input alphanumeric characters and outputs the calculation results, a candidate group creation processing section that creates each output from the dictionary access section and the calculation processing section as a candidate group, and a candidate group creation processing section. The display processing unit is configured to include a display processing unit that performs a process of displaying an output from the processing unit.

[産業上の利用分野] 本発明は日本語ワードプロセッサなどのかな漢字変換機
能を備えた文字入力装置に関する。
[Industrial Field of Application] The present invention relates to a character input device, such as a Japanese word processor, having a kana-kanji conversion function.

近年、日本語ワードプロセッサや、日本語処理機能を備
えたワークステーションなどが広く利用されるようにな
り、キーボードから入力した文字をかな漢字変換機能を
利用して漢字変換を施した文章に変換して文字入力が行
われている。
In recent years, Japanese word processors and workstations equipped with Japanese processing functions have become widely used, and characters input from the keyboard are converted into kanji-converted sentences using the kana-kanji conversion function. Input is being made.

日本語ワードプロセッサなどのかな漢字fiAa能を利
用する入力装置には通常、計算機能(入力した文字列に
より表現された計算式や関数式の計算をする機能)がサ
ポートされてない、その場合、利用者は計算式や関数式
に対応する計算を卓上計算機または暗算により計算を行
う必要があった。
Input devices that use Kana-Kanji fiAa function, such as Japanese word processors, usually do not support calculation functions (functions that calculate calculation expressions or function expressions expressed by input character strings). It was necessary to perform calculations corresponding to calculation formulas and function formulas using a desktop calculator or mental arithmetic.

また、計算機能をアプリケーション(プログラム)によ
り実現する方法があるが、その場合各アプリケーション
において共通のかな漢字変換環境を提供するために、か
な漢字変換はそれを利用するソフトウェア(アプリケー
ションフソト)とは独立にメモリにローディングするこ
とが多い、そのため、かな漢字変換処理が起動するとそ
の変換処理が終了するまで入力装置(キーボード等)か
らの入力はかな漢字変換処理に占有され、変換語の文字
列の決定を行うか、かな漢字変換処理を終了させないと
動作中のソフトウェア(アプリケーション)に処理が戻
らない。
In addition, there is a way to implement the calculation function by an application (program), but in that case, in order to provide a common kana-kanji conversion environment for each application, the kana-kanji conversion is performed in memory independently of the software (application software) that uses it. Therefore, when the Kana-Kanji conversion process starts, input from an input device (keyboard, etc.) is occupied by the Kana-Kanji conversion process until the conversion process is completed, and the Kana-Kanji conversion process is used to determine the character string of the converted word. Unless the kana-kanji conversion process is completed, the process will not return to the running software (application).

このため、計算機能をサポートするソフトウェアにおい
ても、日本語の入力と計算を行う処理が混在している場
合、かな漢字変換処理の起動・終了を行なう操作が発生
しては作を複雑にするため、簡単な操作で計算処理機能
を実現できることが望まれている。
For this reason, even in software that supports calculation functions, if Japanese input and calculation processing are mixed, operations to start and stop the kana-kanji conversion process will occur, complicating the work. It is desired that calculation processing functions can be realized with simple operations.

[従来の技術] 従来例の構成図を第5図に示す。[Conventional technology] A configuration diagram of a conventional example is shown in FIG.

第5図において、60はキーボードなどの人力装置、6
1は切換装置、62はかな漢字変換機能を含むソフトウ
ェアおよびハードウェアからなる文字処理部、63はか
な漢字変換部、64はアプリケーション(プログラム)
、65はアプリケーションに含まれる計算処理部、66
は表示装置を表す。
In FIG. 5, 60 is a human-powered device such as a keyboard;
1 is a switching device, 62 is a character processing section consisting of software and hardware including an ephemeral-kanji conversion function, 63 is an ephemeral-kanji conversion section, and 64 is an application (program).
, 65 is a calculation processing unit included in the application, 66
represents a display device.

従来例の動作を説明すると、切換装置61が通常動作で
あるかな漢字変換動作の実行状態に切換えられていると
、入力装置60から入力された文字列は切換装置61を
介してかな漢字変換部63により占有されて、かな漢字
変換用の辞書(図示せず)を参照してかな漢字変換を行
う、その場合、複数の候補文字がある場合、それぞれを
同時に複数表示して選択入力により一つを決定するか、
または候補の変換文字を一つだけ表示して、変換キーの
操作により次の候補を順に表示させて決定する等の方法
がある。
To explain the operation of the conventional example, when the switching device 61 is switched from the normal operation to the execution state of the kana-kanji conversion operation, the character string input from the input device 60 is converted to the kana-kanji conversion section 63 via the switching device 61. If the Kana-Kanji conversion dictionary (not shown) is occupied and there is a Kana-Kanji conversion dictionary (not shown), Kana-Kanji conversion is performed.In that case, if there are multiple candidate characters, do you display multiple candidates at the same time and select one by inputting the selection? ,
Alternatively, there is a method in which only one candidate conversion character is displayed, and the next candidate is sequentially displayed and determined by operating a conversion key.

入力装置60から計算を行う必要のある文字人力を行う
場合、切換装置61の状態を入力装置からの指示により
切り換える。すると、入力装置60から入力された計算
用文字列はアプリケーション64の計算処理部65に人
力され、その計算処理機能により計ゴγが実行されると
計算結果が表示装置66において表示される。
When performing a manual calculation that requires calculation from the input device 60, the state of the switching device 61 is switched in accordance with an instruction from the input device. Then, the calculation character string inputted from the input device 60 is manually input to the calculation processing section 65 of the application 64, and when the calculation processing function executes the calculation γ, the calculation result is displayed on the display device 66.

[発明が解決しようとする課!i!] 上記した従来の入力装置では、かな漢字変換のための文
字入力と、計算処理を行うための文字人力とを予め切I
A装置を操作することにより明確に区別する必要があり
、計算処理をサポートするソフトウェアにおいても日本
語の入力と計算を行う処理が混在している場合、かな漢
字変換処理の起動・終了を行う操作が発生し、操作を複
雑にする原因となる。
[The problem that the invention attempts to solve! i! ] In the above-mentioned conventional input device, character input for kana-kanji conversion and character input for calculation processing are cut off in advance.
It is necessary to clearly differentiate by operating the A device, and even in software that supports calculation processing, if Japanese input and calculation processing are mixed, the operation to start and end the kana-kanji conversion processing is necessary. occurs, complicating operations.

本発明は計算機能を備えていないアプリケーションに対
し計算機能を提供し、計算機能を備えているアプリケー
ションに対しても計算機能を簡単な操作で実現できる計
算N化け人力装置を提供することを目的とする。
An object of the present invention is to provide a calculation function capable of providing calculation functions to applications that do not have calculation functions, and to provide calculation functions to applications that do have calculation functions with simple operations. do.

[課題を解決するための手段] 第1図は本発明の原理的構成図である。[Means to solve the problem] FIG. 1 is a diagram showing the basic configuration of the present invention.

第1図の11は文字種解析部、12は辞書アクセス部、
13は計算処理部、14は候補群作成処理部、15は表
示処理部である。
11 in FIG. 1 is a character type analysis section, 12 is a dictionary access section,
13 is a calculation processing section, 14 is a candidate group creation processing section, and 15 is a display processing section.

本発明は、入力された文字の中から英数字を選択して計
算処理部において英数字により表現された計算式または
関数式に対応する計算を実行し、計算結果と辞書により
変換されたべ字列とともに候補文字として表示するもの
であ゛る。
The present invention selects alphanumeric characters from input characters, executes calculation corresponding to the calculation formula or function formula expressed by the alphanumeric characters in the calculation processing unit, and converts the result of the calculation and the converted character string using a dictionary. It is also displayed as a candidate character.

【作用] 第1図の文字種解析部11はキーボードなどから図示さ
れないバッファに入力された文字がかな文字か、英数字
かの文字種を解析し、かな文字であると識別されると辞
書アクセス部12に出力し、英数字であると識別される
と計算処理部13に出力する。なお、英数字の文字列は
計算処理部13または辞書アクセス部12を介してその
まま候補として候補群作成処理部14にも供給される。
[Operation] The character type analysis section 11 in FIG. If it is identified as an alphanumeric character, it is output to the calculation processing section 13. Note that the alphanumeric character string is also supplied to the candidate group creation processing section 14 as a candidate via the calculation processing section 13 or the dictionary access section 12.

辞書アクセス部12では入力されたかな文字により辞書
にアクセスしてかな漢字変換を実行して変換結果を候補
群作成処理部14に出力する。このかな漢字変換により
複数の変換結果が得られるとそれぞれが候補として出力
される。
The dictionary access unit 12 accesses the dictionary based on the input kana characters, performs kana-kanji conversion, and outputs the conversion results to the candidate group creation processing unit 14. When a plurality of conversion results are obtained through this kana-kanji conversion, each of them is output as a candidate.

計算処理部13では英数字が入力されると、その英数字
を解析して、表現された数値の計算または関数の計算を
夫々の計算ルーチンを用いて実行して、結果を候補群作
成処理部14に出力する。
When alphanumeric characters are input, the calculation processing unit 13 analyzes the alphanumeric characters, calculates the expressed numerical value or calculates the function using each calculation routine, and sends the results to the candidate group creation processing unit. Output to 14.

候補群作成処理部14では、辞書アクセス部12および
計算処理部13から出力された複数の候補(英数字の文
字列を含む)を群としてまとめて複数の群の候補を作成
し、作成された結果を表示処理部15に出力する。
The candidate group creation processing unit 14 creates a plurality of groups of candidates by grouping the plurality of candidates (including alphanumeric character strings) output from the dictionary access unit 12 and the calculation processing unit 13. The results are output to the display processing section 15.

表示処理部15では入力された複数の候tilt群を表
示形式に変換し、図示しない表示装置へ出力する。
The display processing unit 15 converts the plurality of input candidate tilt groups into a display format, and outputs it to a display device (not shown).

このように、計算の結果は漢字変換の結果と同様に候補
として表示されることにより、利用者との間で複雑な操
作を必要としない、すなわち、従来と同様の複数候補の
中から一つの候補を選択する模作を行うだけでよい(変
換キーを押す毎に異なる候補が表示されその中から決定
する操作を行えばよい)。
In this way, the calculation results are displayed as candidates in the same way as the results of kanji conversion, so there is no need for complicated operations between the user and the user. All you have to do is make a mock selection of a candidate (each time you press the conversion key, a different candidate is displayed, and you can choose from among them).

また、計算式が入力された時常に計算結果を必要として
いるとは限らないので、入力された文字列を第一候補と
し、計算結果を第二候補とすれば、利用者は計算結果を
必要とする場合に第二Ia +iIiを選択することに
より目的とする文字入力が実現できる。
In addition, when a calculation formula is input, the calculation result is not always needed, so if the input string is the first candidate and the calculation result is the second candidate, the user will not need the calculation result. In this case, the desired character input can be realized by selecting the second Ia +iIi.

[実施例] 第2図は本発明の実施例の処理フロー図である。[Example] FIG. 2 is a processing flow diagram of an embodiment of the present invention.

第3図は文字種識別処理の詳細フロー図、第4図(a)
および第4図(blは計算処理の詳細フロー図である。
Figure 3 is a detailed flow diagram of character type identification processing, Figure 4 (a)
and FIG. 4 (bl is a detailed flow diagram of calculation processing).

第2図において、処理が開始され、キーボードからキー
人力操作が行われると(ステップ20)、そのキー人力
が〔変換〕キーの入力であるかどうかを判別する(ステ
ップ21)、(変換)キーでない時は、次に〔決定〕キ
ーであるかどうか判別し、〔決定〕キーでない時はその
キー人力を入力バッファに格納する(ステップ23)。
In FIG. 2, when the process is started and a key is manually operated from the keyboard (step 20), it is determined whether the key manually is an input of the [conversion] key (step 21). If not, then it is determined whether it is the [Enter] key or not, and if it is not the [Enter] key, the key force is stored in the input buffer (step 23).

このように複数の文字列が入力バッファに格納されたあ
と、〔変換〕キーが入ツノされると、ステップ21から
ステップ25に処理が移り、その〔変換〕キーが1回目
の入力であるか否かを判別し、1回目であると、キーボ
ードから人力された文字列が格納された入力バッファの
文字種を識別する処理を行う(ステップ2G)。
When the [Convert] key is pressed after multiple character strings have been stored in the input buffer in this way, the process moves from step 21 to step 25, and the process checks whether the [convert] key is input for the first time. If it is the first time, a process is performed to identify the character type of the input buffer in which the character string entered manually from the keyboard is stored (step 2G).

次に文字列が英数字か否かを識別しくステップ27)、
英数字の場合はまずその英数字の文字列を候補として保
持しくステップ32)次いでその英数字について計算処
理を実行する(ステップ33)、識別された文字列が英
数字でない場合は辞書アクセス処理を実行し、辞書を読
んで候補を抽出する(ステップ28)、この時多数の候
補が得られた場合は、従来のワードプロセッサと同様に
それぞれに順位を付けて候補とする。
Next, step 27) identifies whether the character string is alphanumeric or not.
In the case of alphanumeric characters, the alphanumeric character string is first held as a candidate (step 32), and then calculation processing is performed on the alphanumeric characters (step 33); if the identified character string is not alphanumeric, dictionary access processing is performed. If a large number of candidates are obtained at this time, they are ranked and selected as candidates, similar to a conventional word processor.

辞書から得られた複数の候補と、計算処理による計算結
果および英数字の文字列は次のステンプ29でそれぞれ
が候補群として組み合わせられ、更にステップ30にお
いて候補群を表示する動作が実行される。この場合の表
示方法として、種々の方法を使用することができる。
The plurality of candidates obtained from the dictionary, the calculation results from the calculation process, and the alphanumeric character strings are each combined as a candidate group in the next step 29, and further, in step 30, an operation for displaying the candidate group is executed. Various methods can be used as the display method in this case.

この実施例では、入力された文字列(英数字を含め)を
単にかな漢字変換した結果を一つ(かな漢字変換の結果
が複数個ある時)表示し、第2の候補として英数字によ
り表された計算式または関数計算を実行した結果が保持
され、候補の切り換えは〔変換〕の操作により行い、表
示された内容を見てその候補を選択する場合は、〔決定
〕キーを操作することにより、候補群の中から表示され
た一つの候補を入力することができる。
In this example, the input character string (including alphanumeric characters) is simply converted into kana-kanji, one result is displayed (when there are multiple results of kana-kanji conversion), and the second candidate is displayed as a result of alphanumeric characters. The result of executing a calculation formula or function calculation is retained, and candidates can be switched by operating [Convert]. If you want to select the candidate by looking at the displayed content, press the [Enter] key. One candidate displayed from among the candidate group can be input.

上記の方法の他に、かな漢字変換の結果多数の候補が発
生した場合、複数の候補を同時に表示させて、数字キー
またはファンクションキーによりその中の一つを選択す
るなどの従来のワードプロセッサにより採用された方法
を用いることができる。
In addition to the above methods, when a large number of candidates are generated as a result of Kana-Kanji conversion, conventional word processors employ methods such as displaying multiple candidates at the same time and selecting one of them using number keys or function keys. Other methods can be used.

第3図は上記第2図の処理フローのステップ26.28
において行われる文字種傘識別処理の詳細フローの例を
示す図である。
Figure 3 shows steps 26 and 28 of the process flow in Figure 2 above.
It is a figure which shows the example of the detailed flow of the character type umbrella identification process performed in .

第3図において、1つの文字を入カバソファから取り出
しくステップ260)、その文字が英数字かどうか判別
しくステップ261)、英数字である時はその文字を図
示されないメモリの英数字文字列領域に格納しくステッ
プ262)、次にその1文字前が英数字か判別する(ス
テップ263)0次に、1文字前が英数字か否かを判別
して、かな文字であればこの文字は英数字列の先頭とい
うことになり、1文字前に入力が終了したかな文字列に
ついてのかな漢字変換処理を行うために図示されないか
な文字列領域を指示して第2図のステップ28の処理を
起動する。
In FIG. 3, one character is taken out from the cover sofa (step 260), it is determined whether the character is an alphanumeric character or not (step 261), and if it is an alphanumeric character, the character is stored in an alphanumeric character string area of the memory (not shown). (step 262), then determines whether the previous character is an alphanumeric character (step 263) Next, determines whether the previous character is an alphanumeric character, and if it is a kana character, this character is an alphanumeric character. In order to perform the kana-kanji conversion process on the kana character string for which the input was completed one character before, a kana character string area (not shown) is designated and the process of step 28 in FIG. 2 is activated.

一方、英数字の入力が続けて行われると、ステップ26
0〜263の処理により英数字文字列領域に順次英数字
の文字列が格納される。英数字の文字列が終了して、か
な文字(日本字)の先頭が取り出されるとステップ26
1において、Noと判別され、ステップ264でその文
字はメモリのかな文字列領域に格納される0次いで、ス
テップ265において1文字前がかな文字か否かを判別
され、この場合1文字前が英数字であるからN。
On the other hand, if alphanumeric characters are input continuously, step 26
By processing 0 to 263, alphanumeric character strings are sequentially stored in the alphanumeric character string area. When the alphanumeric character string ends and the beginning of the kana characters (Japanese characters) is extracted, step 26
1, the character is determined as No, and in step 264 the character is stored in the kana character string area of the memory. N because it's a number.

となり、ステップ267に移る。ここでは、先に英数字
が格納された英数字文字列領域を用いて第2図のステッ
プ32の処理を起動する。
Then, the process moves to step 267. Here, the process of step 32 in FIG. 2 is activated using the alphanumeric character string area in which the alphanumeric characters have been previously stored.

このように、文字列について英数字文字列かかな文字列
かの文字種を識別して、それぞれの識別結果に応した処
理が進められる。
In this way, the character type of the character string is identified, whether it is an alphanumeric character string or a kana character string, and processing is performed in accordance with the respective recognition results.

第4図fatおよび第4図fblは第2図のステップ3
3で実行される計算処理の詳細フローの例を示す図であ
る。
Figure 4 fat and Figure 4 fbl are shown in step 3 of Figure 2.
3 is a diagram illustrating an example of a detailed flow of calculation processing executed in Step 3. FIG.

本実施例の計算機能により行われる計算はゴγ術演算と
関数計算の2種類であり、算術計算を行うには通常の日
常生活で使用する中置法で既述した算術演lγ式で弐を
入力する。使用可能な演算子およびその優先順位は次の
通りであり、算術演算式の途中に空白を人力することは
できない。
There are two types of calculations performed by the calculation function of this embodiment: Go gamma arithmetic operations and functional calculations. Enter. The usable operators and their priorities are as follows, and blanks cannot be inserted in the middle of an arithmetic expression.

()>”、△>*、/、 % 〉+。()>”, △>*, /, %〉+.

(但し、〉は優先順位の関係を表す) また、関数計算は次の形式で既述する。(However, > represents the priority relationship) Moreover, the functional calculation is already described in the following format.

関数名(計算式) 計算式の中には算術演算式、及び関数式を既述でき、こ
の実施例では関数名として次の様な文字列を使用する。
Function name (calculation formula) Arithmetic operation formulas and function formulas can be already described in the calculation formula, and in this embodiment, the following character strings are used as function names.

(但し、log関数は括弧内にカンマで区別した2つの
計3γ弐を指定する)abs、 ewp、 In、 l
ogIO,5qrL+ log、 sin、 cos。
(However, the log function specifies two total 3γ2 separated by a comma in parentheses) abs, ewp, In, l
ogIO, 5qrL+ log, sin, cos.

Lan、 asin、 ncos、 ataL ata
n2このような前提に従って計算処理の詳細フロー図に
ついて説明すると、第4図(8)のステップ400にお
いて英数字文字列(上記第3図のステップ267により
指示された領域に格納された文字列)の解析を行う、そ
の解析の結果をステップ400以下の判別処理により識
別を行う、まず、全て数字文字列かを判別して、YES
なら数字−漢数字変換を行い(ステップ401,402
)、全て数字文字列でない場合、次に“today”か
どうかを判別し、YESなら今日の日付を設定する(ス
テップ403,405)s  ステップ403でNoの
場合、文字列はnow”かを判別し、YESなら時刻を
表すクロックデータを読み出して現在の時間を設定する
(ステ、プ405,406)、ステップ405でNOの
場合、文字列が四則演算(加減乗除)であるか判別しY
ESなら対応する演算を実行し、ステップ407でNO
と判別された場合、関数計算かを判別し、NOの場合は
何ら計算を行f、t/、ず上記の各ステップ402゜4
04.406.408の処理と同様に計算処理の終了位
置に戻る。
Lan, asin, ncos, ataL ata
n2 To explain the detailed flowchart of the calculation process based on such a premise, in step 400 of FIG. 4 (8), an alphanumeric character string (the character string stored in the area specified by step 267 of FIG. The result of the analysis is identified by the determination process in step 400 and below. First, determine whether all of them are numeric character strings, and then select YES.
Then perform numeric-kanji conversion (steps 401, 402)
), if they are not all numeric character strings, then determine whether the character string is "today", and if YES, set today's date (steps 403, 405). If No in step 403, determine whether the character string is "now". If YES, read the clock data representing the time and set the current time (steps 405, 406); if NO in step 405, determine whether the character string is one of the four arithmetic operations (addition, subtraction, multiplication, division);
If ES, execute the corresponding calculation, and if NO in step 407.
If it is determined that it is a function calculation, it is determined whether it is a function calculation, and if NO, any calculation is performed.
Similar to the process of 04.406.408, the process returns to the end position of the calculation process.

関数計算である場合(ステップ409でYESの時)は
、ステップ410以下の第4図(b)を含めた各ステッ
プにおいて個別の関数であるかどうかを順次判別し、判
別された場合はそれに対応する関数計算のルーチンを用
いて計算を行い、終了するか、ステップ433において
NOと判別された時(この場合も計(γを実行しない)
、計算処理の終了位置に戻る(1?ETで表示)。
If it is a function calculation (YES in step 409), it is sequentially determined whether or not it is an individual function in each step including step 410 and FIG. Calculation is performed using a function calculation routine to perform the calculation, and when the calculation is completed or NO is determined in step 433 (also in this case, calculation (do not execute γ))
, returns to the end position of the calculation process (indicated by 1?ET).

次に、本発明の文字入力装置による文字列の具体例によ
る動作を説明する。なお、説明中に第2図の処理ステッ
プの番号を括弧内に引用した。
Next, the operation of a specific example of a character string by the character input device of the present invention will be described. In addition, during the explanation, the numbers of the processing steps in FIG. 2 are quoted in parentheses.

かな文字列と英数字文字列が混在している入力文字列が
“5qrL(2)にへんかんする″の時、これを1.1
4142136に変換する”という文字に変換する場合
を例とする。
When the input string is a mixture of kana strings and alphanumeric strings, "5qrL(2)", convert this to 1.1.
Let us take as an example the case where the characters are converted to "4142136".

文字列“5qrL(2)にへんかんする”を入力すると
、文字入カバソファに“5qrt(2)にへんかんする
”が格納され(第2図20)、〔変換〕キーが押される
と文字Jjtの識別が行われる(第2図21.25.2
6)、ここで英数字5qrt(2) ″とかな文字列“
にへんかんする”とが識別される。
When the character string "5qrL(2) ni Kankansuru" is input, "5qrt(2) ni Kankansuru" is stored in the character input cover sofa (Fig. 2, 20), and when the [Convert] key is pressed, the character Jjt is identified. (Fig. 2 21.25.2)
6), where alphanumeric characters 5qrt(2) `` or a character string ``
``Nihenkansuru'' is identified.

選別されたかな文字列は辞書アクセス処理により連文節
変換が行われ候補が求められる(第2図28)、また、
英数字文字列“5qrt(2ンは、その文字列をそのま
ま候補として保存(第2図32)する一方、文字解析に
より関数計算であることが判別されて対応する「5qr
LJ  (開平))演算を実行し、結果として“1.1
4142136°が求められる(第2図33)、こうし
て、かな漢字変換により抽出された候補と計算処理によ
り得られた結果および英数字の文字列は候補として出力
されて、候補群が作成される(第2図29)。
The selected kana character strings are converted into consecutive phrases through dictionary access processing to find candidates (Figure 2, 28).
The alphanumeric string "5qrt (2) saves the string as it is as a candidate (Figure 2, 32), while character analysis determines that it is a function calculation and selects the corresponding "5qr
LJ (square root)) operation is executed, and the result is “1.1
4142136° is calculated (Fig. 2, 33). In this way, the candidates extracted by the kana-kanji conversion, the results obtained by the calculation process, and the alphanumeric character string are output as candidates, and a candidate group is created. 2 Figure 29).

このようにして得られた候補群の中から1回目の変換結
果として“5qrL(2)に変換する”と答えである“
1.14142136°を表示する。この表示を見た利
用者が、2回目の〔変換〕キーを押すと、既に候補群作
成処理により作成された次候補”1.1414213’
6“を“5qrL (2) ”と入れ替えた1.141
42136に変換する゛という表示を行う(第2図31
)。
From the candidate group obtained in this way, the answer is "convert to 5qrL(2)" as the first conversion result.
1.Display 14142136°. When the user sees this display and presses the [Convert] key for the second time, the next candidate "1.1414213" that has already been created by the candidate group creation process is displayed.
1.141 with “6” replaced with “5qrL (2)”
42136 is displayed (Fig. 2, 31).
).

この表示を見て、〔決定〕キーを入力すると、候補群の
中から現在の表示内容を入力文字列として決定し、記憶
などの処理が行われる(第2図24)。
When the user looks at this display and presses the [ENTER] key, the currently displayed content is determined as the input character string from among the candidates, and processing such as storage is performed (FIG. 2, 24).

要としないことにより操作の簡便化を達成することがで
きる。
Since this is not necessary, it is possible to simplify the operation.

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

第1図は本発明の原理的構成図、第2図は実施例の処理
フロー図、第3図は文字種別識別処理の詳細フローの例
を示す図、第4図体)および第4図fblは計算処理の
詳細フローの例を示す図、第5図は従来例の構成図であ
る。 第1図中、 ll:文字種解析部 12:辞書アクセス部 13:計17処理部 14:候補群作成処理部 15:表示処理部 [発明の効果] 本発明によればかな漢字変換機能を利用するすべての入
力装置において、計算機能を提供するとともに利用者と
の間に特別のインクフェースを必特許出願人 株式会社
ビーエフニー 復代理人弁理士   穂坂 和雄 実施例の処理フロー図 第2図 計菖処理の詳細フロー図 第4図(1))
Fig. 1 is a diagram showing the basic configuration of the present invention, Fig. 2 is a processing flow diagram of an embodiment, Fig. 3 is a diagram showing an example of a detailed flow of character type identification processing, Fig. 4) and Fig. 4 fbl are FIG. 5, which is a diagram showing an example of a detailed flow of calculation processing, is a configuration diagram of a conventional example. In FIG. 1, ll: Character type analysis section 12: Dictionary access section 13: 17 processing sections in total 14: Candidate group creation processing section 15: Display processing section [Effects of the Invention] According to the present invention, everything that uses the kana-kanji conversion function The input device provides calculation functions and a special ink interface between the user and the user.Patent applicant: Kazuo Hosaka, sub-agent, Patent attorney, BFN Co., Ltd.Processing flow diagram of the example Processing flow diagram 2 Details of the iris processing Flowchart Figure 4 (1))

Claims (1)

【特許請求の範囲】 かな漢字変換機能を備えた文字入力装置において、 入力された文字がかな文字か英数字かを識別する文字種
解析部(11)と、 文字種解析部(11)から入力されたかな文字により辞
書にアクセスして候補となる変換文字を出力する辞書ア
クセス部(12)と、 文字種解析部(11)から入力された英数字により表現
された計算処理を行い計算結果を出力する計算処理部(
13)と、 前記辞書アクセス部(12)と計算処理部(13)から
の各出力を候補群として作成する候補群作成処理部(1
4)と、 候補群作成処理部からの出力を表示する処理を行う表示
処理部(15)とを備えることを特徴とする計算機能付
文字入力装置。
[Scope of Claims] A character input device equipped with a kana-kanji conversion function, comprising: a character type analysis unit (11) that identifies whether an input character is a kana character or an alphanumeric character; A dictionary access unit (12) that accesses the dictionary using characters and outputs candidate conversion characters; and a calculation process that performs calculation processing using the alphanumeric characters input from the character type analysis unit (11) and outputs the calculation results. Department (
13), and a candidate group creation processing unit (1) that creates each output from the dictionary access unit (12) and the calculation processing unit (13) as a candidate group.
4); and a display processing section (15) that performs a process of displaying the output from the candidate group creation processing section.
JP63303689A 1988-11-30 1988-11-30 Character input device with calculating function Pending JPH02148358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63303689A JPH02148358A (en) 1988-11-30 1988-11-30 Character input device with calculating function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63303689A JPH02148358A (en) 1988-11-30 1988-11-30 Character input device with calculating function

Publications (1)

Publication Number Publication Date
JPH02148358A true JPH02148358A (en) 1990-06-07

Family

ID=17924056

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63303689A Pending JPH02148358A (en) 1988-11-30 1988-11-30 Character input device with calculating function

Country Status (1)

Country Link
JP (1) JPH02148358A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011022907A (en) * 2009-07-17 2011-02-03 Nec Corp Character input device and character input program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60128560A (en) * 1983-12-16 1985-07-09 Seiko Epson Corp Method and apparatus for converting kana (japanese syllabary) kanji (chinese character)
JPS6383861A (en) * 1986-09-27 1988-04-14 Fuji Xerox Co Ltd Automatic processing system for numerical formula

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60128560A (en) * 1983-12-16 1985-07-09 Seiko Epson Corp Method and apparatus for converting kana (japanese syllabary) kanji (chinese character)
JPS6383861A (en) * 1986-09-27 1988-04-14 Fuji Xerox Co Ltd Automatic processing system for numerical formula

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011022907A (en) * 2009-07-17 2011-02-03 Nec Corp Character input device and character input program
US9110881B2 (en) 2009-07-17 2015-08-18 Motorola Mobility Llc Character input device and character input program

Similar Documents

Publication Publication Date Title
JPH0365757A (en) Sentence processor
JPS62274360A (en) Word processor
JPH02148358A (en) Character input device with calculating function
JP2943791B2 (en) Language identification device, language identification method, and recording medium recording language identification program
JPS6057422A (en) Document contents and index producer
JPS628259A (en) Kana (japanese syllabary)-kanji (chinese character) converting system
JPH01259448A (en) Kanji input system
JPH06131337A (en) Character input device
JP2778823B2 (en) Automatic word search method
KR20000047404A (en) Device and Method for processing an abbreviated word data of computer stenograph
JPS63157265A (en) Document processor
JPH09146934A (en) Japanese syllabary to chinese character conversion device
JPS63262752A (en) Kana/kanji converter
JPS63156275A (en) Automatic kana and katakana name dictionary adding system
JPH06131328A (en) Method and device for processing document
JPH05143577A (en) Japanese syllabary/chinese character converter
JPS6336365A (en) Japanese language processor
JPS6132171A (en) Document forming device having adjunct key group
JPS61180360A (en) Document editing device
JPH1027173A (en) Personal name converter
JPS63296134A (en) System for retrieving program component
JPH0223460A (en) Japanese word processor
JPS6365565A (en) 'kana' (japanese syllabary) to 'kanji' converting system
Grimes System support in Chinese data entry
JPS6319061A (en) Method and device for inputting kanji