JPH1011466A - Document preparing device and dictionary information acquisition method - Google Patents

Document preparing device and dictionary information acquisition method

Info

Publication number
JPH1011466A
JPH1011466A JP8167535A JP16753596A JPH1011466A JP H1011466 A JPH1011466 A JP H1011466A JP 8167535 A JP8167535 A JP 8167535A JP 16753596 A JP16753596 A JP 16753596A JP H1011466 A JPH1011466 A JP H1011466A
Authority
JP
Japan
Prior art keywords
dictionary
search
character string
character
designated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8167535A
Other languages
Japanese (ja)
Inventor
Miki Takahashi
未来 高橋
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP8167535A priority Critical patent/JPH1011466A/en
Publication of JPH1011466A publication Critical patent/JPH1011466A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily acquire a desired retrieval result by carrying out the normal retrieval to retrieve a dictionary based on a designated character string and the extension retrieval to retrieve the dictionary based on a character string obtained by adding a character string to another. SOLUTION: A dictionary retrieval part 18 retrieves a dictionary part 20 based on the reading and header character strings which are received from an input control processing part 12 and then stores the acquired retrieval candidates in a dictionary retrieval result storage part 22. That is, a dictionary is retrieved based not only on a designated character string given from the part 12 but on every character string that is obtained by adding both preceding and next characters of the designated character string to this string with one by one word. Furthermore, the dictionary is also retrieved based on a character string consisting of each character divided from the designated character string in addition to this string given from the part 12. In such cases, the dictionary retrieval carried out based on a designated character string is referred to as the normal retrieval and the dictionary retrieval carried out based on a character string including or included in the designated string is referred to as the extension retrieval respectively.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、読みや見出し等の
文字列と、同文字列に関係する情報が対応づけられて登
録されている辞書、例えば国語辞書や英和辞書を、任意
に指定された文字列をもとに、検索して提示する辞書検
索機能を有する文書作成装置及び辞書情報取得方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dictionary, such as a Japanese language dictionary or an English-Japanese dictionary, in which a character string such as a reading or a heading is registered in association with information relating to the character string. The present invention relates to a document creation apparatus having a dictionary search function for searching and presenting based on a character string obtained, and a dictionary information acquisition method.

【0002】[0002]

【従来の技術】一般に、日本語ワードプロセッサや、文
書作成用アプリケーションプログラムに基づいてパーソ
ナルコンピュータ等で実現される文書作成装置において
は、文書を作成する機能の他に、文書作成を支援するた
めの辞書検索機能が設けられたものがある。
2. Description of the Related Art Generally, in a document creation device realized by a personal computer or the like based on a Japanese word processor or a document creation application program, a dictionary for supporting document creation is provided in addition to a document creation function. Some have a search function.

【0003】辞書検索機能では、読みや見出し等の文字
列と、同文字列に関係する情報が対応づけられて登録さ
れている辞書、例えば国語辞書や英和辞書を、任意に指
定された文字列をもとに、検索して提示することができ
る。こうして辞書検索機能によって検索された情報を参
照することで、文書を作成する際に参考にすることがで
き、文書作成の効率化が図れる。
[0003] The dictionary search function stores a dictionary such as a Japanese language dictionary or English-Japanese dictionary in which a character string such as a reading or a heading is associated with information related to the character string. , And can be retrieved and presented. By referring to the information searched by the dictionary search function in this way, it can be used as a reference when creating a document, and the efficiency of document creation can be improved.

【0004】文字列を指定する方法としては、作成中の
文書(文字列)中から辞書検索用として特定の文字列部
分を範囲指定する方法や、辞書検索用の文字列を作成中
の文書とは別に入力する方法などがある。
As a method of specifying a character string, there is a method of specifying a specific character string portion for a dictionary search from a document (character string) being created, and a method of specifying a character string for a dictionary search. There is a method of inputting separately.

【0005】検索対象とする辞書を国語辞書とする国語
辞書検索機能では、指定された文字列が読みの場合に
は、その読みをもとにして見出しと意味とが検索され、
また指定された文字列が見出しの場合には、見出しをも
とにして意味が検索される。
In a Japanese language dictionary search function in which a dictionary to be searched is a Japanese language dictionary, when a specified character string is a reading, a heading and a meaning are searched based on the reading, and
If the specified character string is a heading, the meaning is searched based on the heading.

【0006】この機能は、ユーザが指定した文字列に対
応する検索候補のみを表示するため、ユーザが辞書に登
録されている意味に対応する正しい文字列を指定できな
かった場合や、指定文字列が辞書に登録されていなかっ
た場合などには、文字列の範囲指定のやり直し、あるい
は文字列の再入力などが必要となり、また、本来の意味
を辞書検索によって正しく取得できないこともある。そ
の例について以下に説明する。
This function displays only the search candidates corresponding to the character string specified by the user. Therefore, when the user cannot specify the correct character string corresponding to the meaning registered in the dictionary, or when the specified character string is not specified. If the character string is not registered in the dictionary, it is necessary to redo the specification of the range of the character string or to re-enter the character string, and the original meaning may not be correctly obtained by the dictionary search. An example will be described below.

【0007】(例1)「一日千秋」が熟語であることが
分からず、国語辞書を検索する場合、意味の分かる「一
日」を除いた「千秋」を指定文字列とすることがある。
従来では、指定文字列をもとに国語辞書から検索された
検索候補として、その一覧中に指定文字列「千秋」の意
味だけが表示される。これにより、ユーザは「一日」と
「千秋」のそれぞれの意味が分かる。しかし、「一日千
秋」が「待ちどおしいこと」という意味であることは分
からない。
(Example 1) When it is not known that "Chiaki one day" is an idiom and a Japanese language dictionary is searched, "Chiaki" excluding "One day", which is meaningful, may be used as a designated character string. .
Conventionally, only the meaning of the designated character string "Chiaki" is displayed in the list as a search candidate retrieved from the Japanese language dictionary based on the designated character string. Thus, the user can understand the meaning of “one day” and “Chiaki”. However, I don't know that "Chiaki a day" means "waiting".

【0008】(例2)「情緒」と「不安定」については
登録されているが、「情緒不安定」が登録されていない
国語辞書において、「情緒不安定」の意味を検索する場
合、従来では「候補なし」となってしまう。この場合、
「情緒」と「不安定」の意味が分かれば「情緒不安定」
の意味を推測できるが、指定した見出し「情緒不安定」
からでは、それぞれの意味を取得することができない。
(Example 2) When searching for the meaning of "emotional instability" in a Japanese language dictionary in which "emotional" and "unstable" are registered but "emotional instable" is not registered, Then, there is no candidate. in this case,
If you understand the meaning of "emotional" and "unstable", "emotional instability"
Can be guessed, but the specified heading "emotional instability"
Cannot get the meaning of each.

【0009】[0009]

【発明が解決しようとする課題】このように従来の文書
作成装置においては、国語辞書検索機能は、ユーザが指
定した文字列の候補のみを表示するため、ユーザが正し
い範囲を指定できなかった場合や、指定文字列が辞書に
登録されていなかった場合などには、文字列範囲の指定
のやり直し、指定文字列の再入力が必要となるために、
操作が繁雑となってしまう。また、本来の意味を辞書検
索によって正しく取得できないこともあった。
As described above, in the conventional document creating apparatus, the Japanese language dictionary search function displays only character string candidates specified by the user, so that the user cannot specify the correct range. If the specified character string is not registered in the dictionary, it is necessary to redo the specification of the character string range and re-enter the specified character string.
Operation becomes complicated. In addition, the original meaning may not be correctly obtained by dictionary search.

【0010】本発明は前記のような事情を考慮してなさ
れたもので、1度の文字列の指定のみで、指定文字列以
外の文字列によっても辞書の検索を行なうことで、所望
する検索結果を簡単に取得することが可能な文書作成装
置及び辞書情報取得方法を提供することを目的とする。
The present invention has been made in view of the above-mentioned circumstances, and a dictionary is searched by using a character string other than the specified character string only once by specifying a character string, so that a desired search can be performed. It is an object of the present invention to provide a document creation device and a dictionary information acquisition method capable of easily acquiring a result.

【0011】[0011]

【課題を解決するための手段】本発明は、任意に指定さ
れた文字列をもとに、辞書に登録されている情報を検索
して提示する辞書検索機能を有する文書作成装置におい
て、指定対象となる文字列と、同文字列に関係する情報
が対応づけられて登録されている辞書と、指定された文
字列をもとに前記辞書を検索する通常検索と共に、前記
文字列に他の文字が付加された文字列をもとに前記辞書
を検索する拡張検索とを実行する辞書検索手段と、前記
辞書検索手段による検索によって前記辞書から得られた
情報を検索候補として格納するための辞書検索結果格納
手段と、前記辞書検索結果格納手段に格納された検索候
補を表示する表示手段とを具備したことを特徴とする。
SUMMARY OF THE INVENTION The present invention relates to a document creation apparatus having a dictionary search function for searching and presenting information registered in a dictionary based on an arbitrarily specified character string. And a dictionary in which information relating to the character string is registered in association with the character string, and a normal search for searching the dictionary based on the specified character string, and other characters in the character string. Dictionary search means for executing an extended search for searching the dictionary based on the character string to which is added, and a dictionary search for storing information obtained from the dictionary by the search by the dictionary search means as a search candidate And a display unit for displaying the search candidates stored in the dictionary search result storage unit.

【0012】これにより、辞書検索のために指定した文
字列だけに限らず、指定文字列を包含する文字列によっ
ても辞書検索が行なわれるので、たとえ文字列を正しく
範囲指定できない、あるいは指定文字列が辞書に登録さ
れていなくても、指定文字列に関連する文字列をもとに
した検索候補が取得される。
Thus, the dictionary search is performed not only by the character string specified for the dictionary search but also by the character string including the specified character string. Even if is not registered in the dictionary, a search candidate based on a character string related to the specified character string is obtained.

【0013】また、前記辞書を検索するために指定され
る文字列は、同文字列を含む文字列中から部分的に選択
指定されるものであり、前記辞書検索手段は、部分的に
選択指定された文字列に、同文字列と連続する文字を付
加した文字列をもとに前記辞書を検索することを特徴と
する。
The character string specified for searching the dictionary is partially selected and specified from a character string including the same character string, and the dictionary search means is partially selected and specified. The dictionary is searched based on a character string obtained by adding a character that is continuous with the same character string to the character string obtained.

【0014】これにより、指定文字列以外に、範囲指定
により部分的に選択指定された文字列に連続する文字、
すなわち前あるいは後に続く文字を付加して得られる文
字列をもとに辞書検索が実行される。
Thus, in addition to the designated character string, characters that are continuous with the character string partially selected and designated by the range designation,
That is, a dictionary search is executed based on a character string obtained by adding a preceding or succeeding character.

【0015】また、前記辞書検索手段は、部分的に選択
指定された文字列に対する文字の付加を、前記辞書に登
録されている指定対象となる文字列の最大文字数まで1
文字毎に行ない、それぞれの文字列によって前記辞書を
検索することを特徴とする。
The dictionary search means may add a character to a partially selected and designated character string up to the maximum number of characters of a designated character string registered in the dictionary.
It is performed for each character, and the dictionary is searched by each character string.

【0016】これにより、指定文字列以外に、範囲指定
により部分的に選択指定された文字列に連続する文字、
すなわち前あるいは後に続く文字を1文字毎に付加して
得られる文字列をもとに辞書検索が実行されるため、範
囲指定が誤った場合であっても辞書から正しい意味を取
得することができる。
Thus, in addition to the designated character string, characters that are continuous with the character string partially selected and designated by the range designation,
That is, since the dictionary search is performed based on the character string obtained by adding the preceding or succeeding character for each character, the correct meaning can be obtained from the dictionary even when the range is incorrectly specified. .

【0017】また本発明は、任意に指定された文字列を
もとに、辞書に登録されている情報を検索して提示する
辞書検索機能を有する文書作成装置において、指定対象
となる文字列と、同文字列に関係する情報が対応づけら
れて登録されている辞書と、指定された文字列をもとに
前記辞書を検索する通常検索と共に、前記文字列を分割
して得られる少なくとも1文字からなる文字列をもとに
前記辞書を検索する拡張検索とを実行する辞書検索手段
と、前記辞書検索手段による検索によって前記辞書から
得られた情報を検索候補として格納するための辞書検索
結果格納手段と、前記辞書検索結果格納手段に格納され
た検索候補を表示する表示手段とを具備したことを特徴
とする。
According to the present invention, there is provided a document creating apparatus having a dictionary search function for searching and presenting information registered in a dictionary based on an arbitrarily designated character string. At least one character obtained by dividing the character string together with a dictionary in which information related to the character string is registered in association with the dictionary, and a normal search for searching the dictionary based on the specified character string Dictionary search means for performing an extended search for searching the dictionary based on a character string consisting of: and a dictionary search result storage for storing information obtained from the dictionary by the search by the dictionary search means as search candidates Means, and display means for displaying search candidates stored in the dictionary search result storage means.

【0018】これにより、辞書検索のために指示した文
字列以外に、指定文字に包含される文字列についても辞
書検索が行われ、該当する文字列が辞書に登録されてい
れば、その文字列に対応する検索結果も取得することが
できる。
Thus, in addition to the character string designated for the dictionary search, a dictionary search is performed for a character string included in the designated character, and if the corresponding character string is registered in the dictionary, the character string is Can also be obtained.

【0019】また、前記表示手段は、前記辞書検索結果
格納手段に格納された検索候補を、前記辞書検索手段に
よる前記通常検索によって得られた候補と、前記拡張検
索によって得られた候補とで異なる表示形態によって表
示することを特徴とする。
Further, the display means differs in the search candidates stored in the dictionary search result storage means between the candidates obtained by the normal search by the dictionary search means and the candidates obtained by the extended search. Characters are displayed according to the display mode.

【0020】これにより、指定文字列の候補と拡張検索
によって追加された検索候補とが識別しやすくなり、辞
書の検索作業が容易となる。また、前記表示手段は、前
記辞書検索手段によって前記辞書を検索する際に用いた
文字列と、対応する検索結果とを表示するものであっ
て、前記文字列中の指定された文字列部分だけを異なる
表示形態によって表示することを特徴とする。
This makes it easier to identify the designated character string candidate and the search candidate added by the extended search, thereby facilitating the dictionary search operation. The display means displays a character string used when searching the dictionary by the dictionary search means and a corresponding search result, and displays only a specified character string part in the character string. Are displayed in different display modes.

【0021】これにより、指定文字列によって得られた
検索候補の所在は勿論、拡張検索機能によって追加され
た検索候補の何れの部分に指定文字列が含まれているか
が識別しやすくなり、辞書の検索作業が容易となる。
This makes it easy to identify not only the location of the search candidate obtained from the specified character string but also which part of the search candidate added by the extended search function contains the specified character string. Search work becomes easy.

【0022】また、前記辞書を検索するために指定され
た文字列を含む文字列を表示しながら、前記辞書検索手
段によって前記辞書を検索し、前記辞書検索手段による
拡張検索によって検索候補が得られた際に、表示されて
いる文字列において前記拡張検索の対象としている文字
列部分を異なる表示形態によって表示することを特徴と
する。
The dictionary search unit searches the dictionary while displaying a character string including a character string designated to search the dictionary, and a search candidate is obtained by an extended search by the dictionary search unit. In this case, a character string portion to be subjected to the extended search in the displayed character string is displayed in a different display form.

【0023】これにより、指定文字列に対応する検索候
補を提示させる前に拡張検索による検索候補の存在、文
字数が容易に識別することができる。また、前記辞書検
索手段による拡張検索を行なうか否かを設定する設定手
段を具備し、前記辞書検索手段は、前記設定手段による
設定に応じて、拡張検索を行なうか否かを制御すること
を特徴とする。これにより、拡張検索を行なうか否かを
ユーザが任意に指定することができる。
Thus, the presence and the number of characters of the search candidate by the extended search can be easily identified before the search candidate corresponding to the designated character string is presented. The apparatus further comprises setting means for setting whether or not to perform an extended search by the dictionary search means, wherein the dictionary search means controls whether or not to perform an extended search according to the setting by the setting means. Features. Thus, the user can arbitrarily specify whether to perform the extended search.

【0024】[0024]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について説明する。図1は本実施形態に係わる
文書作成装置の構成を示すブロック図である。図1に示
すように、本実施形態における文書作成装置は、入力部
10、入力制御処理部12、かな漢字変換部14、かな
漢字変換辞書部16、辞書検索部18、辞書部20、辞
書検索結果格納部22、及び表示部24によって構成さ
れている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of a document creation device according to the present embodiment. As shown in FIG. 1, the document creation apparatus according to the present embodiment includes an input unit 10, an input control processing unit 12, a kana-kanji conversion unit 14, a kana-kanji conversion dictionary unit 16, a dictionary search unit 18, a dictionary unit 20, and a dictionary search result storage. It comprises a unit 22 and a display unit 24.

【0025】入力部10は、キーボード等の入力デバイ
スから各種情報を入力するもので、かな漢字変換部14
を用いた文書作成のための文字入力や、辞書検索部18
を用いた辞書部20の検索のための文字列の指定、各種
機能指示を入力するために用いられる。文字列を指定す
る方法としては、作成中の文書(文字列)中から辞書検
索用として特定の文字列部分(辞書に登録されている読
みや見出しに対する)を範囲指定する方法や、辞書検索
用の文字列を作成中の文書とは別に入力する方法などが
ある。機能指示の入力には、辞書検索部18による辞書
部20に対する検索において、拡張検索を実行するか否
かを指示するキーあるいはモード切り替えキーによる入
力の他、かな漢字変換部14によるかな漢字変換の実行
を指示する変換キーの入力、辞書検索部18による辞書
検索の実行を指示する検索キーの入力を含む。
The input unit 10 is for inputting various information from an input device such as a keyboard.
Input for creating a document using the dictionary, a dictionary search unit 18
Is used to specify a character string for searching the dictionary unit 20 using the, and to input various function instructions. To specify a character string, you can specify a specific character string part (for readings and headings registered in the dictionary) for dictionary search in the document (character string) being created, or for dictionary search For example, there is a method of inputting a character string separately from the document being created. The input of the function instruction includes, in the search of the dictionary unit 20 by the dictionary search unit 18, a key for instructing whether or not to execute the extended search or a mode switching key, and the kana-kanji conversion unit 14 executing the kana-kanji conversion. This includes input of a conversion key to instruct, and input of a search key to instruct execution of a dictionary search by the dictionary search unit 18.

【0026】入力制御処理部12は、入力部10(例え
ばキーボード)からの入力管理などの制御を行なう。変
換キーから入力があった場合、かな漢字変換が指示され
ている読みとその範囲を判断して、かな漢字変換部14
に送る。また、検索キーから入力があった場合、検索が
指示されている範囲、その文字種類(ひらがなやかな漢
字変換済みの文字列による見出しなど)を判断し、その
範囲と文字種類を辞書検索部18に送る。
The input control processing unit 12 controls input management from the input unit 10 (for example, a keyboard). When an input is made from the conversion key, the kana-kanji conversion unit 14 determines the reading and the range in which the kana-kanji conversion is specified,
Send to Also, when an input is made from the search key, the range in which the search is instructed and the character type (such as a heading of a character string that has been converted to kanji in hiragana) are determined, and the range and the character type are determined by the dictionary search unit 18. send.

【0027】かな漢字変換部14は、入力制御処理部1
2から送られた読みを、かな漢字変換辞書部16を参照
してかな漢字混じり文などに変換する。かな漢字変換辞
書部16は、かな漢字変換部14によるかな漢字変換の
再に参照されるもので、読みとかな漢字変換結果が関連
付けられて登録されている。
The kana-kanji conversion unit 14 is provided with the input control processing unit 1
2 is converted to a kana-kanji mixed sentence or the like with reference to the kana-kanji conversion dictionary unit 16. The kana-kanji conversion dictionary unit 16 is referred to again for the kana-kanji conversion performed by the kana-kanji conversion unit 14, and has registered therein the reading and the kana-kanji conversion result.

【0028】辞書検索部18は、入力制御処理部12か
ら送られた読みや見出しの文字列をもとに辞書部20を
検索し、検索して得られた検索候補を辞書検索結果格納
部22に格納する。また、辞書検索部18は、辞書検索
結果格納部22に格納した検索候補の表示形態を表示部
24に指示する。辞書検索部18は、次のような機能を
有する。
The dictionary search unit 18 searches the dictionary unit 20 based on the character strings of readings and headings sent from the input control processing unit 12, and stores search candidates obtained by the search in the dictionary search result storage unit 22. To be stored. Further, the dictionary search unit 18 instructs the display unit 24 on the display form of the search candidates stored in the dictionary search result storage unit 22. The dictionary search unit 18 has the following functions.

【0029】(1)辞書検索部18は、入力制御処理部
12から送られた指定文字列以外に、指定文字列に指定
文字列の前後の文字を1文字ずつつけ加えて生成される
各文字列によっても辞書検索を行なう。入力文字列に付
け加える文字は、範囲指定された文字列において句読点
があるまでの各文字、あるいは辞書部20に登録されて
いる指定対象となる文字列の最大文字数までとする。
(2)辞書検索部18は、入力制御処理部12から送ら
れた指定文字列以外に、指定文字列を分割して得られる
少なくとも1文字からなる文字列をもとに辞書検索を行
なう。なお、(1)(2)において指定文字列による辞
書検索を通常検索とし、前述した(1)における指定文
字列を包含する文字列または(2)における指定文字列
に包含される文字列による辞書検索を拡張検索とする。
(3)辞書検索部18は、指定文字列による通常検索に
よって得られた検索候補と、拡張検索によって得られた
検索候補の表示形態を変えるため、辞書検索結果格納部
22に格納されている検索候補の中で通常検索による検
索候補を識別する。(4)辞書検索部18は、指定文字
列による通常検索によって得られた検索候補と、拡張検
索によって得られた検索候補の表示形態を変えるため
(検索候補には見出しを含む)、各検索候補の何文字目
から何文字目が指定文字列であるかの判断を行なう。
(5)辞書検索部18は、拡張検索を行なった結果、辞
書より検索候補が得られると、辞書検索に用いた文字列
部分を異なる表示形態によって表示させる。(6)辞書
検索部18は、拡張検索を行なうか否かの設定(あるい
は指定)に応じて、辞書部20に対する辞書検索を制御
する。
(1) In addition to the specified character string sent from the input control processing unit 12, the dictionary search unit 18 generates each character string generated by adding characters before and after the specified character string to the specified character string one by one. Also performs a dictionary search. The characters to be added to the input character string are the characters up to the punctuation mark in the character string specified in the range, or the maximum number of characters of the character string to be specified registered in the dictionary unit 20.
(2) The dictionary search unit 18 performs a dictionary search based on a character string composed of at least one character obtained by dividing the specified character string, in addition to the specified character string sent from the input control processing unit 12. Note that the dictionary search based on the specified character string in (1) and (2) is regarded as a normal search, and the dictionary based on the character string including the specified character string in (1) or the character string included in the specified character string in (2) described above. Let the search be an extended search.
(3) The dictionary search unit 18 searches for the search candidates stored in the dictionary search result storage unit 22 in order to change the display form of the search candidates obtained by the normal search using the designated character string and the search candidates obtained by the extended search. A search candidate by the normal search is identified from the candidates. (4) The dictionary search unit 18 changes the display form of the search candidate obtained by the normal search using the designated character string and the search candidate obtained by the extended search (the search candidate includes a heading). It is determined from what character to what character is the designated character string.
(5) As a result of performing the extended search, when a search candidate is obtained from the dictionary, the dictionary search unit 18 displays the character string used in the dictionary search in a different display mode. (6) The dictionary search unit 18 controls the dictionary search for the dictionary unit 20 according to the setting (or designation) of whether or not to perform the extended search.

【0030】辞書部20は、各種辞書(英和辞書、和英
辞書、英英辞書、類語辞書等)が格納されており、例え
ば国語辞書部20aが用意されている。辞書部20に
は、読みと読みに対応する見出し、意味などが登録され
ている。辞書検索は、読みあるいは見出しの何れかの文
字列から可能であり、読みからの場合、見出しとその意
味、見出しからの場合、対応する意味が検索結果として
抽出される。
The dictionary section 20 stores various dictionaries (English-Japanese dictionary, Japanese-English dictionary, English-English dictionary, synonym dictionary, etc.), and for example, a Japanese language dictionary section 20a is prepared. In the dictionary unit 20, readings, headings and meanings corresponding to the readings are registered. The dictionary search can be performed from a character string of either a reading or a heading. In the case of reading, a heading and its meaning, and in the case of a heading, the corresponding meaning are extracted as a search result.

【0031】辞書検索結果格納部22は、辞書検索部1
8による辞書部20への辞書検索の結果(検索候補)が
格納される。辞書検索結果格納部22に格納される検索
候補は、全て表示に供されるのではなく必要に応じて選
択される。
The dictionary search result storage unit 22 stores the dictionary search unit 1
The result (search candidate) of the dictionary search to the dictionary unit 20 by the search unit 8 is stored. The search candidates stored in the dictionary search result storage unit 22 are not provided for display but are selected as needed.

【0032】表示部24は、かな漢字変換部14による
かな漢字変換によって作成された文字列(辞書検索に用
いる見出し等)や、辞書検索部18による辞書検索によ
って取得され辞書検索結果格納部22に格納されている
検索候補を表示する。表示部24は、辞書検索部18か
らの指示に応じて、検索候補の表示において、特定部分
を異なる表示形態にして強調表示する。
The display unit 24 is obtained by a kana-kanji conversion by the kana-kanji conversion unit 14, such as a character string (a heading used for a dictionary search), or obtained by a dictionary search by the dictionary search unit 18 and stored in the dictionary search result storage unit 22. Display the search suggestions you have. In response to an instruction from the dictionary search unit 18, the display unit 24 highlights a specific part in a different display form in displaying search candidates.

【0033】次に、本発明の第1実施形態の動作につい
て、図2に示すフローチャートを参照しながら説明す
る。なお、辞書検索を開始する前に、辞書検索に関する
モード設定可能となっている。辞書検索に関するモード
設定の実行が指示されると、例えば図3に示すように、
拡張検索を行なうか否か(あり/なし)を設定するため
の画面が提示され、この表示画面中で任意に何れかを指
定することができる。辞書検索部18は、ここで設定さ
れたモードに応じて、辞書部20に対する指示書検索を
実行する。
Next, the operation of the first embodiment of the present invention will be described with reference to the flowchart shown in FIG. Before the dictionary search is started, a mode related to the dictionary search can be set. When the execution of the mode setting related to the dictionary search is instructed, for example, as shown in FIG.
A screen for setting whether or not to perform the extended search (present / absent) is presented, and any one can be arbitrarily designated on this display screen. The dictionary search unit 18 executes an instruction search for the dictionary unit 20 according to the mode set here.

【0034】また、図3に示すような画面を用いたモー
ド設定の他にも、入力部10から拡張検索ありの辞書検
索の実行を指示することで、辞書検索部18による辞書
検索を制御することができる。例えば、入力部10(キ
ーボード)の所定のキーに、拡張検索あり/なしそれぞ
れの辞書検索の実行指示用に割り当てておく。
In addition to the mode setting using the screen as shown in FIG. 3, the dictionary search by the dictionary search unit 18 is controlled by instructing the execution of the dictionary search with the extended search from the input unit 10. be able to. For example, a predetermined key of the input unit 10 (keyboard) is assigned to an instruction to execute a dictionary search with or without an extended search.

【0035】ここでは、辞書部20に格納された国語辞
書部20aに対する辞書検索を行なう場合を例にして説
明する。まず、入力部10から国語辞書検索指定と共
に、辞書検索のための文字列(指定文字列)が入力され
ると、入力制御処理部12を介して辞書検索部18に通
知される(ステップA1)。ここでは、作成中の文書
(文字列)から特定の範囲指定によって辞書を検索する
ための文字列が指定されるものとする。
Here, a case will be described as an example where a dictionary search is performed for the Japanese language dictionary section 20a stored in the dictionary section 20. First, when a character string for dictionary search (designated character string) is input from the input unit 10 together with a Japanese language dictionary search designation, the dictionary search unit 18 is notified via the input control processing unit 12 (step A1). . Here, it is assumed that a character string for searching a dictionary is specified by specifying a specific range from a document (character string) being created.

【0036】図4(a)には指定文字列を文書中におい
て範囲指定した状態の表示画面を示している。図4
(a)は「…4月は一日千秋の思い、…」という文書に
おいて、意味のわからない「千秋」について国語辞書を
検索しようとした状態を示している。表示部24は、辞
書検索用の文字列として範囲指定された「千秋」を、他
の文字列とは異なる表示形態、例えば反転表示させてお
く。
FIG. 4A shows a display screen in a state where a designated character string is designated as a range in a document. FIG.
(A) shows a state where an attempt is made to search a Japanese language dictionary for "Chiaki" whose meaning is unknown in the document "... April is thinking of Chiaki a day ...". The display unit 24 displays "Chiaki" designated as a character string for dictionary search in a display form different from other character strings, for example, in reverse video.

【0037】辞書検索部18は、国語辞書部20aに対
して、指定文字列「千秋」をもとに辞書検索を行なう
(ステップA2)。指定文字列「千秋」が国語辞書部2
0aに登録されているので、辞書検索部18は、意味
「千年 長い間」を検索文字列「千秋」と共に辞書検索
結果格納部22に格納する(ステップA3)。
The dictionary search unit 18 searches the Japanese language dictionary unit 20a for a dictionary based on the designated character string "Chiaki" (step A2). Designated character string "Chiaki" is Japanese language dictionary part 2
0a, the dictionary search unit 18 stores the meaning “thousand years long” together with the search character string “Chiaki” in the dictionary search result storage unit 22 (step A3).

【0038】ここで、拡張検索の実行が設定(指定)さ
れている場合(ステップA4)、辞書検索部18は、指
定文字列以外の文字列をもとに辞書検索を行なう拡張検
索の処理に移行する。なお、拡張検索なしが設定されて
いる場合、表示部24は、辞書検索結果格納部22に格
納された、指定文字列をもとにした辞書検索によって得
られた検索結果を表示して処理を終了する(ステップA
17)。
Here, when the execution of the extended search is set (designated) (step A4), the dictionary search unit 18 performs the extended search process of performing a dictionary search based on a character string other than the designated character string. Transition. When no extended search is set, the display unit 24 displays the search result stored in the dictionary search result storage unit 22 and obtained by the dictionary search based on the designated character string, and performs processing. Finish (Step A
17).

【0039】第1実施形態における拡張検索では、辞書
検索部18は、範囲指定された指定文字列「千秋」の前
の1文字「日」(図4(a)参照)を、辞書検索用の文
字列に加えて(ステップA6)、国語辞書部20aに対
して辞書検索を実行する(ステップA7)。
In the extended search according to the first embodiment, the dictionary search unit 18 uses the one character "day" (see FIG. 4A) preceding the designated character string "Chiaki" whose range is specified for the dictionary search. In addition to the character string (step A6), a dictionary search is executed for the Japanese language dictionary unit 20a (step A7).

【0040】「日千秋」が国語辞書部20aに登録され
ていないので、辞書検索部18は、辞書検索結果格納部
22に何も格納しない。そして、検索対象文字列の文字
数が、国語辞書部20aに登録されている見出し(文字
列)の最大文字数に到達していなければ(ステップA
5)、さらに指定文字列の前の文字「一」を検索対象文
字列に加えて「一日千秋」とし(ステップA6)、辞書
検索部18は、この文字列によって国語辞書部20aに
対して辞書検索を行なう(ステップA7)。
Since "Nichiaki" is not registered in the Japanese language dictionary section 20a, the dictionary search section 18 does not store anything in the dictionary search result storage section 22. If the number of characters of the search target character string has not reached the maximum number of characters of the index (character string) registered in the Japanese language dictionary unit 20a (step A).
5) Further, the character "1" preceding the designated character string is added to the character string to be searched to make "Chiaki one day" (step A6), and the dictionary search unit 18 uses this character string to A dictionary search is performed (step A7).

【0041】「一日千秋」が国語辞書部20aに登録さ
れているので、辞書検索部18は、検索によって得られ
た意味「待ちどおしいこと」を、検索文字列「一日千
秋」と共に辞書検索結果格納部22に格納する(ステッ
プA8,A9)。
Since "Chiaki one day" is registered in the Japanese language dictionary unit 20a, the dictionary search unit 18 converts the meaning "waiting" obtained by the search into a dictionary together with the search character string "Chiaki one day". It is stored in the search result storage unit 22 (steps A8 and A9).

【0042】拡張検索において検索候補が得られると、
表示部24は、辞書検索のために範囲指定された文字列
「千秋」に対する反転表示を、図4(b)に示すように
「一日千秋」に変更する(ステップA10)。これによ
り、指定文字列に対応する検索候補が表示される前に拡
張検索による検索候補の存在、及び検索候補が得られた
検索文字列の文字数を容易に識別することができる。
When search candidates are obtained in the extended search,
The display unit 24 changes the reverse display of the character string "Chiaki" for which the range is specified for the dictionary search to "Chiaki per day" as shown in FIG. 4B (step A10). Thus, before the search candidate corresponding to the specified character string is displayed, the existence of the search candidate by the extended search and the number of characters of the search character string from which the search candidate is obtained can be easily identified.

【0043】以上の処理を、文の先頭もしくは国語辞書
部20aに登録されている見出しの最大文字数まで繰り
返し(ステップA5)、それぞれの文字列をもとにして
辞書検索を実行する。辞書検索によって得られた検索候
補は、辞書検索結果格納部22に格納される。
The above processing is repeated up to the head of the sentence or the maximum number of characters of the headline registered in the national language dictionary section 20a (step A5), and a dictionary search is executed based on each character string. The search candidates obtained by the dictionary search are stored in the dictionary search result storage unit 22.

【0044】なお、ステップA5において、国語辞書部
20aに登録されている見出しの最大文字数まで達して
いなければ、検索文字列を更新しながら辞書検索を行な
うとしているが、終了判定の方法は、これに限らず、範
囲指定の対象となった文書中の句読点、特定の記号(例
えば「.」「?」「!」)、スペース、特定の文字(例
えば「を」)をもとにして行なうことができる。複数を
組合わせて判定しても良いし、検索の対象とする辞書に
応じて変更するなどしても良い。
In step A5, if the maximum number of characters of the headline registered in the national language dictionary unit 20a is not reached, the dictionary search is performed while updating the search character string. Not only based on punctuation marks, specific symbols (for example, ".", "?", "!"), Spaces, and specific characters (for example, "") in the document for which the range is specified Can be. The determination may be made by combining a plurality of them, or may be changed according to the dictionary to be searched.

【0045】辞書検索部18は、国語辞書部20aに登
録された見出しの最大文字数まで、指定文字列の前に続
く文字を付加して辞書検索を行なうと、さらに指定文字
列の後ろに続く文字に関しても同様の処理を行なう。
The dictionary search unit 18 performs a dictionary search by adding the character preceding the designated character string to the maximum number of characters of the headline registered in the national language dictionary unit 20a. The same processing is performed for.

【0046】すなわち、辞書検索部18は、範囲指定さ
れた指定文字列の後の1文字を、辞書検索用の文字列に
加えて(ステップA12)、国語辞書部20aに対して
辞書検索を実行する(ステップA13)。
That is, the dictionary search unit 18 adds one character after the specified character string whose range is specified to the character string for dictionary search (step A12), and executes a dictionary search on the Japanese language dictionary unit 20a. (Step A13).

【0047】検索文字列が国語辞書部20aに登録され
ていない場合には、辞書検索部18は、辞書検索結果格
納部22に何も格納しない。そして、検索対象文字列の
文字数が、国語辞書部20aに登録されている見出し
(文字列)の最大文字数に到達していなければ(ステッ
プA11)、さらに指定文字列の後の文字を検索対象文
字列に加えて(ステップA12)、辞書検索部18は、
この文字列によって国語辞書部20aに対して辞書検索
を行なう(ステップA13)。
When the search character string is not registered in the Japanese language dictionary section 20a, the dictionary search section 18 does not store anything in the dictionary search result storage section 22. If the number of characters of the search target character string does not reach the maximum number of characters of the heading (character string) registered in the national language dictionary unit 20a (step A11), the character after the designated character string is further searched for. In addition to the column (step A12), the dictionary search unit 18
A dictionary search is performed on the Japanese language dictionary unit 20a using this character string (step A13).

【0048】検索文字列が国語辞書部20aに登録され
ている場合、辞書検索部18は、検索によって得られた
意味を、検索文字列と共に辞書検索結果格納部22に格
納する(ステップA14,A15)。
If the search character string is registered in the Japanese language dictionary unit 20a, the dictionary search unit 18 stores the meaning obtained by the search in the dictionary search result storage unit 22 together with the search character string (steps A14 and A15). ).

【0049】拡張検索において検索候補が得られると、
表示部24は、辞書検索のために範囲指定された文字列
に対する反転表示を、拡張検索によって検索候補が得ら
れた検索文字列に該当する部分に変更する(ステップA
16)。
When search candidates are obtained in the extended search,
The display unit 24 changes the reverse display of the character string whose range is specified for the dictionary search to a portion corresponding to the search character string for which a search candidate has been obtained by the extended search (step A).
16).

【0050】以上の処理を、文の末尾もしくは国語辞書
部20aに登録されている見出しの最大文字数まで繰り
返し(ステップA11)、それぞれの文字列をもとにし
て辞書検索を実行する。辞書検索によって得られた検索
候補は、辞書検索結果格納部22に格納される。なお、
ステップA11は、ステップA5と同様にして、他の終
了判定方法を用いることもできる。
The above processing is repeated until the end of the sentence or the maximum number of characters of the headline registered in the Japanese language dictionary section 20a (step A11), and a dictionary search is executed based on each character string. The search candidates obtained by the dictionary search are stored in the dictionary search result storage unit 22. In addition,
Step A11 can use another end determination method in the same manner as step A5.

【0051】辞書検索部18は、国語辞書部20aに登
録された見出しの最大文字数まで、指定文字列の後に続
く文字を付加して辞書検索を行なうと、表示部24に対
して辞書検索結果格納部22に格納された検索候補の表
示を指示する。
The dictionary search unit 18 performs a dictionary search by adding the character following the designated character string to the maximum number of characters of the headline registered in the national language dictionary unit 20a, and stores the dictionary search result in the display unit 24. The display of the search candidates stored in the unit 22 is instructed.

【0052】表示部24は、辞書検索結果格納部22に
格納された、指定文字列をもとにした辞書検索によって
得られた検索結果を表示して処理を終了する(ステップ
A17)。
The display unit 24 displays the search result stored in the dictionary search result storage unit 22 and obtained by the dictionary search based on the designated character string, and ends the processing (step A17).

【0053】ここで、表示部24は、辞書検索結果格納
部22に格納された検索候補を、次に説明するような表
示形態(第1の表示形態、第2の表示形態)によって表
示することができる。
Here, the display unit 24 displays the search candidates stored in the dictionary search result storage unit 22 in the following display forms (first display form, second display form). Can be.

【0054】第1の表示形態について説明する。この場
合、辞書検索部18は、指定文字列による通常検索によ
って得られた検索候補と、拡張検索によって得られた検
索候補の表示形態を変えるため、辞書検索結果格納部2
2に格納されている検索候補の中で通常検索による検索
候補を識別して表示部24に通知する。検索候補の区別
は、辞書検索結果格納部22に格納されている見出し
が、指定文字列に一致するか否かによって判断される。
The first display mode will be described. In this case, the dictionary search result storage unit 2 changes the display form of the search candidate obtained by the normal search using the designated character string and the search candidate obtained by the extended search.
Among the search candidates stored in 2, the search candidate by the normal search is identified and notified to the display unit 24. The distinction between search candidates is determined based on whether or not the heading stored in the dictionary search result storage unit 22 matches the specified character string.

【0055】表示部24は、辞書検索部18からの通知
に応じて、指定文字列による通常検索によって得られた
検索候補については通常表示し、拡張検索によって得ら
れた検索候補を他と異なる表示形態、例えば反転表示す
る。
In response to the notification from the dictionary search unit 18, the display unit 24 normally displays the search candidates obtained by the normal search using the designated character string, and displays the search candidates obtained by the extended search differently from the others. The form, for example, reverse display.

【0056】図5には、辞書検索結果の表示例を示して
いる。図5に示すように、指定文字列「千秋」によって
得られた検索結果については通常表示され、拡張検索で
の検索文字列「一日千秋」によって得られた検索結果に
ついては反転表示されている。これにより、指定文字列
「千秋」の候補と拡張検索によって追加された検索候補
とが識別しやすくなる。
FIG. 5 shows a display example of a dictionary search result. As shown in FIG. 5, the search result obtained by the specified character string “Chiaki” is normally displayed, and the search result obtained by the search character string “Chiaki one day” in the extended search is highlighted. . This makes it easy to identify the candidate for the designated character string “Chiaki” from the search candidate added by the extended search.

【0057】第2の表示形態について説明する。この場
合、辞書検索部18は、指定文字列による通常検索によ
って得られた検索候補と、拡張検索によって得られた検
索候補の表示形態を変えるため(検索候補には見出しを
含む)、各検索候補の何文字目から何文字目が指定文字
列であるかの判断を行ない表示部24に通知する。
The second display mode will be described. In this case, the dictionary search unit 18 changes the display form of the search candidate obtained by the normal search using the designated character string and the search candidate obtained by the extended search (the search candidate includes a heading). A determination is made as to what character from what character is the designated character string, and the display unit 24 is notified.

【0058】例では、検索文字列「千秋」は、そのもの
が指定文字列であるので全見出しが指定文字列、検索文
字列「一日千秋」は、3文字目から4文字目までが指定
文字列と判断される。
In the example, since the search character string "Chiaki" is itself a designated character string, the entire heading is the designated character string, and the search character string "Chiaki one day" is the designated character from the third to fourth characters. It is determined to be a column.

【0059】表示部24は、辞書検索部18からの通知
に応じて、検索候補中の見出しの部分について、指定文
字列に該当する部分を他と異なる表示形態、例えば反転
表示する。
In response to the notification from the dictionary search unit 18, the display unit 24 displays a part corresponding to the designated character string in a heading part in the search candidate in a different display form, for example, reverse display.

【0060】図6には、辞書検索結果の表示例を示して
いる。図6に示すように、見出し「千秋」については全
てが反転表示され、見出し「一日千秋」については「千
秋」の部分のみが反転表示されている。
FIG. 6 shows a display example of a dictionary search result. As shown in FIG. 6, the heading "Chiaki" is all displayed in reverse video, and the headline "Chiaki per day" is displayed in reverse video only.

【0061】これにより、指定文字列によって得られた
検索候補の所在は勿論、拡張検索機能によって追加され
た検索候補の何れの部分に指定文字列が含まれているか
が識別しやすくなる。
As a result, it is easy to identify not only the location of the search candidate obtained by the designated character string but also which part of the search candidate added by the extended search function contains the designated character string.

【0062】このようにして、第1実施形態による辞書
検索の方法であれば、辞書検索のために指定した文字列
だけに限らず、指定文字列を包含する文字列によっても
辞書検索が行なわれるので、たとえ文字列を正しく範囲
指定できない、あるいは指定文字列が辞書に登録されて
いなくても、指定文字列に関連する文字列をもとにした
検索候補が取得されるので、辞書検索の効率が向上され
る。
As described above, according to the dictionary search method according to the first embodiment, the dictionary search is performed not only by the character string specified for the dictionary search but also by the character string including the specified character string. Therefore, even if the range of the character string cannot be specified correctly, or even if the specified character string is not registered in the dictionary, the search candidates based on the character string related to the specified character string are obtained. Is improved.

【0063】次に、本発明の第2実施形態の動作につい
て、図7に示すフローチャートを参照しながら説明す
る。まず、入力部10から国語辞書検索指定と共に、辞
書検索のための文字列(指定文字列)が入力されると、
入力制御処理部12を介して辞書検索部18に通知され
る(ステップB1)。
Next, the operation of the second embodiment of the present invention will be described with reference to the flowchart shown in FIG. First, when a character string for dictionary search (designated character string) is input from the input unit 10 together with a Japanese language dictionary search specification,
The dictionary search unit 18 is notified via the input control processing unit 12 (step B1).

【0064】図8には、指定文字列を文書中において範
囲指定した状態の表示画面を示している。図8は文書中
において、意味のわからない「情緒不安定」について国
語辞書を検索しようとした状態を示している。表示部2
4は、辞書検索用の文字列として範囲指定された「情緒
不安定」を、他の文字列とは異なる表示形態、例えば反
転表示させておく。なお、文書中における範囲指定では
なく、検索文字列の指定入力であっても勿論良い。
FIG. 8 shows a display screen in a state where a designated character string is designated as a range in a document. FIG. 8 shows a state in which an attempt is made to search a Japanese language dictionary for “emotional instability” whose meaning is unknown in a document. Display 2
Reference numeral 4 shows a display form different from that of other character strings, for example, reverse display of “emotional instability” specified as a range for a character string for dictionary search. It is needless to say that the search character string may be specified and input instead of the range specification in the document.

【0065】辞書検索部18は、国語辞書部20aに対
して、指定文字列「情緒不安定」をもとに辞書検索を行
なう(ステップB2)。ここで、指定文字列「情緒不安
定」が国語辞書部20aに登録されていないので、辞書
検索部18は、辞書検索結果格納部22に何も格納しな
い。
The dictionary search unit 18 searches the Japanese language dictionary unit 20a for a dictionary based on the designated character string "emotional instability" (step B2). Here, since the designated character string “emotional instability” is not registered in the Japanese language dictionary unit 20a, the dictionary search unit 18 does not store anything in the dictionary search result storage unit 22.

【0066】第2実施形態では、通常検索に続いて、さ
らに拡張検索を実行する。第2実施形態の拡張検索で
は、指定文字列を分割して得られる少なくとも1文字か
らなる文字列をもとにして辞書検索を行なう。指定文字
列は、1文字から指定文字列の文字数−1の各文字数に
おける全ての順列の文字列で分割されるものとする。な
お、所定の文字数以上(例えば2文字以上)という限定
を加えても良い。指定文字列「情緒不安定」について
は、図9に示すような、14個の文字列(1)〜(1
4)に分割されることになる。
In the second embodiment, an extended search is executed following the normal search. In the extended search of the second embodiment, a dictionary search is performed based on a character string composed of at least one character obtained by dividing a designated character string. It is assumed that the designated character string is divided into all permuted character strings from one character to the number of characters of the designated character string minus one. Note that a limit of a predetermined number of characters or more (for example, two or more characters) may be added. As for the designated character string “emotional instability”, 14 character strings (1) to (1) as shown in FIG.
4).

【0067】まず、辞書検索部18は、指定文字列に対
して拡張検索のスタート位置を設定する。ここでは、指
定文字列の1文字目をスタート位置とする。そして、は
じめに検索対象文字列の文字数を1とし(ステップB
6)、辞書検索部18は、指定文字列の1文字(図9
(1)「情」)をもとに国語辞書部20aに対する辞書
検索を実行する(ステップB8)。
First, the dictionary search unit 18 sets the start position of the extended search for the specified character string. Here, the first character of the designated character string is set as the start position. First, the number of characters in the search target character string is set to 1 (step B).
6), the dictionary search unit 18 determines one character of the designated character string (FIG. 9).
(1) A dictionary search for the Japanese language dictionary unit 20a is executed based on "information") (step B8).

【0068】検索文字列が国語辞書部20aに登録され
ていなければ(ステップB9)、辞書検索部18は、辞
書検索結果格納部22に何も格納しない。そして、辞書
検索部18は、現在の検索対象文字列に後の1文字を加
えて、次の検索文字列(図9(2)「情緒」)を作成し
(ステップB12)、この検索文字列をもとに国語辞書
部20aを検索する(ステップB8)。
If the search character string is not registered in the Japanese language dictionary section 20a (step B9), the dictionary search section 18 stores nothing in the dictionary search result storage section 22. Then, the dictionary search unit 18 adds the next character to the current search target character string to create the next search character string (“Emotion” in FIG. 9 (2)) (step B12). (Step B8).

【0069】「情緒」が国語辞書部20aに登録されて
いるので、辞書検索部18は、検索によって得られた意
味を、検索文字列「情緒」と共に辞書検索結果格納部2
2に格納する(ステップB9,B10)。また、第1実
施形態におけるステップA10,A16と同様にして、
拡張検索の対象となった文字列部分を他と異なる表示形
態によって表示して強調する(ステップB11)。
Since "emotional" is registered in the Japanese language dictionary unit 20a, the dictionary search unit 18 stores the meaning obtained by the search together with the search character string "emotional" in the dictionary search result storage unit 2.
2 (steps B9 and B10). Further, similarly to steps A10 and A16 in the first embodiment,
The character string part subjected to the extended search is displayed and emphasized in a display form different from the others (step B11).

【0070】以上の処理を、検索対象文字列が指定文字
列の最後尾の文字を越えるまで(指定文字列そのものを
除く)繰り返し(ステップB7)、それぞれの文字列を
もとにして辞書検索を実行する。辞書検索によって得ら
れた検索候補は、辞書検索結果格納部22に格納され
る。
The above processing is repeated until the character string to be searched exceeds the last character of the specified character string (excluding the specified character string itself) (step B7), and a dictionary search is performed based on each character string. Run. The search candidates obtained by the dictionary search are stored in the dictionary search result storage unit 22.

【0071】検索対象文字列が指定文字列の最後尾の文
字を越えると、辞書検索部18は、検索文字列のスター
ト位置を1つ後に移動し、再び、検索対象を1文字(図
9(5)「緒」)として、以下、前述と同様の処理を繰
り返す。
If the search target character string exceeds the last character of the designated character string, the dictionary search unit 18 moves the start position of the search character string by one position, and again sets the search target to one character (FIG. 9 ( 5) The same process as described above is repeated hereafter.

【0072】以上の国語辞書部20aに対する辞書検索
の結果、「情緒」「不安」「不安定」「安定」について
検索候補が得られ、それぞれの意味が見出しと共に辞書
検索結果格納部22に格納されているものとする。
As a result of the dictionary search for the Japanese language dictionary unit 20a, search candidates for "emotional", "anxiety", "unstable", and "stable" are obtained, and their meanings are stored in the dictionary search result storage unit 22 together with the headings. It is assumed that

【0073】こうして、図9に示すような、指定文字列
に包含される、分割によって得られた各文字列をもとに
した辞書検索が終了すると(ステップB5)、辞書検索
部18は、辞書検索結果格納部22に格納されている見
出しで、指定文字列となるような組み合わせを作る(ス
テップB14)。
When the dictionary search based on the character strings obtained by the division and included in the designated character string as shown in FIG. 9 is completed (step B5), the dictionary search unit 18 starts the dictionary search. A combination is created with the heading stored in the search result storage unit 22 so as to be a designated character string (step B14).

【0074】この例では、図10に示すように、「情
緒」+「不安定」の組み合わせが指定文字列となる。辞
書検索部18は、何れの検索候補の見出しと組合わせて
も指定文字列とならなかった文字列「不安」「安定」を
辞書検索結果格納部22から削除する(ステップB1
5,B16)。
In this example, as shown in FIG. 10, the combination of “emotional” + “unstable” is the designated character string. The dictionary search unit 18 deletes from the dictionary search result storage unit 22 the character strings “uneasy” and “stable” that did not become the specified character string in combination with any of the search candidate headings (step B1).
5, B16).

【0075】表示部24は、辞書検索結果格納部22に
格納されている検索候補、すなわち見出し「情緒」「不
安定」とそれぞれに対応する意味とを表示する(ステッ
プB17)。
The display unit 24 displays the search candidates stored in the dictionary search result storage unit 22, that is, the headings "emotional" and "unstable" and the corresponding meanings (step B17).

【0076】表示形態については、第1実施形態と同様
にして、第1の表示形態あるいは第2の表示形態を用い
ることができる。これにより、辞書検索のために指定し
た文字列「情緒不安定」以外に、指定文字に包含される
文字列「情緒」「不安定」についても辞書検索が行わ
れ、該当する文字列が辞書に登録されていれば、その文
字列に対応する検索結果も取得することができる。従っ
て、指定文字列に対応する検索候補が得られなかったと
しても、指定文字列に包含される文字列「情緒」「不安
定」のそれぞれの検索結果を参照することで、指定文字
列の意味についての参考とすることができる。
As for the display mode, the first display mode or the second display mode can be used in the same manner as in the first embodiment. As a result, in addition to the character string "emotional instability" specified for the dictionary search, a dictionary search is performed for the character strings "emotional" and "unstable" included in the specified character, and the corresponding character string is stored in the dictionary. If registered, the search result corresponding to the character string can also be obtained. Therefore, even if a search candidate corresponding to the specified character string is not obtained, the meaning of the specified character string can be determined by referring to the search results of the character strings “emotional” and “unstable” included in the specified character string. Can be used as a reference.

【0077】なお、第2実施形態においては、通常検索
の他に無条件に拡張検索を行なうものとして説明してい
るが、第1実施形態と同様にして文字設定(指定)を行
ない、この設定内容に応じて辞書検索部18による辞書
検索を制御し、拡張検索を行なうようにしても良い。
In the second embodiment, it is described that the extended search is performed unconditionally in addition to the normal search. However, character setting (designation) is performed in the same manner as in the first embodiment. An extended search may be performed by controlling the dictionary search by the dictionary search unit 18 according to the content.

【0078】また、前述した説明において、文字列の表
示形態の一例として反転表示させるとしているが、その
他にもアンダーラインや文字枠の付加、網かけ、色付
け、フォントの変更(斜体等の形状やサイズについて)
など、どのような形態を用いても良い。
In the above description, the character string is displayed in reverse as an example of the display form. However, underlining and addition of a character frame, shading, coloring, and font change (shape and the like of italics, etc.) About the size)
Any form may be used.

【0079】また、第1実施形態、第2実施形態による
辞書検索の処理について、それぞれ独立した処理として
説明しているが、2つの方法を組合わせて実行すること
もできる。すなわち、拡張検索を実行する場合、第1実
施形態による方法により指定文字列を包含する文字列に
よって辞書候補を検索し、さらに第2実施形態による方
法により指定文字列に包含される文字列によって辞書候
補を検索する。これにより、検索文字列の範囲指定ある
いは文字列入力を行なう際に、本来指定すべき文字列よ
り短い場合であっても、また指定文字列が長すぎる場合
であっても、所望する辞書検索結果を取得することがで
きる。
Although the dictionary search processing according to the first embodiment and the second embodiment is described as independent processing, the two methods can be executed in combination. That is, when performing an extended search, a dictionary candidate is searched by a character string including the designated character string by the method according to the first embodiment, and a dictionary candidate is searched by a character string included in the designated character string by the method according to the second embodiment. Search for suggestions. Thus, when specifying the range of the search character string or inputting the character string, even if the character string is shorter than the character string to be originally specified or the specified character string is too long, the desired dictionary search result can be obtained. Can be obtained.

【0080】また、第1実施形態、第2実施形態におい
て説明した図2、図7のフローチャートに示す文字置換
制御方法(文字置換制御機能)は、コンピュータにおい
て実行させることができるプログラムとして、フロッピ
ーディスク、ハードディスク、メモリ装置、CD−RO
M、光ディスクなどの記憶媒体に格納して配付すること
ができる。記憶媒体に格納されたプログラムは、コンピ
ュータ(CPU)によって読み出され、実行されること
で、コンピュータの動作を制御し、文字置換制御方法
(文字置換制御機能)を実現する。
The character replacement control method (character replacement control function) shown in the flowcharts of FIGS. 2 and 7 described in the first embodiment and the second embodiment is a program which can be executed by a computer as a floppy disk. , Hard disk, memory device, CD-RO
M, and can be stored and distributed on a storage medium such as an optical disk. The program stored in the storage medium is read and executed by a computer (CPU) to control the operation of the computer and implement a character replacement control method (character replacement control function).

【0081】[0081]

【発明の効果】以上詳述したように本発明によれば、指
定文字列を包含する文字列あるいは指定文字列に包含さ
れる文字列についても辞書検索を実行することができる
ので、1度の文字列の指定のみで、指定文字列以外の文
字列によっても辞書の検索を行なうことで、所望する検
索結果を簡単に取得することが可能となるものである。
As described above in detail, according to the present invention, a dictionary search can be executed for a character string including a specified character string or a character string included in the specified character string. By simply specifying a character string and performing a search of the dictionary using a character string other than the specified character string, a desired search result can be easily obtained.

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

【図1】本発明の実施形態に係わる文書作成装置の構成
を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a document creation device according to an embodiment of the present invention.

【図2】本発明の第1実施形態の動作を説明するための
フローチャート。
FIG. 2 is a flowchart for explaining the operation of the first embodiment of the present invention.

【図3】第1実施形態における辞書検索に関するモード
設定のための表示画面の一例を示す図。
FIG. 3 is a view showing an example of a display screen for setting a mode related to dictionary search in the first embodiment.

【図4】第1実施形態における指定文字列の表示形態の
一例を示す図。
FIG. 4 is an exemplary view showing an example of a display form of a designated character string in the first embodiment.

【図5】第1実施形態における第1の表示形態を説明す
るための図。
FIG. 5 is a view for explaining a first display mode in the first embodiment.

【図6】第1実施形態における第2の表示形態を説明す
るための図。
FIG. 6 is a view for explaining a second display mode in the first embodiment.

【図7】本発明の第2実施形態の動作を説明するための
フローチャート。
FIG. 7 is a flowchart for explaining the operation of the second embodiment of the present invention.

【図8】第2実施形態における指定文字列を文書中にお
いて範囲指定した状態の表示画面を示す図。
FIG. 8 is a view showing a display screen in a state in which a designated character string is designated as a range in a document according to the second embodiment.

【図9】第2実施形態において用いられる検索文字列の
一例を示す図。
FIG. 9 is a diagram showing an example of a search character string used in the second embodiment.

【図10】第2実施形態における辞書検索結果を確定す
る処理を説明するための図。
FIG. 10 is an exemplary view for explaining processing for determining a dictionary search result in the second embodiment.

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

10…入力部 12…入力制御処理部 14…かな漢字変換部 16…かな漢字変換辞書部 18…辞書検索部 20…辞書部 20a…国語辞書部 22…辞書検索結果格納部 24…表示部 DESCRIPTION OF SYMBOLS 10 ... Input part 12 ... Input control processing part 14 ... Kana-kanji conversion part 16 ... Kana-kanji conversion dictionary part 18 ... Dictionary search part 20 ... Dictionary part 20a ... Japanese language dictionary part 22 ... Dictionary search result storage part 24 ... Display part

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 任意に指定された文字列をもとに、辞書
に登録されている情報を検索して提示する辞書検索機能
を有する文書作成装置において、 指定対象となる文字列と、同文字列に関係する情報が対
応づけられて登録されている辞書と、 指定された文字列をもとに前記辞書を検索する通常検索
と共に、前記文字列に他の文字が付加された文字列をも
とに前記辞書を検索する拡張検索とを実行する辞書検索
手段と、 前記辞書検索手段による検索によって前記辞書から得ら
れた情報を検索候補として格納するための辞書検索結果
格納手段と、 前記辞書検索結果格納手段に格納された検索候補を表示
する表示手段とを具備したことを特徴とする文書作成装
置。
1. A document creation apparatus having a dictionary search function for searching for and presenting information registered in a dictionary based on an arbitrarily specified character string, comprising: a character string to be specified; A dictionary in which information related to a column is registered in association with a dictionary, a normal search for searching the dictionary based on a specified character string, and a character string in which another character is added to the character string. A dictionary search means for executing an extended search for searching the dictionary; a dictionary search result storage means for storing information obtained from the dictionary by the search by the dictionary search means as a search candidate; Display means for displaying the search candidates stored in the result storage means.
【請求項2】 前記辞書を検索するために指定される文
字列は、同文字列を含む文字列中から部分的に選択指定
されるものであり、 前記辞書検索手段は、 部分的に選択指定された文字列に、同文字列と連続する
文字を付加した文字列をもとに前記辞書を検索すること
を特徴とする請求項1記載の文書作成装置。
2. A character string designated for searching the dictionary is partially selected and designated from a character string including the same character string, and the dictionary search means is partially selected and designated. 2. The document creation apparatus according to claim 1, wherein the dictionary is searched based on a character string obtained by adding a character that is continuous with the same character string to the extracted character string.
【請求項3】 前記辞書検索手段は、 部分的に選択指定された文字列に対する文字の付加を、
前記辞書に登録されている指定対象となる文字列の最大
文字数まで1文字毎に行ない、それぞれの文字列によっ
て前記辞書を検索することを特徴とする請求項2記載の
文書作成装置。
3. The dictionary search means includes: adding a character to a partially selected and designated character string;
3. The document creation device according to claim 2, wherein the processing is performed for each character up to the maximum number of character strings to be designated registered in the dictionary, and the dictionary is searched by each character string.
【請求項4】 任意に指定された文字列をもとに、辞書
に登録されている情報を検索して提示する辞書検索機能
を有する文書作成装置において、 指定対象となる文字列と、同文字列に関係する情報が対
応づけられて登録されている辞書と、 指定された文字列をもとに前記辞書を検索する通常検索
と共に、前記文字列を分割して得られる少なくとも1文
字からなる文字列をもとに前記辞書を検索する拡張検索
とを実行する辞書検索手段と、 前記辞書検索手段による検索によって前記辞書から得ら
れた情報を検索候補として格納するための辞書検索結果
格納手段と、 前記辞書検索結果格納手段に格納された検索候補を表示
する表示手段とを具備したことを特徴とする文書作成装
置。
4. A document creation apparatus having a dictionary search function for searching for and presenting information registered in a dictionary based on a character string arbitrarily specified, wherein a character string to be designated and the same character A dictionary in which information related to a column is registered in association with the dictionary, a character string consisting of at least one character obtained by dividing the character string together with a normal search for searching the dictionary based on a specified character string Dictionary search means for executing an extended search for searching the dictionary based on a column; dictionary search result storage means for storing information obtained from the dictionary by the search by the dictionary search means as a search candidate; Display means for displaying search candidates stored in the dictionary search result storage means.
【請求項5】 前記表示手段は、 前記辞書検索結果格納手段に格納された検索候補を、前
記辞書検索手段による前記通常検索によって得られた候
補と、前記拡張検索によって得られた候補とで異なる表
示形態によって表示することを特徴とする請求項1また
は請求項4記載の文書作成装置。
5. The display means, wherein the search candidates stored in the dictionary search result storage means are different between the candidates obtained by the normal search by the dictionary search means and the candidates obtained by the extended search. 5. The document creation device according to claim 1, wherein the document is displayed in a display form.
【請求項6】 前記表示手段は、前記辞書検索手段によ
って前記辞書を検索する際に用いた文字列と、対応する
検索結果とを表示するものであって、 前記文字列中の指定された文字列部分だけを異なる表示
形態によって表示することを特徴とする請求項1または
請求項4記載の文書作成装置。
6. The display means for displaying a character string used when searching the dictionary by the dictionary search means and a corresponding search result, wherein a designated character in the character string is displayed. 5. The document creation apparatus according to claim 1, wherein only the row portion is displayed in a different display mode.
【請求項7】 前記辞書を検索するために指定された文
字列を含む文字列を表示しながら、前記辞書検索手段に
よって前記辞書を検索し、 前記辞書検索手段による拡張検索によって検索候補が得
られた際に、表示されている文字列において前記拡張検
索の対象としている文字列部分を異なる表示形態によっ
て表示することを特徴とする請求項1または請求項4記
載の文書作成装置。
7. A dictionary is searched by the dictionary search means while displaying a character string including a character string designated for searching the dictionary, and a search candidate is obtained by an extended search by the dictionary search means. 5. The document creation apparatus according to claim 1, wherein the character string portion to be subjected to the extended search is displayed in a different display form in the displayed character string.
【請求項8】 前記辞書検索手段による拡張検索を行な
うか否かを設定する設定手段を具備し、 前記辞書検索手段は、前記設定手段による設定に応じ
て、拡張検索を行なうか否かを制御することを特徴とす
る請求項1または請求項4記載の文書作成装置。
8. A setting means for setting whether or not to perform an extended search by the dictionary search means, wherein the dictionary search means controls whether or not to perform an extended search according to the setting by the setting means. The document creating apparatus according to claim 1, wherein the document is created.
【請求項9】 任意に指定された文字列をもとに、辞書
に登録されている情報を検索して提示する辞書情報取得
方法であって、 指定対象となる文字列と、同文字列に関係する情報が対
応づけられて登録されている辞書に対して、 指定された文字列をもとに前記辞書を検索する通常検索
と共に、前記文字列に他の文字が付加された文字列をも
とに前記辞書を検索する拡張検索とを実行し、 この検索によって前記辞書から得られた情報を検索候補
として格納し、 この格納された検索候補を表示することを特徴とする辞
書情報取得方法。
9. A dictionary information acquisition method for retrieving and presenting information registered in a dictionary based on an arbitrarily specified character string, wherein the method comprises the steps of: For a dictionary in which related information is associated and registered, a normal search for searching the dictionary based on a specified character string, and a character string in which another character is added to the character string are also performed. And performing an extended search for searching the dictionary, storing information obtained from the dictionary by the search as a search candidate, and displaying the stored search candidate.
【請求項10】 任意に指定された文字列をもとに、辞
書に登録されている情報を検索して提示する辞書情報取
得方法であって、 指定対象となる文字列と、同文字列に関係する情報が対
応づけられて登録されている辞書に対して、 指定された文字列をもとに前記辞書を検索する通常検索
と共に、前記文字列を分割して得られる少なくとも1文
字からなる文字列をもとに前記辞書を検索する拡張検索
とを実行し、 この検索によって前記辞書から得られた情報を検索候補
として格納し、 この格納された検索候補を表示することを特徴とする辞
書情報取得方法。
10. A dictionary information acquisition method for retrieving and presenting information registered in a dictionary based on an arbitrarily designated character string, wherein the method comprises the steps of: A character string consisting of at least one character obtained by dividing the character string together with a normal search for searching the dictionary based on a specified character string with respect to a dictionary registered with associated information Performing an extended search for searching the dictionary based on a column, storing information obtained from the dictionary by the search as search candidates, and displaying the stored search candidates. Acquisition method.
JP8167535A 1996-06-27 1996-06-27 Document preparing device and dictionary information acquisition method Pending JPH1011466A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8167535A JPH1011466A (en) 1996-06-27 1996-06-27 Document preparing device and dictionary information acquisition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8167535A JPH1011466A (en) 1996-06-27 1996-06-27 Document preparing device and dictionary information acquisition method

Publications (1)

Publication Number Publication Date
JPH1011466A true JPH1011466A (en) 1998-01-16

Family

ID=15851505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8167535A Pending JPH1011466A (en) 1996-06-27 1996-06-27 Document preparing device and dictionary information acquisition method

Country Status (1)

Country Link
JP (1) JPH1011466A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011136426A1 (en) * 2010-04-28 2011-11-03 한국과학기술정보연구원 Method and system for constructing a named entity dictionary by extracting named entities from context and for registering rules

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011136426A1 (en) * 2010-04-28 2011-11-03 한국과학기술정보연구원 Method and system for constructing a named entity dictionary by extracting named entities from context and for registering rules

Similar Documents

Publication Publication Date Title
JPH0877155A (en) Information processor and information processing method
JPH1011466A (en) Document preparing device and dictionary information acquisition method
JPS60176169A (en) Sentence processor
JP4467915B2 (en) Electronic dictionary, electronic dictionary control method, electronic dictionary control program, and recording medium recording the same
JP2000322442A (en) Data base retrieving device and data base retrieval program storage medium
JP3498635B2 (en) Information retrieval method and apparatus, and computer-readable recording medium
JP2868256B2 (en) Program editing device
JP2893239B2 (en) Translation support dictionary search and display system
JP3934774B2 (en) Character processing method and apparatus
JP2001092821A (en) Sentence proofreading device and computer-readable recording medium recording sentence proofreading program
JP2737160B2 (en) Sentence processing equipment
JPH0528129A (en) Word processor
JPH11203279A (en) Kana-kanji conversion device and method and storage medium
JPH07262198A (en) Document retrieval device
JP2886864B2 (en) Character processor
JPS6198475A (en) Japanese sentence input device
JPH11219351A (en) Document data processor and its program recording medium
JPH08339365A (en) Method and device for documentation
JPS62282364A (en) Character string retrieval system
JPH1153356A (en) Device and method for preparing document, and recording medium recorded with program for executing the method by computer
JPH0981555A (en) Method and device for document processing
JP2006252294A (en) Document processor, document processing method, and storage medium
JPS6128156A (en) Document editing device
JPS61169961A (en) Character processor provided with user dictionary
JPH05151199A (en) Document preparation device