JPH06119387A - Data conversion processor - Google Patents

Data conversion processor

Info

Publication number
JPH06119387A
JPH06119387A JP4267032A JP26703292A JPH06119387A JP H06119387 A JPH06119387 A JP H06119387A JP 4267032 A JP4267032 A JP 4267032A JP 26703292 A JP26703292 A JP 26703292A JP H06119387 A JPH06119387 A JP H06119387A
Authority
JP
Japan
Prior art keywords
year
data
conversion table
date attribute
attribute data
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
JP4267032A
Other languages
Japanese (ja)
Inventor
Yasuhiro Fukami
見 泰 浩 深
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 JP4267032A priority Critical patent/JPH06119387A/en
Publication of JPH06119387A publication Critical patent/JPH06119387A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable a retrieval system to recognize an new era name without changing a retrieval document system program by recording an era name conversion table in a nonvolatile reloadable memory. CONSTITUTION:An era name conversion table 10 to be referred to when a conversion processing part 1 displays the date attribute of a document with the era name, is held in a nonvolatile reloadable memory(EEPROM) 9. In the era name conversion table 10, pairs of era name data 12 and date attribute data 13 are present only in a number indicated by an era name table number 11. And also, at the time of preparing the retrieval document system, the era name conversion table 10 is stored in the EEPROM 9 only once. That is, the conversion table 10 is held in the EEPROM 9, so that the retrieval system can be allowed to recognize the new era name only by activating a program for changing the era name conversion table 10 without changing the retrieval document system program of a main program.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、検索文書システムにお
いて新しい年号に変更する場合でもプログラムを変更せ
ずに変換が可能な日付変換処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a date conversion processing device capable of converting a search document system without changing the program even when changing to a new year.

【0002】[0002]

【従来の技術】図4は従来の検索文書システムにおける
日付変換処理装置の構成を示すものである。図4におい
て、1は変換処理部、2はデータベース検索処理部、3
はデータベース、4は表示装置、5はキーボード、6は
表示制御部である。7はデータベースの3内の文書の日
付属性データ、8はデータベース検索処理部2内のメモ
リである。
2. Description of the Related Art FIG. 4 shows the configuration of a date conversion processing device in a conventional search document system. In FIG. 4, 1 is a conversion processing unit, 2 is a database search processing unit, 3
Is a database, 4 is a display device, 5 is a keyboard, and 6 is a display control unit. Reference numeral 7 is date attribute data of the document in the database 3, and 8 is a memory in the database search processing unit 2.

【0003】キーボード5から入力された年号データ
は、変換処理部1により日付属性データに変換される。
データベース検索処理部2において、データベース3へ
の問い合わせとして日付属性データを渡し、得られた検
索結果の日付属性データ7をメモリ8に格納する。デー
タベース検索処理部2において、格納された検索結果の
文書の日付属性データ7を変換処理部1において年号デ
ータに変換し、年号データを表示制御部6により文書あ
るいは文書属性として表示装置4に表示する。
The year data input from the keyboard 5 is converted into date attribute data by the conversion processing unit 1.
The database search processing unit 2 passes the date attribute data as an inquiry to the database 3, and stores the date attribute data 7 of the obtained search result in the memory 8. In the database search processing unit 2, the date attribute data 7 of the stored search result document is converted into year data in the conversion processing unit 1, and the year data is displayed on the display device 4 as a document or document attribute by the display control unit 6. indicate.

【0004】一般に、この種の検索文書システムにおい
ては、西暦として表示する手段はシステムが標準的に有
している西暦変換テーブルを使用し変換するが、「昭
和」、「平成」といった年号は、このようなデータベー
ス3およびデータベース検索処理部2を用いて、変換処
理部1で行なわれる。
Generally, in this type of search document system, the means for displaying the year is converted by using the year conversion table that the system has as standard, but year numbers such as "Showa" and "Heisei" The conversion processing unit 1 uses the database 3 and the database search processing unit 2 as described above.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
日付変換処理装置では、変換処理部1により年号データ
を日付属性データへまたは日付属性データを年号データ
へと変換する際には、変換処理部1内部のROMに格納
された変換テーブルを使用して行なわれるので、システ
ムに新たな年号を認識させたい場合には、このROMま
たはプログラムを変更しなければならないという問題が
あった。
However, in the conventional date conversion processing device, when the conversion processing unit 1 converts year data into date attribute data or date attribute data into year data, conversion processing is performed. Since the conversion table stored in the ROM inside the unit 1 is used, there is a problem that the ROM or the program must be changed in order to make the system recognize a new year.

【0006】本発明は、このような従来の問題を解決す
るものであり、検索文書システムプログラムを変更せず
に新しい年号をシステムに認識させることのできる日付
変換処理装置を提供することを目的とするものである。
SUMMARY OF THE INVENTION The present invention solves such a conventional problem, and an object of the present invention is to provide a date conversion processing device which allows a system to recognize a new year without changing a search document system program. It is what

【0007】[0007]

【課題を解決するための手段】本発明は、上記目的を達
成するために、文書の日付属性を年号表示する場合に参
照する年号変換テーブルと、年号入力データを文書の日
付属性として検索処理に渡す場合に参照する年号変換テ
ーブルとを、同一の不揮発性書換可能メモリに保持する
ようにしたものである。
In order to achieve the above object, the present invention uses a year conversion table referred to when displaying the date attribute of a document and year input data as the date attribute of the document. The year / year conversion table to be referred to when passing to the search processing is held in the same non-volatile rewritable memory.

【0008】[0008]

【作用】年号変換テーブルを不揮発性書換可能メモリに
記録することにより、これを参照する検索文書システム
プログラムは変更せず、年号変換テーブルを変更するプ
ログラムを起動するだけで、新しい年号を検索システム
に認識させることが可能となる。
[Function] By recording the year conversion table in the non-volatile rewritable memory, the search document system program that refers to it is not changed, and a new year can be set by simply activating the program that changes the year conversion table. It is possible to let the search system recognize it.

【0009】[0009]

【実施例】以下、本発明を詳細に説明する。図1は本発
明の一実施例の構成を概略的に示したものであり、図4
に示した従来例と同様な要素には同様な符号を付してあ
る。図1において、1は変換処理部、2はデータベース
検索処理部、3はデータベース、4は表示装置、5はキ
ーボード、6は表示制御部、7はデータベース3内の文
書の日付属性データ、8はデータベース検索処理部2内
のメモリ、9は不揮発性の電気的書換可能メモリ(以
下、EEPROMと略す。)、10は年号変換テーブ
ル、11は年号テーブル数、12は年号データ、13は
日付属性データである。
The present invention will be described in detail below. FIG. 1 schematically shows the configuration of an embodiment of the present invention.
The same elements as those of the conventional example shown in FIG. In FIG. 1, 1 is a conversion processing unit, 2 is a database search processing unit, 3 is a database, 4 is a display device, 5 is a keyboard, 6 is a display control unit, 7 is date attribute data of documents in the database 3, and 8 is A memory in the database search processing unit 2, 9 is a non-volatile electrically rewritable memory (hereinafter abbreviated as EEPROM), 10 is a year conversion table, 11 is the number of year tables, 12 is year data, and 13 is It is date attribute data.

【0010】年号変換テーブル10の構成は、年号デー
タ12と年号データ12と1対1で対応する日付属性デ
ータ13とを対に持ち、この対が年号テーブル数11で
示される数だけ存在する構成である。図示の例では、年
号変換テーブル10において、「明治yymmdd」に対応す
る唯一の日付属性データ13はDATEID Mであり、「大正
yymmdd」に対応する唯一の日付属性データ13はDATEID
Tであり、「昭和yymmdd」に対する唯一の日付属性デー
タ13はDATEID Sであり、「平成yymmdd」に対応する唯
一の日付属性データ13はDATEID Hである。それぞれの
yymmddの部分は、日付属性データ13が示す年号月日を
示す。変換テーブル10は、EEPROM9に検索文書
システム作成時に一回だけ格納すればよい。このように
して、変換テーブル10をEEPROM9に保持するこ
とにより、メインプログラムを変更せずに新しい年号を
追加することが可能となる。
The structure of the year / year conversion table 10 has year / year data 12 and date / time attribute data 13 corresponding to the year / year data 12 as a pair, and this pair is the number indicated by the year / year table number 11. It is a structure that exists only. In the illustrated example, in the year conversion table 10, the only date attribute data 13 corresponding to "Meiji yymmdd" is DATEID. M, "Taisho
The only date attribute data 13 corresponding to "yymmdd" is DATEID
T, and the only date attribute data 13 for "Showa yymmdd" is DATEID S is the only date attribute data 13 corresponding to "Heisei yymmdd" is DATEID H. each
The yymmdd part indicates the year / month / day indicated by the date attribute data 13. The conversion table 10 may be stored in the EEPROM 9 only once when the search document system is created. In this way, by holding the conversion table 10 in the EEPROM 9, it is possible to add a new year number without changing the main program.

【0011】次に上記実施例の動作について図2を参照
しながら説明する。図2において、1は変換処理部、2
はデータベース検索処理部、3はデータベース、4は表
示装置、5はキーボード、6は表示制御部である。10
は年号変換テーブル、11は年号テーブル数、12は年
号データ、13は日付属性データ、14は変換テーブル
10中での現在の位置を示すポインタ、15はポインタ
14を使用して年号変換テーブル10の年号データ12
を参照しながらこれと入力された年号データとを比較す
る年号データ比較部、16は年号データ比較部15から
得られた日付属性データ13を計算する日付属性データ
計算部、17はデータベース検索処理部2の指示する日
付属性データを、ポインタ14を使用して年号変換テー
ブル10の日付属性データ13を参照しながら比較する
日付属性データ比較部、18は日付属性データ比較部1
7から得られた日付属性データを計算する年号データ計
算部である。
Next, the operation of the above embodiment will be described with reference to FIG. In FIG. 2, 1 is a conversion processing unit, 2
Is a database search processing unit, 3 is a database, 4 is a display device, 5 is a keyboard, and 6 is a display control unit. 10
Is a year conversion table, 11 is the number of year tables, 12 is year data, 13 is date attribute data, 14 is a pointer indicating the current position in the conversion table 10, and 15 is a year using the pointer 14. Year data 12 in conversion table 10
Referring to, the year data comparison unit for comparing this with the input year data, 16 is a date attribute data calculation unit for calculating the date attribute data 13 obtained from the year data comparison unit 15, and 17 is a database. A date attribute data comparison unit for comparing the date attribute data designated by the search processing unit 2 with reference to the date attribute data 13 of the year / year conversion table 10 using the pointer 14, and 18 for the date attribute data comparison unit 1
7 is a year data calculation unit that calculates date attribute data obtained from 7.

【0012】次に動作の概要を説明する。まず、キーボ
ード5により入力された年号データは年号データ比較部
15に与えられる。年号データ比較部15は、ポインタ
14を「明治yymmdd」の位置にし(初期化し)、ポイン
タ14の示す年号変換テーブル10の年号データ12と
入力年号データとを比較し、ポインタ14の示す年号デ
ータ12より入力年号データが大きいときはポインタ1
4を一つ進め、ポインタ14が年号テーブル数11が示
す最終年号テーブルを越えていなければ同様な比較を
し、そうでなければポインタ14を一つ戻す。ポインタ
14の示す年号データより入力年号データが小さい時
は、ポインタ14が年号変換テーブル10の先頭でなけ
ればポインタ14を一つ戻す。そして、年号データの計
算の元となるポインタ14の指す年号変換テーブル10
の日付属性データ13と入力された年号データとによ
り、日付属性データ計算部16を起動する。
Next, an outline of the operation will be described. First, the year data input by the keyboard 5 is given to the year data comparison unit 15. The year data comparison unit 15 sets (initializes) the pointer 14 to the position of “Meiji yymmdd”, compares the year data 12 of the year conversion table 10 indicated by the pointer 14 with the input year data, and Pointer 1 when the input year data is larger than the indicated year data 12
4 is advanced by one, and if the pointer 14 does not exceed the final year table indicated by the year table number 11, the same comparison is made, and if not, the pointer 14 is returned by one. When the input year data is smaller than the year data indicated by the pointer 14, the pointer 14 is returned by 1 if the pointer 14 is not the head of the year conversion table 10. Then, the year conversion table 10 pointed by the pointer 14 which is the source of the calculation of the year data.
The date attribute data calculation unit 16 is activated by the date attribute data 13 and the input year number data.

【0013】日付属性データ計算部16では、入力年号
データとポインタ14の示す年号データ12との差をと
り、その差をポインタ14の示す日付属性データ13に
加算して日付属性データを得る。得られた日付属性デー
タをデータベース3への問い合わせ情報としてデータベ
ース検索処理部2に与え、検索結果の日付属性データは
メモリ8に格納される。データベース検索処理部2は、
結果を表示するためにその検索結果の日付属性データを
メモリ8から日付属性データ比較部17を転送する。
The date attribute data calculator 16 obtains the date attribute data by calculating the difference between the input year data and the year data 12 indicated by the pointer 14 and adding the difference to the date attribute data 13 indicated by the pointer 14. . The obtained date attribute data is given to the database search processing unit 2 as inquiry information to the database 3, and the date attribute data of the search result is stored in the memory 8. The database search processing unit 2
In order to display the result, the date attribute data of the search result is transferred from the memory 8 to the date attribute data comparison unit 17.

【0014】日付属性データ比較部17は、ポインタ1
4を「明治yymmdd」の位置にし(初期化し)、ポインタ
14の示す年号変換テーブル10の日付属性データ13
とメモリ8からの日付属性データとを比較し、ポインタ
14の示す日付属性データ13よりメモリ8からの日付
属性データが大きい時はポインタ14を一つ進め、ポイ
ンタ14が年号テーブル数11が示す最終年号テーブル
を越えていなければ同様な比較をし、そうでなければポ
インタ14を一つ戻す。ポインタ14の示す日付属性デ
ータ13よりメモリ8からの日付属性データが小さい時
は、ポインタ14が年号変換テーブル10の先頭でなけ
ればポインタ14を一つ戻す。次に、日付属性データの
計算の元となるポインタ14の示す年号変換テーブル1
0の日付属性データ13とメモリ8からの日付属性デー
タにより、年号データ計算部18を起動する。
The date attribute data comparison unit 17 uses the pointer 1
4 is set to the position of "Meiji yymmdd" (initialized), and the date attribute data 13 of the year conversion table 10 indicated by the pointer 14 is set.
And the date attribute data from the memory 8 are compared, and when the date attribute data from the memory 8 is larger than the date attribute data 13 indicated by the pointer 14, the pointer 14 is advanced by 1 and the pointer 14 indicates the year number table number 11. If it does not exceed the final year table, the same comparison is made, and if not, the pointer 14 is returned by one. When the date attribute data 13 from the memory 8 is smaller than the date attribute data 13 indicated by the pointer 14, the pointer 14 is returned by 1 if the pointer 14 is not the head of the year conversion table 10. Next, the year / year conversion table 1 indicated by the pointer 14 which is the basis of the calculation of the date attribute data
The year attribute data calculation unit 18 is activated by the date attribute data 13 of 0 and the date attribute data from the memory 8.

【0015】年号データ計算部18では、メモリ8から
の日付属性データとポインタ14の示す日付属性データ
13の差をとり、その差をポインタ14の示す年号デー
タ12に加算して年号データを得る。得られた年号デー
タにより表示制御部6が起動され、表示装置4に年号が
表示される。
In the year data calculation unit 18, the difference between the date attribute data from the memory 8 and the date attribute data 13 indicated by the pointer 14 is calculated, and the difference is added to the year data 12 indicated by the pointer 14 to obtain the year data. To get The display control unit 6 is activated by the obtained year number data, and the year number is displayed on the display device 4.

【0016】年号変換テーブル10の「yymmdd」は年号
の始めを示しており、年号データ12の型式および日付
属性データ13の型式は簡略化している。
"Yymmdd" in the year conversion table 10 indicates the beginning of the year, and the model of the year data 12 and the model of the date attribute data 13 are simplified.

【0017】次に、図3を参照して新しい年号、例えば
「新生」を追加する場合の動作について説明する。図3
は検索文書システムプログラムを変更しないで「新生」
の年号を追加する場合の処理を示したブロック図であ
る。図中、10は年号変換テーブル、11は年号テーブ
ル数、12は年号データ、13は日付属性データ、14
は変換テーブル中での現在の位置を示すポインタ、15
はポインタ14を使用して年号変換テーブル10の年号
データ12を参照しながら比較する年号データ比較部、
19は年号テーブル数11と新しい年号を更新する年号
更新プログラムである。
Next, the operation for adding a new year number, for example, "new birth" will be described with reference to FIG. Figure 3
"New" without changing the search document system program
It is a block diagram showing the processing when adding the Japanese era. In the figure, 10 is a year conversion table, 11 is the number of year tables, 12 is year data, 13 is date attribute data, 14
Is a pointer indicating the current position in the conversion table, 15
Is a year data comparison unit for comparing with reference to the year data 12 of the year conversion table 10 using the pointer 14.
Reference numeral 19 is a year number update program for updating a new year number with 11 year number tables.

【0018】年号更新プログラム19は、図3に示すよ
うに、年号変換テーブル10の年号テーブル数11を
「5」に、年号データ12を「新生yymmdd」に、日付属
性データ13をDATEID SS に更新する。図2に示した実
施例の日付変換処理方式のブロックにおいて、ポインタ
14は年号テーブル数11の数だけ、年号データ比較部
15と日付属性データ比較部17で比較するので、年号
変換テーブル10に年号を追加しても何ら問題ない。
As shown in FIG. 3, the year code updating program 19 sets the year code table number 11 of the year code conversion table 10 to "5", the year code data 12 to "new yymmdd", and the date attribute data 13. DATEID Update to SS. In the block of the date conversion processing method of the embodiment shown in FIG. 2, since the pointer 14 compares only the number of the year table number 11 in the year data comparison unit 15 and the date attribute data comparison unit 17, the year conversion table. There is no problem even if the year is added to 10.

【0019】このように、上記実施例によれば、年号テ
ーブル10をEEPROM9に保持することにより、検
索文書システムプログラムの変更なしに新しい年号の追
加に対応することができる。
As described above, according to the above-described embodiment, by storing the year code table 10 in the EEPROM 9, it is possible to cope with the addition of a new year code without changing the search document system program.

【0020】[0020]

【発明の効果】以上の説明から明らかなように、本発明
は、文書の日付属性を年号表示する場合に参照する年号
変換テーブルと、年号入力データを文書の日付属性とし
て検索処理に渡す場合に参照する年号変換テーブルと
を、同一の不揮発性書換可能メモリに保持するようにし
たので、システムプログラムを変更することなく新しい
年号を検索文書システムに容易に認識させることがで
き、メンテナンスが非常に容易となり、システムの経済
性を大幅に向上させることができる。
As is apparent from the above description, according to the present invention, the year conversion table referred to when displaying the date attribute of a document and the year input data as the date attribute of the document are used for the retrieval process. Since the year conversion table to be referred to when handing over is held in the same non-volatile rewritable memory, the new year can be easily recognized by the search document system without changing the system program, Maintenance becomes very easy, and the economical efficiency of the system can be greatly improved.

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

【図1】本発明の一実施例における日付変換処理装置の
構成を示す概略ブロック図
FIG. 1 is a schematic block diagram showing the configuration of a date conversion processing device according to an embodiment of the present invention.

【図2】本発明の一実施例における日付変換処理装置の
動作を説明するための概略ブロック図
FIG. 2 is a schematic block diagram for explaining the operation of the date conversion processing device in the embodiment of the present invention.

【図3】本発明の一実施例における日付変換処理装置の
具体的動作を説明するための概略ブロック図
FIG. 3 is a schematic block diagram for explaining a specific operation of the date conversion processing device according to the embodiment of the present invention.

【図4】従来例における日付変換処理装置の構成を示す
概略ブロック図
FIG. 4 is a schematic block diagram showing a configuration of a date conversion processing device in a conventional example.

【符号の説明】[Explanation of symbols]

1 変換処理部 2 データベース検索処理部 3 データベース 4 表示装置 5 キーボード 6 表示制御部 7 文書の日付属性データ 8 メモリ 9 不揮発性の電気的書換可能メモリ(EEPROM) 10 年号変換テーブル 11 年号テーブル数 12 年号データ 13 日付属性データ 14 ポインタ 15 年号データ比較部 16 日付属性データ計算部 17 日付属性データ比較部 18 年号データ計算部 19 年号更新プログラム 1 conversion processing unit 2 database search processing unit 3 database 4 display device 5 keyboard 6 display control unit 7 document date attribute data 8 memory 9 non-volatile electrically rewritable memory (EEPROM) 10 year conversion table 11 year table number 12 year data 13 Date attribute data 14 Pointer 15 Year data comparison unit 16 Date attribute data calculation unit 17 Date attribute data comparison unit 18 Year data calculation unit 19 Year update program

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文書の日付属性を年号表示する場合に参
照する年号変換テーブルと、年号入力データを文書の日
付属性として検索処理に渡す場合に参照する年号変換テ
ーブルとを、同一の不揮発性書換可能メモリに保持した
日付変換処理装置。
1. A year conversion table referenced when displaying a date attribute of a document and a year conversion table referenced when passing input year data as a date attribute of a document to a search process are the same. Date conversion processing device held in the non-volatile rewritable memory of.
JP4267032A 1992-10-06 1992-10-06 Data conversion processor Pending JPH06119387A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4267032A JPH06119387A (en) 1992-10-06 1992-10-06 Data conversion processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4267032A JPH06119387A (en) 1992-10-06 1992-10-06 Data conversion processor

Publications (1)

Publication Number Publication Date
JPH06119387A true JPH06119387A (en) 1994-04-28

Family

ID=17439107

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4267032A Pending JPH06119387A (en) 1992-10-06 1992-10-06 Data conversion processor

Country Status (1)

Country Link
JP (1) JPH06119387A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0969110A (en) * 1995-08-31 1997-03-11 Fujitsu Ltd Method for inputting year in data retrieving device and data retrieving device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0969110A (en) * 1995-08-31 1997-03-11 Fujitsu Ltd Method for inputting year in data retrieving device and data retrieving device

Similar Documents

Publication Publication Date Title
JP3734334B2 (en) Data migration system, computer-readable recording medium storing data migration program, and data migration method
JPH06119387A (en) Data conversion processor
JPH02151921A (en) Table data display device and table data storage device
JPH06266339A (en) Character output device
JP2596379B2 (en) Schedule output device
JPH0461363B2 (en)
JP2675298B2 (en) Information processing device
JP2000165518A (en) Station data input screen controller and its method
JPH06332926A (en) Card type data base device
JPH03167658A (en) Kana/kanji conversion system
JPS6263395A (en) Electronic cash register
JPS62182966A (en) Kanji input unit
JPS6040065B2 (en) small electronic calculator
JPS60189572A (en) Character processor
JPH0869249A (en) Continuous display system for map symbol
JPH02189681A (en) Document forming device
JPH01316862A (en) Character processing device
JPH03100861A (en) Character inserting system
JPH0471020A (en) Data input processor
JPH1124908A (en) Automatic software generating device
JP2001101174A (en) Method and device for retrieving kanji font data
JPH05143409A (en) File processing unit
JPS60103428A (en) Document producer
JPH02297106A (en) Character information input device
JPH08137860A (en) Device and method for converting japanese syllabary to chinese character