JP2012083815A - Character string conversion device, character string conversion method, computer program and recording medium - Google Patents

Character string conversion device, character string conversion method, computer program and recording medium Download PDF

Info

Publication number
JP2012083815A
JP2012083815A JP2010227172A JP2010227172A JP2012083815A JP 2012083815 A JP2012083815 A JP 2012083815A JP 2010227172 A JP2010227172 A JP 2010227172A JP 2010227172 A JP2010227172 A JP 2010227172A JP 2012083815 A JP2012083815 A JP 2012083815A
Authority
JP
Japan
Prior art keywords
character string
conversion
character
output
sentence
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
JP2010227172A
Other languages
Japanese (ja)
Other versions
JP5629543B2 (en
Inventor
Hisaaki Matsuo
久顕 松尾
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2010227172A priority Critical patent/JP5629543B2/en
Publication of JP2012083815A publication Critical patent/JP2012083815A/en
Application granted granted Critical
Publication of JP5629543B2 publication Critical patent/JP5629543B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a character string conversion device that can effectively generate a sentence.SOLUTION: In a character string conversion device, a storage part 16 stores character strings used for generating a sentence, and a character string conversion part 20 detects whether or not an operation for selecting one conversion candidate from conversion candidates for character string conversion of an input character string is performed, retrieves the character string partly corresponding to the selected conversion candidate, out of the character strings stored in the storage part 16 if it detects that the operation for selecting one conversion candidate is performed, selectably displays the retrieved character string on a display part 13 and outputs the selected character string if one character string is selected from the displayed character strings.

Description

本発明は、入力文字列を変換する文字列変換装置、文字列変換方法、その文字列変換方法をコンピュータに実行させることを特徴とするコンピュータプログラム、および、そのコンピュータプログラムを記録したことを特徴とするコンピュータが読み取り可能な記録媒体に関する。   The present invention relates to a character string conversion device that converts an input character string, a character string conversion method, a computer program that causes a computer to execute the character string conversion method, and a computer program recorded therein. The present invention relates to a computer-readable recording medium.

近年、携帯電話や、PDA(Personal Digital Assistant)などの携帯端末が飛躍的に普及している。これらの携帯端末上で多く文字を入力する場合、少ない操作回数で目的とする文字列、特に、なるべく長い文字列を入力できる方法が求められている。   In recent years, mobile terminals such as mobile phones and PDAs (Personal Digital Assistants) have been widely used. When inputting a large number of characters on these portable terminals, there is a demand for a method capable of inputting a target character string, particularly a character string as long as possible, with a small number of operations.

そのための方法として、操作者が文字列を登録する方法が挙げられる。この方法では、操作者が予めよく使用すると考える文字列を、所定の手順で携帯端末に登録しておく。そして、操作者が携帯端末で文章を編集する時に、登録した文字列のリストを画面に表示させ、その中から選択した文字列を編集中の文章に挿入する。しかし、この方法は、操作者が予め文字列の登録をする必要があるため、手間がかかるという問題がある。   As a method for this, there is a method in which an operator registers a character string. In this method, a character string that the operator thinks is frequently used is registered in the portable terminal in a predetermined procedure. When the operator edits the text on the mobile terminal, a list of registered character strings is displayed on the screen, and the character string selected from the list is inserted into the text being edited. However, this method has a problem that it takes time since the operator needs to register the character string in advance.

そのため、受信電子メールの文章を所定の条件に基づいて区切って1又は複数の文字からなる文字列を取得して登録し、受信電子メールに対する返信電子メールの編集時に、登録してある文字列を選択可能に表示し、文字列を選択する操作者の操作を受付けると、選択された文字列を送信電子メールの文書に挿入する技術が提案されている(特許文献1を参照)。   Therefore, the text of the received e-mail is divided based on a predetermined condition, and a character string consisting of one or more characters is acquired and registered, and when editing a reply e-mail to the received e-mail, the registered character string is A technique has been proposed in which a selected character string is inserted into a document of a transmission e-mail when an operation of an operator who selects and displays a character string is accepted (see Patent Document 1).

この技術では、登録された文字列を操作者が選択する際に、表示対象となる文字列の数が多いと、操作者が画面上から目的の文字列を探すことが困難となる。また、全ての文字列を1画面内に表示できない場合は、ページ切り替えや、スクロールの操作が必要となり、目的の文字列を探すため操作者に煩雑な作業を強いることになる。   With this technique, when the operator selects a registered character string, if the number of character strings to be displayed is large, it becomes difficult for the operator to search for the target character string on the screen. Further, when all the character strings cannot be displayed on one screen, page switching and scrolling operations are necessary, and the operator is forced to perform complicated work to search for the target character string.

目的の文字列を探すため操作者に煩雑な作業を強いることになるという問題を解消するものとして、入力文字列の文字数nに加算文字数αを加算した(n+α)を予測文字列が持つ文字数の上限値とし、この上限値の文字数以下の文字数からなり、上記入力文字列を先頭に持つ予測文字列のみを限定して辞書から検索し、予測文字列候補として表示する文字列予測方法が提案されている(特許文献2を参照)。この文字列予測方法では、例えば、α=2とした場合、利用者が「あさ」と入力すると、n=2であるので、「あさがお(朝顔)」、「あさひ(朝日)」、「あさ(朝)」といった2〜4文字の文字列のみが予測文字列として表示される。   In order to solve the problem of complicating the operator to search for a target character string, the number of characters of the predicted character string is obtained by adding (n + α) to the number of characters n of the input character string and (n + α). A character string prediction method is proposed in which the upper limit value is made up of the number of characters equal to or less than the upper limit value, only the predicted character string having the input character string at the head is limited, searched from the dictionary, and displayed as a predicted character string candidate. (See Patent Document 2). In this character string prediction method, for example, when α = 2, if the user inputs “ASA”, n = 2, so “ASAGA (morning glory)”, “ASAHI (ASAHI)”, “ASA ( Only 2-4 character strings such as “morning)” are displayed as predicted character strings.

特開2008−52702号公報JP 2008-52702 A 特開平8−255156号公報JP-A-8-255156

しかしながら、上述した文字列予測方法では、文章の作成を効果的に行うことが難しいという問題があった。例えば、文章の入力は、予測文字列候補を選択しつつ行われるが、上述した文字列予測方法は、利用者が文字列を入力するたびに、入力された文字列を先頭に持つ予測文字列を予測文字列候補として表示するものであるため、利用者が直前に選択した予測文字列候補とは無関係に、新たに利用者により入力された文字列に対する予測文字列候補が表示される。   However, the above-described character string prediction method has a problem that it is difficult to effectively create a sentence. For example, the input of a sentence is performed while selecting a predicted character string candidate. However, the above-described character string prediction method uses the predicted character string having the input character string at the beginning each time the user inputs the character string. Is displayed as a predicted character string candidate, so that the predicted character string candidate for the character string newly input by the user is displayed regardless of the predicted character string candidate selected by the user immediately before.

例えば、利用者が直前に予測文字列候補「朝日」を選択した場合であっても、次に表示される予測文字列候補は利用者により新たに入力された文字列に対する予測文字列であって、利用者が直前に選択した予測文字列候補「朝日」とは直接的な関係は無い。文章を作成する場合、直前に入力された文字列と、その次に入力される文字列とは関連性がある場合が多いが、上述した文字列予測方法ではそのような関係を有効に利用しないので、文章の作成を効果的に行うことが難しかった。
また特許文献2に記載の方法にて、特許文献1における目的の文字列を探すため操作者に煩雑な作業を強いることになるという問題を解決するには、登録された文字列から表示対象となる文字列を限定するための入力文字列が必要であり、利用者が直前に選択した文字列とは別に、利用者に入力文字列を入力する作業を強いることになる。
For example, even when the user selects the predicted character string candidate “Asahi” immediately before, the predicted character string candidate displayed next is a predicted character string for the character string newly input by the user. There is no direct relationship with the predicted character string candidate “Asahi” selected immediately before by the user. When creating a sentence, the character string input immediately before and the character string input next are often related, but the above-described character string prediction method does not effectively use such a relationship. Therefore, it was difficult to create sentences effectively.
Moreover, in order to solve the problem that the operator is forced to perform complicated work to search for the target character string in Patent Document 1 by the method described in Patent Document 2, the registered character string is used as a display target. An input character string for limiting the character string is necessary, and the user is forced to input the input character string separately from the character string selected immediately before by the user.

本発明は、上記課題に鑑み、文章の生成を効果的に行うことを可能とする文字列変換装置、文字列変換方法、その文字列変換方法をコンピュータに実行させることを特徴とするコンピュータプログラム、および、そのコンピュータプログラムを記録したことを特徴とするコンピュータが読み取り可能な記録媒体を提供することを目的とする。   In view of the above problems, the present invention provides a character string conversion device, a character string conversion method, and a computer program characterized by causing a computer to execute the character string conversion method, which can effectively generate a sentence. Another object of the present invention is to provide a computer-readable recording medium characterized by recording the computer program.

上記課題を解決する為に、本発明の第1の技術手段は、入力文字列を変換する文字列変換装置であって、文章の生成に用いられる出力文字列を記憶する記憶部と、前記入力文字列の文字列変換の変換候補の中から1つの変換候補を選択する操作がなされたか否かを検出し、前記1つの変換候補を選択する操作がなされたことが検出された場合に、前記記憶部に記憶された出力文字列のうち、前記選択された変換候補と部分一致する出力文字列を検索し、検索された出力文字列を選択可能に表示部に表示させ、表示された出力文字列の中から1つの出力文字列が選択された場合に、選択された出力文字列を出力する文字列変換部と、を備えることを特徴とする。   In order to solve the above problems, a first technical means of the present invention is a character string conversion device for converting an input character string, the storage unit storing an output character string used for generating a sentence, and the input It is detected whether or not an operation for selecting one conversion candidate from conversion candidates for character string conversion of a character string has been performed, and when it is detected that an operation for selecting the one conversion candidate has been performed, The output character string stored in the storage unit is searched for an output character string that partially matches the selected conversion candidate, the searched output character string is displayed on the display unit in a selectable manner, and the displayed output character is displayed. And a character string conversion unit that outputs the selected output character string when one output character string is selected from the columns.

本発明の第2の技術手段は、第1の技術手段において、文章の生成が完了したことを検出した場合に、文章を区切る区切り記号を登録した区切り記号情報に基づいて、生成された文章を複数の文字列に区切り、文章が区切られてできた複数の文字列を前記記憶部に前記出力文字列として記憶させる文字列登録部をさらに備えることを特徴とする。   The second technical means of the present invention, when it is detected in the first technical means that the generation of the text is completed, the generated text is based on the delimiter information that registers the delimiter that separates the text. It is further characterized by further comprising a character string registration unit for storing a plurality of character strings formed by dividing a plurality of character strings into sentences and storing the plurality of character strings as the output character strings in the storage unit.

本発明の第3の技術手段は、第2の技術手段において、前記文字列登録部は、電子メールの送信を検出した場合に、前記区切り記号に基づいて電子メールの送信用に生成された文章を複数の文字列に区切り、該生成された文章が区切られてできた複数の文字列を前記記憶部に前記出力文字列として記憶させることを特徴とする。   According to a third technical means of the present invention, in the second technical means, when the character string registration unit detects the transmission of an electronic mail, the text generated for the transmission of the electronic mail based on the delimiter Is divided into a plurality of character strings, and a plurality of character strings formed by dividing the generated sentence are stored as the output character strings in the storage unit.

本発明の第4の技術手段は、第2または第3の技術手段において、前記文字列変換部は、前記入力文字列の文字列変換の変換候補を登録した変換辞書を用いて文字列変換を行い、前記文字列登録部は、前記文章が区切られてできた複数の文字列のうち、前記変換辞書に登録されている変換候補と一致する文字列は前記記憶部に前記出力文字列として記憶させる対象から除外することを特徴とする。   According to a fourth technical means of the present invention, in the second or third technical means, the character string conversion unit performs character string conversion using a conversion dictionary in which conversion candidates for character string conversion of the input character string are registered. The character string registration unit stores a character string that matches a conversion candidate registered in the conversion dictionary among the plurality of character strings formed by dividing the sentence as the output character string in the storage unit. It is excluded from the object to be performed.

本発明の第5の技術手段は、第2〜第4のいずれか1つの技術手段において、前記文字列登録部は、前記文章が区切られてできた複数の文字列を前記記憶部に記憶させる際に、所定の文字数以上の文字列のみを記憶させることを特徴とする。   According to a fifth technical means of the present invention, in any one of the second to fourth technical means, the character string registration unit stores a plurality of character strings formed by dividing the sentence in the storage unit. In this case, only character strings having a predetermined number of characters or more are stored.

本発明の第6の技術手段は、第2〜第5のいずれか1つの技術手段において、前記文字列登録部は、前記文章が区切られてできた複数の文字列を前記記憶部に記憶させる際に、1つの文章につき、所定の個数を上限として文字列を記憶させることを特徴とする。   According to a sixth technical means of the present invention, in any one of the second to fifth technical means, the character string registration unit stores a plurality of character strings formed by dividing the sentence in the storage unit. In this case, a character string is stored with an upper limit of a predetermined number per sentence.

本発明の第7の技術手段は、第2〜第6のいずれか1つの技術手段において、前記文字列登録部は、前記文章が区切られてできた文字列が、都、道、府、県、市、区、町、村、郡、大字、字のいずれかの行政区画を示す文字を含んでいる場合に、該文章が区切られてできた文字列の先頭文字から前記行政区画を示す文字までの文字を除いた文字列を前記記憶部に前記出力文字列として記憶させることを特徴とする。   According to a seventh technical means of the present invention, in any one of the second to sixth technical means, the character string registration unit is configured such that a character string formed by dividing the sentence is a city, a road, a prefecture, a prefecture. , A city, a ward, a town, a village, a county, a large letter, and a character indicating an administrative division of a letter, a character indicating the administrative division from the first character of a character string formed by dividing the sentence Character strings excluding the characters up to are stored as the output character strings in the storage unit.

本発明の第8の技術手段は、第2〜第7のいずれか1つの技術手段において、前記文字列登録部は、前記文章が複数の文字列に区切られた場合に、前記文章が区切られてできた複数の文字列を前記区切り記号を除いて前記記憶部に記憶させることを特徴とする。   According to an eighth technical means of the present invention, in any one of the second to seventh technical means, the character string registration unit separates the sentence when the sentence is divided into a plurality of character strings. A plurality of character strings formed in this manner are stored in the storage unit excluding the delimiters.

本発明の第9の技術手段は、第2〜第8のいずれか1つの技術手段において、前記文字列登録部は、前記文章が区切られてできた複数の文字列を前記記憶部に記憶させる際に、該複数の文字列の記憶時に起動しているアプリケーションソフトウェアと対応付けて該文章が区切られてできた複数の文字列を前記出力文字列として記憶させ、前記文字列変換部は、前記1つの変換候補を選択する操作がなされた時に起動しているアプリケーションソフトウェアと対応付けて記憶された文字列の中から該選択された変換候補と部分一致する出力文字列を検索し、検索された出力文字列を選択可能に表示部に表示させることを特徴とする。   According to a ninth technical means of the present invention, in any one of the second to eighth technical means, the character string registration unit stores a plurality of character strings formed by dividing the sentence in the storage unit. At the time, a plurality of character strings formed by dividing the sentence in association with application software activated at the time of storing the plurality of character strings is stored as the output character string, and the character string conversion unit An output character string that partially matches the selected conversion candidate is searched from character strings stored in association with application software that is activated when an operation for selecting one conversion candidate is performed. The output character string is selectably displayed on the display unit.

本発明の第10の技術手段は、第2〜第9のいずれか1つの技術手段において、前記文字列登録部は、前記表示された出力文字列から1つの出力文字列が選択された場合に、選択された出力文字列を学習文字列として前記記憶部に記憶させ、前記文字列変換部は、前記1つの変換候補を選択する操作がなされた場合に、前記記憶部に記憶された出力文字列、および、学習文字列のうち、選択された変換候補と部分一致する出力文字列あるいは学習文字列を検索し、該出力文字列および学習文字列が検索された場合に検索された学習文字列を該出力文字列に優先して表示させることを特徴とする。   According to a tenth technical means of the present invention, in any one of the second to ninth technical means, the character string registration unit is configured such that when one output character string is selected from the displayed output character string. The selected output character string is stored in the storage unit as a learned character string, and the character string conversion unit stores the output character stored in the storage unit when an operation for selecting the one conversion candidate is performed. The learning character string searched when the output character string or learning character string that partially matches the selected conversion candidate is searched from among the strings and learning character strings, and the output character string and learning character string are searched Is displayed with priority over the output character string.

本発明の第11の技術手段は、第2〜第10のいずれか1つの技術手段において、前記文字列登録部は、選択された出力文字列を学習文字列として前記記憶部に記憶させる際に、該学習文字列の記憶時に起動しているアプリケーションソフトウェアと対応付けて該学習文字列を記憶させ、前記文字列変換部は、前記1つの変換候補を選択する操作がなされた時に起動しているアプリケーションソフトウェアと対応付けて記憶された学習文字列の中から該選択された変換候補と部分一致する学習文字列を検索し、検索された学習文字列を表示部に表示させることを特徴とする。   According to an eleventh technical means of the present invention, in any one of the second to tenth technical means, the character string registration unit stores the selected output character string as a learning character string in the storage unit. The learning character string is stored in association with the application software activated when the learning character string is stored, and the character string conversion unit is activated when an operation for selecting the one conversion candidate is performed. A learning character string partially matching the selected conversion candidate is searched from learning character strings stored in association with application software, and the searched learning character string is displayed on a display unit.

本発明の第12の技術手段は、入力文字列を変換する文字列変換方法であって、前記入力文字列の文字列変換の変換候補の中から1つの変換候補を選択する操作がなされたか否かを検出する検出ステップと、前記検出ステップにおいて前記1つの変換候補を選択する操作がなされたことが検出された場合に、記憶部に記憶された出力文字列のうち、選択された変換候補と部分一致する出力文字列を検索する検索ステップと、前記検索ステップにおいて検索された出力文字列を選択可能に表示部に表示させ、表示された出力文字列の中から1つの出力文字列が選択された場合に、選択された出力文字列を出力する出力ステップと、を含むことを特徴とする。   A twelfth technical means of the present invention is a character string conversion method for converting an input character string, and whether or not an operation for selecting one conversion candidate from conversion candidates for character string conversion of the input character string has been performed. A detection step for detecting the conversion candidate, and when the operation for selecting the one conversion candidate is detected in the detection step, the selected conversion candidate among the output character strings stored in the storage unit; A search step for searching for an output character string that partially matches, and the output character string searched in the search step is displayed on a display unit so that it can be selected, and one output character string is selected from the displayed output character strings. And an output step of outputting the selected output character string.

本発明の第13の技術手段は、上記文字列変換方法をコンピュータに実行させることを特徴とするコンピュータプログラムである。   A thirteenth technical means of the present invention is a computer program that causes a computer to execute the character string conversion method.

本発明の第14の技術手段は、上記コンピュータプログラムを記録したことを特徴とするコンピュータが読み取り可能な記録媒体である。   A fourteenth technical means of the present invention is a computer readable recording medium characterized by recording the above computer program.

本発明によれば、入力文字列の文字列変換の変換候補の中から1つの変換候補を選択する操作がなされた場合に、選択された変換候補と部分一致する出力文字列を検索し、検索した出力文字列を出力するので、選択された変換候補と関連がある出力文字列を次に入力される文字列の候補として得ることができ、文章の生成を効果的に行うことができる。   According to the present invention, when an operation for selecting one conversion candidate from conversion candidates for character string conversion of an input character string is performed, an output character string that partially matches the selected conversion candidate is searched and searched. Since the output character string is output, an output character string related to the selected conversion candidate can be obtained as a character string candidate to be input next, and a sentence can be generated effectively.

本発明の実施形態に係る文章生成装置の機能ブロック図である。It is a functional block diagram of a text generation device concerning an embodiment of the present invention. 文章データの一例を示す図である。It is a figure which shows an example of text data. 文字列テーブルの一例を示す図である。It is a figure which shows an example of a character string table. 区切り記号テーブルの一例を示す図である。It is a figure which shows an example of a delimiter table. 表示部に表示される入力文字列の一例を示す図である。It is a figure which shows an example of the input character string displayed on a display part. 表示部に表示される変換候補リストの一例を示す図である。It is a figure which shows an example of the conversion candidate list | wrist displayed on a display part. 表示部に表示される変換候補リストの一例を示す図である。It is a figure which shows an example of the conversion candidate list | wrist displayed on a display part. 表示部に表示される文字列挿入後の文章の一例を示す図である。It is a figure which shows an example of the text after the character string insertion displayed on a display part. 文章から文字列を抽出する抽出処理の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of the extraction process which extracts a character string from a text. 文字列の変換候補決定処理の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of the conversion candidate determination process of a character string. 図10に示した文字列テーブルの検索処理の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of the search process of the character string table shown in FIG. 履歴テーブルを用いた文字列の変換候補決定処理の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of the conversion candidate determination process of the character string using a log | history table. 図12に示した履歴テーブルの検索処理の処理手順の一例を示すフローチャートである。13 is a flowchart illustrating an example of a processing procedure of a history table search process illustrated in FIG. 12.

以下、本発明の実施形態について図面を参照して詳細に説明する。図1は、本発明の実施形態に係る文章生成装置10の機能ブロック図である。文章生成装置10は、入力部11、入力インターフェース部12、表示部13、出力インターフェース部14、通信インターフェース部15、記憶部16、文章生成部17、電子メール処理部18、文字列登録部19、文字列変換部20を備える。そして、記憶部16、文字列登録部19、文字列変換部20により文字列変換装置が構成される。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a functional block diagram of a text generation apparatus 10 according to an embodiment of the present invention. The sentence generation device 10 includes an input unit 11, an input interface unit 12, a display unit 13, an output interface unit 14, a communication interface unit 15, a storage unit 16, a sentence generation unit 17, an e-mail processing unit 18, a character string registration unit 19, A character string converter 20 is provided. The storage unit 16, the character string registration unit 19, and the character string conversion unit 20 constitute a character string conversion device.

ここで、入力インターフェース部12、出力インターフェース部14、通信インターフェース部15、記憶部16、文章生成部17、電子メール処理部18、文字列登録部19、文字列変換部20はシステムバス21を介して接続されている。また、入力部11と入力インターフェース部12、表示部13と表示インターフェース部14は互いに接続され、通信インターフェース部15は、ネットワーク22に接続されている。   Here, the input interface unit 12, the output interface unit 14, the communication interface unit 15, the storage unit 16, the text generation unit 17, the e-mail processing unit 18, the character string registration unit 19, and the character string conversion unit 20 are connected via the system bus 21. Connected. The input unit 11 and the input interface unit 12, the display unit 13 and the display interface unit 14 are connected to each other, and the communication interface unit 15 is connected to the network 22.

入力部11は、キーボードやマウス、タッチパネルなどの入力装置である。入力インターフェース部12は、システムバス21を介して入力部11により入力された情報を各機能部に送信するインターフェース部である。表示部13は、液晶ディスプレイやCRT(Cathode Ray Tube)ディスプレイ、プロジェクタなどの表示装置である。出力インターフェース部14は、システムバス21を介して各機能部から受信した情報を表示部13に出力するインターフェース部である。通信インターフェース部15は、ネットワーク22を介して外部装置との間で通信を行うインターフェース部である。   The input unit 11 is an input device such as a keyboard, a mouse, or a touch panel. The input interface unit 12 is an interface unit that transmits information input by the input unit 11 via the system bus 21 to each functional unit. The display unit 13 is a display device such as a liquid crystal display, a CRT (Cathode Ray Tube) display, or a projector. The output interface unit 14 is an interface unit that outputs information received from each function unit via the system bus 21 to the display unit 13. The communication interface unit 15 is an interface unit that performs communication with an external device via the network 22.

記憶部16は、メモリ(半導体メモリなど)やハードディスク装置などの記憶装置である。この記憶部16は、変換辞書データ16a、文章データ16b、文字列テーブル16c、区切り記号テーブル16dを記憶する。   The storage unit 16 is a storage device such as a memory (such as a semiconductor memory) or a hard disk device. The storage unit 16 stores conversion dictionary data 16a, sentence data 16b, a character string table 16c, and a delimiter table 16d.

変換辞書データ16aは、読み仮名とその変換候補となる漢字やカタカナ、数字、アルファベット等とを対応付けて記憶した辞書データである。文章データ16bは、電子メールなどの文章を記憶したデータである。図2は、文章データ16bの一例を示す図である。図2に示すように、例えば文章データ16bには、「本日の練習お疲れさまでした。厳しい暑さが続いていますが、試合に向けてあと一息頑張っていきましょう。明日の練習も9時集合でお願いします。」という文章が記憶される。   The conversion dictionary data 16a is dictionary data in which kana and kanji, katakana, numbers, alphabets, and the like that are candidates for conversion are stored in association with each other. The sentence data 16b is data storing sentences such as e-mails. FIG. 2 is a diagram illustrating an example of the text data 16b. As shown in Fig. 2, for example, in the sentence data 16b, "I'm tired of today's practice. The intense heat continues, but let's do our best for the game. Please remember me ".

文字列テーブル16cは、文章データ16bに記憶された文章から抽出された文字列を記憶したデータである。図3は、文字列テーブル16cの一例を示す図である。図3に示すように、文字列テーブル16cには、「本日の練習お疲れさまでした。」、「厳しい暑さが続いていますが、」、「試合に向けてあと一息頑張っていきましょう。」、「明日の練習も9時集合でお願いします。」などの文字列が記憶されている。   The character string table 16c is data in which character strings extracted from sentences stored in the sentence data 16b are stored. FIG. 3 is a diagram illustrating an example of the character string table 16c. As shown in FIG. 3, in the character string table 16c, "I'm tired of today's practice", "The severe heat continues," "Let's do our best for the game." A character string such as “Please practice tomorrow at 9 o'clock” is stored.

区切り記号テーブル16dは、文章データ16bに記憶された文章から文字列を抽出する際に、文章を複数の文字列に区切る区切り記号を記憶したデータである。図4は、区切り記号テーブル16dの一例を示す図である。図4に示すように、区切り記号テーブル16dには、「。」、「、」、「!」、「?」、「改行記号」などの区切り記号が登録されている。   The delimiter table 16d is data that stores delimiters that delimit a sentence into a plurality of character strings when a character string is extracted from the sentence stored in the sentence data 16b. FIG. 4 is a diagram illustrating an example of the delimiter table 16d. As shown in FIG. 4, delimiter symbols such as “.”, “,”, “!”, “?”, “New line symbol”, and the like are registered in the delimiter table 16d.

文章生成部17は、入力部11により受け付けられた操作者からの入力に応じて、文章を生成する処理部である。文章の生成が完了した場合、文章生成部17は、生成された文章を文章データ16bとして記憶する。さらに、文章生成部17は、文字列登録部19に文章の生成が完了したことを通知する生成完了信号を送信する。   The sentence generation unit 17 is a processing unit that generates a sentence in response to an input from the operator received by the input unit 11. When the generation of the sentence is completed, the sentence generation unit 17 stores the generated sentence as the sentence data 16b. Further, the sentence generation unit 17 transmits a generation completion signal notifying the character string registration unit 19 that the generation of the sentence has been completed.

電子メール処理部18は、電子メールの送受信などの処理を行う処理部である。この電子メール処理部18は、電子メールを受信した場合に、電子メールの文章を文章データ16bに記憶する処理や、文章生成部17により生成された文章を電子メールで送信する処理などを行う。   The email processing unit 18 is a processing unit that performs processing such as transmission / reception of emails. When receiving an e-mail, the e-mail processing unit 18 performs processing for storing the e-mail text in the text data 16b, processing for transmitting the text generated by the text generation unit 17 by e-mail, and the like.

文字列登録部19は、文章生成部17から生成完了信号を受信した場合に、文章データ16bに記憶された文章から文字列を抽出し、抽出した文字列を文字列テーブル16cに記憶する処理部である。   When the character string registration unit 19 receives a generation completion signal from the text generation unit 17, the character string registration unit 19 extracts a character string from the text stored in the text data 16b, and stores the extracted character string in the character string table 16c. It is.

具体的には、文字列登録部19は、文章から文字列データを抽出する際、文章内の先頭から末尾までの各文字を、区切り記号テーブル16dに記憶されている区切り記号と順次比較し、文章内の各文字がいずれかの区切り記号と一致するか否かを判定する。   Specifically, when extracting the character string data from the sentence, the character string registration unit 19 sequentially compares each character from the beginning to the end of the sentence with the delimiter stored in the delimiter table 16d, It is determined whether each character in the sentence matches any delimiter.

文章内の文字がいずれかの区切り記号と一致する場合は、文字列登録部19は、直前に区切り記号と一致した文字の次の文字(直前に区切り記号と一致した文字がなければ文章の先頭文字)から、現時点で区切り記号と一致した文字までの文字列を抽出し、抽出した文字列を文字列テーブル16cの先頭に追加する。このように、文字列テーブル16cへの文字列を追加する際に操作者による操作が不要であるため、操作者の負担を軽減することができる。   When the character in the sentence matches any of the delimiters, the character string registration unit 19 starts the character next to the character that matched the delimiter immediately before (if there is no character that matched the delimiter immediately before, The character string from the character) to the character that currently matches the delimiter is extracted, and the extracted character string is added to the top of the character string table 16c. As described above, when the character string is added to the character string table 16c, the operator does not need to perform an operation, so that the burden on the operator can be reduced.

その後、文字列登録部19は、文章から抽出した文字列の数が所定の上限値に達したか、もしくは文章の末尾の文字まで区切り記号との比較が完了した場合に、文字列の抽出処理を完了する。例えば、図2に示す文書データ16bに記憶された文章を、図4に示す区切り記号テーブル16dに基づいて文字列の抽出を行うと、図3に示すように、文字列が文字列テーブル16cに登録される。   Thereafter, the character string registration unit 19 performs character string extraction processing when the number of character strings extracted from the sentence reaches a predetermined upper limit value or when the comparison with the delimiter is completed up to the last character of the sentence. To complete. For example, when a character string is extracted from the text stored in the document data 16b shown in FIG. 2 based on the delimiter table 16d shown in FIG. 4, the character string is stored in the character string table 16c as shown in FIG. be registered.

1つの文章から抽出する文字列の総数について、上記のような上限値を設けることによって次のような効果が得られる。一般的に電子メールのような文章においては、文章の先頭部分で、返答文句や決まり文句など、再利用される可能性が高い文字列が入力されている場合が多い。しかし、後続する文が多い場合にそれらをすべて記憶すると、再利用する可能性の低い文を多数記憶することにより文字列テーブル16c用に確保された記憶部16の記憶領域が一杯になり、他の電子メールの先頭部分にある再利用する可能性が高い文字列を抽出できなくなってしまう。そこで、上記のように所定の上限値を設けることにより、より多くの電子メールの先頭部分から再利用性の高い文を抽出し、文字列テーブル16cに記憶することができるようになる。   By providing the above upper limit for the total number of character strings extracted from one sentence, the following effects can be obtained. In general, in a sentence such as an e-mail, a character string that is likely to be reused is often input at the beginning of the sentence, such as a reply phrase or a fixed phrase. However, if all of the following sentences are stored, storing all of them causes the storage area of the storage unit 16 reserved for the character string table 16c to be filled by storing a large number of sentences that are unlikely to be reused. It becomes impossible to extract a character string that is highly likely to be reused at the beginning of the e-mail. Therefore, by providing a predetermined upper limit as described above, a highly reusable sentence can be extracted from the top part of more e-mails and stored in the character string table 16c.

また、ここでは、文章の生成が完了した場合に、文章生成部17が文字列登録部19に生成完了信号を送信することとしているが、具体的には、文章生成部17は、入力部11を介して操作者が文章を保存する操作を行った場合に文章の生成が完了したと判定し、生成完了信号を送信する。これによって、操作者が訂正する可能性がある生成途中の文章からではなく、完成した文章から文字列が抽出され、誤記等が含まれた文字列が文字列テーブル16cに記憶されることを防止することができる。   Here, when the generation of the sentence is completed, the sentence generation unit 17 transmits a generation completion signal to the character string registration unit 19. Specifically, the sentence generation unit 17 includes the input unit 11. When the operator performs an operation to save the sentence via the, it is determined that the generation of the sentence is completed, and a generation completion signal is transmitted. This prevents a character string from being extracted from a completed sentence, not from a sentence in the middle of generation that may be corrected by the operator, and preventing a character string including an error from being stored in the character string table 16c. can do.

もしくは、操作者が入力部11を介して電子メールを送信する操作を行った場合に、電子メール処理部18がその操作を検出して、文章の生成が完了したことを示す生成完了信号を文字列登録部19に送信することとしてもよい。電子メールにおいては、送信に至るまでに文章を編集する場合があるので、電子メールの送信時に文字列を抽出することにより、完成した文章から文字列が抽出され、抽出された文字列を再利用することができるようになる。   Alternatively, when the operator performs an operation of sending an e-mail via the input unit 11, the e-mail processing unit 18 detects the operation and generates a generation completion signal indicating that the generation of the sentence is completed. It may be transmitted to the column registration unit 19. In e-mail, the text may be edited before sending, so by extracting the character string when sending the e-mail, the character string is extracted from the completed sentence and the extracted character string is reused Will be able to.

また、文字列登録部19は、抽出された文字列を文字列テーブル16cに記憶する際、変換辞書データ16aに登録されている変換候補と抽出された文字列とを比較し、抽出された文字列と一致する変換候補がある場合は、抽出された文字列を文字列テーブル16cに記憶しないようにしてもよい。変換辞書データ16aを用いて変換できる文字列は、変換辞書データ16aに記憶された変換候補から選択できるので、変換候補と同じ文字列を文字列テーブル16cに記憶し、変換時に変換候補と同じ文字列を変換候補とともに表示することは冗長であり、操作者が文字列を探す妨げとなってしまう。このように、変換辞書データ16aに記憶されている変換候補と一致する文字列を持つ抽出された文字列を文字列テーブル16cに対する記憶対象から除外することにより、上記のような冗長さがなくなり、操作者が目的とする文字列を探しやすくなる。   In addition, when storing the extracted character string in the character string table 16c, the character string registration unit 19 compares the conversion candidate registered in the conversion dictionary data 16a with the extracted character string, and extracts the extracted character string. If there is a conversion candidate that matches the column, the extracted character string may not be stored in the character string table 16c. Since the character string that can be converted using the conversion dictionary data 16a can be selected from the conversion candidates stored in the conversion dictionary data 16a, the same character string as the conversion candidate is stored in the character string table 16c, and the same character as the conversion candidate at the time of conversion is stored. Displaying a column with conversion candidates is redundant and hinders the operator from looking for a character string. Thus, by excluding the extracted character string having the character string that matches the conversion candidate stored in the conversion dictionary data 16a from the storage target for the character string table 16c, the above redundancy is eliminated, It becomes easier for the operator to search for the target character string.

もしくは、文字列登録部19は、抽出した文字列を文字列テーブル16cに記憶する際、所定の文字数以上の文字列のみを文字列テーブル16cに記憶するようにしてもよい。上述した例では、抽出された文字列を文字列テーブル16cに記憶する際、抽出した文字列と変換辞書データ16aに記憶された文字列との比較を行っているが、抽出した文字列と変換辞書データ16aに記憶された全ての文字列との比較処理には時間を要する。文字数の少ない文字列については変換辞書データ16aに含まれている可能性が高いため、所定の文字数以上の文字列のみを文字列テーブル16cに記憶することとすることによって、短い処理時間で文字列を記憶することができ、操作者が目的とする文字列を探しやすくなる。   Alternatively, when storing the extracted character string in the character string table 16c, the character string registration unit 19 may store only a character string having a predetermined number of characters or more in the character string table 16c. In the example described above, when the extracted character string is stored in the character string table 16c, the extracted character string is compared with the character string stored in the conversion dictionary data 16a. The comparison process with all character strings stored in the dictionary data 16a takes time. Since there is a high possibility that a character string with a small number of characters is included in the conversion dictionary data 16a, by storing only a character string having a predetermined number of characters or more in the character string table 16c, the character string can be obtained in a short processing time. Can be stored, and the operator can easily search for the target character string.

また、文字列登録部19は、抽出した文字列を文字列テーブル16cに記憶する際に、抽出した文字列を末尾の区切り記号を除いて文字列テーブル16cに記憶するようにしてもよい。ここで、この区切り記号は、区切り記号テーブル16dに記憶されている区切り記号である。   Further, when storing the extracted character string in the character string table 16c, the character string registration unit 19 may store the extracted character string in the character string table 16c except for the end delimiter. Here, this delimiter is a delimiter stored in the delimiter table 16d.

区切り記号として使用される記号は、入力する文章によって変えたい場合がある。例えば、「ありがとうございます。」という文の語気を強めたい場合、文末の区切り記号を変更し、「ありがとうございます!」という文にすることが望まれる。このような場合、文字列テーブル16cに記憶された文字列の末尾に区切り記号が含まれていると、一旦末尾の区切り記号を削除する必要が出てくる。そのため、区切り記号を予め除いて文字列を文字列テーブル16cに記憶しておけば、区切り記号の削除が不要となり、必要に応じて「!」等の文字を追加するだけでよくなる。   A symbol used as a delimiter may be changed depending on a sentence to be input. For example, if you want to strengthen the vocabulary of the sentence “Thank you.”, It is desirable to change the delimiter at the end of the sentence so that it says “Thank you!”. In such a case, if a delimiter is included at the end of the character string stored in the character string table 16c, it is necessary to once delete the delimiter. Therefore, if the character string is stored in the character string table 16c with the delimiter removed in advance, it is not necessary to delete the delimiter and only a character such as “!” Needs to be added as necessary.

また、文字列登録部19は、抽出した文字列を文字列テーブル16cに記憶する際に、抽出された文字列が、「都」、「道」、「府」、「県」、「市」、「区」、「町」、「村」、「郡」、「大字」、「字」のいずれかの行政区画を示す文字を含んでいる場合は、その抽出された文字列に加えて、抽出された文字列の先頭文字から行政区画を示す文字までの文字を抽出された文字列から除いた文字列を文字列テーブル16cに記憶するようにしてもよい。   In addition, when the character string registration unit 19 stores the extracted character string in the character string table 16c, the extracted character string is “city”, “road”, “prefecture”, “prefecture”, “city”. , "City", "town", "village", "county", "Large", "character" in addition to the character string that represents any administrative division, You may make it memorize | store in the character string table 16c the character string which remove | excluded the character from the head character of the extracted character string to the character which shows an administrative division from the extracted character string.

例えば、文字列登録部19は、「東京都千代田区霞が関3丁目4番3号」という抽出された文字列については、「東京都千代田区霞が関3丁目4番3号」という文字列と、「東京都」を除いた「千代田区霞が関3丁目4番3号」という文字列と、「東京都」から「千代田区」までを除いた「霞が関3丁目4番3号」という文字列とを文字列テーブル16cに記憶するようにしてもよい。   For example, the character string registration unit 19 uses the character string “Tokyo Metropolitan Chiyoda-ku Kasumigaseki 3-4-3” for the extracted character string “Tokyo Metropolitan Chiyoda-ku Kasumigaseki 4-3-3” The character string “Chigida-ku 3-chome 4-3-3, Chiyoda-ku” excluding “Tokyo” and the character string “Kasumigaseki 3-chome 4--3,” excluding “Tokyo” to “Chiyoda-ku” You may make it memorize | store in the column table 16c.

具体的には、文字列登録部19は、抽出した文字列の先頭文字から、順次文字を行政区画を示す文字と比較し、文字が「都」、「道」、「府」、「県」、「市」、「区」、「町」、「村」、「郡」、「大字」、「字」のいずれかと一致した場合に、先頭からその文字までを除いた文字列を文字列テーブル16cに記憶する。   Specifically, the character string registration unit 19 sequentially compares the characters with the characters indicating the administrative divisions from the first character of the extracted character string, and the characters are “city”, “road”, “prefecture”, “prefecture”. , "City", "ku", "town", "village", "county", "Large", "letter", if it matches any of the character string from the beginning to the character string table 16c.

もしくは、文字列登録部19は、「東京都」や「千代田区」などの行政区画を表す文字列のテーブルを記憶部16に記憶しておき、テーブルの先頭から末尾まで順次、抽出された文字列と行政区画を表す文字列とを比較してもよい。抽出された文字列に行政区画を表す文字列が部分一致すれば、文字列登録部19は、抽出された文字列の先頭文字から部分一致する文字列の末尾の文字までの文字を除いた抽出された文字列を文字列テーブル16cに記憶する。   Alternatively, the character string registration unit 19 stores a character string table representing administrative divisions such as “Tokyo” and “Chiyoda Ward” in the storage unit 16, and sequentially extracts characters from the head to the end of the table. You may compare a row | line | column and the character string showing an administrative division. If the extracted character string partially matches the character string representing the administrative district, the character string registration unit 19 extracts the characters from the first character of the extracted character string to the last character of the partially matching character string. The obtained character string is stored in the character string table 16c.

ここで、文字列テーブル16cに対する記憶処理の対象から除外する行政区画を表す文字列は、都道府県名を示す文字列に限定するようにしてもよい。これによって、1つの抽出された文字列について、文字列テーブル16cに登録される文字列の数は、高々2つとすることができる。   Here, the character string representing the administrative division excluded from the storage processing target for the character string table 16c may be limited to the character string indicating the prefecture name. As a result, the number of character strings registered in the character string table 16c for one extracted character string can be at most two.

住所を文字入力する場合、「東京都」などの先頭部分の行政区画を表す文字列を省略することはよくあることである。上記の方法によれば、操作者が過去に入力した住所を利用して、先頭部分の行政区画を表す文字列を除いた文字列を容易に入力することができる。   When inputting an address as a character, it is common to omit a character string representing the first administrative division such as “Tokyo”. According to the above method, it is possible to easily input a character string excluding the character string representing the administrative section of the head portion by using an address previously input by the operator.

文字列変換部20は、操作者により入力された文字列を変換するとともに、文字列テーブル16cに記憶された文字列を、次回以降の文章生成における文字列変換の変換候補として出力する処理などを行う処理部である。   The character string conversion unit 20 converts a character string input by the operator and outputs a character string stored in the character string table 16c as a conversion candidate for character string conversion in the next and subsequent sentence generation. It is a processing part to perform.

具体的には、文字列変換部20は、操作者が入力部11を介して行った文字入力操作を、入力インターフェース部12から信号を受信することにより検出し、入力された文字列を出力インターフェース部14に出力して、その文字列を表示部13に表示させる。図5は、表示部13に表示される入力文字列の一例を示す図である。図5の例では、操作者が「ほんじつ」と入力した場合について示してある。   Specifically, the character string conversion unit 20 detects a character input operation performed by the operator via the input unit 11 by receiving a signal from the input interface unit 12, and outputs the input character string as an output interface. The character string is output to the unit 14 and displayed on the display unit 13. FIG. 5 is a diagram illustrating an example of an input character string displayed on the display unit 13. In the example of FIG. 5, the operator inputs “honjitsu”.

そして、文字列変換部20は、変換辞書データ16aを参照して、入力文字列に対する変換候補リストを出力インターフェース部14を介して表示部13に表示させる。図6は、表示部13に表示される変換候補リスト30の一例を示す図である。図6の例では、入力文字列「ほんじつ」に対する変換候補「本日」、「本日中」、「本日の」が変換候補リスト30として表示されている。   Then, the character string conversion unit 20 displays the conversion candidate list for the input character string on the display unit 13 via the output interface unit 14 with reference to the conversion dictionary data 16a. FIG. 6 is a diagram illustrating an example of the conversion candidate list 30 displayed on the display unit 13. In the example of FIG. 6, conversion candidates “Today”, “Today”, and “Today” for the input character string “Honjitsu” are displayed as the conversion candidate list 30.

その後、文字列変換部20は、操作者が変換候補の選択操作を行ったか否かを、入力インターフェース部12からの選択操作信号を検出することにより判定する。変換候補が選択されることにより、操作者が入力した入力文字列の変換結果が確定する。そして、文字列変換部20は、変換候補の選択操作が行われた場合、選択された変換候補の文字列を検索キーワードとして、文字列テーブル16cに記憶された文字列のうち変換候補の文字列に部分一致する文字列を検索する。そして、文字列変換部20は、検索された文字列から変換候補の文字列を除外した文字列を出力インターフェース部14を介して表示部13に表示させる。   Thereafter, the character string conversion unit 20 determines whether or not the operator has performed a selection operation for conversion candidates by detecting a selection operation signal from the input interface unit 12. By selecting the conversion candidate, the conversion result of the input character string input by the operator is confirmed. When the conversion candidate selection operation is performed, the character string conversion unit 20 uses the selected conversion candidate character string as a search keyword, and converts the conversion candidate character string from among the character strings stored in the character string table 16c. Search for a character string that partially matches. Then, the character string conversion unit 20 causes the display unit 13 to display a character string obtained by excluding the conversion candidate character string from the searched character string via the output interface unit 14.

図7は、表示部13に表示される変換候補リスト40の一例を示す図である。図7の例では、操作者により変換候補「本日の」が選択された場合について示してある。この場合、文字列テーブル16cに記憶された文字列「本日の練習おつかれさまでした。」が変換候補「本日の」に部分一致する文字列として検索されるので、文字列変換部20は、検索キーワード「本日の」を除いた文字列「練習おつかれさまでした。」を変換候補リスト40として表示する。図7の例では、文字列が1つだけ表示されているが、検索された文字列が複数ある場合は、検索された複数の文字列が変換候補リスト40として表示される。   FIG. 7 is a diagram illustrating an example of the conversion candidate list 40 displayed on the display unit 13. In the example of FIG. 7, the conversion candidate “Today” is selected by the operator. In this case, the character string “stored today ’s practice” stored in the character string table 16c is searched as a character string that partially matches the conversion candidate “today”. A character string excluding “Today's” “Thank you for your practice” is displayed as the conversion candidate list 40. In the example of FIG. 7, only one character string is displayed. However, when there are a plurality of searched character strings, the plurality of searched character strings are displayed as the conversion candidate list 40.

そして、文字列変換部20は、操作者により変換候補リスト40から文字列が選択されたか否かを、入力インターフェース部12からの選択操作信号を検出することにより判定する。そして、文字列変換部20は、文字列の選択操作が行われた場合、生成中の文章のカーソル位置に、選択された文字列を挿入する。   Then, the character string conversion unit 20 determines whether or not a character string has been selected from the conversion candidate list 40 by detecting the selection operation signal from the input interface unit 12. Then, when a character string selection operation is performed, the character string conversion unit 20 inserts the selected character string at the cursor position of the sentence being generated.

図8は、表示部13に表示される文字列挿入後の文章の一例を示す図である。図8には、図7に示した変換候補リスト40から文字列「練習おつかれさまでした。」が選択され、文字列「練習おつかれさまでした。」が生成中の文章のカーソル位置に挿入された場合が示されている。   FIG. 8 is a diagram illustrating an example of text after insertion of a character string displayed on the display unit 13. FIG. 8 shows a case where the character string “I have practiced you” has been selected from the conversion candidate list 40 shown in FIG. 7 and the character string “I have practiced you” has been inserted at the cursor position of the sentence being generated. It is shown.

このように、過去の文章生成時に入力され、文字列テーブル16cに記憶された文字列の中から、直前に変換した文字列を検索キーワードとして、直前に変換した文字列を含む文字列が検索され、検索の結果得られた文字列が選択可能に表示されるので、操作者が過去の文章生成時に入力された文字列を選択する操作を軽減することができる。   In this way, a character string including the character string converted immediately before is searched from the character strings input at the time of past sentence generation and stored in the character string table 16c using the character string converted immediately before as a search keyword. Since the character string obtained as a result of the search is displayed so as to be selectable, the operation of the operator selecting the character string input at the time of past sentence generation can be reduced.

また、直前の変換候補の選択操作に続いて、過去の文章生成時に入力された文字列が変換候補として表示されるので、直前の文字列に繋がる文字列を、操作者が望むタイミングで選択し、その文字列を入力することができる。   In addition, since the character string input at the time of past sentence generation is displayed as a conversion candidate following the selection operation of the immediately preceding conversion candidate, the character string connected to the immediately preceding character string is selected at a timing desired by the operator. , You can enter that string.

さらに、過去の文章生成時に入力され、文字列テーブル16cに記憶された文字列の中から、直前に変換した文字列を検索キーワードとして、直前に変換した文字列を含む文字列が検出されるので、過去の文章生成時に入力された文字列を読み出すために、その文字列の読み仮名を予め登録し、読み仮名を用いて文字列変換を行うなどの処理は不要であり、また登録される読み仮名を取得する形態素解析などの処理も不要となるので、メモリ使用領域が節約できる。   Furthermore, a character string including the character string converted immediately before is detected from the character strings input at the time of past sentence generation and stored in the character string table 16c using the character string converted immediately before as a search keyword. In order to read a character string input at the time of past sentence generation, it is not necessary to register the reading kana of the character string in advance and perform character string conversion using the reading kana, and the registered reading Processing such as morphological analysis for acquiring a pseudonym is also unnecessary, so that the memory usage area can be saved.

直前の変換で選択された文字列(例えば、図7における文字列「本日の」)は、図6に示す変換候補リスト30において操作者による変換候補の選択操作の実行を文字列変換部20が検出した際に、生成中の文書のカーソル位置に文字列変換部20により挿入される。なお、図7に示す変換候補リスト40において操作者による変換候補の選択操作の実行を文字列変換部20が検出した際に、直前の変換で選択された文字列が変換候補リスト40から選択された文字列と結合され、結合された文字列が文字列変換部20によりカーソル位置に挿入されることとしてもよい。   For the character string selected in the previous conversion (for example, the character string “today” in FIG. 7), the character string conversion unit 20 executes the selection operation of the conversion candidate by the operator in the conversion candidate list 30 shown in FIG. 6. When detected, the character string conversion unit 20 inserts it at the cursor position of the document being generated. When the character string conversion unit 20 detects the execution of the conversion candidate selection operation by the operator in the conversion candidate list 40 shown in FIG. 7, the character string selected in the previous conversion is selected from the conversion candidate list 40. The combined character string may be inserted into the cursor position by the character string conversion unit 20.

次に、文章から文字列を抽出する抽出処理の処理手順について説明する。図9は、文章から文字列を抽出する抽出処理の処理手順の一例を示すフローチャートである。図9に示すように、文章生成装置10の文字列登録部19は、文章の生成が完了したことを検出する(ステップS101)。そして、文字列登録部19は、記憶部16に記憶された区切り記号テーブル16dを参照し、文章データ16bに含まれる文章を区切り記号の位置で区切って、区切り記号により区切られた文字列を抽出する(ステップS102)。その後、文字列登録部19は、抽出された文字列を文字列テーブル16cに記憶し(ステップS103)、この文字列の抽出処理を終了する。   Next, the process procedure of the extraction process which extracts a character string from a sentence is demonstrated. FIG. 9 is a flowchart illustrating an example of a processing procedure of extraction processing for extracting a character string from a sentence. As shown in FIG. 9, the character string registration unit 19 of the sentence generation device 10 detects that the generation of the sentence is completed (step S101). Then, the character string registration unit 19 refers to the delimiter table 16d stored in the storage unit 16, delimits the sentence included in the sentence data 16b at the position of the delimiter, and extracts the character string delimited by the delimiter (Step S102). Thereafter, the character string registration unit 19 stores the extracted character string in the character string table 16c (step S103), and ends the character string extraction process.

次に、文字列の変換候補決定処理の処理手順について説明する。図10は、文字列の変換候補決定処理の処理手順の一例を示すフローチャートである。図10に示すように、文章生成装置10の文字列変換部20は、図6に示したような変換候補リスト30において、変換候補の1つが選択されたことを検出する(ステップS201)。   Next, a processing procedure for character string conversion candidate determination processing will be described. FIG. 10 is a flowchart illustrating an example of a processing procedure for character string conversion candidate determination processing. As shown in FIG. 10, the character string conversion unit 20 of the sentence generation device 10 detects that one of the conversion candidates is selected in the conversion candidate list 30 as shown in FIG. 6 (step S201).

そして、文字列変換部20は、選択された変換候補の文字列を検索キーワードとし、検索キーワードに部分一致する文字列を文字列テーブル16cに記憶された文字列の中から検索する(ステップS202)。   Then, the character string conversion unit 20 uses the selected conversion candidate character string as a search keyword, and searches the character string stored in the character string table 16c for a character string that partially matches the search keyword (step S202). .

続いて、文字列変換部20は、検索された文字列を変換候補リスト40として表示部13に表示させる(ステップS203)。そして、文字列変換部20は、操作者が入力部11を介して変換候補リスト40として表示された文字列の中から1つの文字列を選択した場合に、選択された文字列の情報を受け付ける(ステップS204)。その後、文字列変換部20は、生成中の文章のカーソル位置に、選択された文字列を挿入し(ステップS205)、この変換候補の決定処理を終了する。   Subsequently, the character string conversion unit 20 displays the searched character strings on the display unit 13 as the conversion candidate list 40 (step S203). When the operator selects one character string from the character strings displayed as the conversion candidate list 40 via the input unit 11, the character string conversion unit 20 receives information on the selected character string. (Step S204). Thereafter, the character string conversion unit 20 inserts the selected character string at the cursor position of the sentence being generated (step S205), and ends the conversion candidate determination process.

次に、図10のステップS202に示した文字列テーブル16cの検索処理の処理手順について詳細に説明する。図11は、図10に示した文字列テーブル16cの検索処理の処理手順の一例を示すフローチャートである。図11に示すように、文章生成装置10の文字列変換部20は、文字列テーブル10に記憶された先頭の文字列を選択する処理を行う(ステップS301)。   Next, the processing procedure of the search processing of the character string table 16c shown in step S202 of FIG. 10 will be described in detail. FIG. 11 is a flowchart illustrating an example of a processing procedure of search processing of the character string table 16c illustrated in FIG. As illustrated in FIG. 11, the character string conversion unit 20 of the sentence generation device 10 performs a process of selecting the first character string stored in the character string table 10 (step S301).

そして、文字列変換部20は、文字列テーブル10の先頭の文字列が選択できたか否かを調べる(ステップS302)。文字列テーブル10に文字列が記憶されていないなどの理由で、先頭の文字列が選択できなかった場合(ステップS302においてNOの場合)、そのままこの検索処理を終了する。   Then, the character string conversion unit 20 checks whether or not the first character string in the character string table 10 has been selected (step S302). If the first character string cannot be selected because the character string is not stored in the character string table 10 (NO in step S302), the search process is terminated.

先頭の文字列が選択できた場合(ステップS302においてYESの場合)、文字列変換部20は、選択した文字列と検索キーワード(変換候補リスト30において選択された変換候補)を比較する(ステップS303)。そして、文字列変換部20は、選択した文字列が検索キーワードに部分一致するか否かを調べる(ステップS304)。   When the first character string can be selected (YES in step S302), the character string conversion unit 20 compares the selected character string with the search keyword (conversion candidate selected in the conversion candidate list 30) (step S303). ). Then, the character string conversion unit 20 checks whether or not the selected character string partially matches the search keyword (step S304).

選択した文字列が検索キーワードに部分一致する場合(ステップS304においてYESの場合)、文字列変換部20は、選択した文字列を変換候補リスト40の末尾に追加する(ステップS305)。選択した文字列が検索キーワードに部分一致しない場合(ステップS304においてNOの場合)、あるいは、選択した文字列を変換候補リスト40の末尾に追加した場合(ステップS305)、文字列変換部20は、文字列テーブル16cにおいて、次の文字列を選択する処理を行う(ステップS306)。   If the selected character string partially matches the search keyword (YES in step S304), the character string conversion unit 20 adds the selected character string to the end of the conversion candidate list 40 (step S305). When the selected character string does not partially match the search keyword (NO in step S304), or when the selected character string is added to the end of the conversion candidate list 40 (step S305), the character string conversion unit 20 In the character string table 16c, a process for selecting the next character string is performed (step S306).

その後、ステップS302に移行して、文字列変換部20は、次の文字列が選択できたかを調べ(ステップS302)、次の文字列を選択できた場合(ステップS302においてYESの場合)、次の文字列に対して、ステップS303以後の処理を実行する。次の文字列が無いなどの理由で、次の文字列を選択できなかった場合(ステップS302においてNOの場合)、そのままこの検索処理を終了する。   Thereafter, the process proceeds to step S302, and the character string conversion unit 20 checks whether or not the next character string can be selected (step S302). If the next character string can be selected (YES in step S302), the next character string is checked. The processing after step S303 is executed for the character string. If the next character string cannot be selected because there is no next character string (NO in step S302), the search process is terminated.

ここで、変換候補リスト40に追加する文字列の数の上限を決めておき、文字列テーブル16cに記憶された日時が現時点に近い順に文字列テーブル16cに記憶された文字列を変換候補リスト40に追加し、変換候補リスト40に追加された文字列の数が上限に達したところで図11に示した検索処理を終了し、変換候補リスト40を表示するようにしてもよい。   Here, the upper limit of the number of character strings to be added to the conversion candidate list 40 is determined, and the character strings stored in the character string table 16c in the order from the date and time stored in the character string table 16c to the current time are converted into the conversion candidate list 40. 11 may be terminated and the conversion candidate list 40 may be displayed when the number of character strings added to the conversion candidate list 40 reaches the upper limit.

例えば、文字列変換部20が、図11のステップS305の処理の後に、変換候補リスト40に追加された文字列の数が上限に達したか否かを判定し、文字列の数が上限に達していれば図11に示した検索処理を終了するようにすればよい。これにより、文字列テーブル16cに記憶された文字列のうち最新の文字列のみが変換候補リスト40に表示されるので、再利用する文字列を、操作者が最近利用したものに絞ることができる。   For example, the character string conversion unit 20 determines whether or not the number of character strings added to the conversion candidate list 40 has reached the upper limit after the process of step S305 in FIG. 11, and the number of character strings reaches the upper limit. If it has reached, the search process shown in FIG. 11 may be terminated. As a result, only the latest character string among the character strings stored in the character string table 16c is displayed in the conversion candidate list 40, so that the character strings to be reused can be narrowed down to those recently used by the operator. .

また、過去に変換候補リスト40から操作者によって選択された文字列を、優先的に変換候補リスト40に表示するようにしてもよい。文章が生成されると、その文章は区切り記号の位置で区切られ、文章が区切られてできた文字列は自動的に文字列テーブル16に記憶され、文字列テーブル16cに記憶された文字列は、変換候補リスト40に表示されることになる。この場合、文字列変換部20は、変換候補リスト40から文字列が選択されると、選択された文字列を、文字列テーブル16cとは別の履歴テーブルの先頭に学習文字列として記憶するようにする。そして、この履歴テーブルを文字列テーブル16cよりも先に検索し、検索された学習文字列を変換候補リスト40に優先的に表示させる。   In addition, a character string previously selected by the operator from the conversion candidate list 40 may be preferentially displayed on the conversion candidate list 40. When the sentence is generated, the sentence is divided at the position of the delimiter, and the character string formed by dividing the sentence is automatically stored in the character string table 16, and the character string stored in the character string table 16c is Are displayed in the conversion candidate list 40. In this case, when a character string is selected from the conversion candidate list 40, the character string conversion unit 20 stores the selected character string as a learned character string at the beginning of a history table different from the character string table 16c. To. The history table is searched before the character string table 16c, and the searched learning character string is preferentially displayed on the conversion candidate list 40.

次に、この履歴テーブルを用いた文字列の変換候補決定処理の処理手順について説明する。図12は、履歴テーブルを用いた文字列の変換候補決定処理の処理手順の一例を示すフローチャートである。図12に示すように、文章生成装置10の文字列変換部20は、図6に示したような変換候補リスト30において、変換候補の1つが選択されたことを検出する(ステップS401)。 Next, a processing procedure for character string conversion candidate determination processing using this history table will be described. FIG. 12 is a flowchart illustrating an example of a processing procedure of character string conversion candidate determination processing using a history table. As shown in FIG. 12, the character string conversion unit 20 of the sentence generation device 10 detects that one of the conversion candidates is selected in the conversion candidate list 30 as shown in FIG. 6 (step S401).

そして、文字列変換部20は、選択された変換候補の文字列を検索キーワードとし、検索キーワードに部分一致する文字列を履歴テーブルに記憶された学習文字列の中から検索する(ステップS402)。さらに、文字列変換部20は、検索キーワードに部分一致する文字列を文字列テーブル16cに記憶された文字列の中から検索する(ステップS403)。   Then, the character string conversion unit 20 uses the selected conversion candidate character string as a search keyword, and searches the learned character string stored in the history table for a character string that partially matches the search keyword (step S402). Further, the character string conversion unit 20 searches the character string stored in the character string table 16c for a character string that partially matches the search keyword (step S403).

続いて、文字列変換部20は、履歴テーブルから検索された学習文字列、あるいは、文字列テーブル16cから検索された文字列を変換候補リスト40として表示部13に表示させる(ステップS404)。その際、文字列変換部20は、変換候補リスト40において、履歴テーブルから検索された学習文字列を文字列テーブル16cから検索された文字列よりもより先頭側に表示させ、履歴テーブルから検索された学習文字列を操作者が容易に確認できるようにする。また、文字列変換部20は、文字列テーブル16cから検索された文字列に学習文字列と重複する文字列がある場合は、文字列テーブル16cから検索された重複する文字列の表示は行わない。   Subsequently, the character string conversion unit 20 displays the learned character string searched from the history table or the character string searched from the character string table 16c on the display unit 13 as the conversion candidate list 40 (step S404). At that time, the character string conversion unit 20 displays the learning character string searched from the history table in the conversion candidate list 40 on the front side of the character string searched from the character string table 16c, and is searched from the history table. The operator can easily check the learned character string. In addition, when the character string searched from the character string table 16c includes a character string that overlaps with the learning character string, the character string conversion unit 20 does not display the duplicate character string searched from the character string table 16c. .

その後、文字列変換部20は、操作者が入力部11を介して変換候補リスト40として表示された文字列の中から文字列を選択した場合に、選択された文字列の情報を受け付ける(ステップS405)。その後、文字列変換部20は、生成中の文章のカーソル位置に、選択された文字列を挿入し(ステップS406)、この変換候補の決定処理を終了する。   Thereafter, when the operator selects a character string from among the character strings displayed as the conversion candidate list 40 via the input unit 11, the character string conversion unit 20 receives information on the selected character string (step S1). S405). Thereafter, the character string conversion unit 20 inserts the selected character string at the cursor position of the sentence being generated (step S406), and ends the conversion candidate determination process.

次に、図12のステップS402に示した履歴テーブルの検索処理の処理手順について詳細に説明する。図13は、図12に示した履歴テーブルの検索処理の処理手順の一例を示すフローチャートである。図13に示すように、文章生成装置10の文字列変換部20は、履歴テーブルに記憶された先頭の学習文字列を選択する(ステップS501)。   Next, the processing procedure of the history table search process shown in step S402 of FIG. 12 will be described in detail. FIG. 13 is a flowchart illustrating an example of a processing procedure of the history table search processing illustrated in FIG. 12. As illustrated in FIG. 13, the character string conversion unit 20 of the sentence generation device 10 selects the first learning character string stored in the history table (step S501).

そして、文字列変換部20は、履歴テーブルの先頭の学習文字列が選択できたか否かを調べる(ステップS502)。履歴テーブルに学習文字列が記憶されていないなどの理由で、先頭の学習文字列が選択できなかった場合(ステップS502においてNOの場合)、そのままこの検索処理を終了する。   Then, the character string conversion unit 20 checks whether or not the first learning character string in the history table has been selected (step S502). If the first learned character string cannot be selected because the learned character string is not stored in the history table (NO in step S502), the search process is terminated.

先頭の学習文字列が選択できた場合(ステップS502においてYESの場合)、文字列変換部20は、選択した学習文字列と検索キーワード(変換候補リスト30において選択された変換候補)を比較する(ステップS503)。そして、文字列変換部20は、選択した学習文字列が検索キーワードに部分一致するか否かを調べる(ステップS504)。   If the first learning character string can be selected (YES in step S502), the character string conversion unit 20 compares the selected learning character string with the search keyword (conversion candidate selected in the conversion candidate list 30) ( Step S503). Then, the character string conversion unit 20 checks whether or not the selected learning character string partially matches the search keyword (step S504).

選択した学習文字列が検索キーワードに部分一致する場合(ステップS504においてYESの場合)、文字列変換部20は、選択した学習文字列を変換候補リスト40の末尾に追加する(ステップS505)。選択した学習文字列が検索キーワードに部分一致しない場合(ステップS504においてNOの場合)、あるいは、選択した学習文字列を変換候補リスト40の末尾に追加した場合(ステップS505)、文字列変換部20は、履歴テーブルにおいて、次の学習文字列を選択する(ステップS506)。   If the selected learning character string partially matches the search keyword (YES in step S504), the character string conversion unit 20 adds the selected learning character string to the end of the conversion candidate list 40 (step S505). When the selected learning character string does not partially match the search keyword (NO in step S504), or when the selected learning character string is added to the end of the conversion candidate list 40 (step S505), the character string conversion unit 20 Selects the next learning character string in the history table (step S506).

その後、ステップS502に移行して、文字列変換部20は、次の学習文字列が選択できたかを調べ(ステップS502)、次の学習文字列を選択できた場合(ステップS502においてYESの場合)、次の学習文字列に対して、ステップS503以後の処理を実行する。次の学習文字列が無いなどの理由で、次の学習文字列を選択できなかった場合(ステップS502においてNOの場合)、そのままこの検索処理を終了する。   Thereafter, the process proceeds to step S502, where the character string converter 20 checks whether or not the next learning character string has been selected (step S502), and if the next learning character string can be selected (YES in step S502). Then, the processing after step S503 is executed for the next learned character string. If the next learning character string cannot be selected because there is no next learning character string or the like (NO in step S502), the search process is terminated.

このように、操作者が一度選択した学習文字列を優先的に変換候補リスト40に表示することで、操作者の利用頻度の高い、過去に入力された文字列を容易に再利用することができるようになる。   Thus, by displaying the learning character string once selected by the operator in the conversion candidate list 40 with priority, it is possible to easily reuse a character string input in the past, which is frequently used by the operator. become able to.

また、文章生成装置10において、文章の生成を行うアプリケーションソフトウェアが複数導入されている場合に、アプリケーションソフトウェアごとに文字列テーブル16cをそれぞれ用意しておき、文章から抽出した文字列を記憶する際には、文字列登録部19は、その際に起動しているアプリケーションソフトウェアに対応した文字列テーブル16cに文字列を記憶し、文字列変換部20は、文字列テーブル16cに記憶された文字列を変換候補リスト40として表示する際に、現在起動しているアプリケーションソフトウェアに対応した文字列テーブル16cから文字列を検索するようにしてもよい。   Further, when a plurality of application software for generating a sentence is installed in the sentence generating apparatus 10, a character string table 16c is prepared for each application software, and a character string extracted from the sentence is stored. The character string registration unit 19 stores the character string in the character string table 16c corresponding to the application software activated at that time, and the character string conversion unit 20 stores the character string stored in the character string table 16c. When displaying as the conversion candidate list 40, a character string may be searched from the character string table 16c corresponding to the currently activated application software.

例えば、文字列登録部19は、電子メールのアプリケーションソフトウェアを用いて文章の生成が完了した時には、抽出された文字列を電子メールのアプリケーションソフトウェアに対応付けられた文字列テーブル16cに記憶し、電子メールのアプリケーションソフトウェアを用いた次回以降の文章の生成時に、その電子メールのアプリケーションソフトウェアに対応付けられた文字列テーブル16cから文字列を検索する。   For example, when the generation of a sentence is completed using e-mail application software, the character string registration unit 19 stores the extracted character string in the character string table 16c associated with the e-mail application software. When generating the next and subsequent sentences using the mail application software, a character string is searched from the character string table 16c associated with the electronic mail application software.

このようにすることで、特定のアプリケーションソフトウェアでのみ利用する文字列について、そのアプリケーションソフトウェアが起動されている時に限って文字列を変換候補として表示できるようになるため、他のアプリケーションソフトウェアでのみ使用するような余分な文字列が変換候補として表示されるのを防止することができ、操作者が目的とする文字列を探しやすくなる。   In this way, a character string that is used only with specific application software can be displayed as a conversion candidate only when that application software is running, so it can only be used with other application software. Such an extra character string can be prevented from being displayed as a conversion candidate, and the operator can easily find the target character string.

さて、これまで文字列変換装置および文字列変換方法の実施形態を中心に説明を行ったが、本発明はこれらの実施形態に限定されるものではなく、文字列変換装置の機能を実現するためのコンピュータプログラムとしての形態、あるいは、当該コンピュータプログラムが記録されたコンピュータ読み取り可能な記録媒体の形態として本発明が実施されることとしてもよい。   Now, the description has been made centering on the embodiments of the character string conversion device and the character string conversion method so far, but the present invention is not limited to these embodiments, and in order to realize the function of the character string conversion device. The present invention may be implemented as a form of a computer program or a form of a computer-readable recording medium on which the computer program is recorded.

ここで、記録媒体としては、ディスク系(例えば、磁気ディスク、光ディスク等)、カード系(例えば、メモリカード、光カード等)、半導体メモリ系(例えば、ROM、不揮発性メモリ等)、テープ系(例えば、磁気テープ、カセットテープ等)等、さまざまな形態のものを採用することができる。   Here, as a recording medium, a disk system (for example, magnetic disk, optical disk, etc.), a card system (for example, memory card, optical card, etc.), a semiconductor memory system (for example, ROM, nonvolatile memory, etc.), a tape system (for example) For example, various forms such as a magnetic tape and a cassette tape can be employed.

これら記録媒体に上述した本実施形態の文字列変換装置の機能を実現させるコンピュータプログラム、または、文字列変換方法をコンピュータに実行させるコンピュータプログラムを記録して流通させることにより、コストの低廉化、及び可搬性や汎用性を向上させることができる。   By recording and distributing a computer program for realizing the functions of the character string conversion device of the present embodiment described above or a computer program for causing a computer to execute the character string conversion method on these recording media, the cost can be reduced, and Portability and versatility can be improved.

そして、コンピュータに上記記録媒体を装着し、コンピュータにより記録媒体に記録されたコンピュータプログラムを読み出してメモリに格納し、コンピュータが備えるプロセッサ(CPU:Central Processing Unit, MPU:Micro Processing Unit)が当該コンピュータプログラムをメモリから読み出して実行することにより、本実施形態に係る文字列変換装置の機能を実現し、文字列変換方法を実行することができる。   Then, the above-mentioned recording medium is mounted on the computer, the computer program recorded on the recording medium is read out by the computer and stored in the memory, and the processor (CPU: Central Processing Unit, MPU: Micro Processing Unit) included in the computer is the computer program. Is read from the memory and executed, the function of the character string conversion apparatus according to the present embodiment can be realized, and the character string conversion method can be executed.

また、本発明は上述した実施形態に限定されず、本発明の要旨を逸脱しない範囲内で各種の変形、修正が可能である。   The present invention is not limited to the above-described embodiments, and various modifications and corrections can be made without departing from the scope of the present invention.

10…文章生成装置、11…入力部、12…入力インターフェース部、13…表示部、14…出力インターフェース部、15…通信インターフェース部、16…記憶部、16a…変換辞書データ、16b…文章データ、16c…文字列テーブル、16d…区切り記号テーブル、17…文章生成部、18…電子メール処理部、19…文字列登録部、20…文字列変換部、30,40…変換候補リスト
DESCRIPTION OF SYMBOLS 10 ... Text production | generation apparatus, 11 ... Input part, 12 ... Input interface part, 13 ... Display part, 14 ... Output interface part, 15 ... Communication interface part, 16 ... Memory | storage part, 16a ... Conversion dictionary data, 16b ... Text data, 16c ... Character string table, 16d ... Delimiter table, 17 ... Text generation unit, 18 ... E-mail processing unit, 19 ... Character string registration unit, 20 ... Character string conversion unit, 30, 40 ... Conversion candidate list

Claims (14)

入力文字列を変換する文字列変換装置であって、
文章の生成に用いられる出力文字列を記憶する記憶部と、
前記入力文字列の文字列変換の変換候補の中から1つの変換候補を選択する操作がなされたか否かを検出し、前記1つの変換候補を選択する操作がなされたことが検出された場合に、前記記憶部に記憶された出力文字列のうち、前記選択された変換候補と部分一致する出力文字列を検索し、検索された出力文字列を選択可能に表示部に表示させ、表示された出力文字列の中から1つの出力文字列が選択された場合に、選択された出力文字列を出力する文字列変換部と、
を備えることを特徴とする文字列変換装置。
A string converter for converting an input string,
A storage unit for storing an output character string used for generating a sentence;
When it is detected whether or not an operation for selecting one conversion candidate from among conversion candidates for character string conversion of the input character string has been performed, and when it is detected that an operation for selecting the one conversion candidate has been performed The output character string stored in the storage unit is searched for an output character string that partially matches the selected conversion candidate, and the searched output character string is displayed on the display unit in a selectable manner. A character string conversion unit that outputs the selected output character string when one output character string is selected from the output character strings;
A character string conversion device comprising:
文章の生成が完了したことを検出した場合に、文章を区切る区切り記号を登録した区切り記号情報に基づいて、生成された文章を複数の文字列に区切り、文章が区切られてできた複数の文字列を前記記憶部に前記出力文字列として記憶させる文字列登録部をさらに備えることを特徴とする請求項1に記載の文字列変換装置。   When it is detected that the generation of text has been completed, based on the delimiter information that registers the delimiters that separate the sentences, the generated text is divided into multiple character strings, and multiple characters are created by dividing the text The character string conversion device according to claim 1, further comprising a character string registration unit that stores a string in the storage unit as the output character string. 前記文字列登録部は、電子メールの送信を検出した場合に、前記区切り記号に基づいて電子メールの送信用に生成された文章を複数の文字列に区切り、該生成された文章が区切られてできた複数の文字列を前記記憶部に前記出力文字列として記憶させることを特徴とする請求項2に記載の文字列変換装置。   When the character string registration unit detects transmission of an e-mail, the character string registration unit divides a sentence generated for transmission of the e-mail based on the delimiter into a plurality of character strings, and the generated sentence is delimited. The character string conversion device according to claim 2, wherein a plurality of generated character strings are stored in the storage unit as the output character string. 前記文字列変換部は、前記入力文字列の文字列変換の変換候補を登録した変換辞書を用いて文字列変換を行い、前記文字列登録部は、前記文章が区切られてできた複数の文字列のうち、前記変換辞書に登録されている変換候補と一致する文字列は前記記憶部に前記出力文字列として記憶させる対象から除外することを特徴とする請求項2または3に記載の文字列変換装置。   The character string conversion unit performs character string conversion using a conversion dictionary in which conversion candidates for character string conversion of the input character string are registered, and the character string registration unit includes a plurality of characters formed by dividing the sentence. 4. The character string according to claim 2, wherein a character string that matches a conversion candidate registered in the conversion dictionary is excluded from objects to be stored as the output character string in the storage unit. 5. Conversion device. 前記文字列登録部は、前記文章が区切られてできた複数の文字列を前記記憶部に記憶させる際に、所定の文字数以上の文字列のみを記憶させることを特徴とする請求項2〜4のいずれか1項に記載の文字列変換装置。   5. The character string registration unit stores only a character string of a predetermined number of characters or more when storing a plurality of character strings formed by dividing the sentence in the storage unit. The character string conversion device according to any one of the above. 前記文字列登録部は、前記文章が区切られてできた複数の文字列を前記記憶部に記憶させる際に、1つの文章につき、所定の個数を上限として文字列を記憶させることを特徴とする請求項2〜5のいずれか1項に記載の文字列変換装置。   The character string registration unit stores a character string with a predetermined number as an upper limit for one sentence when the storage unit stores a plurality of character strings formed by dividing the sentence. The character string conversion device according to any one of claims 2 to 5. 前記文字列登録部は、前記文章が区切られてできた文字列が、都、道、府、県、市、区、町、村、郡、大字、字のいずれかの行政区画を示す文字を含んでいる場合に、該文章が区切られてできた文字列の先頭文字から前記行政区画を示す文字までの文字を除いた文字列を前記記憶部に前記出力文字列として記憶させることを特徴とする請求項2〜6のいずれか1項に記載の文字列変換装置。   The character string registration unit, the character string formed by dividing the sentence is a character indicating an administrative division of any of the capital, road, prefecture, prefecture, city, ward, town, village, county, large character, character. A character string excluding characters from the first character of the character string formed by dividing the sentence to the character indicating the administrative district is stored as the output character string in the storage unit. The character string conversion device according to any one of claims 2 to 6. 前記文字列登録部は、前記文章が複数の文字列に区切られた場合に、前記文章が区切られてできた複数の文字列を前記区切り記号を除いて前記記憶部に記憶させることを特徴とする請求項2〜7のいずれか1項に記載の文字列変換装置。   The character string registration unit, when the sentence is divided into a plurality of character strings, stores a plurality of character strings formed by dividing the sentence in the storage unit excluding the delimiter symbol. The character string conversion device according to any one of claims 2 to 7. 前記文字列登録部は、前記文章が区切られてできた複数の文字列を前記記憶部に記憶させる際に、該複数の文字列の記憶時に起動しているアプリケーションソフトウェアと対応付けて該文章が区切られてできた複数の文字列を前記出力文字列として記憶させ、前記文字列変換部は、前記1つの変換候補を選択する操作がなされた時に起動しているアプリケーションソフトウェアと対応付けて記憶された文字列の中から該選択された変換候補と部分一致する出力文字列を検索し、検索された出力文字列を選択可能に表示部に表示させることを特徴とする請求項2〜8のいずれか1項に記載の文字列変換装置。   When the character string registration unit stores a plurality of character strings formed by dividing the sentence in the storage unit, the character string registration unit associates with the application software activated when the plurality of character strings are stored. A plurality of separated character strings are stored as the output character string, and the character string conversion unit is stored in association with application software activated when an operation for selecting the one conversion candidate is performed. 9. An output character string that partially matches the selected conversion candidate is searched from the selected character string, and the searched output character string is displayed on the display unit so as to be selectable. The character string conversion device according to claim 1. 前記文字列登録部は、前記表示された出力文字列から1つの出力文字列が選択された場合に、選択された出力文字列を学習文字列として前記記憶部に記憶させ、前記文字列変換部は、前記1つの変換候補を選択する操作がなされた場合に、前記記憶部に記憶された出力文字列、および、学習文字列のうち、選択された変換候補と部分一致する出力文字列あるいは学習文字列を検索し、該出力文字列および学習文字列が検索された場合に検索された学習文字列を該出力文字列に優先して表示させることを特徴とする請求項2〜9のいずれか1項に記載の文字列変換装置。   When one output character string is selected from the displayed output character string, the character string registration unit stores the selected output character string in the storage unit as a learning character string, and the character string conversion unit Is an output character string or learning that partially matches the selected conversion candidate among the output character string stored in the storage unit and the learning character string when an operation for selecting the one conversion candidate is performed. The character string is searched, and when the output character string and the learning character string are searched, the searched learning character string is displayed in preference to the output character string. The character string conversion device according to item 1. 前記文字列登録部は、選択された出力文字列を学習文字列として前記記憶部に記憶させる際に、該学習文字列の記憶時に起動しているアプリケーションソフトウェアと対応付けて該学習文字列を記憶させ、前記文字列変換部は、前記1つの変換候補を選択する操作がなされた時に起動しているアプリケーションソフトウェアと対応付けて記憶された学習文字列の中から該選択された変換候補と部分一致する学習文字列を検索し、検索された学習文字列を表示部に表示させることを特徴とする請求項2〜10のいずれか1項に記載の文字列変換装置。   The character string registration unit stores the learning character string in association with the application software activated when the learning character string is stored when the selected output character string is stored in the storage unit as the learning character string. The character string conversion unit partially matches the conversion candidate selected from the learning character string stored in association with the application software activated when the operation for selecting the one conversion candidate is performed. The character string conversion device according to any one of claims 2 to 10, wherein a learning character string to be searched is searched and the searched learning character string is displayed on a display unit. 入力文字列を変換する文字列変換方法であって、
前記入力文字列の文字列変換の変換候補の中から1つの変換候補を選択する操作がなされたか否かを検出する検出ステップと、
前記検出ステップにおいて前記1つの変換候補を選択する操作がなされたことが検出された場合に、記憶部に記憶された出力文字列のうち、選択された変換候補と部分一致する出力文字列を検索する検索ステップと、
前記検索ステップにおいて検索された出力文字列を選択可能に表示部に表示させ、表示された出力文字列の中から1つの出力文字列が選択された場合に、選択された出力文字列を出力する出力ステップと、
を含むことを特徴とする文字列変換方法。
A string conversion method for converting an input string,
A detection step of detecting whether or not an operation for selecting one conversion candidate from conversion candidates for character string conversion of the input character string has been performed;
When it is detected in the detection step that an operation for selecting the one conversion candidate has been performed, an output character string that partially matches the selected conversion candidate is searched from the output character strings stored in the storage unit A search step to
The output character string searched in the search step is displayed in a selectable manner on the display unit, and when one output character string is selected from the displayed output character strings, the selected output character string is output. An output step;
A character string conversion method comprising:
請求項12に記載の文字列変換方法をコンピュータに実行させることを特徴とするコンピュータプログラム。   A computer program for causing a computer to execute the character string conversion method according to claim 12. 請求項13に記載のコンピュータプログラムを記録したことを特徴とするコンピュータが読み取り可能な記録媒体。   A computer-readable recording medium having the computer program according to claim 13 recorded thereon.
JP2010227172A 2010-10-07 2010-10-07 Character string conversion device, character string conversion method, computer program, and recording medium Expired - Fee Related JP5629543B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010227172A JP5629543B2 (en) 2010-10-07 2010-10-07 Character string conversion device, character string conversion method, computer program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010227172A JP5629543B2 (en) 2010-10-07 2010-10-07 Character string conversion device, character string conversion method, computer program, and recording medium

Publications (2)

Publication Number Publication Date
JP2012083815A true JP2012083815A (en) 2012-04-26
JP5629543B2 JP5629543B2 (en) 2014-11-19

Family

ID=46242639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010227172A Expired - Fee Related JP5629543B2 (en) 2010-10-07 2010-10-07 Character string conversion device, character string conversion method, computer program, and recording medium

Country Status (1)

Country Link
JP (1) JP5629543B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014026514A (en) * 2012-07-27 2014-02-06 Fujitsu Ltd Character input support program, character input support method, and character input support device
JP2015064759A (en) * 2013-09-25 2015-04-09 富士通株式会社 Electric device, conversion candidate registration program, and conversion candidate registration method
JP2016115128A (en) * 2014-12-15 2016-06-23 学校法人立命館 Message processing apparatus, terminal device, and computer program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10269214A (en) * 1997-03-25 1998-10-09 Toshiba Corp Processor and method for document preparation
WO1998058329A1 (en) * 1997-06-17 1998-12-23 Omron Corporation Information processing apparatus and method, and recording medium containing information processing program stored therein
JP2002157241A (en) * 2000-09-06 2002-05-31 Fujitsu Ltd Dictionary preparing device
JP2003323380A (en) * 2002-02-26 2003-11-14 Matsushita Electric Ind Co Ltd Information processor, information processing method and information processing program
JP2004295426A (en) * 2003-03-26 2004-10-21 Sanyo Electric Co Ltd Communication system, server, communication terminal device, communication method and user dictionary registering method of server and communication terminal equipment
JP2008186235A (en) * 2007-01-30 2008-08-14 Sony Computer Entertainment Inc Character input device, its control method, program, and information storage medium
JP2009277015A (en) * 2008-05-14 2009-11-26 Fujitsu Ltd Input support program, input support apparatus and input support method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10269214A (en) * 1997-03-25 1998-10-09 Toshiba Corp Processor and method for document preparation
WO1998058329A1 (en) * 1997-06-17 1998-12-23 Omron Corporation Information processing apparatus and method, and recording medium containing information processing program stored therein
JP2002157241A (en) * 2000-09-06 2002-05-31 Fujitsu Ltd Dictionary preparing device
JP2003323380A (en) * 2002-02-26 2003-11-14 Matsushita Electric Ind Co Ltd Information processor, information processing method and information processing program
JP2004295426A (en) * 2003-03-26 2004-10-21 Sanyo Electric Co Ltd Communication system, server, communication terminal device, communication method and user dictionary registering method of server and communication terminal equipment
JP2008186235A (en) * 2007-01-30 2008-08-14 Sony Computer Entertainment Inc Character input device, its control method, program, and information storage medium
JP2009277015A (en) * 2008-05-14 2009-11-26 Fujitsu Ltd Input support program, input support apparatus and input support method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014026514A (en) * 2012-07-27 2014-02-06 Fujitsu Ltd Character input support program, character input support method, and character input support device
JP2015064759A (en) * 2013-09-25 2015-04-09 富士通株式会社 Electric device, conversion candidate registration program, and conversion candidate registration method
JP2016115128A (en) * 2014-12-15 2016-06-23 学校法人立命館 Message processing apparatus, terminal device, and computer program

Also Published As

Publication number Publication date
JP5629543B2 (en) 2014-11-19

Similar Documents

Publication Publication Date Title
CN102439540B (en) Input method editor
US10073536B2 (en) Virtual keyboard input for international languages
JP5997217B2 (en) A method to remove ambiguity of multiple readings in language conversion
US9779080B2 (en) Text auto-correction via N-grams
US7777717B2 (en) Handheld electronic device and method for performing spell checking during text entry and for integrating the output from such spell checking into the output from disambiguation
US10803241B2 (en) System and method for text normalization in noisy channels
US20070240045A1 (en) Handheld electronic device and method for performing spell checking during text entry and for providing a spell-check learning feature
JP2007004633A (en) Language model generation device and language processing device using language model generated by the same
US8976118B2 (en) Method for character correction
US20140380169A1 (en) Language input method editor to disambiguate ambiguous phrases via diacriticization
US20140026043A1 (en) Computer product, input support method, and input support apparatus
JP2015022590A (en) Character input apparatus, character input method, and character input program
US10387543B2 (en) Phoneme-to-grapheme mapping systems and methods
JP5629543B2 (en) Character string conversion device, character string conversion method, computer program, and recording medium
US10699074B2 (en) Phrase-level abbreviated text entry and translation
US20090063136A1 (en) Information processing apparatus, information processing method, and information processing program
JPH08314910A (en) Different kind of code character string transcribing device and electronic dictionary
JP2019159826A (en) Display control program, display control device, and display control method
JP7102710B2 (en) Information generation program, word extraction program, information processing device, information generation method and word extraction method
JP6933395B2 (en) Automatic translation device and automatic translation program
WO2016107611A1 (en) Method and device for text search for mobile terminal
KR101362142B1 (en) Computer-readable recording medium having recorded thereon a program for correcting missing word shift keys and a method thereof
WO2019225560A1 (en) Search word suggestion device, method for generating unique expression information, and program for generating unique expression information
CN117892724B (en) Text detection method, device, equipment and storage medium
JP2019159118A (en) Output program, information processing device, and output control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131001

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140428

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140624

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140930

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141006

R150 Certificate of patent or registration of utility model

Ref document number: 5629543

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees