JPS61120276A - Katakana-to-hiragana converter - Google Patents

Katakana-to-hiragana converter

Info

Publication number
JPS61120276A
JPS61120276A JP59242965A JP24296584A JPS61120276A JP S61120276 A JPS61120276 A JP S61120276A JP 59242965 A JP59242965 A JP 59242965A JP 24296584 A JP24296584 A JP 24296584A JP S61120276 A JPS61120276 A JP S61120276A
Authority
JP
Japan
Prior art keywords
character string
katakana
adjunct
word
stored
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
JP59242965A
Other languages
Japanese (ja)
Other versions
JPH0544056B2 (en
Inventor
Takayuki Kowada
古和田 孝之
Kimio Nagasawa
長沢 喜美男
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP59242965A priority Critical patent/JPS61120276A/en
Publication of JPS61120276A publication Critical patent/JPS61120276A/en
Publication of JPH0544056B2 publication Critical patent/JPH0544056B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To convert a character string supplied in HIRAGANA (Japanese syllabary) into a mixture sentence of KATAKANA (square form of Japanese syllabary) with a simple operation, by dividing the character string into the first and second half parts and checking whether or not the second half charac ter string can be included into the KATAKANA words. CONSTITUTION:An attached word checking part 10 decomposes the second half of an input character string stored in a second half character string memory part 7 in the form of gathering of attached words, retrieves the part-of-speech numbers of each decomposed attached word via an attached word dictionary 11 and checks the propriety for connectiojn of those attached words through a connection matrix 12. A KATAKANA converting part 8 converts the first half part of an input character string stored in a first half character string memory part 6 into KATAKANA according to the result of decision obtained by the part 10 and delivers and stores it to a converted character string memory part 13. While a HIRAGANA converting part 9 converts the second half of the input character string stored in a second half character string memory part 7 converts into HIRAGANA and outputs and stores it to the part 13.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は主としてワードプロセッサ等に使用される片仮
名・平板名変換装置に関し、より具体的には、片仮名で
表記されるべき外来語に、たとえば助詞、あるいは動詞
、形容動詞の語尾(たとえば、「イブフトする」の「す
る」、「クリエイティブな」の「な」、等)、等の平板
名の付属語が付属するような片仮名・平仮名混合文を、
片仮名と平板名に分割して変換する片仮名・平板名変換
装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a katakana/flat name conversion device mainly used in word processors, etc., and more specifically, it converts foreign words to be written in katakana, such as particles, into , or mixed katakana and hiragana sentences with adjuncts of flat names, such as the endings of verbs and adjectives (e.g., ``suru'' in ``bufuto suru,''``na'' in ``creative,'' etc.) ,
The present invention relates to a katakana/flat name converting device that divides and converts katakana and flat name.

〔従来技術〕[Prior art]

近年、ワードプロセッサが普及し、広く一般にも使用さ
れているが、実際の使用に際しては種々の改良点がなお
存在している。
In recent years, word processors have become popular and are widely used, but there are still various improvements to be made in actual use.

たとえば、主として外来語等の片仮名で表記されるべき
単語に平板名の語尾を付属させるような場合、従来は以
下の如きいくつかの入力方法の内のいずれかが採られて
いた。
For example, when attaching the ending of a flat name to a word that should be written in katakana, such as a foreign word, conventionally one of the following input methods has been used.

まず、入力時に既に片仮名で入力する方法。これは、た
とえば「リストに」と入力する場合、入力を片仮名で行
うためのキーを操作した後、「りすと」と入力すると「
リスト」と表示され、次に入力を平板名で行うためのキ
ーを操作して「に」と入力することにより、「リストに
」と入力表示されるものである。
First, when inputting, you should already input katakana. This means that, for example, when you enter "list", after operating the key to input in katakana, enter "list".
``List'' is displayed, and then by operating the key for inputting a flat name and inputting ``ni'', ``List'' is input and displayed.

第2の方法として、片仮名で表示すべき単語を平板名で
入力した後、キー操作により片仮名に変換表示する方法
がある。これは、たとえば「リストに」と入力する場合
、平板名で「りすと」と入力した後、片仮名変換キーを
操作して「リスト」と変換表示させ、次に平板名で「に
」と入力して無変換キーを操作して「に」と表示させ、
最終的に「リストに」と表示するものである。
A second method is to input a word to be displayed in katakana as a plain name, and then convert the word to katakana and display it by key operation. For example, when entering "list", enter "list" as the board name, use the katakana conversion key to convert and display "list", and then enter "ni" as the board name. and operate the no conversion key to display "ni",
Finally, it is displayed as "on list".

上述のいずれの方法も、入力の際に入力される単語の片
仮名と平板名の部分を区別してキー操作を行う必要があ
り、入力のリズムが乱れて一時的に入力が中断し、作業
能率の低下の原因となっている。
In both of the above methods, it is necessary to distinguish between the katakana and plain name parts of the word being input when performing key operations, which disrupts the input rhythm and temporarily interrupts input, reducing work efficiency. This is the cause of the decline.

第3の方法として、片仮名で表示されるべき単語を漢字
で表示される単語と同様の扱いとする方法がある。たと
えば、「操作する」と入力する場合、「そうさする」と
平板名で入力した後、変換キーを打鍵すると「操作する
」と漢字の単語「操作」に平板名の付属語「する」 (
さ行変格動詞の語尾)が付された漢字・平仮名混合文に
変換されて表示される。これと同様に、平板名で「りす
とに」と入力した後、変換キーを打鍵すると「リストに
」と表示される方法である。この方法は、平板名で入力
した後、変換キーを操作するのみでよいため、最も容易
な方法である。しかしこの方法を採るには、漢字単語の
場合と同様にワードプロセッサの辞書に片仮名単語をも
予め登録しておく必要があるが、片仮名単語の数が非常
に多い、外来語の片仮名表記は種々の表記方法が使用さ
れている(たとえば、“wind側”に対して、ウィン
ドウ、ウィンドウ、ウィンド、ウィンドー、等)、片仮
名単語は時代の推移と共に激増する傾向にある、等の事
情により、片仮名単語の総てをワードプロセッサの辞亨
メモリに登録することは事実上不可能に近く、現実的な
方法とは言えない。
A third method is to treat words to be displayed in katakana in the same way as words to be displayed in kanji. For example, if you want to input ``operate'', enter ``so sasuru'' as the flat name, and then press the conversion key to convert the kanji word ``operate'' to the auxiliary word ``suru'' in the flat name (
It is converted and displayed as a mixed kanji/hiragana sentence with the ``sa line'' ending of the plagiarized verb). Similarly, if you enter "Listoni" as a flat name and then press the conversion key, "List" will be displayed. This method is the easiest method because all you need to do is input the flat name and then operate the conversion key. However, in order to use this method, it is necessary to register katakana words in the word processor's dictionary in advance in the same way as for kanji words. Due to various reasons, such as the number of katakana words used (for example, window, window, window, window, etc. for "wind side"), and the number of katakana words increasing rapidly over time, It is virtually impossible to register everything in the dictionary memory of a word processor, and it cannot be said to be a realistic method.

上述の事情に鑑みて、たとえば特公昭57−16375
号の発明が提案されている。
In view of the above-mentioned circumstances, for example,
The invention of No. 1 is proposed.

この発明は、単語をその文章上の前後両方向から見た場
合の接続特性、即ち接続の可否をマトリックス状に配列
記憶し、これに基づいて単語間の接続を検定し、漢字・
仮名混合文に変換するものである。
This invention stores connection characteristics when words are viewed from both front and back directions in a sentence, that is, whether or not they can be connected, arranged and stored in a matrix, and then tests connections between words based on this.
It is used to convert kana mixed sentences.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

既に説明した如く、従来一般的に行われている変換方法
は、片仮名と平板名とを区別して入力しなければならず
、煩瑣であるため入力のリズムを崩し、入力作業の能率
の低下を招来していた。また片仮名単語を漢字単語と同
様に処理する方法は、それらを記憶しておくための辞書
メモリの記憶容量の面から非現実的である。更に、前述
の特公昭57−16375号の発明は、漢字・仮名混合
文のみならず、片仮名・平仮名混合文に対しても適用可
能と考えられるが、処理対象となる単語総てを辞書メモ
リ、接続検定用のマトリックスメモリ等に記憶しておく
必要があるため、片仮名・平仮名混合文に通用するには
やはりメモリの容量の面から非現実的と言わざるを得な
い。
As already explained, the conversion method commonly used in the past requires inputting katakana and flat name separately, which is cumbersome and disrupts the rhythm of input, leading to a decrease in the efficiency of input work. Was. Furthermore, the method of processing katakana words in the same way as kanji words is impractical in terms of the storage capacity of the dictionary memory for storing them. Furthermore, the invention of Japanese Patent Publication No. 57-16375 mentioned above can be applied not only to kanji/kana mixed sentences, but also to katakana/hiragana mixed sentences, but all the words to be processed must be stored in a dictionary memory, Since it is necessary to store it in a matrix memory for connection testing, it must be said that it is unrealistic in terms of memory capacity for it to be applicable to mixed katakana and hiragana sentences.

〔問題点解決のための手段〕[Means for solving problems]

本発明は以上の如き事情に鑑みてなされたものであり、
変換対象の文字列を前半・後半の二つの文字列に分割し
、後半の文字列についてこれを片仮名単語に付属し得る
か否か、を検定し、付属し得ると認められた場合には前
半文字列を片仮名に、後半文字列を平板名に変換し、認
められない場合には変換対象の文字列の分割位置を変更
して同様の処理を反復する構成とし、これにより平板名
で入力された文字列を、比較的容易な操作にて且つ大容
量のメモリを用いずとも片仮名・平仮名混合文に変換し
得る片仮名・平板名変換装置の提供を目的とする。
The present invention has been made in view of the above circumstances, and
The character string to be converted is divided into two character strings, the first half and the second half, and the second half is tested to see if it can be attached to a katakana word. If it is found to be attached, the first half is The character string is converted into katakana, the second half of the string is converted into a plain name, and if it is not accepted, the division position of the character string to be converted is changed and the same process is repeated, so that the character string is input as a plain name. An object of the present invention is to provide a katakana/hiragana name conversion device capable of converting a character string written into a katakana/hiragana mixed sentence by relatively easy operation and without using a large capacity memory.

本発明に係る片仮名・平板名変換装置は、入力された文
字列を記憶する記憶手段と、該記憶手段に記憶された文
字列を任意の位置にて前半文字列と後半文字列とに分割
する文字列分割手段と、片仮名表記されるべき単語に付
属する付属語を登録した付属語辞書メモリと、該付属語
メモリに登録された各付属語相互間の接続の可否を記憶
した接続マトリックスメモリと、前記文字列分割手段に
より分割された後半文字列を前記接続マトリックスメモ
リにより検定し、付属語として認められる場合は前記文
字列分割手段により分割された前半文字列を片仮名文字
列に、後半文字列を平板名文字列に変換する付属語検定
手段とを備えたことを特徴とする。
The katakana/flat name conversion device according to the present invention includes a storage means for storing an input character string, and a character string stored in the storage means that is divided into a first half character string and a second half character string at an arbitrary position. A character string dividing means, an adjunct word dictionary memory in which adjunct words attached to the word to be written in katakana are registered, and a connection matrix memory that stores information on whether or not each adjunct word registered in the adjunct word memory can be connected to each other. , the second half of the character string divided by the character string division means is verified by the connection matrix memory, and if it is recognized as an attached word, the first half of the character string divided by the character string division means is converted into a katakana character string, and the second half of the character string is converted into a katakana character string. and an adjunct word verification means for converting the text into a flat name character string.

〔実施例〕〔Example〕

以下、本発明をその実施例を示す図面に基づいて詳述す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on drawings showing embodiments thereof.

第1図は本発明に係る片仮名・平板名変換装置の構成を
示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a katakana/plain name conversion device according to the present invention.

キーボード3は、従来のワードプロセッサ同様、複数の
文字キー及び漢字変換キー、無変換キー等が配列されて
いる他、本発明装置を特徴付ける片仮名変換キー(いず
れも図示せずンが配設されており、後述する如く、この
片仮名変換キーを操作することにより、平板名で入力さ
れた文字列が片仮名・平仮名混合文に変換される。この
キーボード3に配列された各キーが打鍵されると、それ
ぞれに対応するコードfi号がキー判定w2に与えられ
る。
Like conventional word processors, the keyboard 3 is arranged with a plurality of character keys, kanji conversion keys, non-conversion keys, etc., as well as a katakana conversion key (not shown) that characterizes the device of the present invention. As will be described later, by operating this katakana conversion key, a character string input as a plain name is converted into a mixed katakana/hiragana sentence.When each key arranged on this keyboard 3 is pressed, each The code fi corresponding to is given to key determination w2.

キー判定部2は、上述のキーボード3の各キーの打#!
操作により入力されたコード信号が片仮名変換キーの打
鍵によるか、他の文字キー等の打鍵によるかの判定を行
う。そして、文字キーの打鍵による場合は、その文字を
順次人力文字列記憶部4に出力して文字列として記憶さ
せる。片仮名変換キーの打鍵による場合は、入力文字列
記憶部4に記憶されている文字列をその前半部と後半部
とに2分割し、前半部を前半文字列記憶部6に、後半部
を後半文字列記憶部7にそれぞれ記憶させる。
The key determination unit 2 determines whether each key on the keyboard 3 is hit #!
It is determined whether the code signal input by the operation is the result of pressing the katakana conversion key or another character key. In the case of pressing a character key, the characters are sequentially output to the human character string storage section 4 and stored as a character string. In the case of pressing the katakana conversion key, the character string stored in the input character string storage section 4 is divided into the first half and the second half, and the first half is stored in the first half character string storage section 6, and the second half is stored in the second half. The characters are stored in the character string storage section 7, respectively.

付属語検定i10には、付属語辞書11及び接続マトリ
ックス12が付随している。
The adjunct word test i10 is accompanied by an adjunct word dictionary 11 and a connection matrix 12.

付属語辞書11には、第2図に示す如く、助詞、助動詞
、あるいは動詞の語尾(「インプットする」の「する」
等)、形容動詞の語尾(クリエイティブな」の「な」等
)等の片仮名i語に付属し得る付属語及びそれぞれに付
された品詞番号が記憶されている。
As shown in FIG.
etc.), adjuncts that can be attached to the katakana i-word, such as the endings of adjectives (such as "na" in "creative"), and part-of-speech numbers attached to each of them are stored.

接続マトリックス12には、上述の付属語辞書11に記
憶されている各付属語相互間の接続の可否、具体的には
日本語の文法として相互に接続して使用し得るか否か、
がマトリ7クスの形で記憶されている。
The connection matrix 12 includes information on whether or not the adjunct words stored in the adjunct word dictionary 11 can be connected to each other, specifically whether or not they can be used in conjunction with each other as Japanese grammar.
is memorized in the form of a matrix of seven.

付属語検定部IOは、後半文字列記憶部7に記憶されて
いる入力文字列の後半文字列を付属語の集合(1語又は
複数語)として分解し、この分解された各付属語の品詞
番号を付属語辞書11により検索し、これに基づいて接
続マトリックス12によりその接続の可否を検定する。
The adjunct word verification unit IO decomposes the second half of the input character string stored in the second half character string storage unit 7 into a set of adjunct words (one word or multiple words), and determines the part of speech of each decomposed adjunct word. The number is searched by the adjunct word dictionary 11, and based on this, the connection matrix 12 is used to test whether or not the connection is possible.

そして、接続が可能であると判定された場合は、更に前
半文字列記憶e6に記憶されている前半文字列に適当な
品詞番号、たとえば名詞の品詞番号を付し、これと後半
文字列の先頭の付属語とが接続可能であるか否かを接続
マトリックス12により判定する。
If it is determined that connection is possible, an appropriate part-of-speech number, for example, the part-of-speech number of a noun, is attached to the first half character string stored in the first half character string memory e6, and this and the beginning of the second half character string are added. It is determined by the connection matrix 12 whether or not the attached words can be connected.

片仮名変換部8は、上述の付属語検定部10による付属
語相互間の接続及び先頭の付属語と前半文字列の接続が
可能である、との判定が行われた場合に、前半文字列記
憶部6に記憶されている入力文字列の前半部を片仮名に
変換して変換文字列記憶部13に出力して記憶させる。
The katakana conversion unit 8 stores the first half character string when the above-mentioned subordinate word verification unit 10 determines that the connection between the subordinate words and the connection between the first subordinate word and the first half character string are possible. The first half of the input character string stored in section 6 is converted into katakana and output to and stored in converted character string storage section 13.

平仮名変換部9は、上述の片仮名変換部8同様の場合に
、後半文字列記憶部7に記憶されている入力文字列の後
半部を平仮名に変換して変換文字列記憶部13に出力し
て記憶させる。
The hiragana conversion unit 9 converts the second half of the input character string stored in the second half character string storage unit 7 into hiragana and outputs it to the converted character string storage unit 13 in the same case as the above-mentioned katakana conversion unit 8. Make me remember.

表示部14は、上述の如くして変換文字列記憶部13に
記憶されている文字列をC1?T15に表示する。
The display unit 14 converts the character string stored in the converted character string storage unit 13 as described above into C1? Display on T15.

なお、上述の一連の処理は、制御部1により制御される
が、制御部1は文字列分割部5に対して入力文字列の分
割位置の指示を行う。即ち、キーボード3から新たに文
字列が入力された場合には、制御部lはその文字列の1
字目と2字目との間を分割位置とするように文字列分割
部5に初期設定し、これにより先頭の1字のみを前半文
字列記憶部6に、他の全文字を後半文字列記憶部7に記
憶させる。そして、前述の付属語検定部lOによる付属
語相互間の接続、または先頭の付属語と前半文字列記憶
部6に記憶されている入力文字列の前半部との間の接続
が不可能である、と判定された場合には、制御部1は文
字列分割部5に対して入力文字列の分割位置を1字ずつ
後にずらせる指示を与える。
The series of processes described above are controlled by the control section 1, which instructs the character string division section 5 as to the division position of the input character string. That is, when a new character string is input from the keyboard 3, the control unit l inputs one of the character strings.
The character string dividing unit 5 is initially set so that the dividing position is between the first character and the second character, and this allows only the first character to be stored in the first half character string storage unit 6 and all other characters to be stored in the second half character string. The information is stored in the storage unit 7. Then, it is impossible to connect adjunctive words to each other or to connect the first adjunct word and the first half of the input character string stored in the first half character string storage unit 6 by the adjunct word verification unit 1O described above. , the control unit 1 instructs the character string division unit 5 to shift the division position of the input character string one character at a time.

以上の如く構成された本発明装置の動作について、その
処理手順を示す第4図のフローチャートに従って説明す
るが、−例として「リストに」と入力する場合について
説明する。
The operation of the apparatus of the present invention configured as described above will be described with reference to the flowchart of FIG. 4 showing its processing procedure. As an example, the case where "to list" is input will be described.

まず、キーボード3より文字列を人力する(ステップ■
)。具体的には、文字キーを順次打鍵して「す」 「す
」 「と」 「に」と入力する。これにより、入力され
た文字列はキー判定部2を介して入力文字列記憶部4に
順次記憶される。そして、CRT15には人力処理中で
あることを表示するため、たとえば高輝度表示により「
りすとに」と人力された順に表示されていく。この文字
列の入力は片仮名変換キーが打鍵されてステップ■にて
これが検出されるまで反tlされる。
First, enter the character string manually from keyboard 3 (step ■
). Specifically, the user presses the letter keys in order to input "su", "su", "to", and "ni". Thereby, the input character strings are sequentially stored in the input character string storage section 4 via the key determination section 2. Then, in order to display that manual processing is in progress on the CRT 15, for example, a high-intensity display "
Lists are displayed in the order in which they are manually created. The input of this character string is repeated until the katakana conversion key is pressed and detected in step (2).

そして、片仮名変換キーが打鍵されたことがステップ■
にて検出されると、その時点で入力文字列記憶部4に記
憶されている文字列が文字列分割部5により2分割され
る(ステップ■)。なお、後述する如く前回の変換処理
が終了した際に、ステップ[相]にて文字列分割部5に
よる文字列の分割位置は第1番目の文字と第2番目の文
字との間に初期設定されている。従って、この時点では
入力文字列「りすとに」は、まず前半文字列「す」と後
半文字列「すとに」とに分割され、前半文字列「す」は
前半文字列記憶部6に、後半文字列「すとに」は後半文
字列記憶部7にそれぞれ記憶される。
Then, when the katakana conversion key is pressed, step ■
When the character string is detected, the character string stored in the input character string storage section 4 at that time is divided into two by the character string division section 5 (step 2). As will be described later, when the previous conversion process is completed, the character string dividing position by the character string dividing unit 5 is initially set between the first character and the second character in step [phase]. has been done. Therefore, at this point, the input character string "Listoni" is first divided into the first half character string "su" and the second half character string "sutoni", and the first half character string "su" is stored in the first half character string storage section 6. , the second half character string "sutoni" are respectively stored in the second half character string storage section 7.

次に、後半文字列記憶部7に記憶されている後半文字列
「すとに」を付属語の集合とした場合の相互間の接続の
可否が検定される(ステップ■)。
Next, when the second half character string "sutoni" stored in the second half character string storage section 7 is used as a set of attached words, it is tested whether or not they can be connected to each other (step 2).

この場合、第2図に示した如く、後半文字列内の「す」
は品詞番号98、「と」は品詞番号51、「に」は品詞
番号63として付属語辞書11に記憶されている。付属
語検定部10は、これらの後半文字列を分解した各付N
語の品詞番号を付属語辞書11により検索し、これを基
に接続マトリックス12により相互間の接続の可否を検
定するが、この場合第3図に示されている如く、品詞番
号98と51とは相互の接続は不可能である。これによ
り、ステップ■から■に進んで入力文字列の分割位置を
1文字後に進めた後、ステップ■に戻る。
In this case, as shown in Figure 2, "su" in the second half of the character string
is stored in the adjunct word dictionary 11 as part of speech number 98, "to" as part of speech number 51, and "ni" as part of speech number 63. The adjunct word verification unit 10 decomposes these second half character strings into each adjunct N.
The part-of-speech numbers of the words are searched in the attached word dictionary 11, and based on this, the connection matrix 12 is used to test whether or not there is a connection between the words. In this case, as shown in FIG. cannot be connected to each other. As a result, the process advances from step (2) to (2) to advance the division position of the input character string by one character, and then returns to step (2).

さて、入力文字列記憶部4に記憶されている入力文字列
「りすとに」の分割位置は今回は1文字進んで前半文字
列は「りす」、後半文字列は「とに」となり、それぞれ
前半文字列記憶部6及び後半文字列記憶部7に記憶され
る。
Now, the division position of the input character string "Risuto ni" stored in the input character string storage unit 4 is advanced by one character this time, so that the first half of the character string becomes "Risu" and the second half of the character string becomes "Toni", respectively. It is stored in the first half character string storage section 6 and the second half character string storage section 7.

そして、前述同様に後半文字列「とに」を構成する「と
Jと「に」相互間の接続の可否が検定される。第2図に
示した如く、「と」は品詞番号51、「に」は品詞番号
63であり、第3図に示した接続マトリックス12によ
ればその接続は可能である。
Then, in the same manner as described above, it is verified whether or not ", J, and "ni" constituting the second half of the character string "toni" can be connected to each other. As shown in FIG. 2, "to" has part-of-speech number 51, and "ni" has part-of-speech number 63, and their connection is possible according to the connection matrix 12 shown in FIG.

そこで、今回はステップ■から■に進んで、以下の処理
を行う。
Therefore, this time, proceed from step ① to ② and perform the following processing.

まず、前半文字列記憶部6に記憶されている前半文字列
「りす」をある品詞、ここでは−例として名詞に仮定し
、その品詞番号4を付す(ステップ■)。そして、この
名詞として仮定された前半文字列と、後半文字列の先頭
文字との間の接続の可否を検定する(ステップ■)。第
3図に示した接続マトリックス12によれば、品詞番号
4と51とは接続可能である。この検定結果により、ス
テップ■から■に進む。
First, the first half character string "risu" stored in the first half character string storage section 6 is assumed to be a certain part of speech, in this case - as an example, a noun, and its part of speech number 4 is assigned (step 2). Then, it is tested whether or not there is a connection between the first half of the character string assumed to be the noun and the first character of the second half of the character string (step ■). According to the connection matrix 12 shown in FIG. 3, part of speech numbers 4 and 51 can be connected. Based on this test result, proceed from step ■ to ■.

ステップ■では、前半文字列記憶部6に記憶されている
前半文字列「りす」が片仮名変換部8により片仮名に、
ステップ[相]では後半文字列記憶部7に記憶されてい
る後半文字列「とに」が平仮名変換部9により平仮名に
それぞれ変換される。そして、片仮名に変換された前半
文字列「リス」と平仮名に変換された後半文字列「とに
」はそれぞれ変換文字列記憶部13に出力され、入力文
字列「りすとに」の片仮名・平板名混合文への変換の一
候補として一旦記憶され(ステップ(El) 、CRT
15に「リスとに」と表示される(ステップ@)。
In step ■, the first half character string "risu" stored in the first half character string storage section 6 is converted into katakana by the katakana conversion section 8,
In step [phase], the second half character string "toni" stored in the second half character string storage section 7 is converted into hiragana by the hiragana conversion section 9, respectively. Then, the first half of the character string "risu" converted to katakana and the second half of the character string "toni" converted to hiragana are outputted to the converted character string storage unit 13, and the katakana/flat version of the input character string "risutoni" is outputted to the converted character string storage unit 13. It is temporarily stored as a candidate for conversion to a compound sentence (step (El), CRT
15, "Squirrel Toni" is displayed (Step @).

なお、上述のステップ@の処理によりCRT15に表示
が行われた後、文字列分割部5による入力文字列の分割
位置が更に1文字進められる(ステップ@)。
Note that after the display is performed on the CRT 15 through the process of step @ described above, the division position of the input character string by the character string division unit 5 is further advanced by one character (step @).

このようにして、入力された文字列「りすとに」が片仮
名・平板名混合文「リスとに」としてCRT15に表示
されると、ステップ■に戻ってキーボード3からのキー
人力を待つ状態になる。この状態で、片仮名変換キー以
外のキーが打鍵された場合、ステップ■からステップ■
に進んで、変換文字列記憶部13に記憶されている変換
された文字列「リスとに」が図示しないバッファメモリ
に転送記憶され、前述した如く文字列分割部5による入
力文字列の分割位置を初期値、即ち第1文字と第2文字
との間に再設定する(ステップ[相])。
In this way, when the input character string ``Lisutoni'' is displayed on the CRT 15 as a mixed katakana/flat name sentence ``Lisutoni'', the process returns to step ■ and waits for the key input from the keyboard 3. Become. In this state, if a key other than the katakana conversion key is pressed, from step ■ to step ■
Then, the converted character string "Lis Toni" stored in the converted character string storage unit 13 is transferred and stored in a buffer memory (not shown), and the input character string division position is determined by the character string division unit 5 as described above. is reset to the initial value, that is, between the first character and the second character (step [phase]).

ところで、入力された文字列「りすとに」の正しい片仮
名・平板名混合文への変換は「リストに」であり、CR
T15に表示されている片仮名・平板名混合文は「リス
とに」である、このような場合には、キーボード3の片
仮名変換キーを再度打鍵して再変換を行えばよい。
By the way, the correct conversion of the input character string ``Listoni'' into a mixed katakana/flat name sentence is ``List'', and CR
The katakana/plain name mixed sentence displayed at T15 is "Risutoni". In such a case, the katakana conversion key on the keyboard 3 may be pressed again to perform the conversion again.

即ち、ステップ@において入力文字列の分割位置がさら
に1文字進んでいるため、今回は「りすと」と「に」と
に分割され、前半文字列記憶部6及び後半文字列記憶部
7とにそれぞれ記憶される。
That is, since the division position of the input character string has advanced one character further in step @, it is divided into "list" and "ni" this time, and the characters are stored in the first half character string storage section 6 and the second half character string storage section 7. Each is memorized.

さて、今回は付属語である後半文字列は「に」のみであ
るから、この品詞番号63の付属語「に」と前述同様に
名詞に仮定されている品詞番号4の前半文字列「りすと
」との間の接続の可否を検定すればよい。両者の接続の
可否は第3図の接続マトリックス12によれば可能であ
るから、ステップ■にて前半文字列記憶部6に記憶され
ている前半文字列「りすと」が片仮名変換部8により片
仮名に、ステップ0にて後半文字列記憶部7に記憶され
ている後半文字列「に」が平仮名変換部9により平仮名
にそれぞれ変換される。そして、両者は変換文字列記憶
部13に出力されて入力文字列「りすとに」の片仮名・
平板名混合文への変換の一候補として一旦記憶され(ス
テップ(El) 、CRT15に「リストに」と表示さ
れる(ステップ@)。
Now, this time, the second half of the character string that is an adjunct is only "ni", so the adjunct of part of speech number 63, "ni", and the first half of the character string of part of speech number 4, which is assumed to be a noun as before, "list". It is sufficient to test whether or not there is a connection between the two. Since it is possible to connect the two according to the connection matrix 12 in FIG. 3, the first half character string "list" stored in the first half character string storage section 6 in step Next, in step 0, the second half character string "ni" stored in the second half character string storage section 7 is converted into hiragana by the hiragana conversion section 9. Then, both are output to the converted character string storage unit 13 and the katakana and
It is temporarily stored as a candidate for conversion into a plain name mixed sentence (step (El)), and "in list" is displayed on the CRT 15 (step @).

この後、ステップ■に処理が戻るので、「リストに」に
続く文字列を順次キーボード3の文字キーを打鍵して人
力すれば、「リストに」と片仮名・平板名混合文に変換
された文字列が、文書を記憶するためのバッファメモリ
に転送され記憶される(ステップ[相])。
After this, the process returns to step ■, so if you input the character string following ``in the list'' manually by sequentially pressing the letter keys on keyboard 3, the characters ``in the list'' will be converted into a mixed katakana/plain name sentence. The columns are transferred and stored in a buffer memory for storing documents (step [phase]).

〔効果〕〔effect〕

以上詳述した如く、本発明によれば、膨大な数となる片
仮名単語を辞書メモリ等に記憶させることなく、1回乃
至は数回のキー操作により片仮名・平板名混合文に変換
することが可能となる。従って、ワードプロセッサの入
力操作の際に、片仮名単語を入力するために入力のリズ
ムが乱れることもほとんどなく、またワードプロセッサ
の側に片仮名単語を記憶させておくための大記憶容量の
辞書メモリを備える必要もない。
As detailed above, according to the present invention, it is possible to convert a huge number of katakana words into a mixed katakana/flat name sentence by one or several key operations without storing them in a dictionary memory or the like. It becomes possible. Therefore, when inputting katakana words into a word processor, there is almost no disruption to the input rhythm due to the input of katakana words, and the word processor needs to be equipped with a dictionary memory with a large storage capacity to store katakana words. Nor.

なお、前記実施例に示した「リストに」という片仮名・
平板名混合文の場合には2回の片仮名変換キーの打鍵操
作が必要であったが、実用上の問題としては、片仮名単
語の語尾の1字が付属語のいずれかと同一になることは
稀であり、多(の場合は片仮名変換キーを1回打鍵操作
するのみにて所望の片仮名・平板名混合文への変換が可
能である。
In addition, the katakana and ``on the list'' shown in the above example are
In the case of mixed flat name sentences, it was necessary to press the katakana conversion key twice, but as a practical problem, it is rare for the last character of a katakana word to be the same as one of the attached words. In the case of multi(), it is possible to convert the desired katakana/plain name mixed sentence by pressing the katakana conversion key once.

また、前記実施例では、入力された文字列の前半部を名
詞として仮定して変換処理を行うように構成した場合に
ついて説明したが、他にたとえばさ行変格動詞として仮
定すれば「リストア°ツブする」、「インプットした」
等、更に形容動詞の語幹として仮定すれば「クリエイテ
ィブな」、「ビニ−ティフルだ」等も変換可能である。
Furthermore, in the above embodiment, a case was explained in which the first half of the input character string is assumed to be a noun and the conversion process is performed. "do", "input"
``Creative'', ``Vinny Tiful'', etc. can also be converted if they are assumed to be the stem of an adjective verb.

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

図面は本発明の実施例を示すものであり、第1図は本発
明に係る片仮名・平仮名変換装置の構成を示すブロック
図、第2FMはその付属語辞書の記憶内容を示す模式図
、第3図は同じくその接続マトリックスの記憶内容を示
す模式図、第4図は本発明装置による片仮名・平板名混
合文への変換の処理手順を示すフローチャートである。 1・・・制御部  2・・・キー判定部  3・・・キ
ーボード  4・・・入力文字列記憶部  5・・・文
字列分割部  6・・・前半文字列記憶部  7・・・
後半文字列記憶部  8・・・片仮名変換キー  9・
・・平仮名変換部  10・・・付属語検定部  11
・・−付属語辞書12・・・接続マトリックス  13
変換文字列記憶部14・・・表示部 特 許 出願人  三洋電機株式会社 代理人 弁理士  河 野  登 夫 第 1(21 第 2 図 第 3 図
The drawings show an embodiment of the present invention, and FIG. 1 is a block diagram showing the configuration of the katakana/hiragana conversion device according to the present invention, 2nd FM is a schematic diagram showing the storage contents of the adjunct dictionary, and 3rd FM is a block diagram showing the configuration of the katakana/hiragana conversion device according to the invention. The same figure is a schematic diagram showing the storage contents of the connection matrix, and FIG. 4 is a flowchart showing the processing procedure of conversion into a mixed katakana/plain name sentence by the apparatus of the present invention. 1... Control unit 2... Key determination unit 3... Keyboard 4... Input string storage unit 5... Character string division unit 6... First half character string storage unit 7...
Second half character string storage section 8...Katakana conversion key 9.
...Hiragana conversion section 10...Additional word test section 11
...-Ancillary word dictionary 12...Connection matrix 13
Converted character string storage unit 14...Display unit patent Applicant Sanyo Electric Co., Ltd. Agent Patent attorney Noboru Kono No. 1 (21 Figure 2 Figure 3)

Claims (1)

【特許請求の範囲】 1、入力された文字列を記憶する記憶手段と、該記憶手
段に記憶された文字列を任意の位 置にて前半文字列と後半文字列とに分割する文字列分割
手段と、 片仮名表記されるべき単語に付属する付属 語を登録した付属語辞書メモリと、 該付属語メモリに登録された各付属語相互 間の接続の可否を記憶した接続マトリックスメモリと、 前記文字列分割手段により分割された後半 文字列を前記接続マトリックスメモリにより検定し、付
属語として認められる場合は前記文字列分割手段により
分割された前半文字列を片仮名文字列に、後半文字列を
平仮名文字列に変換する付属語検定手段と を備えたことを特徴とする片仮名・平仮名 変換装置。 2、入力された文字列を記憶する記憶手段と、該記憶手
段に記憶された文字列を任意の位 置にて前半文字列と後半文字列とに分割する文字列分割
手段と、 片仮名表記されるべき単語に付属する付属 語を登録した付属語辞書メモリと、 該付属語メモリに登録された各付属語相互 間の接続の可否を記憶した接続マトリックスメモリと、 前記文字列分割手段により分割された後半 文字列を前記接続マトリックスメモリにより検定し、付
属語として認められる場合は前記文字列分割手段により
分割された前半文字列を片仮名文字列に、後半文字列を
平仮名文字列に変換する付属語検定手段と、 該付属語検定手段により片仮名文字列と平 仮名文字列とに変換された文字列の前記文字列分割手段
による分割位置を変更して再変換を行わせる手段と を備えたことを特徴とする片仮名・平板名 変換装置。
[Claims] 1. A storage means for storing an input character string, and a character string division means for dividing the character string stored in the storage means into a first half character string and a second half character string at an arbitrary position. , an adjunct word dictionary memory in which adjunct words attached to the word to be written in katakana are registered, a connection matrix memory that stores information on whether or not each adjunct word registered in the adjunct word memory can be connected to each other, and the character string. The second half of the character string divided by the dividing means is verified by the connection matrix memory, and if it is recognized as an attached word, the first half of the character string divided by the character string dividing means is converted into a katakana character string, and the second half is converted into a hiragana character string. 1. A katakana/hiragana conversion device comprising: an adjunct word verification means for converting into ``katakana'' and ``hirakana''. 2. A storage means for storing an input character string, a character string division means for dividing the character string stored in the storage means into a first half character string and a second half character string at an arbitrary position, written in katakana. an adjunct word dictionary memory in which adjunct words attached to the adjunct word are registered; a connection matrix memory in which adjunct words registered in the adjunct word memory are stored with each other; a connection matrix memory in which adjunct words registered in the adjunct word memory are stored; An adjunct word test in which the second half of the character string is tested by the connection matrix memory, and if it is recognized as an adjunct, the first half of the character string divided by the character string division means is converted into a katakana character string, and the second half of the character string is converted into a hiragana character string. and means for re-converting a character string converted into a katakana character string and a hiragana character string by the adjunct word verification means by changing the dividing position by the character string dividing means. A katakana/flat name conversion device.
JP59242965A 1984-11-16 1984-11-16 Katakana-to-hiragana converter Granted JPS61120276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59242965A JPS61120276A (en) 1984-11-16 1984-11-16 Katakana-to-hiragana converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59242965A JPS61120276A (en) 1984-11-16 1984-11-16 Katakana-to-hiragana converter

Publications (2)

Publication Number Publication Date
JPS61120276A true JPS61120276A (en) 1986-06-07
JPH0544056B2 JPH0544056B2 (en) 1993-07-05

Family

ID=17096861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59242965A Granted JPS61120276A (en) 1984-11-16 1984-11-16 Katakana-to-hiragana converter

Country Status (1)

Country Link
JP (1) JPS61120276A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01205371A (en) * 1988-02-12 1989-08-17 Seiko Epson Corp Kana-kanji converting device
JPH03276252A (en) * 1990-03-27 1991-12-06 Internatl Business Mach Corp <Ibm> Document treatment system and document treatment equipment
US7630880B2 (en) * 2001-09-25 2009-12-08 Apple Inc. Japanese virtual dictionary

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01205371A (en) * 1988-02-12 1989-08-17 Seiko Epson Corp Kana-kanji converting device
JPH03276252A (en) * 1990-03-27 1991-12-06 Internatl Business Mach Corp <Ibm> Document treatment system and document treatment equipment
US7630880B2 (en) * 2001-09-25 2009-12-08 Apple Inc. Japanese virtual dictionary

Also Published As

Publication number Publication date
JPH0544056B2 (en) 1993-07-05

Similar Documents

Publication Publication Date Title
JPS61120276A (en) Katakana-to-hiragana converter
JPH0578058B2 (en)
JPS628259A (en) Kana (japanese syllabary)-kanji (chinese character) converting system
JPS5818730A (en) Character processing device
JP2729996B2 (en) Document processing apparatus and method
JPS5832418B2 (en) Kanji-mixed sentence input device
JPS59153232A (en) Character converter
JPS62102356A (en) Chinese character conversion system
JPS60204067A (en) Kana-kanji conversion system
JPS63173156A (en) Device for supplying language information
JPS62226371A (en) Kana/kanji converter
JPS61260353A (en) Document processing system
JPH05342197A (en) Japanese word processor
JPS60225972A (en) Switching device of clause inputting level
JPH01111263A (en) Japanese/foreign language using kanji processor
JPH01113858A (en) Japanese word processor
JPS61134866A (en) Japanese word analyzer
JPH0758489B2 (en) Japanese processor
JPS6175472A (en) Kana-kanji converting device
JPH0394367A (en) Japanese input system
JPS59108137A (en) Character converter
JPH03118659A (en) Kana/kanji converter
JPS59100943A (en) Kana (japanese syllabary)-kanji (chinese character) converter
JPH01276363A (en) Chiness word sentence producing device
JPS63257863A (en) Kana-kanji conversion device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term