JP2000132548A - Character string retrieval device and method and computer-readable recording medium recording character string retrieval program - Google Patents

Character string retrieval device and method and computer-readable recording medium recording character string retrieval program

Info

Publication number
JP2000132548A
JP2000132548A JP10299526A JP29952698A JP2000132548A JP 2000132548 A JP2000132548 A JP 2000132548A JP 10299526 A JP10299526 A JP 10299526A JP 29952698 A JP29952698 A JP 29952698A JP 2000132548 A JP2000132548 A JP 2000132548A
Authority
JP
Japan
Prior art keywords
character string
serial number
value
input
number character
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
JP10299526A
Other languages
Japanese (ja)
Other versions
JP4057166B2 (en
Inventor
Tadasu Watabe
校 渡部
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 JP29952698A priority Critical patent/JP4057166B2/en
Publication of JP2000132548A publication Critical patent/JP2000132548A/en
Application granted granted Critical
Publication of JP4057166B2 publication Critical patent/JP4057166B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related 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 provide a character string retrieval device which can easily perform the batch retrieval replacement of serial character strings as desired by a user without inputting any specific code. SOLUTION: When the serial character strings to be retrieved are inputted to a retrieval character string text box 301 of a character retrieval replacement dialog box 300, the serial character strings are retrieved out of the sentences together with other serial character strings having the same form as and different value from the former serial character strings. The serial character strings can be inputted in the same way as the ordinary characters without inputting any specific code, etc.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は文字列検索装置お
よび方法ならびに文字列検索プログラムを記録したコン
ピュータで読取可能な記録媒体に関し、特に、文字列を
入力、編集、表示可能なワードプロセッサ、パーソナル
コンピュータ、ネットワーク情報端末装置、携帯型情報
端末装置などに適用される文字列検索装置および方法な
らびに文字列検索プログラムを記録したコンピュータで
読取可能な記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character string search apparatus and method, and a computer-readable recording medium storing a character string search program, and more particularly to a word processor, a personal computer, and a computer capable of inputting, editing, and displaying a character string. The present invention relates to a character string search device and method applied to a network information terminal device, a portable information terminal device, and the like, and a computer-readable recording medium storing a character string search program.

【0002】[0002]

【従来の技術】従来の文章処理装置においては、記憶さ
れている文章中から指定された文字列を検索する機能が
実現されている。たとえば、検索する文字列として「第
1章」を指定すると、文章中の「第1章」という文字列
が記憶されている位置にカーソルが移動する。また、検
索した文字列を他の文字列に置換する機能も実現されて
いる。たとえば検索する文字列として「第1章」を指定
し、置換後の文字列として「第2章」を指定すると、文
章中に含まれるすべての(あるいは指定された一部分
の)「第1章」が「第2章」に置換される。
2. Description of the Related Art In a conventional text processing apparatus, a function of searching a stored text for a designated character string is realized. For example, when "Chapter 1" is specified as a character string to be searched, the cursor moves to a position where the character string "Chapter 1" is stored in the text. Also, a function of replacing the searched character string with another character string is realized. For example, if "Chapter 1" is specified as a character string to be searched and "Chapter 2" is specified as a character string after replacement, all (or a specified portion) of "Chapter 1" included in the text Is replaced by “Chapter 2”.

【0003】しかしながら、上述した機能では、たとえ
ば「第2章」、「第3章」、「第4章」の数値部分をす
べて1だけ増加あるいは減少させたい場合などには、非
常に煩雑な操作が必要になる。
However, in the above-described function, for example, when it is desired to increase or decrease all the numerical values of "Chapter 2", "Chapter 3", and "Chapter 4" by one, a very complicated operation is required. Is required.

【0004】具体的には、1だけ増加させる場合は、ま
ず「第4章」を「第5章」に置換する操作を行ない、
「第3章」を「第4章」に置換する操作を行ない、「第
2章」を「第3章」に置換する操作を、順序正しく行な
わなければならない。逆に、1だけ減少させる場合に
は、まず「第2章」を「第1章」に置換する操作を行な
い、「第3章」を「第2章」に置換する操作を行ない、
「第4章」を「第3章」に置換する操作を、順序正しく
行なわなければならない。
[0004] Specifically, to increase by one, an operation of replacing "Chapter 4" with "Chapter 5" is performed first.
The operation of replacing "Chapter 3" with "Chapter 4" must be performed, and the operation of replacing "Chapter 2" with "Chapter 3" must be performed in order. Conversely, when decreasing by one, first, an operation of replacing “Chapter 2” with “Chapter 1” is performed, and an operation of replacing “Chapter 3” with “Chapter 2” is performed.
The operation of replacing "Chapter 4" with "Chapter 3" must be performed in order.

【0005】上述した一連の操作の煩雑さを解消する方
法として、特開平1−243171号公報に記載の技術
がある。この技術では、検索する文字列として特定のコ
ード(正規コード)を指定する方法であり、たとえば検
索する文字列として「第」+[数字を示す正規コード]
+「章」と指定し、また「1を加算する処理手順」を入
力することによって上述したような結果を得ることがで
きる。
[0005] As a method for eliminating the complexity of a series of operations described above, there is a technique described in Japanese Patent Application Laid-Open No. 1-243171. In this technique, a specific code (regular code) is specified as a character string to be searched. For example, "character number" + [regular code indicating a number] is used as a character string to be searched.
By specifying + "chapter" and inputting "procedure for adding 1", the result as described above can be obtained.

【0006】また、特開平2−184963号公報にも
同様の記述が開示される。ここでは、たとえば検索する
文字列として「第*章」と指定し、増減数として「+
1」を指定すると、上述と同様の操作結果が得られる。
[0006] A similar description is also disclosed in Japanese Patent Application Laid-Open No. Hei 2-184963. Here, for example, "Chapter *" is specified as a character string to be searched, and "+"
When "1" is designated, the same operation result as described above is obtained.

【0007】また、特開平9−288672号公報で
は、検索する文字列として「1」を指定し、置換後の文
字列として「ア」を指定し、連続数として「4」を指定
すると、文章中に存在する「1」「2」「3」「4」を
すべて、それぞれ「ア」「イ」「ウ」「エ」に置換する
ことができる。
In Japanese Patent Application Laid-Open No. 9-288672, if a character string to be searched is designated as "1", a character string after replacement is designated as "A", and a continuous number is designated as "4", a sentence “1”, “2”, “3”, and “4” existing therein can all be replaced with “A”, “I”, “U”, and “E”, respectively.

【0008】また、特開平7−160707号公報に
は、箇条書きの文章において各項目の先頭に付与された
項目番号を自動的に順番どおりになるように変更する技
術が開示される。たとえば、「」「」「」「」
の4つの項目がある箇条書き文章において、「」と
「」の間に2つの項目を挿入した場合、そのままでは
「」「」「」「」「」「」となってしまう
が、これを指示に応じて「」「」「」「」
「」「」に変更することができる。
[0008] Japanese Patent Application Laid-Open No. 7-160707 discloses a technique for automatically changing the item numbers given at the head of each item in a bulleted sentence so that the item numbers are automatically in order. For example, """"""""
If you insert two items between "" and "" in a bulleted sentence with four items, ""","","","","" In response to the""""""""
It can be changed to "" and "".

【0009】また、特開平5−250362号公報に
は、イメージデータに対応づけて特定のコードを入力し
ておくと、印刷時には、この特定コードが出現する順序
に応じた数を割当てて印刷する技術が開示される。
In Japanese Patent Application Laid-Open No. 5-250362, if a specific code is input in association with image data, when printing, a number corresponding to the order in which the specific code appears is printed. Techniques are disclosed.

【0010】たとえば、1つ目のイメージデータには
「@GA」というコードを、2つ目のイメージデータに
は「@GB」というコードを、3つ目のイメージデータ
には「@GC」というコードを対応づけて入力しておく
と、印刷時には1つ目のイメージデータには「第1
図」、2つ目のイメージデータには「第2図」、3つ目
のイメージデータには「第3図」という文字列が自動的
に付与されて印刷される。
For example, the first image data has a code of "$ GA", the second image data has a code of "$ GB", and the third image data has a code of "$ GC". If the codes are input in association with each other, the first image data is "1st
The character string "FIG. 2" is automatically added to the second image data and the character string "FIG. 3" is printed to the third image data, and is printed.

【0011】また、文章中においてイメージデータを参
照する文字列(たとえば「第2図において」など)を入
力したい場合には、上述した特定コードを入力するとこ
のコードに割当てられた文字列がそのコードに置換えら
れて印刷される。たとえば、文章中に「@GBにおい
て」というような文字列があった場合、この文字列は
「第2図において」と置換されて印刷される。
When it is desired to input a character string (for example, "in FIG. 2") referring to image data in a sentence, when the above-described specific code is input, the character string assigned to this code is changed to the code. Is replaced with and printed. For example, if there is a character string such as "in $ GB" in the text, this character string is replaced with "in FIG. 2" and printed.

【0012】特開平5−89103号公報にも、ほぼ同
様の技術が開示される。この技術では、文章中において
図表を参照する文字列(たとえば「表1−1を参照」)
を入力したい場合には、“どの図表番号を参照するかを
指定”すると記載されているが、その具体的操作方法は
何ら示されていない。
Japanese Patent Application Laid-Open No. 5-89103 discloses a substantially similar technique. In this technique, a character string that refers to a chart in a text (for example, “see Table 1-1”)
Is described as "designating which figure or table number to refer to", but no specific operation method is shown.

【0013】[0013]

【発明が解決しようとする課題】特開平1−24317
1号公報および特開平2−184963号公報に記載の
技術では、検索する文字列として特定のコードを入力し
なければならないため、その特定コードを知っていなけ
れば目的とする検索および置換を行なうことができな
い。また、演算する数を入力しなければならず、たとえ
ば「14頁」を「31頁」に置換するには、使用者が3
1−14=17という演算を行なわなければならないの
で、手間がかかりミスを起こす可能性がある。
Problems to be Solved by the Invention
In the technology described in Japanese Patent Application Laid-Open Publication No. 1-1994 and Japanese Patent Application Laid-Open No. 2-184963, a specific code must be input as a character string to be searched. Can not. In addition, the number to be operated must be input. For example, in order to replace “page 14” with “page 31”, the user needs to enter “3”.
Since the calculation of 1-14 = 17 must be performed, it is troublesome and a mistake may occur.

【0014】特開平9−288672号公報に開示の技
術では、上述の例では文章中に存在するすべての「1」
「2」「3」「4」がそれぞれ「ア」「イ」「ウ」
「エ」に置換されるので、関係のない文字列、たとえば
「1000円」が「ア000円」になってしまう場合が
ある。また、「1」「2」「3」「4」をそれぞれ
「2」「3」「4」「5」に置換したり、「2」「3」
「4」のみをそれぞれ「イ」「ウ」「エ」に置換するこ
とができない。
According to the technique disclosed in Japanese Patent Application Laid-Open No. 9-288672, in the above-described example, all "1"
"2", "3" and "4" are "A", "I" and "U" respectively.
Since the character string is replaced with "D", an unrelated character string, for example, "1000 yen" may become "000 yen". Also, "1", "2", "3", and "4" are replaced with "2", "3", "4", and "5", respectively.
Only “4” cannot be replaced with “i”, “u”, and “d”, respectively.

【0015】また、特開平1−243171号公報、特
開平2−184963号公報および特開平9−2886
72号公報に開示の技術においても、たとえば「3」を
「2」に、「4」を「3」に、「2」を「4」に置換す
る(つまり、「3」と「4」を「2」の前に移動させ
る)ような操作を単純に実現できない。
Further, Japanese Patent Application Laid-Open Nos. 1-243171, 2-194663, and 9-2886
In the technology disclosed in Japanese Patent Application Publication No. 72-72, for example, "3" is replaced with "2", "4" is replaced with "3", and "2" is replaced with "4" (that is, "3" and "4" are replaced). An operation such as “move before“ 2 ”) cannot be simply realized.

【0016】また、特開平7−160707号公報に開
示の技術では、特定コードなどを入力する必要はない
が、変更対象となる番号は箇条書きの先頭部分に限定さ
れ、文章中に存在する番号、たとえば「…において
…」などという文字列の変更は対象とならない。
In the technique disclosed in Japanese Patent Application Laid-Open No. Hei 7-160707, it is not necessary to input a specific code or the like, but the number to be changed is limited to the head of the list, and the number existing in the text For example, a change in a character string such as "in..." Is not included.

【0017】また、特開平5−250362号公報に開
示の技術では、イメージデータに対応づけて、あるいは
文章中に特定コードを入力しなければならず、特定コー
ドを知っていなければ上述した結果を実現することはで
きない。この特定コードは、すべての文章処理装置で利
用できなかったり、統一されていなかったりするので汎
用性に乏しい。
In the technique disclosed in Japanese Patent Application Laid-Open No. 5-250362, a specific code must be input in association with image data or in a sentence. If the specific code is not known, the above-described result is obtained. It cannot be realized. This specific code is not versatile because it cannot be used in all text processing devices or is not unified.

【0018】また、たとえば「第1図」は欠番にしてお
き、「第2図」から始めたい場合や、イメージデータを
別の文章ファイルとしておきたい場合などには容易に対
応させることができない。
Further, for example, when "FIG. 1" is omitted, it is not easy to cope with a case where it is desired to start from "FIG. 2" or a case where image data is desired to be stored in another text file.

【0019】それゆえにこの発明の目的は、特定コード
を入力することなく、容易に使用者の望む連番文字列の
検索を行なえる文字列検索装置および方法ならびに文字
列検索プログラムを記録したコンピュータで読取可能な
記録媒体を提供することである。
Therefore, an object of the present invention is to provide a character string search apparatus and method capable of easily searching for a serial number character string desired by a user without inputting a specific code, and a computer having a character string search program recorded thereon. It is to provide a readable recording medium.

【0020】この発明の他の目的は、特定コードを入力
することなく、容易に使用者の望む連番文字列の一括置
換を行なえる文字列検索装置および方法ならびに文字列
検索プログラムを記録したコンピュータで読取可能な記
録媒体を提供することである。
Another object of the present invention is to provide a character string search device and method capable of easily performing a batch replacement of a serial number character string desired by a user without inputting a specific code, and a computer storing a character string search program. To provide a recording medium which can be read by a computer.

【0021】なお、本明細書において、連番文字列とは
「第1章」「第2章」「第3章」…、「図A」「図B」
「図C」…、「(イ)」「(ロ)」「(ハ)」…、
「」「」「」…、のような一定の連続性を有する
形式で示される文字列を示し、また連番文字列の順序文
字列とは、たとえば「第1章」であれば「1」、「図
A」であれば「A」のような連番文字列の一定連続性に
おける順序を示すための文字列を示し、また連番文字列
の順序値(あるいは、単に値)とは、たとえば「第1
章」「図A」であれば「1」、「第2章」「図B」であ
れば「2」のような順序文字列により示される順序に対
応の数値を示す。
Note that, in this specification, the serial number character strings are "Chapter 1,""Chapter2,""Chapter3,".
"Figure C" ... "(b)""(b)""(c)" ...
A character string represented in a form having a certain continuity such as “”, “”, “”,..., And the sequential character string of the serial number character string is, for example, “1” in “Chapter 1”. , "FIG. A" indicates a character string for indicating the order in a constant continuity of a serial number character string such as "A", and the order value (or simply value) of the serial number character string is For example, "1st
A numerical value corresponding to the order indicated by an order character string such as “1” for “chapter” or “figure A” and “2” for “chapter 2” or “figure B” is shown.

【0022】[0022]

【課題を解決するための手段】請求項1に記載の文字列
検索装置は、一定の連続性を有する連番文字列を含む各
種の文字列を入力して、該入力文字列に基づいて文章を
検索して検索結果を出力する装置であって、文章を記憶
する文章記憶手段と、各種の文字列を入力する文字列入
力手段と、文字列入力手段により連番文字列が入力され
たとき、入力された連番文字列および、該連番文字列と
同じ形式で示され、かつ順序文字列のみ異なる文字列を
記憶手段に記憶された文章中から検索する連番文字列検
索手段とを備える。そして、順序文字列は前述の一定連
続性における順序に対応する順序値を示す連番文字列中
の文字列であり、形式は順序文字列とその他の文字列か
らなる。
According to a first aspect of the present invention, there is provided a character string search device which inputs various character strings including a serial number character string having a certain continuity, and outputs a sentence based on the input character string. Is a device for searching for and outputting a search result, a sentence storage means for storing a sentence, a character string input means for inputting various character strings, and when a serial number character string is input by the character string input means. An input serial number character string and a serial number character string search unit that searches for a character string that is shown in the same format as the serial number character string and that differs only in the order character string from the text stored in the storage unit. Prepare. The order character string is a character string in a serial number character string indicating an order value corresponding to the order in the above-mentioned constant continuity, and the format is composed of an order character string and other character strings.

【0023】請求項1に従えば、検索文字列として連番
文字列を入力すると、該連番文字列および該連番文字列
と同じ形式でその値の異なった連番文字列を文章中から
検索する。この際、入力する連番文字列は特殊なコード
などを用いて入力する必要はなく、通常の文字入力と同
じように入力すればよいから、初心者でも容易に連番文
字列の検索を行なうことができる。
According to the first aspect, when a serial number character string is input as a search character string, the serial number character string and a serial number character string having a different value in the same format as the serial number character string are output from the text. Search for. In this case, it is not necessary to input the serial number character string using a special code or the like, and it is sufficient to input the same as normal character input, so even a beginner can easily search for the serial number character string. Can be.

【0024】たとえば、従来は正規コードを使用して
「第[0−9]{1、}図」というような文字列(正規
コード「[0−9]{1、}」は「一桁以上の数字」を
示している)を検索文字列として指定しなければ「第1
図」や「第12図」の連番文字列を検索することはでき
なかったが、請求項1に従えば、単に「第1図」と入力
するのみで「第1図」や「第12図」などを検索するこ
とができ、非常に操作性が向上する。
For example, conventionally, a character string such as "[0-9] $ 1, $ figure" (regular code "[0-9] $ 1, $"") Is not specified as a search string.
Although it was not possible to search for the serial number character strings of "FIG." And "FIG. 12", according to claim 1, simply inputting "FIG. 1" and "FIG. "Figure" etc. can be searched, and the operability is greatly improved.

【0025】請求項2に記載の文字列検索装置は、請求
項1に記載の装置における連番文字列検索手段は、文字
列入力手段により入力された連番文字列と同じ形式で、
かつ該連番文字列の順序値以上の順序値を示す順序文字
列を含む連番文字列のみを記憶手段に記憶された文章中
から検索する。
According to a second aspect of the present invention, in the character string search device according to the first aspect, the serial number character string searching means has the same format as the serial number character string input by the character string input means.
Further, only the sequence number character string including the sequence character string indicating the sequence value equal to or larger than the sequence value of the sequence number character string is searched from the text stored in the storage means.

【0026】請求項2に従えば、入力した連番文字列の
値以上の連番文字列のみを文章中から検索するので、値
の範囲指定操作が容易である。
According to the second aspect, only the serial number character string that is equal to or greater than the value of the input serial number character string is searched from the text, so that the value range designation operation is easy.

【0027】たとえば、ユーザが検索文字列として「第
2図」と入力するのみで、連番文字列の形式(「第」+
数字+「図」)と値範囲の指定(2以上)が同時に行な
える。
For example, when the user merely inputs "FIG. 2" as a search character string, the format of the serial number character string ("No. +
(Numeral + "figure") and value range designation (2 or more) can be performed at the same time.

【0028】請求項3に記載の文字列検索装置は、請求
項1または2に記載の装置において文字列入力手段は、
第1の順序値を示す順序文字列を含む第1連番文字列を
入力する第1連番文字列入力手段と、第1連番文字列と
同じ形式で、かつ第1順序値より大きい第2の順序値を
示す順序文字列を含む第2連番文字列を入力する第2連
番文字列入力手段とをさらに備える。そして、連番文字
列検索手段は、第1および第2連番文字列入力手段によ
り入力された第1および第2連番文字列と同じ形式で、
かつ第1順序値以上で第2順序値以下である順序値を示
す順序文字列を含む連番文字列のみを記憶手段に記憶さ
れた文章中から検索する。
According to a third aspect of the present invention, in the character string search device according to the first or second aspect, the character string input means includes:
First serial number character string input means for inputting a first serial number character string including an order character string indicating a first order value; and a first serial number character string having the same format as the first serial number character string and being larger than the first order value. And a second serial number character string input means for inputting a second serial number character string including an order character string indicating an order value of 2. Then, the serial number character string search means has the same format as the first and second serial number character strings input by the first and second serial number character string input means,
In addition, only the serial number character string including the order character string indicating the order value that is equal to or more than the first order value and equal to or less than the second order value is searched from the text stored in the storage unit.

【0029】請求項3に従えば、入力した2つの連番文
字列の値の間の範囲の連番文字列のみを文章中から検索
するので、値の範囲指定操作が容易である。
According to the third aspect, since only the serial number character string in the range between the values of the two input serial number character strings is searched from the text, the value range designation operation is easy.

【0030】たとえば、ユーザが検索文字列として「第
2図」と「第4図」とを入力するのみで連番文字列の形
式(「第」+数字「図」)と値範囲の指定(2以上4以
下)が同時に行なえる。請求項4に記載の文字列検索装
置は、請求項1ないし3のいずれかに記載の文字装置に
おいて連番文字列検索手段により文章から検索された検
索連番文字列を置換するための置換連番文字列で置換す
る連番文字列置換手段をさらに備える。そして、連番文
字列置換手段は、順序値に関して所望される増減値を入
力するための増減値入力手段を有する。そして、置換連
番文字列は、検索連番文字列の順序文字列の示す順序値
が増減値入力手段により入力された所望増減値だけ増減
された順序値の順序文字列とその他の文字列からなるも
のである。
For example, the user simply inputs “FIG. 2” and “FIG. 4” as search character strings, and specifies the format of the serial number character string (“No.” + Numerical “FIG.”) And the value range ( 2 to 4) can be performed simultaneously. According to a fourth aspect of the present invention, there is provided a character string search apparatus according to any one of the first to third aspects, further comprising: Further provided is a serial number character string replacing means for replacing with a number character string. Then, the serial number character string replacement means has an increase / decrease value input means for inputting a desired increase / decrease value for the order value. Then, the replacement serial number character string is obtained by dividing the order value indicated by the order character string of the search serial number character string by the desired increase / decrease value input by the increase / decrease value input means from the order character string of the order value and other character strings. It becomes.

【0031】したがって請求項4に従えば、検索する連
番文字列と増減値を入力すると、検索された連番文字列
の値を増減値だけ増減させ、その増減させた連番文字列
を元の文字列と置換するので、容易に連番文字列の置換
を行なうことができる。
Therefore, according to the fourth aspect, when the serial number character string to be searched and the increase / decrease value are input, the value of the searched serial number character string is increased / decreased by the increase / decrease value, and the increased / decreased serial number character string is used as the original. , The serial number character string can be easily replaced.

【0032】たとえば、従来は正規コードを使用して
「第[0−9]{1、}図」というよな文字列(正規コ
ード「[0−9]{1、}」は「一桁以上の数字」を示
している)を検索文字列として指定し、かつその増減値
を指定しなければ「第1図」「第2図」「第3図」…な
どの連番文字列を「第2図」「第3図」「第4図」…な
どに置換することはできなかったが、請求項4に従え
ば、単に「第1図」と、増減値を「+1」と入力するの
み、あるいは増加指示を1回するだけで「第1図」「第
2図」「第3図」…などの連番文字列を「第2図」「第
3図」「第4図」…などに置換することが非常に容易と
なる。
For example, conventionally, using a regular code, a character string such as "[0-9] $ 1, $ figure" (the regular code "[0-9] $ 1, $" ) Is specified as a search character string, and if no increase / decrease value is specified, a serial number character string such as “FIG. 1,” “FIG. 2,” “FIG. Although it could not be replaced with "FIG. 2", "FIG. 3", "FIG. 4", etc., according to claim 4, simply input "FIG. 1" and the increase / decrease value as "+1". , Or a single increase instruction is used to change the serial number character string such as “FIG. 1,” “FIG. 2,” “FIG. 3,” and so on to “FIG. 2,” “FIG. 3,” “FIG. It becomes very easy to substitute

【0033】請求項5に記載の文字列検索装置は、請求
項4に記載の装置において連番文字列置換手段は、置換
連番文字列を入力するための置換連番文字列入力手段を
さらに有し、増減値入力手段は、文字列入力手段により
入力された連番文字列の順序値と置換連番文字列入力手
段により入力された置換連番文字列の順序値とから、所
望増減値を演算して求める。
According to a fifth aspect of the present invention, in the character string search device according to the fourth aspect, the serial number character string replacing means further includes a replacement serial number character string input means for inputting a replacement serial number character string. The increase / decrease value input means has a desired increase / decrease value based on the sequence value of the serial number character string input by the character string input means and the sequence value of the replacement serial number character string input by the replacement sequence number character string input means. Is calculated.

【0034】したがって請求項5に従えば、検索する連
番文字列と置換後の連番文字列を入力すると、その増減
値が求められ、検索された連番文字列の値を求められた
増減値だけ増減させ、その増減された連番文字列を元の
文字列と置換するので容易に連番文字列の置換を行なう
ことができる。
Therefore, according to claim 5, when the serial number character string to be searched and the serial number character string after replacement are input, the increase / decrease value is obtained, and the value of the searched serial number character string is obtained. Since the value is increased or decreased by the value and the increased or decreased serial number character string is replaced with the original character string, the serial number character string can be easily replaced.

【0035】たとえば、従来は正規コードを使用して
「第[0−9]{1、}図」というような文字列(正規
コード「[0−9]{1、}」は「一桁以上の数字」を
示している)を検索文字列として指定し、かつその増減
値を指定しなければ「第1図」「第2図」「第3図」…
などの連番文字列を「第2図」「第3図」「第4図」…
などに置換することはできなかったが、請求項5に従え
ば、単に検索する文字列として「第1図」、置換後の文
字列として「第2図」と入力するだけで、「第1図」
「第2図」「第3図」…などの連番文字列を「第2図」
「第3図」「第4図」…などに置換することが非常に容
易となる。
For example, conventionally, a character string such as "[0-9] $ 1, $ figure" (regular code "[0-9] $ 1, @" ) Is specified as a search character string, and if no increase / decrease value is specified, “FIG. 1,” “FIG. 2,” “FIG.
The serial number character strings such as “FIG. 2,” “FIG. 3,” “FIG.
However, according to claim 5, simply inputting "FIG. 1" as a character string to be searched and "FIG. 2" as a character string after replacement, the "1st character string" Figure "
A sequence number character string such as “FIG. 2”, “FIG. 3”.
It becomes very easy to substitute "FIG. 3,""FIG.4,"...

【0036】請求項6に記載の文字列検索装置は、請求
項5に記載の装置において検索連番文字列を、置換連番
文字列入力手段により入力された置換連番文字列の形式
に変換された検索連番文字列で置換する連番文字列形式
置換手段をさらに備える。
According to a sixth aspect of the present invention, there is provided a character string search apparatus for converting a search serial number character string into a replacement serial number character string format input by a replacement serial number character string input means in the apparatus according to the fifth aspect. Further comprising a serial number character string format replacing means for replacing with the searched serial number character string.

【0037】請求項6に従えば、置換後の連番文字列と
して、検索する連番文字列の形式と異なる形式の連番文
字列を入力すると、検索された連番文字列の形式を置換
後の連番文字列の形式に変換し、その変換した連番文字
列を元の文字列と置換するので、連番文字列の形式の変
更が非常に容易に行なえる。
According to the present invention, when a serial number character string having a format different from that of the serial number character string to be searched is input as the replacement serial number character string, the format of the searched serial number character string is replaced. Since the converted serial number character string is converted to the format of the subsequent serial number character string and the converted serial number character string is replaced with the original character string, the format of the serial number character string can be changed very easily.

【0038】たとえば、「第1図」「第2図」「第3
図」…などの連番文字列を「図1」「図2」「図3」…
などに置換する場合、従来は正規コードとして「(第)
([0−9]{1、})(図)」というような文字列を
検索文字列として指定し、置換後の文字列として「図¥
2」という文字列(「¥2」は検索文字列
の「(」「」」で囲まれたブロックの2番目を示してい
る)を指定すると行なうことができたが、請求項6で
は、単に検索する文字列として「第1図」、置換後の文
字列として「図1」と入力するだけで、「第1図」「第
2図」「第3図」…などの連番文字列を「図1」「図
2」「図3」…などに置換することが非常に容易とな
る。
For example, FIG. 1, FIG. 2, and FIG.
.., Etc. are changed to “FIG. 1,” “FIG. 2,” “FIG.
For example, if you replace with "(No.)
A character string such as ([0-9] {1,}) (FIG.)] Is designated as a search character string, and the character string after replacement is “FIG.
2) ("$ 2" indicates the second block of the block enclosed by "(""") in the search character string. By simply inputting “FIG. 1” as a character string to be searched and “FIG. 1” as a character string after replacement, a serial number character string such as “FIG. 1,” “FIG. 2,” “FIG. It becomes very easy to substitute “FIG. 1,” “FIG. 2,” “FIG. 3,”.

【0039】また、検索する文字列として「第1図」、
置換後の文字列として「図2」と入力するだけで「第1
図」「第2図」「第3図」…などの連番文字列を「図
2」「図3」「図4」…などに置換することが非常に容
易となる。
As the character strings to be searched, "FIG. 1"
Just enter “Fig. 2” as the replacement character string
It is very easy to replace the serial number character strings such as “FIG.”, “FIG. 2”, “FIG. 3”, etc. with “FIG. 2,” “FIG. 3,” “FIG.

【0040】請求項7に記載の文字列検索装置は請求項
3に記載の装置において順序値に関して所望される増加
値を入力するための増加値入力手段と、検索連番文字列
を、その順序値が増加値入力手段により入力された所望
増加値だけ増加された順序値を示す順序文字列を含む連
番文字列で置換する第1連番文字列置換手段と、第1お
よび第2連番文字列入力手段により入力された第1およ
び第2連番文字列と同じ形式で、かつ第2順序値+1以
上で第2順序値に増加値入力手段により入力された所望
増加値を加えた順序値以下を示す順序文字列を含む連番
文字列のみを記憶手段に記憶された文章中から検索する
第2連番文字列検索手段と、第2連番文字列検索手段に
より文章中から検索された第2検索連番文字列を、第2
順序値から第1順序値を減じて1を加えた値だけ減少さ
せた後の順序値を示す順序文字列を含む第2検索連番文
字列で置換する第2連番文字列置換手段とをさらに備え
る。
A character string search apparatus according to a seventh aspect of the present invention is an apparatus according to the third aspect, wherein an increase value input means for inputting a desired increase value with respect to an order value, and a search sequence number character string are arranged in the order. First serial number character string replacing means for replacing a value with a serial number character string including an order character string indicating an order value incremented by a desired increment value inputted by an increment value input means, and first and second serial numbers In the same format as the first and second serial number character strings input by the character string input means, and an order obtained by adding the desired increment value input by the increment value input means to the second order value when the second order value is +1 or more. A second serial number character string searching means for searching only a serial number character string including an order character string indicating a value or less from the text stored in the storage means, and a second serial number character string searching means for searching from the text by the second serial number character string searching means. The second search serial number character string
A second sequence number character string replacing means for substituting a second search sequence number string including an order character string indicating an order value after subtracting the first order value from the order value and adding 1 to the value. Further prepare.

【0041】請求項7に従えば、指定された値範囲の連
番文字列の値を指定された値だけ増加させるように置換
するとともに、その置換によって影響を受ける値範囲以
外の連番文字列の値も適切な値に置換するため、連番文
字列の順序の移動を容易に行なうことができる。
According to the seventh aspect, the replacement is performed so that the value of the serial number character string in the specified value range is increased by the specified value, and the serial number character string other than the value range affected by the replacement. Is also replaced with an appropriate value, so that the order of the serial number character string can be easily moved.

【0042】たとえば図14に示したように、「第2
図」ないし「第4図」を4だけ増加させて「第6図」な
いし「第8図」に置換し、それによって影響を受ける
「第5図」ないし「第8図」を3だけ減少させる場合、
従来は連番文字列の入力時に特殊なコードを使用して入
力したり、特別な機能を実行させて入力させる必要があ
った。しかし、請求項7に従えば、通常の文字入力の方
法と同様に入力された連番文字列であっても、検索する
文字列として「第2図」と「第4図」を指定し、増加値
として「3」を指定するだけで容易に上述したような置
換を行なうことができる。
For example, as shown in FIG.
Figure 4 to Figure 4 are increased by 4 and replaced with Figures 6 to 8 and the affected Figures 5 to 8 are reduced by 3. If
Conventionally, it has been necessary to input a serial number character string using a special code or to execute a special function. However, according to claim 7, even if a serial number character string is input in the same manner as a normal character input method, "FIG. 2" and "FIG. 4" are designated as character strings to be searched, The replacement described above can be easily performed only by designating “3” as the increase value.

【0043】請求項8に記載の文字列検索装置は請求項
7に記載の装置において、第1および第2連番文字列と
同じ形式で、かつ第2順序値より大きい第3の順序値を
示す順序文字列を含む第3の連番文字列を入力する第3
連番文字列入力手段をさらに備える。そして、増加値入
力手段は、第1順序値と第3連番文字列入力手段により
入力された第3連番文字列の第3順序値とから、所望増
加値を演算して求める。
The character string search device according to claim 8 is the device according to claim 7, wherein a third order value larger than the second order value has the same format as the first and second serial number character strings. Inputting a third serial number character string including the order character string shown in FIG.
Further provided is a serial number character string input unit. Then, the increase value input means calculates and obtains a desired increase value from the first order value and the third order value of the third serial number character string input by the third serial number character string input means.

【0044】請求項8に従えば、指定された値範囲の連
番文字列を別に入力された(値範囲より大きい値の)連
番文字列の後ろに移動させたような値に置換し、またそ
れにより、影響を受ける値範囲以外の連番文字列の値
も、適切な値に置換するので、連番文字列の順序の移動
を容易に行なうことができる。
According to the present invention, the serial number character string in the designated value range is replaced with a value which is shifted to the rear of the separately input serial number character string (having a value larger than the value range), In addition, since the value of the serial number character string outside the affected value range is also replaced with an appropriate value, the order of the serial number character string can be easily moved.

【0045】たとえば図14に示されたように、「第2
図」ないし「第4図」を「第8図」の後ろに移動させ
て、それによって影響を受ける「第5図」ないし「第8
図」を3だけ減少させる場合、従来は連番文字列の入力
時に特殊なコードを使用して入力したり、特別な機能を
実行させて入力させる必要があったが、請求項8に従え
ば、通常の文字入力の方法と同様に入力された連番文字
列であっても、検索する文字列として「第2図」と「第
4図」を指定し、移動先として「第8図」(の後ろ)と
指定するだけで容易に上述したような置換を行なうこと
ができる。
For example, as shown in FIG.
Fig. 4 to Fig. 4 are moved behind Fig. 8 so that the affected Figs. 5 to 8
When the figure is reduced by three, it has conventionally been necessary to input a serial number character string using a special code or to execute a special function to input the serial number character string. In the case of a serial number character string input in the same manner as in a normal character input method, “FIG. 2” and “FIG. 4” are designated as character strings to be searched, and “FIG. By simply designating (after), the above-described replacement can be easily performed.

【0046】請求項9に記載の文字列検索装置は、請求
項3または7に記載の装置において順序値に関して所望
される減少値を入力するための減少値入力手段と、検索
連番文字列を、その順序値が減少値入力手段により入力
された所望減少値だけ減少された連番文字列により置換
する第3連番文字列置換手段と、第1および第2連番文
字列入力手段により入力された第1および第2連番文字
列と同じ形式で、かつ第1順序値から減少値入力手段に
より入力された所望減少値を減少させた値以上で第1順
序値−1以下の順序値を示す順序文字列を含む連番文字
列のみを記憶手段に記憶された文章中から検索する第3
の連番文字列検索手段と、第3連番文字列検索手段によ
り文章中から検索された連番文字列を、その順序値が第
2順序値から第1順序値を減じて1を加えた値だけ増加
された後の順序値を示す順序文字列を含む連番文字列で
置換する第4の連番文字列置換手段とをさらに備える。
According to a ninth aspect of the present invention, there is provided a character string search device, comprising: a decrement value input means for inputting a desired decrement value with respect to an order value in the device according to the third or seventh aspect; A third serial number character string replacing means for replacing the sequence value by a serial number character string reduced by a desired decrease value inputted by the decreasing value input means, and an input by the first and second serial number character string input means. Sequence value in the same format as the first and second serial number character strings, and a value equal to or greater than a value obtained by reducing the desired decrease value input by the decrease value input means from the first order value and equal to or less than the first order value -1 A third method of searching only the sequence number character string including the sequence character string indicating
And the sequence value obtained by subtracting the first sequence value from the second sequence value and adding 1 to the sequence number character string retrieved from the text by the sequence number character string search means and the third sequence number character string search means And a fourth serial number character string replacing means for performing replacement with a serial number character string including an order character string indicating an order value after being incremented by the value.

【0047】請求項9に従えば、指定された値範囲の連
番文字列の値を指定された値だけ減少させるように置換
するとともに、その置換によって影響を受ける値範囲以
外の連番文字列の値も適切な値に置換するので、連番文
字列の順序の移動を容易に行なうことができる。
According to the ninth aspect, the serial number character string in the specified value range is replaced so as to be reduced by the specified value, and the serial number character string other than the value range affected by the replacement is reduced. Is also replaced with an appropriate value, so that the order of the serial number character strings can be easily moved.

【0048】たとえば、「第5図」ないし「第8図」を
3だけ減少させて「第2図」ないし「第5図」に置換
し、それによって影響を受ける「第2図」ないし「第4
図」を4だけ増加させる場合、従来は連番文字列の入力
時に特殊なコードを使用して入力したり、特別な機能を
実行させて入力させる必要があったが、請求項9に従え
ば、通常の文字入力の方法と同様に入力された連番文字
列であっても、検索する文字列として「第5図」と「第
8図」を指定し、減少値として「3」を指定するだけで
容易に上述したような置換を行なうことができる。
For example, “FIG. 5” to “FIG. 8” are reduced by 3 and replaced with “FIG. 2” to “FIG. 5”, and “FIG. 2” to “FIG. 4
In the case where the figure is increased by 4, conventionally, it has been necessary to input the serial number character string using a special code or to execute a special function to input the character string. In the case of a serial number character string input in the same manner as in a normal character input method, "FIG. 5" and "FIG. 8" are specified as character strings to be searched, and "3" is specified as a decreasing value. The above-described replacement can be easily performed simply by performing the above operation.

【0049】請求項10に記載の文字列検索装置は請求
項9に記載の装置において、第1および第2連番文字列
と同じ形式で、かつ第1順序値−1より小さい第4の順
序値を示す順序文字列を含む第4の連番文字列を入力す
る第4連番文字列入力手段をさらに有する。そして、減
少値入力手段は、第1順序値と第4連番文字列入力手段
により入力された第4連番文字列の第4順序値とから所
望減少値を演算して求める。
A character string search device according to a tenth aspect is the device according to the ninth aspect, wherein the fourth order has the same format as the first and second serial number character strings and is smaller than the first order value -1. There is further provided a fourth serial number character string input unit for inputting a fourth serial number character string including an order character string indicating a value. Then, the decrease value input means calculates and obtains a desired decrease value from the first order value and the fourth order value of the fourth serial number character string input by the fourth serial number character string input means.

【0050】請求項10に従えば、指定された値範囲の
連番文字列を別に入力された(指定された値範囲より小
さい値の)連番文字列の後ろに移動させたような値に置
換し、またそれにより、影響を受ける指定された値範囲
以外の連番文字列の値も、適切な値に置換するので、連
番文字列の順序の移動を容易に行なえる。
According to the tenth aspect, the serial number character string in the designated value range is shifted to the value which is moved after the separately input serial number character string (having a value smaller than the specified value range). The value of the serial number character string outside the specified value range affected by the replacement is also replaced with an appropriate value, so that the order of the serial number character string can be easily moved.

【0051】たとえば、「第5図」ないし「第8図」を
「第1図」の後ろに移動させて、それによって影響を受
ける「第2図」ないし「第4図」を4だけ増加させる場
合、従来は連番文字列の入力時に特殊なコードを使用し
て入力したり、特別な機能を実行させて入力させる必要
があったが、請求項11に従えば、通常の文字入力の方
法と同様に入力された連番文字列であっても、検索する
文字列として「第5図」と「第8図」を指定し、移動先
として「第1図」(の後ろ)と指定するだけで容易に上
述したような置換を行なうことができる。
For example, "FIG. 5" to "FIG. 8" are moved after "FIG. 1", and "FIG. 2" to "FIG. 4" affected thereby are increased by 4. Conventionally, when inputting a serial number character string, it has been necessary to input the character string using a special code or to execute a special function. In the case of a serial number character string input in the same manner as above, "FIG. 5" and "FIG. 8" are designated as character strings to be searched, and "FIG. 1" (after) is designated as a destination. The above-described replacement can be easily performed only with the above.

【0052】請求項11に記載の文字列検索装置は、請
求項1ないし10のいずれかに記載の装置において、文
字列入力手段により連番文字列でない文字列が入力され
た時、入力された文字列に一致する文字列を記憶記憶手
段に記憶された文章中から検索する検索手段とをさらに
備える。
In the character string search device according to the present invention, when a character string which is not a serial number character string is inputted by the character string input means, the character string is inputted. Search means for searching a character string matching the character string from sentences stored in the storage means is further provided.

【0053】請求項11に従えば、検索文字列として連
番文字列を入力すると、該連番文字列および該連番文字
列と同じ形式でその値の異なった連番文字列を文章中か
ら検索し、検索文字列として連番文字列以外の文字列を
入力すると、該文字列を文章中から検索する。そのた
め、ユーザは通常の検索指示と連番文字列の検索指示と
を区別して行なう必要がなく、たとえば通常の検索処理
しか知らない初心者であっても、検索文字列として連番
文字列を入力することで連番文字列の検索処理を行なう
ことができるなど、容易に連番文字列の検索を行なうこ
とができる。
According to the eleventh aspect, when a serial number character string is input as a search character string, the serial number character string and a serial number character string having a different value in the same format as the serial number character string are output from the text. When a character string other than the serial number character string is input as a search character string, the character string is searched for in the text. Therefore, the user does not need to distinguish between a normal search instruction and a search instruction for a serial number character string. Even a beginner who knows only normal search processing can input a serial number character string as a search character string. This makes it possible to easily search for a serial number character string, such as performing a search process for a serial number character string.

【0054】なお、入力した検索文字列が連番文字列で
あっても、ユーザの指示により通常の検索処理を行なう
ことも可能である。
Even if the input search character string is a serial number character string, it is possible to perform a normal search process in accordance with a user's instruction.

【0055】請求項12に記載の文字列検索方法は、一
定の連続性を有する連番文字列を含む各種の文字列を入
力して、該入力文字列に基づいて文章を検索して検索結
果を出力する方法であって、各種の文字列を入力する文
字列入力ステップと、文字列入力ステップにより連番文
字列が入力されたとき、入力された連番文字列および、
該連番文字列と同じ形式で示され、かつ順序文字列のみ
異なる文字列を文章中から検索する連番文字列検索ステ
ップとを備える。そして、順序文字列は前述の一定連続
性における順序に対応する順序値を示す連番文字列中の
文字列であり、形式は順序文字列とその他の文字列から
なる。
According to a twelfth aspect of the present invention, there is provided a character string search method, wherein various character strings including a serial number character string having a certain continuity are input, and a sentence is searched based on the input character string. A character string input step of inputting various character strings, and when a serial number character string is input by the character string input step, the input serial number character string and
A sequence number character string search step of searching a text for a character string that is shown in the same format as the sequence number character string and that differs only in the order character string. The order character string is a character string in a serial number character string indicating an order value corresponding to the order in the above-mentioned constant continuity, and the format is composed of an order character string and other character strings.

【0056】請求項12に従えば、検索文字列として連
番文字列を入力すると、該連番文字列および該連番文字
列と同じ形式でその値の異なった連番文字列を文章中か
ら検索する。この際、入力する連番文字列は特殊なコー
ドなどを用いて入力する必要はなく、通常の文字入力と
同じように入力すればよいから、初心者でも容易に連番
文字列の検索を行なうことができる。
According to the twelfth aspect, when a serial number character string is input as a search character string, the serial number character string and a serial number character string having a different value in the same format as the serial number character string are output from the text. Search for. In this case, it is not necessary to input the serial number character string using a special code or the like, and it is sufficient to input the same as normal character input, so even a beginner can easily search for the serial number character string. Can be.

【0057】たとえば、従来は正規コードを使用して
「第[0−9]{1、}図」というような文字列(正規
コード「[0−9]{1、}」は「一桁以上の数字」を
示している)を検索文字列として指定しなければ「第1
図」や「第12図」の連番文字列を検索することはでき
なかったが、請求項12に従えば、単に「第1図」と入
力するのみで「第1図」や「第12図」などを検索する
ことができ、非常に操作性が向上する。
For example, conventionally, a character string such as "[0-9] $ 1, $ figure" (regular code "[0-9] $ 1, $"") Is not specified as a search string.
Although it was not possible to search for the serial number character strings of "FIG." And "FIG. 12", according to claim 12, "FIG. 1" and "12""Figure" etc. can be searched, and the operability is greatly improved.

【0058】請求項13に記載の文字列検索方法は、請
求項12に記載の文字列検索方法において連番文字列検
索ステップにより文章から検索された検索連番文字列を
置換するための置換連番文字列で置換する連番文字列置
換ステップをさらに備える。そして、連番文字列置換ス
テップは、順序値に関して所望される増減値を入力する
ための増減値入力ステップを有する。そして、置換連番
文字列は、検索連番文字列の順序文字列の示す順序値が
増減値入力ステップにより入力された所望増減値だけ増
減された順序値の順序文字列とその他の文字列からなる
ものである。
A character string search method according to a thirteenth aspect is a character string search method according to the twelfth aspect, wherein the replacement string for replacing the search serial number character string searched from the text by the serial number character string search step. The method further includes a serial number character string replacement step of replacing with a number character string. The serial number character string replacement step includes an increase / decrease value input step for inputting a desired increase / decrease value with respect to the order value. Then, the replacement serial number character string is obtained by dividing the order value indicated by the order character string of the search serial number character string by the desired increase / decrease value input in the increase / decrease value input step from the order character string of the order value and other character strings. It becomes.

【0059】したがって請求項13に従えば、検索する
連番文字列と増減値を入力すると、検索された連番文字
列の値を増減値だけ増減させ、その増減させた値の置換
連番文字列を元の文字列と置換するので、容易に連番文
字列の置換を行なうことができる。
Therefore, according to claim 13, when the serial number character string to be searched and the increase / decrease value are input, the value of the searched serial number character string is increased / decreased by the increase / decrease value, and the replacement serial number character of the increased / decreased value is entered. Since the string is replaced with the original character string, the serial number character string can be easily replaced.

【0060】たとえば、従来は正規コードを使用して
「第[0−9]{1、}図」というよな文字列(正規コ
ード「[0−9]{1、}」は「一桁以上の数字」を示
している)を検索文字列として指定し、かつその増減値
を指定しなければ「第1図」「第2図」「第3図」…な
どの連番文字列を「第2図」「第3図」「第4図」…な
どに置換することはできなかったが、請求項13に従え
ば、単に「第1図」と、増減値を「+1」と入力するの
み、あるいは増加指示を1回するだけで「第1図」「第
2図」「第3図」…などの連番文字列を「第2図」「第
3図」「第4図」…などに置換することが非常に容易と
なる。
For example, conventionally, using a regular code, a character string such as "[0-9] $ 1, $ figure" (regular code "[0-9] $ 1, $" ) Is specified as a search character string, and if no increase / decrease value is specified, a serial number character string such as “FIG. 1,” “FIG. 2,” “FIG. Although it could not be replaced with “FIG. 2”, “FIG. 3”, “FIG. 4”, etc., according to claim 13, simply input “FIG. 1” and the increase / decrease value as “+1”. , Or a single increase instruction is used to change the serial number character string such as “FIG. 1,” “FIG. 2,” “FIG. 3,” and so on to “FIG. 2,” “FIG. 3,” “FIG. It becomes very easy to substitute

【0061】請求項14に記載の文字列検索プログラム
を記録したコンピュータで読取可能な記録媒体におい
て、コンピュータにより文字列検索プログラムに従い実
行される文字列検索方法は、一定の連続性を有する連番
文字列を含む各種の文字列を入力して、該入力文字列に
基づいて文章を検索して検索結果を出力する方法であっ
て、各種の文字列を入力する文字列入力ステップと、文
字列入力ステップにより連番文字列が入力されたとき、
入力された連番文字列および、該連番文字列と同じ形式
で示され、かつ順序文字列のみ異なる文字列を文章中か
ら検索する連番文字列検索ステップとを備える。そし
て、順序文字列は前述の一定連続性における順序に対応
する順序値を示す連番文字列中の文字列であり、形式は
順序文字列とその他の文字列からなる。
In a computer-readable recording medium storing the character string search program according to claim 14, a character string search method executed by the computer according to the character string search program is characterized in that a serial number character having a certain continuity is provided. A method of inputting various character strings including a column, searching for a sentence based on the input character string, and outputting a search result, comprising: a character string input step of inputting various character strings; When the serial number character string is input by the step,
And a sequence number character string search step of searching a sentence for a character string indicated in the same format as the input serial number character string and differing only in the order character string. The order character string is a character string in a serial number character string indicating an order value corresponding to the order in the above-mentioned constant continuity, and the format is composed of an order character string and other character strings.

【0062】請求項14に従えば、検索文字列として連
番文字列を入力すると、該連番文字列および該連番文字
列と同じ形式でその値の異なった連番文字列を文章中か
ら検索する。この際、入力する連番文字列は特殊なコー
ドなどを用いて入力する必要はなく、通常の文字入力と
同じように入力すればよいから、初心者でも容易に連番
文字列の検索を行なうことができる。
According to the fourteenth aspect, when a serial number character string is input as a search character string, the serial number character string and a serial number character string having a different value in the same format as the serial number character string are output from the text. Search for. In this case, it is not necessary to input the serial number character string using a special code or the like, and it is sufficient to input the same as normal character input, so even a beginner can easily search for the serial number character string. Can be.

【0063】たとえば、従来は正規コードを使用して
「第[0−9]{1、}図」というような文字列(正規
コード「[0−9]{1、}」は「一桁以上の数字」を
示している)を検索文字列として指定しなければ「第1
図」や「第12図」の連番文字列を検索することはでき
なかったが、請求項14に従えば、単に「第1図」と入
力するのみで「第1図」や「第12図」などを検索する
ことができ、非常に操作性が向上する。
For example, conventionally, a character string such as "[0-9] $ 1, $ figure" (regular code "[0-9] $ 1, $"") Is not specified as a search string.
Although it was not possible to search for the serial number character strings of “FIG.” And “FIG. 12”, according to claim 14, simply inputting “FIG. "Figure" etc. can be searched, and the operability is greatly improved.

【0064】請求項15に記載の文字列検索プログラム
を記録したコンピュータで読取可能な記録媒体は、請求
項14に記載の文字列検索方法において、連番文字列検
索ステップにより文章から検索された検索連番文字列を
置換するための置換連番文字列で置換する連番文字列置
換ステップをさらに備える。そして、連番文字列置換ス
テップは、順序値に関して所望される増減値を入力する
ための増減値入力ステップを有する。そして、置換連番
文字列は、検索連番文字列の順序文字列の示す順序値が
増減値入力ステップにより入力された所望増減値だけ増
減された順序値の順序文字列とその他の文字列からなる
ように構成される。
A computer-readable recording medium recording the character string search program according to claim 15 is a character string search method according to claim 14, wherein the character string search program includes a character string search program, wherein The method further includes a serial number character string replacing step of replacing the serial number character string with a replacement serial number character string. The serial number character string replacement step includes an increase / decrease value input step for inputting a desired increase / decrease value with respect to the order value. Then, the replacement serial number character string is obtained by dividing the order value indicated by the order character string of the search serial number character string by the desired increase / decrease value input in the increase / decrease value input step from the order character string of the order value and other character strings. It is configured to be.

【0065】請求項15に従えば、検索する連番文字列
と増減値を入力すると、検索された連番文字列の値を増
減値だけ増減させ、その増減させた値の置換連番文字列
を元の文字列と置換するので、容易に連番文字列の置換
を行なうことができる。
According to claim 15, when the serial number character string to be searched and the increase / decrease value are input, the value of the searched serial number character string is increased / decreased by the increase / decrease value, and the replacement serial number character string of the increased / decreased value is entered. Is replaced with the original character string, so that the serial number character string can be easily replaced.

【0066】たとえば、従来は正規コードを使用して
「第[0−9]{1、}図」というよな文字列(正規コ
ード「[0−9]{1、}」は「一桁以上の数字」を示
している)を検索文字列として指定し、かつその増減値
を指定しなければ「第1図」「第2図」「第3図」…な
どの連番文字列を「第2図」「第3図」「第4図」…な
どに置換することはできなかったが、請求項15に従え
ば、単に「第1図」と、増減値を「+1」と入力するの
み、あるいは増加指示を1回するだけで「第1図」「第
2図」「第3図」…などの連番文字列を「第2図」「第
3図」「第4図」…などに置換することが非常に容易と
なる。
For example, conventionally, a character string such as "[0-9] $ 1, $ figure" using a regular code (regular code "[0-9] $ 1, $" is "one or more digits" ) Is specified as a search character string, and if no increase / decrease value is specified, a serial number character string such as “FIG. 1,” “FIG. 2,” “FIG. Although it could not be replaced with "FIG. 2", "FIG. 3", "FIG. 4", etc., according to claim 15, simply input "FIG. 1" and the increase / decrease value as "+1". , Or a single increase instruction is used to change the serial number character string such as “FIG. 1,” “FIG. 2,” “FIG. 3,” and so on to “FIG. 2,” “FIG. 3,” “FIG. It becomes very easy to substitute

【0067】[0067]

【発明の実施の形態】以下、この発明の実施の形態につ
いて図面を参照し説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0068】(実施の形態1)図1はこの発明の実施の
形態1による情報処理装置1のハードウェアブロック図
である。情報処理装置1はCPU(中央処理装置)10
1、RAM(ランダムアクセスメモリ)102、ROM
(リードオンリメモリ)103、表示装置104、キー
ボード105、マウス106およびフロッピィディスク
または/およびハードディスク(以下、FD・HDと略
す)107を含む。
(Embodiment 1) FIG. 1 is a hardware block diagram of an information processing apparatus 1 according to Embodiment 1 of the present invention. The information processing apparatus 1 includes a CPU (central processing unit) 10
1. RAM (random access memory) 102, ROM
(Read only memory) 103, display device 104, keyboard 105, mouse 106, and floppy disk or / and hard disk (hereinafter abbreviated as FD / HD) 107.

【0069】CPU101はRAM102またはROM
103に記憶されたプログラムおよびデータに従って本
情報処理装置1の各部を集中的に制御および管理する。
CPU 101 is RAM 102 or ROM
Each part of the information processing apparatus 1 is intensively controlled and managed according to the programs and data stored in the memory 103.

【0070】表示装置104は文章データやカーソルな
どの表示を行なう。キーボード105は外部操作されて
文章データやコマンドなどの情報入力を行なう。マウス
106は外部操作されて、表示装置104に表示された
ボタンなどを指示してコマンドを入力する。FD・HD
107は複数の文章データや文章データ編集プログラム
などの各種プログラムを記憶する。
The display device 104 displays text data and a cursor. The keyboard 105 is operated externally to input information such as text data and commands. The mouse 106 is operated externally to input a command by instructing a button or the like displayed on the display device 104. FD / HD
Reference numeral 107 stores various programs such as a plurality of text data and a text data editing program.

【0071】図2(A)と(B)は図1のRAM102
とROM103の構成図である。RAM102は図2
(A)に示すように、OS(オペレーティングシステ
ム)や連番文字列検索置換プログラム11を含む文章デ
ータ編集プログラム10などの各種プログラムを記憶す
るプログラム記憶領域102−1、文章データを記憶す
る文章データ記憶領域102−2、後述する連番文字列
形式辞書20を記憶する連番文字列形式辞書記憶領域1
02−3、各種変数データを記憶する変数データ記憶領
域102−4、およびその他のデータを記憶するその他
データ記憶領域102−5に区分される。
FIGS. 2A and 2B show the RAM 102 of FIG.
FIG. RAM 102 is shown in FIG.
As shown in FIG. 1A, a program storage area 102-1 for storing various programs such as an OS (operating system) and a text data editing program 10 including a serial number character string search / replacement program 11, and text data for storing text data Storage area 102-2, serial number character string format dictionary storage area 1 for storing serial number character string format dictionary 20 described later
02-3, a variable data storage area 102-4 for storing various variable data, and another data storage area 102-5 for storing other data.

【0072】ROM103は図2(B)に示されるよう
に、本情報処理装置1の基本処理やハードウェアの制御
を行なうBIOS(Basic Input Output System )が記
憶されるBIOS記憶領域103−1、表示用の文字フ
ォントデータが記憶される文字フォント記憶領域103
−2、およびその他のデータが記憶されるその他データ
記憶領域103−3に区分される。
As shown in FIG. 2B, the ROM 103 stores a BIOS storage area 103-1 for storing a basic input output system (BIOS) for performing basic processing and hardware control of the information processing apparatus 1. Font storage area 103 for storing character font data for
-2 and other data storage area 103-3 for storing other data.

【0073】情報処理装置1の電源が投入されると、初
期化処理が行なわれた後BIOSのプログラムが実行さ
れ、FD・HD107からOSが読込まれ、プログラム
記憶領域102−1に格納された後、実行される。な
お、OSには仮名漢字変換プログラムが含まれており、
FD・HD107に記憶される図示されない仮名漢字変
換辞書の内容に従って、仮名を漢字に変換できる。
When the power of the information processing apparatus 1 is turned on, an initialization process is performed, a BIOS program is executed, the OS is read from the FD / HD 107, and stored in the program storage area 102-1. Will be executed. The OS includes a kana-kanji conversion program.
Kana can be converted to kanji according to the contents of a kana-kanji conversion dictionary (not shown) stored in the FD / HD 107.

【0074】また、OSは使用者からの指示に応じて、
FD・HD107から文章データ編集プログラム10を
読込んでプログラム記憶領域102−1に格納し、また
連番文字列形式辞書20を読込んで連番文字列形式辞書
領域102−4に格納する。その後、OSは格納された
文章データ編集プログラム10を実行する。なお、文章
データ編集プログラム10の実行時には必要に応じて後
述する連番文字列検索置換プログラム11が実行され
る。
Further, the OS responds to an instruction from the user,
The document data editing program 10 is read from the FD / HD 107 and stored in the program storage area 102-1. The serial number character string format dictionary 20 is read and stored in the serial number character string dictionary area 102-4. Thereafter, the OS executes the stored sentence data editing program 10. When the text data editing program 10 is executed, a serial number character string search / replacement program 11, which will be described later, is executed as needed.

【0075】図3は、この発明の実施の形態1による文
章データ編集プログラムによって実現されるメインフロ
ーチャートである。なお、このフローチャートおよび以
降に示す各フローチャートは、図2(A)のプログラム
記憶領域102−1に記憶されたプログラムに従ってC
PU101が動作することによって実現される。
FIG. 3 is a main flowchart realized by the text data editing program according to the first embodiment of the present invention. It should be noted that this flowchart and each of the following flowcharts are based on the program stored in the program storage area 102-1 of FIG.
This is realized by the operation of the PU 101.

【0076】図3においてステップ(以下、単にSと称
する)101では、FD・HD107に予め記憶される
文章データを呼出す指示がなされたか否かが判断され呼
出指示があればS102へ移行し、呼出指示がなければ
S103へ移行する。なお、文章データの呼出指示は、
使用者がキーボード105またはマウス106を操作す
ることによって行なわれる。文章データの呼出指示が行
なわれずにS103の処理へ移行した場合は、新規文章
の作成となる。
In FIG. 3, in step (hereinafter simply referred to as S) 101, it is determined whether or not an instruction to call text data stored in advance in FD / HD 107 has been made. If there is no instruction, the process proceeds to S103. It should be noted that the text data call instruction is
The operation is performed by the user operating the keyboard 105 or the mouse 106. If the processing shifts to the processing of S103 without instructing the calling of the sentence data, a new sentence is created.

【0077】S102では、FD・HD107に予め記
憶される複数の文章データの中から、1つの文章データ
を使用者の指示に応じて選択して読込み、文章データ記
憶領域102−2に記憶する。文章データ記憶領域10
2−2に記憶された文章データは、表示装置104によ
って画面表示される。また、文字の入力位置を示すカー
ソルも同時に所定の位置に表示される。
In S102, one sentence data is selected and read from a plurality of sentence data stored in advance in the FD / HD 107 in accordance with a user's instruction, and stored in the sentence data storage area 102-2. Sentence data storage area 10
The text data stored in 2-2 is displayed on the screen by the display device 104. In addition, a cursor indicating a character input position is also displayed at a predetermined position.

【0078】図4は図3のS102における文章データ
の表示例である。図4において表示画面には指定された
文章データを表示するための文章データ表示領域20
1、操作に関するガイダンスが表示されるガイダンス表
示領域202および領域201と202に関連して表示
される行番号203、図中記号「○」で示される任意の
文字204およびカーソル205が設定表示される。以
下に示す処理によって、カーソル205は文章データ表
示領域201内を自由に移動され、該カーソル位置にお
いて文字を入力したり文字を削除することが可能であ
る。ガイダンス表示領域202には、情報処理装置1か
らユーザへのさまざまなメッセージや、キーボード10
5の図示されないファンクションキーに割当てられてい
る機能名などが表示される。
FIG. 4 is a display example of the sentence data in S102 of FIG. In FIG. 4, the display screen has a text data display area 20 for displaying the specified text data.
1. A guidance display area 202 in which guidance regarding an operation is displayed, a line number 203 displayed in association with the areas 201 and 202, an arbitrary character 204 indicated by a symbol “○” in the figure, and a cursor 205 are set and displayed. . By the processing described below, the cursor 205 can be freely moved in the text data display area 201, and a character can be input or a character can be deleted at the cursor position. In the guidance display area 202, various messages from the information processing apparatus 1 to the user and the keyboard 10 are displayed.
A function name assigned to a function key 5 (not shown) is displayed.

【0079】S103では、キーボード105から文字
が入力されたか判断し、文字が入力されればS104へ
移行し、文字が入力されなければS105へ移行する。
In S103, it is determined whether a character has been input from the keyboard 105. If a character has been input, the process proceeds to S104, and if no character has been input, the process proceeds to S105.

【0080】S104では、入力文字を文章データ記憶
領域102−2のカーソルが指示している位置へ挿入し
記憶する。この場合、漢字入力であれば、キーボード1
05から入力された仮名を仮名漢字変換プログラムで漢
字に変換した後に、文章データ記憶領域102−2に記
憶する。
In S104, the input character is inserted and stored in the text data storage area 102-2 at the position indicated by the cursor. In this case, if it is a kanji input, the keyboard 1
After the kana input from step 05 is converted to kanji by the kana-kanji conversion program, it is stored in the sentence data storage area 102-2.

【0081】ここで、文章データのデータコードおよび
その入力方法などは従来からある文章処理装置に適用さ
れるものと同様であり、連番文字列を入力するために特
殊コードを入力する必要はなく、初心者であっても容易
に入力できるものである。たとえば、図4の第1行目の
「第1章」という文字列をキーボード105から入力す
るには、仮名で「だい1しょう」と入力し、図示されな
い変換キーを押せばよい。
Here, the data code of the sentence data and its input method are the same as those applied to a conventional sentence processing apparatus, and there is no need to input a special code in order to input a serial number character string. , Even for beginners. For example, in order to input the character string "Chapter 1" on the first line in FIG. 4 from the keyboard 105, it is sufficient to input "Dai 1 Sho" with a pseudonym and press a conversion key (not shown).

【0082】S105では、文字の削除指示がなされた
か判断し、削除指示されればS106へ移行し、削除指
示されなければS107へ移行する。文字の削除は、た
とえばキーボード105に備えられるデリートキー(カ
ーソル205が指示する文字を削除するために押下され
るキー)またはバックスペースキー(カーソル205が
指示する直前の文字を削除するために押下されるキー)
によって指示される。
In S105, it is determined whether or not a character deletion instruction has been issued. If a deletion instruction has been issued, the process proceeds to S106, and if not, the process proceeds to S107. Deletion of a character is performed, for example, by pressing a delete key (a key pressed to delete a character indicated by the cursor 205) provided on the keyboard 105 or a backspace key (a character immediately before the pointing by the cursor 205). Key)
Directed by

【0083】S106では、文章データ記憶領域102
−2の指示された位置の文字が削除される。
At S106, the text data storage area 102
The character at the designated position of -2 is deleted.

【0084】S107では、カーソル205の移動指示
がなされたか判断し、移動指示されればS108へ移行
し、移動指示されなければS109へ移行する。カーソ
ル205の移動は、たとえばキーボード105に備えら
れる図示されないカーソル移動キー(上移動キー、下移
動キー、左移動キー、右移動キー)、あるいはマウス1
06によって指示される。
In S107, it is determined whether or not the movement of the cursor 205 has been instructed. If the movement has been instructed, the flow proceeds to S108, and if not, the flow proceeds to S109. The movement of the cursor 205 is performed by, for example, a cursor movement key (up movement key, down movement key, left movement key, right movement key) provided on the keyboard 105 or the mouse 1.
06.

【0085】S108では、S107で指示された方向
または位置へカーソル205を移動させる。
In S108, the cursor 205 is moved in the direction or position designated in S107.

【0086】S109では、文字の置換指示がなされた
か判断し、置換指示されればS110へ移行し、置換指
示されなければS111へ移行する。文字の置換は、た
とえばキーボード105に備えられる図示されない文字
検索置換キー(ファンクションキー)によって指示され
る。
In S109, it is determined whether or not a character replacement instruction has been issued. If a replacement instruction has been issued, the flow shifts to S110. If not, the flow shifts to S111. Character replacement is instructed, for example, by a character search and replacement key (function key) (not shown) provided on the keyboard 105.

【0087】S110では、文字検索置換処理が行なわ
れる。なお、この処理についての詳細は後述する。
At S110, a character search and replacement process is performed. The details of this process will be described later.

【0088】S111では、文字の検索指示がなされた
か判断し、検索指示されればS112へ移行し、検索指
示されなければS113へ移行する。文字の検索は、た
とえばキーボード105に備えられる図示されない文字
検索キー(ファンクションキー)によって指示される。
In S111, it is determined whether or not a character search instruction has been issued. If a search instruction has been issued, the process proceeds to S112, and if not, the process proceeds to S113. Character search is instructed by a character search key (function key) (not shown) provided on the keyboard 105, for example.

【0089】S112では、文字検索処理が行なわれ
る。なお、本処理の詳細は後述する。S113では、文
章データ編集処理を終了する指示がなされたか判断し、
終了指示されれば終了処理(文章データ記憶領域102
−2に記憶された文章データをFD・HD107に登録
するなど)を行ない文章データの編集処理を終了し、終
了指示されなければS103へ戻り、上述した一連の処
理を繰返す。文章データ編集処理の終了指示は、たとえ
ばキーボード105に備えられる図示されない終了キー
(ファンクションキー)によって指示される。
At S112, a character search process is performed. The details of this process will be described later. In S113, it is determined whether an instruction to end the text data editing process has been issued,
If the end is instructed, the end processing (the sentence data storage area 102
The text data stored in -2 is registered in the FD / HD 107, etc., and the editing process of the text data is terminated. If the termination is not instructed, the process returns to S103 to repeat the above-described series of processes. The end instruction of the text data editing process is instructed by an end key (function key) (not shown) provided on the keyboard 105, for example.

【0090】図5は、図4の文章データの修正例を示す
図である。図3のS103〜S108の処理が繰返され
ることによって、図4で示された文章データを修正した
状態が図5に示される。図5では、文章データ表示領域
201の第4行目に新たな章(「第2章 前段」)が追
加挿入されている。これにより図4の文章データ表示領
域の4行目(「第2章 本文」)以降は図5では7行目
以降に移動される。
FIG. 5 is a diagram showing an example of correction of the sentence data of FIG. FIG. 5 shows a state in which the sentence data shown in FIG. 4 is corrected by repeating the processing of S103 to S108 in FIG. In FIG. 5, a new chapter (“Chapter 2 First Section”) is additionally inserted in the fourth line of the text data display area 201. As a result, the fourth and subsequent lines ("Chapter 2 Body") of the text data display area in FIG. 4 are moved to the seventh and subsequent lines in FIG.

【0091】図5では「第2章 前段」が文章データに
新たに追加されたため、連番文字列に関して7行目の
「第2章」は「第3章」に、13行目の「第3章」は
「第4章」に、および14行目の「第2章」は「第3
章」にそれぞれ修正する必要が発生する。
In FIG. 5, since “Chapter 2 First Section” is newly added to the sentence data, “Chapter 2” on line 7 is “Chapter 3” and “Chapter 3” on line 13 is related to the serial number character string. “Chapter 3” is “Chapter 4”, and “Chapter 2” on line 14 is “Chapter 3”.
Chapters need to be modified.

【0092】本実施の形態では、従来技術のように特定
コードの入力が必要とされず、従来の文章処理装置で実
現されている文字検索置換機能を改良することによっ
て、初心者でも連番文字列を容易に修正可能としてい
る。具体的には、上述の7行目の「第2章」は「第3
章」に、13行目の「第3章」は「第4章」に、および
14行目の「第2章」は「第3章」にそれぞれ修正する
場合、カーソルを、修正したい連番文字列が存在する文
章範囲の直前位置(図5の場合、4行2桁目以降、7行
1桁目以前)に移動させ、文字検索置換キーを押し、検
索する文字列として「第2章」、置換後の文字列として
「第3章」と指定すればよい。
In the present embodiment, the input of a specific code is not required unlike the prior art, and the beginner can improve the character search / replacement function realized by the conventional sentence processing apparatus. Can be easily modified. Specifically, the above-mentioned “Chapter 2” on the seventh line is
If you want to modify the "Chapter", "Chapter 3" on line 13 to "Chapter 4", and "Chapter 2" on line 14 to "Chapter 3", move the cursor to the serial number you want to modify. Move to the position immediately before the sentence range in which the character string exists (in FIG. 5, from the 4th line, 2nd digit and before, the 7th line, 1st digit), and press the character search and replace key. "And" Chapter 3 "as the character string after replacement.

【0093】以下に、図3に示された文字検索置換処理
(S110)の詳細を説明する。図6、図7および図8
は、図3の文字検索置換処理(S110)の詳細を示す
フローチャートである。
The details of the character search and replace processing (S110) shown in FIG. 3 will be described below. 6, 7, and 8
4 is a flowchart showing details of the character search and replacement process (S110) in FIG.

【0094】図9は、図3の文字検索置換処理(S11
0)において提示される文字検索置換ダイアログボック
ス300を示す図である。
FIG. 9 shows the character search / replacement process (S11) of FIG.
FIG. 11 is a diagram showing a character search and replace dialog box 300 presented in (0).

【0095】図示される文字置換検索ダイアログボック
ス300は文字検索置換処理における操作の確認や動作
環境の指定などが必要なときに随時表示されるウィンド
ウであって、検索文字列テキストボックス301、置換
文字列テキストボックス302、スピンアップボタン3
03およびスピンダウンボタン304、連番文字列検索
置換チェックボックス305、確認方法セレクトボック
ス306、次検索指示ボタン307、置換指示ボタン3
08、終了指示ボタン309、連番文字列範囲セレクト
ボックス310、および範囲入力テキストボックス31
1を含む。
The illustrated character replacement search dialog box 300 is a window that is displayed whenever necessary for confirming operations in the character search and replacement processing and designating an operating environment. Column text box 302, spin-up button 3
03, spin down button 304, serial number character string search / replace check box 305, confirmation method select box 306, next search instruction button 307, substitution instruction button 3
08, end instruction button 309, serial number character string range select box 310, and range input text box 31
Including 1.

【0096】検索文字列テキストボックス301には、
文章データ表示領域201に表示される文章データから
検索する文字列を入力するためのものである。置換文字
列テキストボックス302は、検索された文字列を置換
するための文字列を入力するためのボックスである。ス
ピンアップボタン/ダウンボタン303/304は、置
換文字列テキストボックス302に入力された置換文字
列に含まれる連番文字列の順序値を増加/減少させるた
めに操作されるボタンである。連番文字列検索置換チェ
ックボックス305は、検索文字列テキストボックス3
01に連番文字列が入力された場合に、文章データ中か
らその連番文字列のみを検索するか(従来の検索方
法)、その連番文字列の順序値を増減させた連番文字列
も検索するかを指定するためのものである。確認方法セ
レクトボックス306は、文章データ中から検索した文
字列を指定された文字列に置換するか否か確認する方
法、たとえば逐次確認するか、あるいは確認なしで一括
して置換するかを選択するために操作されるものであ
る。次検索指示ボタン307は文章データ中から文字検
索の実行を指示するために操作され、置換指示ボタン3
08は文字検索置換の実行を指示するために操作され、
終了指示ボタン309は文字検索置換処理の終了を指示
するために操作される。連番文字列範囲セレクトボック
ス310は、文章データ中から検索する連番文字列の範
囲(順序値が示す値域)をすべてとするか所定範囲とす
るかを選択するために操作されるものである。範囲入力
テキストボックス311は、文章データ中から検索する
連番文字列の範囲を所定範囲とするために操作されるボ
ックスである。
In the search character string text box 301,
This is for inputting a character string to be searched from the sentence data displayed in the sentence data display area 201. The replacement character string text box 302 is a box for inputting a character string for replacing the searched character string. The spin up button / down button 303/304 is a button operated to increase / decrease the order value of the serial number character string included in the replacement character string input to the replacement character string text box 302. The serial number character string search / replace check box 305 is the search character string text box 3
When a serial number character string is input to 01, a search is made only for the serial number character string from the sentence data (conventional search method), or a sequential number character string in which the order value of the serial number character string is increased or decreased Is also used to specify whether to search. The confirmation method select box 306 is a method for confirming whether or not to replace a character string retrieved from text data with a specified character string, for example, to select whether to perform sequential confirmation or to perform batch replacement without confirmation. Is operated. A next search instruction button 307 is operated to instruct execution of a character search from text data.
08 is operated to instruct execution of character search and replace,
The end instruction button 309 is operated to instruct the end of the character search and replace processing. The serial number character string range select box 310 is operated to select whether the range of the serial number character string to be searched from the text data (the value range indicated by the order value) is all or a predetermined range. The range input text box 311 is a box operated to set the range of the serial number character string searched from the text data to a predetermined range.

【0097】なお、連番文字列範囲セレクトボックス3
10は、連番文字列検索置換チェックボックス305が
ONに設定されている場合にのみ表示するようにした方
が望ましい。また、範囲入力テキストボックス311
は、連番文字列範囲セレクトボックス310の「指定範
囲」が選択されている場合のみ表示するようにした方が
望ましい。
Note that the serial number character string range select box 3
10 is preferably displayed only when the serial number character string search / replace check box 305 is set to ON. Also, a range input text box 311
Is desirably displayed only when “specified range” in the serial number character string range select box 310 is selected.

【0098】また、検索文字列テキストボックス301
および範囲入力テキストボックス310にも置換文字列
テキストボックス302と同様のスピンアップボタンお
よびスピンダウンボタンを備えて、テキストボックスに
入力された連番文字列の順序値を1つずつ増減させるよ
うにしてもよい。
Also, a search character string text box 301
Also, the range input text box 310 is provided with the same spin-up button and spin-down button as the replacement character string text box 302, so that the order value of the serial number character string input to the text box is increased or decreased by one. Is also good.

【0099】図6において、文字検索置換処理が開始す
ると、図9の文字検索置換ダイアログボックス300が
表示装置104に既に表示されている文章データに重畳
されて表示される。
In FIG. 6, when the character search / replacement process is started, a character search / replacement dialog box 300 shown in FIG. 9 is superimposed on the sentence data already displayed on the display device 104 and displayed.

【0100】S202では、ユーザがキーボード105
を用いて検索する文字列を検索文字列テキストボックス
301に入力する。ここでは、たとえば「第2章」と入
力される。
In S202, the user enters the keyboard 105
Is entered in the search character string text box 301. Here, for example, “Chapter 2” is input.

【0101】S203では、ユーザが、キーボード10
5を用いて、置換後の文字列を置換文字列テキストボッ
クス303に入力する。ここでは、たとえば「第3章」
と入力される。
In S203, the user operates the keyboard 10
5, the character string after the replacement is input to the replacement character string text box 303. Here, for example, "Chapter 3"
Is entered.

【0102】なお、S202で文字列が入力された際
に、その文字列が連番文字列であった場合、その連番文
字列を置換文字列テキストボックス302に自動的にコ
ピーし、ユーザのスピンアップボタン303またはスピ
ンダウンボタン304の操作指示に応じて、該連番文字
列の値を増減させるようにしてもよい。たとえば、スピ
ンアップボタン303が1回操作指示されるごとに、置
換文字列テキストボックス302に入力し表示されてい
る連番文字列の値が1だけ増加して表示更新され、スピ
ンダウンボタン304が1回操作指示されるごとに置換
文字列テキストボックス302に入力し表示されている
連番文字列の値が1だけ減少して表示更新されるように
してもよい。
When the character string is input in S202 and the character string is a serial number character string, the serial number character string is automatically copied to the replacement character string The value of the serial number character string may be increased or decreased according to an operation instruction of the spin-up button 303 or the spin-down button 304. For example, each time the spin-up button 303 is operated once, the value of the serial number character string entered and displayed in the replacement character string text box 302 is incremented by one, and the display is updated. The value of the serial number character string input and displayed in the replacement character string text box 302 each time the operation is instructed once may be reduced by one and the display may be updated.

【0103】また、S202で文字列が入力された際
に、その文字列が連番文字列であった場合、置換文字列
テキストボックス302に増減値を入力するようにして
もよい。たとえば、検索文字列テキストボックス301
に「第2章」、置換文字列テキストボックス302に
「+3」と入力した場合、置換文字列テキストボックス
302の内容は自動的に「第5章」に変換されて表示更
新される(正の増減値はスピンアップボタン303を押
した回数に、負の増減値はスピンダウンボタン304を
押した回数に対応する)。
If a character string is input in S202 and the character string is a serial number character string, an increase / decrease value may be input to the replacement character string text box 302. For example, search string text box 301
If "Chapter 2" is input to the replacement text box 302 and "+3" is input to the replacement text box 302, the content of the replacement text box 302 is automatically converted to "Chapter 5" and the display is updated. The increase / decrease value corresponds to the number of times the spin-up button 303 is pressed, and the negative increase / decrease value corresponds to the number of times the spin-down button 304 is pressed).

【0104】S204では連番文字列検索置換チェック
ボックス305をONまたはOFFに設定する。この設
定は、ユーザがマウス106またはキーボード105を
用いて設定してもよく、自動的に設定されるようにして
もよい。図10は、図6のS204の連番文字列検索置
換チェックボックス305設定の処理フローチャートで
ある。
In S204, the sequential number character string search / replace check box 305 is set to ON or OFF. This setting may be set by the user using the mouse 106 or the keyboard 105, or may be set automatically. FIG. 10 is a processing flowchart for setting the serial number character string search / replace check box 305 in S204 of FIG.

【0105】図10において、S301では、S202
で入力された検索する文字列が連番文字列であるか否か
が判断され、連番文字列であると判断された場合はS3
02へ移行し、連番文字列でないと判断された場合はS
306へ移行する。入力された検索文字列が連番文字列
であるか否かは、連番文字列形式辞書領域102−3に
記憶される連番文字列形式辞書20を参照して判断され
る。
In FIG. 10, in S301, S202
It is determined whether or not the character string to be searched that has been input is a serial number character string. If it is determined that the character string to be searched is a serial number character string, the process proceeds to S3.
02, and if it is determined that the character string is not a serial number character string, S
Move to 306. Whether or not the input search character string is a serial number character string is determined by referring to the serial number character string format dictionary 20 stored in the serial number character string format dictionary area 102-3.

【0106】図11は、この発明の実施の形態による連
番文字列形式辞書20の具体例を示す図である。連番文
字列形式辞書20は辞書の複数の項目番号No.のそれ
ぞれに対応して連番文字列形式21を格納するととも
に、複数の順序文字列の種類22のそれぞれに対応して
具体データ23が格納される。連番文字列形式21は連
番文字列のフォーマットを示す。図において連番文字列
形式21に示されるフォーマットに一致する文字列は連
番文字列であると判断される。
FIG. 11 is a diagram showing a specific example of the serial number character string format dictionary 20 according to the embodiment of the present invention. The serial number character string format dictionary 20 stores a plurality of item numbers No. of the dictionary. , And the specific data 23 is stored corresponding to each of a plurality of types 22 of the ordered character strings. The serial number character string format 21 indicates the format of the serial number character string. In the figure, a character string that matches the format shown in the serial number character string format 21 is determined to be a serial number character string.

【0107】たとえば「第1図」という文字列は図11
の項目番号No.1に対応の形式21に一致するため、
連番文字列であると判断される。連番文字列形式21に
おける「数字」や「英字」などの順序文字列の各種類に
ついての定義を示したものが順序文字列の種類22と具
体データ23である。具体データ23は対応する種類2
2の具体的なデータ(順序値)を昇順に並べたものであ
る。
For example, the character string "FIG. 1"
Item number No. Since it matches the format 21 corresponding to 1,
It is determined that it is a serial number character string. The order character string type 22 and the specific data 23 show the definition of each kind of the order character string such as “numerical character” or “English character” in the serial number character string format 21. The specific data 23 is the corresponding type 2
2 in which data (order values) are arranged in ascending order.

【0108】なお、図11の具体例欄は内容をわかりや
すくするためにここでは示されるものではあって実際の
連番文字列形式辞書20には必要なものではない。ま
た、連番文字列形式辞書20の内容はこの例に限定され
ない。
Note that the specific example column in FIG. 11 is shown here for easy understanding of the contents, but is not necessary for the actual serial number character string format dictionary 20. Further, the contents of the serial number character string format dictionary 20 are not limited to this example.

【0109】S302ではS203で入力された置換後
の文字列が連番文字列であるか否かが判断され、連番文
字列であると判断された場合はS303へ移行し、連番
文字列でないと判断された場合はS306へ移行する。
なお、S301およびS302にて、検索する文字列と
置換後の文字列がともに連番文字列であると判断された
場合には、自動的に連番文字列検索置換チェックボック
ス305をONに設定するようにしてもよい。
In step S302, it is determined whether or not the character string after replacement input in step S203 is a serial number character string. If it is determined that the character string is a serial number character string, the process proceeds to step S303. If it is determined that it is not, the process proceeds to S306.
If it is determined in S301 and S302 that both the character string to be searched and the replaced character string are serial number character strings, the serial number character string search / replace check box 305 is automatically set to ON. You may make it.

【0110】S303では、検索する連番文字列と置換
後の連番文字列とから、連番文字列置換を行なった場合
の置換例を複数個表示する。たとえば、検索する連番文
字列が「第2章」、置換後の連番文字列が「第3章」の
場合は、「連番文字列検索置換チェックボックスをON
に指定すると第2章→第3章、第3章→第4章、
第4章→第5章、…と置換できます。」などと表示す
る。置換例のは検索する連番文字列と置換後の連番文
字列であり、は検索する連番文字列と置換後の連番文
字列の順序値を1増加させた文字列であり、は検索す
る連番文字列と置換後の連番文字列の順序値を2増加さ
せた文字列である。
In S303, a plurality of replacement examples in the case of performing the serial number character string replacement from the serial number character string to be searched and the serial number character string after replacement are displayed. For example, if the sequence number character string to be searched is “Chapter 2” and the sequence number character string after replacement is “Chapter 3”, the “Serial number character string search / replacement check box is turned ON”.
If you specify to Chapter 2 → Chapter 3, Chapter 3 → Chapter 4,
Chapter 4 → Chapter 5, etc. can be replaced. And so on. In the replacement example, is a sequence number string to be searched and a sequence number string after replacement, is a character string in which the order value of the sequence number string to be searched and the sequence number string after replacement is increased by 1, and This is a character string obtained by increasing the order value of the serial number character string to be searched and the serial number character string after replacement by two.

【0111】S304では、連番文字列検索置換チェッ
クボックス305がマウス106またはキーボード10
5によって操作指示されたか否かが判断され、操作指示
されればS305へ移行し、操作指示されなければ本処
理を終了して、図6のS205へ移行する。
In step S304, the serial number character string search / replace check box 305 is
It is determined in step S5 whether an operation instruction has been given. If an operation instruction has been given, the process proceeds to step S305. If no operation instruction has been given, the process ends, and the process proceeds to step S205 in FIG.

【0112】S305では、連番文字列検索置換チェッ
クボックス305の設定値を反転(現在の設定値がON
であればOFFに、OFFであればONに変更)し、本
処理を終了し、図6のS205へ移行する。
In S305, the set value of the serial number character string search / replace check box 305 is inverted (the current set value is ON).
If it is OFF, it is changed to OFF, and if it is OFF, it is changed to ON).

【0113】一方、S306では、S202で入力され
た検索する文字列と、S203で入力された置換後の文
字列を比較し、その互いに異なっている部分が順序文字
列(図11の順序文字列の種類22で示される数字、英
字等)であるか否かが判断され、順序文字列であればS
303へ移行し、順序文字列でなければS307へ移行
する。
On the other hand, in S306, the character string to be searched input in S202 is compared with the character string after replacement input in S203, and the different parts are compared to the sequence character string (the sequence character string in FIG. 11). Is determined as to whether the character is an order character string or not.
The process proceeds to step S303, and if not an order character string, the process proceeds to step S307.

【0114】たとえば、検索する文字列が「符号10
2」、置換する文字列が「符号103」であった場合、
これらの文字列は図11の連番文字列形式21に一致し
ないが、その互いに異なっている部分「2」および
「3」は図11の順序文字列の種類22に示された数字
に一致するために、S306にてYESと判断され、S
303へ移行する。
For example, if the character string to be searched is “code 10
2 ", and the character string to be replaced is" 103 ",
These character strings do not match the serial number character string format 21 of FIG. 11, but their different parts "2" and "3" correspond to the numbers shown in the order character string type 22 of FIG. Therefore, YES is determined in S306, and S
Move to 303.

【0115】S307では、連番文字列検索置換チェッ
クボックス305をOFFに設定し、本処理を終了し、
図6のS205へ移行する。
In S307, the sequential number character string search / replace check box 305 is set to OFF, and this processing ends.
The process proceeds to S205 in FIG.

【0116】図6に戻りS205では連番文字列検索置
換チェックボックス305がONに設定されているか否
かが判断され、ON設定であればS206へ移行し、O
FF設定であればS209へ移行する。
Returning to FIG. 6, in S205, it is determined whether or not the serial number character string search / replace check box 305 is set to ON.
If the FF is set, the process proceeds to S209.

【0117】S206では、ユーザがマウス106また
はキーボード105を用いて、連番文字列範囲セレクト
ボックス310の「すべて」または「指定範囲」を選択
する。デホルトの状態、すなわちユーザが特にどちらも
選択しない状態では、図9に示される「すべて」が選択
されている。
In S206, the user selects “all” or “designated range” in the serial number character string range select box 310 using the mouse 106 or the keyboard 105. In the default state, that is, when the user does not particularly select either, “all” shown in FIG. 9 is selected.

【0118】S207では、S206にて「指定範囲」
が選択されたか判断し、選択されればS208へ移行し
選択されなければS209へ移行する。
In S207, the "specified range" in S206
It is determined whether or not is selected. If it is selected, the process proceeds to S208, and if not, the process proceeds to S209.

【0119】S208では、ユーザがキーボード105
を用いて範囲入力テキストボックス311に、連番文字
列の範囲すなわち検索の対象としたい最大の順序値を有
する連番文字列を入力する。たとえば、「第2図」ない
し「第4図」までを「第3図」ないし「第5図」に置換
したい場合には範囲入力テキストボックス311に「第
4図」と入力する。また検索文字列テキストボックス3
01には「第2図」、置換後文字列テキストボックス3
02には「第3図」と入力する。
In S208, the user enters the keyboard 105
Is used, the range of the serial number character string, that is, the serial number character string having the maximum order value to be searched is input into the range input text box 311. For example, when it is desired to replace “FIG. 2” to “FIG. 4” with “FIG. 3” to “FIG. 5,” “FIG. 4” is input in the range input text box 311. Search string text box 3
01 is "Figure 2", character string text box 3 after replacement
02 is input as "FIG. 3".

【0120】この場合、たとえば文章中に「第6図」と
いう文字列があった場合、この文字列は置換されない。
なお、連番文字列範囲として「すべて」が選択された場
合で、検索文字列テキストボックス301に「第2図」
と入力された場合には、「第2図」以上の順序値を有す
る連番文字列はすべて検索の対象となる。
In this case, for example, when a character string "FIG. 6" is present in the text, this character string is not replaced.
When “all” is selected as the serial number character string range, “FIG. 2” is displayed in the search character string text box 301.
Is input, all the serial number character strings having an order value equal to or more than "FIG. 2" are to be searched.

【0121】S209では、一括して置換するか、逐次
確認しながら置換するかを、ユーザがマウス106また
はキーボード105の操作して、確認方法セレクトボッ
クス306が指定される。デホルトの状態では、図9の
「一括」が選択されている。
In step S209, the user operates the mouse 106 or the keyboard 105 to specify the confirmation method select box 306 as to whether the replacement should be performed collectively or sequentially while confirming. In the default state, “batch” in FIG. 9 is selected.

【0122】なお、図6のS202、S203、S20
4、S206、S208およびS209のユーザ操作は
マウス106またはキーボード105の操作によって任
意の順序で行なうことができる。ただし、S206およ
びS208のユーザ操作は、連番文字列検索置換チェッ
クボックス305がONに設定されているときのみ可能
である。
Note that S202, S203, S20 in FIG.
4. The user operations in S206, S208 and S209 can be performed in any order by operating the mouse 106 or the keyboard 105. However, the user operation in S206 and S208 is possible only when the serial number character string search / replace check box 305 is set to ON.

【0123】S210では、次検索指示ボタン307、
置換指示ボタン308、および終了指示ボタン309の
いずれかが指示されたか否かを判断し、次検索指示ボタ
ン307または置換指示ボタン308が指示された場合
はS211へ移行し、終了指示ボタン309が操作指示
された場合は、文字検索置換が行なわれることなく文字
検索置換ダイアログボックス300の表示が消去される
などの終了処理が行なわれて、本処理は終了し、図3の
S111へ移行する。
At S210, next search instruction button 307,
It is determined whether one of the replacement instruction button 308 and the end instruction button 309 has been instructed. If the next search instruction button 307 or the replacement instruction button 308 has been instructed, the process proceeds to S211 and the end instruction button 309 is operated. If instructed, end processing such as erasing the display of the character search / replacement dialog box 300 without performing the character search / replacement is performed, and this processing ends, and the flow shifts to S111 in FIG.

【0124】S211では、連番文字列検索置換チェッ
クボックス305がONに設定されているかOFFに設
定されているかが判断され、OFF設定であれば図7の
S212へ移行し、ON設定であれば図8のS218へ
移行する。
In S211, it is determined whether the serial number character string search / replace check box 305 is set to ON or OFF. If the setting is OFF, the process proceeds to S212 in FIG. The process proceeds to S218 in FIG.

【0125】図7のS212〜S217の処理において
は、従来の文字検索置換処理が行なわれる。
In the processing of S212 to S217 in FIG. 7, a conventional character search and replacement processing is performed.

【0126】S212ではS202で入力された検索文
字列を文章データ中のカーソル位置以降から検索する。
なお、必要であれば検索する範囲、検索する方向などを
予めユーザに指示させるようにしてもよい。
In step S212, the search character string input in step S202 is searched from the cursor position in the text data onward.
If necessary, the user may be instructed in advance on a search range, a search direction, and the like.

【0127】S213では、検索処理の結果、文字列が
検出されたか否かが判断され、検出された場合、S21
4へ移行し、検出されなかった場合は「文字列は見つか
りませんでした」などのメッセージ表示などを行なって
終了処理し、本処理を終了し図3のS111へ移行す
る。
In S213, it is determined whether or not a character string has been detected as a result of the search processing.
The process proceeds to step S4, and if not detected, a message such as "Character string was not found" is displayed and the end process is performed. The process is terminated, and the process proceeds to step S111 in FIG.

【0128】S214では、S209において逐次置換
と一括置換のどちらが選択されたかが判断され、逐次置
換であればS215へ移行し、一括置換であればS21
7へ移行する。
In step S214, it is determined whether the sequential replacement or the batch replacement is selected in step S209. If the sequential replacement is performed, the process proceeds to step S215. If the batch replacement is performed, the process proceeds to step S21.
Move to 7.

【0129】S215では、S212で検索された文字
列の位置までカーソルを移動させ、またその文字列を強
調表示(または反転表示、彩色表示など)させる。な
お、文字検索置換ダイアログボックス300は、強調表
示された文字列が隠れないような位置に重畳表示され
る。
In S215, the cursor is moved to the position of the character string searched in S212, and the character string is highlighted (or highlighted or colored). The character search and replace dialog box 300 is superimposed and displayed at a position where the highlighted character string is not hidden.

【0130】S216では、次検索指示ボタン307、
置換指示ボタン308および終了指示ボタン309のい
ずれが操作指示されたかが判断され、次検索指示ボタン
307が指示された場合はS212へ戻って上述の処理
が繰返され、置換指示ボタン308が指示された場合は
S217へ移行し、終了指示ボタン309が指示された
場合は、文字検索置換ダイアログボックス300の表示
が消去されるなどの終了処理が行なわれて、本処理は終
了し図3のS111へ移行する。
At S216, next search instruction button 307,
It is determined which of the replacement instruction button 308 and the end instruction button 309 has been operated. If the next search instruction button 307 has been instructed, the process returns to S212 to repeat the above-described processing, and the replacement instruction button 308 has been instructed. Proceeds to S217, and when the end instruction button 309 is instructed, end processing such as erasing the display of the character search / replace dialog box 300 is performed, and this processing ends, and the flow proceeds to S111 in FIG. .

【0131】なお、S216において、各コマンドボタ
ン307、308および309が指示される前に、検索
する文字列、置換後の文字列、連番文字列検索置換チェ
ックボックス、逐次/一括置換などの各種設定値を修正
することも可能とする。
In S216, before each of the command buttons 307, 308, and 309 is designated, various characters such as a character string to be searched, a character string after replacement, a serial number character string search and replacement check box, and sequential / batch replacement are used. It is also possible to modify the set value.

【0132】S217では、S212で検索された文字
列を、S203で入力された文字列に置換し、すなわち
文章データ記憶領域102−2に記憶される文章データ
を書換えて、S212へ戻り、上述の処理が繰返され
る。
In S217, the character string searched in S212 is replaced with the character string input in S203, that is, the sentence data stored in the sentence data storage area 102-2 is rewritten, and the process returns to S212. The process is repeated.

【0133】一方、図8のS218では、S202で入
力された検索する文字列およびS203で入力された置
換後の文字列(ここではどちらも連番文字列である)を
それぞれ、図11に示された連番文字列形式辞書20を
参照して、順序文字列の部分とその他の部分文字列とに
分割する。連番文字列の順序文字列の部分とは、図11
の順序文字列の種類22に示された数字、英字、曜日な
どの文字列部分であり、たとえば「第12図」という連
番文字列は「12」が順序文字列の部分で、「第」と
「図」がその他の部分文字列である。
On the other hand, in S218 of FIG. 8, the character string to be searched inputted in S202 and the character string after replacement inputted in S203 (both are serial number character strings) are shown in FIG. With reference to the obtained serial number character string format dictionary 20, it is divided into an order character string part and other partial character strings. The sequence character string part of the serial number character string is shown in FIG.
Is a character string portion such as a numeral, an alphabetic character, a day of the week, etc. shown in the type character string 22 of the sequence. For example, in the serial number character string “FIG. And “figure” are other partial character strings.

【0134】S219では、S218で得られた検索す
る連番文字列の順序文字列の部分および置換後の連番文
字列の順序文字列の部分の種類を図11の順序文字列の
種類22を参照して判別する。たとえば「12」であれ
ばアラビア数字と判別する。
In S219, the type of the sequence character string portion of the serial number character string to be retrieved obtained in S218 and the type of the sequence character string portion of the serial number character string after replacement are changed to the type character sequence type 22 in FIG. Refer to and determine. For example, if it is "12", it is determined as an Arabic numeral.

【0135】S220では、S218で得た検索する連
番文字列の順序文字列の部分と置換後の連番文字列の順
序文字列の部分とから、その増減値を求める。具体的に
は[置換後の連番文字列の順序値]−[検索する連番文
字列の順序値]の演算によって求める。たとえば、検索
する文字列は「第2図」、置換後の文字列が「第3図」
であった場合、増減値は3−2=1となる。なお、連番
文字列の順序文字列が数字以外、たとえば英字の場合は
「A」は1、「B」は2、「C」は3、曜日の場合は
「日」は1、「月」は2、「火」は3として演算する。
この順序値は図11の連番文字列形式辞書20の対応す
る具体データの並び順から求められる。
In S220, an increase / decrease value is obtained from the order character string part of the serial number character string to be retrieved obtained in S218 and the order character string part of the serial number character string after replacement. Specifically, it is obtained by an operation of [order value of serial number character string after replacement]-[order value of serial number character string to be searched]. For example, the character string to be searched is “FIG. 2”, and the character string after replacement is “FIG. 3”.
, The increase / decrease value is 3-2 = 1. In addition, when the order character string of the serial number character string is other than a number, for example, when an alphabetic character is "A" is 1, "B" is 2, "C" is 3, and when it is a day of the week, "day" is 1 and "month". Is calculated as 2 and "fire" is calculated as 3.
This order value is obtained from the arrangement order of the corresponding specific data in the serial number character string format dictionary 20 of FIG.

【0136】S221では、S218で得られた、検索
する連番文字列の順序文字列以外の部分文字列と、S2
19で得られた検索する連番文字列の順序文字列の種類
22との組合せに一致する文字列を文章中から検索す
る。たとえば、検索する連番文字列の順序文字列以外の
部分文字列の(前半が)「第」と(後半が)「図」、検
索する連番文字列の順序文字列の種類22がアラビア数
字であった場合、「第」+アラビア数字+「図」という
形式の文字列を文章中から検索する。この場合、アラビ
ア数字であれば、何桁のものでも検索される。
In S221, a partial character string other than the order character string of the serial number character string to be retrieved, obtained in S218, and S2
A character string that matches the combination of the serial number character string to be retrieved obtained in step 19 and the type character string type 22 is searched from the text. For example, the “first” and “figure” of the substrings other than the order string of the serial number string to be searched are “figure”, and the order string type 22 of the serial number string to search is Arabic numerals. , A character string in the format of “No.” + Arabic numerals + “FIG.” Is searched in the text. In this case, any number of Arabic numerals will be searched.

【0137】検索処理の詳細を説明すると、まず現在の
カーソル位置にある文字が連番文字列の順序文字列以外
の部分文字列の(前半)に一致するか否か判断し、一致
しなければ、一致するまでカーソルを順次文章の後方へ
移動させ、一致すればその次の文字列の種類が検索する
順序文字列の種類22に一致するか判断し、一致しなけ
れば、その位置からまた連番文字列の順序文字列以外の
部分文字列(前半)の検索を行なう。逆に、一致すれば
その次の文字列が連番文字列の順序文字列以外の部分文
字列(後半)と一致するか判断し、一致しなければ、そ
の位置からまた上述の処理を繰返し、一致すればそこで
検索処理が終了する。
The search processing will be described in detail. First, it is determined whether or not the character at the current cursor position matches the first half of a partial character string other than the sequential character string of the serial number character string. The cursor is sequentially moved to the rear of the sentence until a match is found. If there is a match, it is determined whether or not the type of the next character string matches the type 22 of the order character string to be searched. A partial character string (first half) other than the order character string of the number character string is searched. Conversely, if there is a match, it is determined whether the next character string matches a partial character string (the latter half) other than the sequential character string of the serial number character string. If not, the above processing is repeated from that position, If they match, the search processing ends.

【0138】なお、連番文字列には順序文字列以外の部
分文字列がないもの(たとえば丸付き数字「」「」
…など)があるが、この場合、カーソル位置の文字の種
類がその連番文字列の順序文字列の種類22と一致する
か判断し、一致しなければ、一致するまでカーソルを順
次文章の後方へ移動させ、一致すればそこで検索処理が
終了する。
Note that the serial number character string has no partial character string other than the ordinal character string (for example, the numbers with circles “” and “”).
...), In this case, it is determined whether the type of the character at the cursor position matches the type 22 of the sequential character string of the serial number character string. And if there is a match, the search process ends.

【0139】なお、本実施の形態1では、検索は現在の
カーソル位置から文章の終端方向へ行なっているが、カ
ーソル位置から文章の前端方向へ行なったり、文章の前
端から後端方向へ行ったりするなどの方法でもよい。
In the first embodiment, the search is performed from the current cursor position toward the end of the sentence. However, the search is performed from the cursor position toward the front end of the sentence, or from the front end to the back end of the sentence. It may be a method such as doing.

【0140】S222では上述した検索処理の結果、文
字列が検出されたか否かが判断され、検出された場合、
S223へ移行し、検出されなかった場合、「文字列は
見つかりませんでした」などのメッセージ表示などを行
なって終了処理し、その後本処理を終了して図3のS1
11へ移行する。
In S222, it is determined whether or not a character string is detected as a result of the above-described search processing.
The process proceeds to S223, and if not detected, a message such as "Character string was not found" is displayed and the end processing is performed. Thereafter, the processing is ended and S1 in FIG.
Move to 11.

【0141】S223では、S221で検索された文字
列を、連番文字列の順序文字列部分とその他の部分文字
列とに分割する。
In S223, the character string searched in S221 is divided into the sequential character string portion of the serial number character string and other partial character strings.

【0142】S224では、S223で得られた検索さ
れた連番文字列の順序文字列部分が示す順序値が、S2
18で得られた検索する連番文字列による順序値以上で
あるか否かが判断され、値以上であればS225へ移行
し値以上でなければS221へ戻り次の検索を行なう。
In S224, the sequence value indicated by the sequence character string portion of the searched serial number character string obtained in S223 is set to S2
It is determined whether or not the value is equal to or greater than the order value of the serial number character string to be retrieved obtained in step 18. If the value is greater than or equal to the value, the process proceeds to S225.

【0143】たとえば、S202で入力された検索する
文字列が「第2図」であり、S221で検索された文字
列が「第2図」や「第3図」などであった場合はS22
5へ移行するが、検索された文字列が「第1図」であっ
た場合はS221へ戻る。
For example, if the character string searched in S202 is “FIG. 2” and the character string searched in S221 is “FIG. 2” or “FIG.
The process proceeds to S5, but if the searched character string is “FIG. 1”, the process returns to S221.

【0144】S225では、S206において連番文字
列範囲セレクトボックス310の「すべて」が選択され
たのか「指定範囲」が選択されたのかを判断し「すべ
て」の場合はS228へ、「指定範囲」の場合はS22
6へ移行する。
In S225, it is determined whether "all" or "specified range" in the serial number character string range selection box 310 has been selected in S206, and if "all", the process proceeds to S228 and the "specified range" In case S22
Move to 6.

【0145】S226では、S208で入力された検索
する最大の連番文字列を、連番文字列の順序文字列部分
とその他の部分文字列とに分割する。
In S226, the largest serial number character string to be searched input in S208 is divided into an order character string portion of the serial number character string and other partial character strings.

【0146】S227では、S223で得られた検索さ
れた連番文字列による順序値が、S226で得られた検
索する最大の連番文字列による順序値以下であるか否か
を判断し、値以下であればS228へ移行し、値以下で
なければS221へ戻り、次の検索を行なう。
In S227, it is determined whether or not the order value based on the searched serial number character string obtained in S223 is less than or equal to the order value based on the maximum serial number character string searched in S226. If not, the process proceeds to S228. If not, the process returns to S221 to perform the next search.

【0147】たとえば、S208で入力された検索する
最大の連番文字列が「第4図」であり、S221で検索
された文字列が「第3図」や「第4図」などであった場
合はS228へ移行するが、検索された文字列が「第5
図」であった場合はS221へ戻る。
For example, the maximum serial number character string searched in S208 is "FIG. 4", and the character string searched in S221 is "FIG. 3" or "FIG. 4". In this case, the process proceeds to S228, but the searched character string is “5th.
If it is “FIG.”, The process returns to S221.

【0148】S228では、S209において逐次置換
と一括置換のどちらが選択されたかが判断され、逐次置
換であればS229へ移行し、一括置換であればS23
1へ移行する。
In S228, it is determined whether the sequential replacement or the batch replacement is selected in S209. If the replacement is the sequential replacement, the process proceeds to S229. If the batch replacement is performed, the process proceeds to S23.
Move to 1.

【0149】S229では、S221で検索された文字
列の位置までカーソルを移動させ、また、その文字列を
強調表示(または反転表示、彩色表示など)させる。な
お、文字検索置換ダイアログボックス300は、強調表
示させた文字列が隠れないような位置に重畳表示され
る。
In S229, the cursor is moved to the position of the character string searched in S221, and the character string is highlighted (or highlighted or colored). Note that the character search and replace dialog box 300 is superimposed and displayed at a position where the highlighted character string is not hidden.

【0150】S230では、次検索指示ボタン307、
置換指示ボタン308、および終了指示ボタン309の
いずれかが指示操作されたか否かが判断され次検索指示
ボタン307が指示操作された場合はS221へ戻って
上述の処理が繰返され、置換指示ボタン308が操作指
示された場合はS231へ移行し、終了指示ボタン30
9が操作指示された場合は、文字検索置換ダイアログボ
ックス300を消去するなどの終了処理が行なわれて、
本処理を終了し、図3のS111へ移行する。
At S230, next search instruction button 307,
It is determined whether one of the replacement instruction button 308 and the end instruction button 309 has been instructed, and if the next search instruction button 307 has been instructed, the process returns to S221 and the above-described processing is repeated. Is operated, the process proceeds to S231, and the end instruction button 30
If an operation instruction is given, an end process such as erasing the character search / replace dialog box 300 is performed.
This processing ends, and the flow shifts to S111 in FIG.

【0151】なお、S230において、各コマンドボタ
ン307、308および309が操作指示される前に、
検索する文字列、置換後の文字列、連番文字列検索置換
チェックボックス305、逐次/一括置換などの各種設
定値を修正することも可能とする。
In S230, before each of the command buttons 307, 308 and 309 is instructed to operate,
Various setting values such as a character string to be searched, a character string after replacement, a serial number character string search / replace check box 305, and sequential / batch replacement can be corrected.

【0152】S231では、S221で検索された連番
文字列に対する置換後の連番文字列を生成する。詳細に
説明すると、S223で得られた、検索された連番文字
列による順序値と、S220で得られた増減値とを演算
して置換後の連番文字列による順序値を求め、それをS
219で得た、置換後の連番文字列の順序文字列の種類
22に対応するように変換し、それをS218で得た置
換後の連番文字列の順序文字列以外の部分文字列と組合
せる。
In S231, a serial number character string after replacement for the serial number character string searched in S221 is generated. In more detail, the order value based on the searched serial number character string obtained in S223 and the increase / decrease value obtained in S220 are calculated to obtain the order value based on the replaced serial number character string. S
219, is converted to correspond to the type 22 of the sequence character string of the replaced serial number character string, and is converted to a partial character string other than the sequence character string of the replaced serial number character string obtained in S218. Combine.

【0153】たとえば、検索された連番文字列が「第3
図」、増減値が「+2」、S203で入力された置換後
の連番文字列が「第4図」であった場合、S231で生
成される置換後の連番文字列は「第5図」となる。
For example, if the searched serial number character string is "
FIG., The increase / decrease value is “+2”, and the replaced serial number character string input in S203 is “FIG. 4”, the replaced serial number character string generated in S231 is “FIG. ".

【0154】なお、検索された連番文字列による順序値
と、S223で得られた増減値とを演算した結果、オー
バーフローした場合(曜日の最大値である「土」に1を
加えた場合、英字で大文字の最小値である「A」から1
を減算したなどの場合)、他端の値へオフセットさせる
(前記の例では、曜日の最小値である「日」、英字で大
文字の最大値「Z」にする)と良い。
When the order value based on the searched serial number character string and the increase / decrease value obtained in S223 are calculated, if an overflow occurs (when 1 is added to “Sat” which is the maximum value of the day of the week, 1 from the minimum value of the uppercase letter
Is subtracted, etc.), and offset to the value at the other end (in the above example, the day is the minimum value of the day of the week, and the maximum value of alphabetic characters is "Z").

【0155】S232では、S221で検索された連番
文字列を、S231で得た置換後の連番文字列に置換
え、すなわち文書データ記憶領域102−2に記憶され
ている文章データを書換えてS221へ戻り、上述の処
理が繰返される。
In S232, the serial number character string searched in S221 is replaced with the serial number character string after the replacement obtained in S231, that is, the text data stored in the document data storage area 102-2 is rewritten and S221 is executed. Then, the above processing is repeated.

【0156】以上の処理によって、連番文字列の置換が
実現される。図12は、この発明の実施の形態1による
連番文字列置換処理の具体例を表形式にして示す図であ
り、例1〜例5が示される。
By the above processing, the replacement of the serial number character string is realized. FIG. 12 is a diagram showing a specific example of the serial number character string replacement processing according to the first embodiment of the present invention in the form of a table. Examples 1 to 5 are shown.

【0157】例1は「第2図」以降の連番文字列(「第
2図」、「第3図」、「第4図」、「第5図」…)をす
べて「第4図」以降の連番文字列(「第4図」、「第5
図」、「第6図」、「第7図」…)に置換する例であ
る。
In Example 1, the serial number character strings (“FIG. 2”, “FIG. 3”, “FIG. 4”, “FIG. 5”...) After “FIG. 2” are all “FIG. 4”. Subsequent serial number strings ("Fig. 4", "5
FIG. 6, FIG. 6, and FIG. 7).

【0158】例2は、「第2図」ないし「第4図」の連
番文字列(「第2図」、「第3図」、「第4図」)を
「第4図」ないし「第6図」の連番文字列(「第4
図」、「第5図」、「第6図」)に置換する例である。
In Example 2, the serial number character strings of "FIG. 2" to "FIG. 4"("FIG.2,""FIG.3,""FIG.4") are changed to "FIG. 4" to "FIG. The serial number character string shown in FIG.
FIG. 5, FIG. 5, and FIG. 6).

【0159】例3は、「図1」以降の連番文字列(「図
1」、「図2」、「図3」…)をすべて「図A」以降の
連番文字列(「図A」、「図B」、「図C」…)に置換
する例である。このように、連番文字列の順序文字列の
種類が異なる連番文字列へ置換することも可能である。
In Example 3, the serial number character strings (“FIG. 1”, “FIG. 2”, “FIG. 3”...) After “FIG. , “FIG. B”, “FIG. C”...). As described above, it is also possible to replace the serial number character strings with serial number character strings having different types.

【0160】例4は、「図1」以降の連番文字列(「図
1」、「図2」、「図3」…)をすべて「第1図」以降
の連番文字列(「第1図」、「第2図」、「第3図」
…)に置換する例である。このように、連番文字列の順
序文字列以外の部分文字列が異なる連番文字列へ置換す
ることも可能である。
In Example 4, all the serial number character strings ("FIG. 1,""FIG.2,""FIG.3,"...) After "FIG. Fig. 1 "," Fig. 2 "," Fig. 3 "
...). As described above, it is also possible to replace a partial character string other than the order character string of the serial number character string with a different serial number character string.

【0161】例5は、「(1)」以降の連番文字列
(「(1)」、「(2)」、「(3)」…)をすべて、
「」以降の連番文字列(「」、「」、「」…)
に置換する例である。このように、連番文字列の順序文
字列の種類、連番文字列の順序文字列以外の部分文字
列、連番文字列による順序値が異なる連番文字列へ置換
することも可能である。
In Example 5, all of the serial number character strings (“(1)”, “(2)”, “(3)”...) After “(1)”
Serial number string after ""("","","" ...)
This is an example of replacing with. In this way, it is also possible to replace the sequence string with a different type of sequence string, a partial string other than the sequence string of the sequence string, or a sequence string with a different sequence value based on the sequence string. .

【0162】なお、図3のS112の文字検索処理は、
図6ないし図8のS110の文字検索置換処理から文字
置換に関する処理を取り除いた処理によって実現され
る。
Note that the character search process in S112 in FIG.
The processing is realized by removing the processing related to character replacement from the character search and replacement processing of S110 in FIGS. 6 to 8.

【0163】たとえば、図6のS201では、文字検索
置換ダイアログボックス300から置換文字列テキスト
ボックス302や確認方法セレクトボックス306や置
換指示ボタン308を取り除いた文字検索ダイアログボ
ックスを表示するようにし、S203や図7のS21
4、S217、図8のS220、S228、S231お
よびS232の処理を取り除くとよい。
For example, in S201 of FIG. 6, a character search dialog box is obtained by removing the replacement character string text box 302, confirmation method select box 306, and replacement instruction button 308 from the character search and replacement dialog box 300. S21 of 7
4, S217, and S220, S228, S231, and S232 in FIG.

【0164】また、図6のS203において、置換後の
文字列をユーザが入力しなかった場合も上述のように文
字列の置換処理は行なわず、検索処理だけを行なうよう
にするとよい。
In S203 of FIG. 6, even when the user does not input the character string after the replacement, the character string may not be replaced as described above, and only the search processing may be performed.

【0165】(実施の形態2)図13はこの発明の実施
の形態2による情報処理装置の処理を示したメインフロ
ーチャートである。
(Embodiment 2) FIG. 13 is a main flowchart showing processing of an information processing apparatus according to Embodiment 2 of the present invention.

【0166】図14はこの発明の実施の形態2による連
番文字列の移動例を示す図である。実施の形態2では、
図面の順番の入れ換えによって、たとえば図14に例示
されるように「第2図」ないし「第4図」を「第8図」
の後に移動させたい場合などの処理が実現される。「第
2図」ないし「第4図」を「第8図」の後に移動させる
場合、図14のように元の「第5図」ないし「第8図」
は前方に詰められるため「第2図」ないし「第5図」に
置換し、元の「第2図」ないし「第4図」は「第6図」
ないし「第8図」に置換することが必要となる。
FIG. 14 is a diagram showing an example of moving a serial number character string according to the second embodiment of the present invention. In the second embodiment,
By changing the order of the drawings, for example, as shown in FIG. 14, “FIG. 2” to “FIG.
A process such as a case where the user wants to move after the item is realized. When moving "FIG. 2" through "FIG. 4" after "FIG. 8," the original "FIG. 5" through "FIG. 8" as shown in FIG.
Is replaced with "Fig. 2" to "Fig. 5" because it is packed forward, and the original "Fig. 2" to "Fig. 4" are replaced with "Fig. 6".
Or "FIG. 8".

【0167】これは実施の形態1によっても行なうこと
ができるが、操作が非常に煩雑となるため、この操作が
簡略化された実施の形態2が示される。
Although this operation can be performed according to the first embodiment, the operation is very complicated. Therefore, the second embodiment in which the operation is simplified is shown.

【0168】なお、実施の形態2の情報処理装置のハー
ドウェアブロック図は、図1に示されたものと同様であ
り、本実施の形態のRAM102およびROM103の
構成は図2に示されたものと同一であるためこれらの説
明は省略する。なお、RAM102のプログラム記憶領
域102−1に記憶されるプログラムなどは、一部、実
施の形態1と異なっている。その違いは、以降に示され
るフローチャートおよびその説明によって示される。
The hardware block diagram of the information processing apparatus according to the second embodiment is the same as that shown in FIG. 1, and the configurations of the RAM 102 and the ROM 103 according to this embodiment are the same as those shown in FIG. Since these are the same as those described above, their description is omitted. The programs stored in the program storage area 102-1 of the RAM 102 are partially different from those of the first embodiment. The difference is shown by the flowchart shown below and the description thereof.

【0169】図13において、S401ないしS408
は、図3のS101ないしS108と同一であるため、
説明を省略する。また、表示画面例は、図4および図5
に示されたものとほぼ同様である(ガイダンス表示領域
202のファンクションキーの表示の一部が異なるの
み)であるため、その説明を省略する。
In FIG. 13, S401 to S408
Is the same as S101 to S108 in FIG.
Description is omitted. Examples of display screens are shown in FIGS.
(The display of the function keys in the guidance display area 202 is only partially different), and a description thereof will be omitted.

【0170】S409では、連番文字列移動指示がなさ
れたか判断され、移動指示されればS410へ移行し、
移動指示されなければS411へ移行する。連番文字列
移動指示は、たとえばキーボード105に備えられる図
示されない連番文字列移動キー(ファンクションキー)
によって指示される。
In S409, it is determined whether or not a serial number character string movement instruction has been issued, and if a movement instruction has been issued, the flow shifts to S410.
If no movement instruction has been given, the flow shifts to S411. The serial number character string moving instruction is issued, for example, by a serial number character moving key (function key) (not shown) provided on the keyboard 105.
Directed by

【0171】S410では連番文字列移動処理が行なわ
れる。なお、この処理の詳細は後述する。
In S410, a serial number character string moving process is performed. The details of this process will be described later.

【0172】S411は、図3のS113と同一である
ため説明を省略する。図15は、この発明の実施の形態
2による連番文字列移動処理の詳細を示すフローチャー
トであり、図13のS410の詳細処理が示される。
Step S411 is the same as step S113 in FIG. 3 and will not be described. FIG. 15 is a flowchart showing details of the serial number character string moving process according to the second embodiment of the present invention, and shows the detailed process of S410 in FIG.

【0173】図16は、この発明の実施の形態2による
連番文字列移動ダイアログボックスを示す図である。図
15のS501では、図16に示される連番文字列移動
ダイアログボックス400が表示装置104に、既に表
示されている文書データに重畳されて表示される。
FIG. 16 is a diagram showing a serial number character string moving dialog box according to the second embodiment of the present invention. In S501 of FIG. 15, the serial number character string movement dialog box 400 shown in FIG. 16 is displayed on the display device 104 so as to be superimposed on the already displayed document data.

【0174】図16において、連番文字列移動ダイアロ
グボックス400は最小連番文字列テキストボックス4
01、最大連番文字列テキストボックス402、移動先
連番文字列テキストボックス403、スピンアップボタ
ン404、スピンダウンボタン405、移動指示ボタン
406および終了指示ボタン407を含む。
In FIG. 16, the serial number character string moving dialog box 400 is the minimum serial number character string text box 4.
01, a maximum serial number text box 402, a destination serial number text box 403, a spin-up button 404, a spin-down button 405, a move instruction button 406, and an end instruction button 407.

【0175】最小連番文字列テキストボックス401に
は、移動させる連番文字列のうち最小の順序値を有する
連番文字列(最小連番文字列)が入力される。最大連番
文字列テキストボックス402には、移動させる連番文
字列のうち最大の順序値を有する連番文字列(最大連番
文字列)が入力される。移動先連番文字列テキストボッ
クス403は、連番文字列の移動先を示すための連番文
字列(移動先連番文字列)が入力される。スピンアップ
ボタン404およびスピンダウンボタン405は、移動
先連番文字列テキストボックス403に入力された連番
文字列の順序値を増加および減少させるために操作され
る。移動指示ボタン406は連番文字列移動の実行を指
示するために操作され、終了指示ボタン407は連番文
字列移動処理の終了を指示するために操作される。
In the minimum serial number character string text box 401, a serial number character string having the smallest order value (minimum serial number character string) among the serial number character strings to be moved is input. In the maximum serial number text box 402, a serial number character string having the largest order value (maximum serial number character string) among the serial number character strings to be moved is input. In the moving destination serial number text box 403, a serial number character string (moving destination serial number character string) for indicating the moving destination of the serial number character string is input. The spin-up button 404 and the spin-down button 405 are operated to increase and decrease the order value of the serial number character string input to the destination serial number character string text box 403. The move instruction button 406 is operated to instruct execution of serial number character string movement, and the end instruction button 407 is operated to instruct end of serial number character string movement processing.

【0176】なお、最小連番文字列テキストボックス4
01および最大連番文字列テキストボックス402にも
移動先連番文字列テキストボックス403と同様のスピ
ンアップボタンおよびスピンダウンボタンを備えて、ボ
タン操作によりテキストボックス401または402に
入力された連番文字列の順序値を1つずつ増減させるよ
うにしてもよい。
Note that the minimum serial number text box 4
01 and the maximum consecutive number character string text box 402 also include a spin-up button and a spin-down button similar to the destination consecutive number character string text box 403, and the consecutive number characters input to the text box 401 or 402 by button operation. The order value of the column may be increased or decreased one by one.

【0177】S502では、ユーザが移動させる連番文
字列であって最小順序値を有する連番文字列を最小連番
文字列テキストボックス401に入力する。ここでは、
たとえば「第2図」と入力する。
In S502, the user inputs a serial number character string to be moved, which has the minimum order value, into the minimum serial number character string text box 401. here,
For example, "FIG. 2" is input.

【0178】S503では、ユーザが移動させる連番文
字列であって最大順序値を有する連番文字列を最大連番
文字列テキストボックス402に入力する。ここで、た
とえば「第4図」と入力する。なお、ユーザが最大連番
文字列テキストボックス402に何も入力しなかった場
合は、最大連番文字列テキストボックス402には最小
連番文字列テキストボックス401に入力された連番文
字列と同じ連番文字列が入力されたものとみなされる。
In S 503, the serial number character string to be moved by the user and having the maximum order value is input to the maximum serial number character string text box 402. Here, for example, "FIG. 4" is input. When the user does not input anything in the maximum serial number text box 402, the maximum serial number text box 402 is the same as the serial number text input in the minimum serial number text box 401. It is assumed that a serial number character string has been entered.

【0179】S504では、ユーザが移動させる連番文
字列の移動先を示す連番文字列を移動先連番文字列テキ
ストボックス403に入力する。ここで、たとえば「第
8図」と入力される。
In S504, the user inputs a serial number character string indicating the destination of the serial number character string to be moved to the destination serial number character string text box 403. Here, for example, “FIG. 8” is input.

【0180】なお、S502で最小連番文字列が入力さ
れた際に、その最小連番文字列の順序値を1だけ減少さ
せた連番文字列を移動先連番文字列テキストボックス4
03に自動的にコピーし、ユーザのスピンアップボタン
404またはスピンダウンボタン405の指示に応じ
て、該連番文字列の順序値を増減させるようにしてもよ
い。
When the minimum serial number character string is input in S502, the serial number character string in which the order value of the minimum serial number character string is reduced by 1 is transferred to the destination serial number character string text box 4.
03 may be automatically copied, and the order value of the serial number character string may be increased or decreased according to the user's instruction of the spin-up button 404 or the spin-down button 405.

【0181】スピンアップボタン404が1回指示操作
されるごとに、移動先連番文字列テキストボックス40
3に入力し表示されている連番文字列の順序値が1だけ
増加し表示更新される。ただし、増加させる前の順序値
が、最小連番文字列の順序値−1と同じ場合、S503
で入力された最大連番文字列の順序値+1の値になるま
で増加させる。たとえばS502で「第2図」、S50
3で「第4図」と入力し、移動先連番文字列テキストボ
ックス403に「第2図」と入力し表示されている際
に、スピンアップボタン404を1回指示操作すると、
移動先連番文字列テキストボックス403には「第5
図」と表示される。
Each time the spin-up button 404 is instructed once, the destination serial number text box 40
The sequence value of the serial number character string input and displayed in No. 3 is increased by 1 and the display is updated. However, if the sequence value before the increase is the same as the sequence value −1 of the minimum serial number character string, S503
Is increased until the value of the order value of the maximum serial number character string input by +1 is reached. For example, "FIG. 2" in S502, S50
When the user inputs “FIG. 4” in step 3 and inputs and displays “FIG. 2” in the destination serial number character string text box 403, the spin-up button 404 is instructed once.
In the destination serial number text box 403, “5th
Figure "is displayed.

【0182】また、スピンダウンボタン405が1回指
示されるごとに、移動先連番文字列テキストボックス4
03に入力し表示されている連番文字列の順序値が1だ
け減少して表示更新される。ただし、減少させる前の値
が、最大連番文字列の順序値+1の値と同じ場合、S5
02で入力された最小連番文字列の順序値−1の値にな
るまで減少させる。たとえば、S502で「第5図」、
S503で「第8図」と入力し、移動先連番文字列テキ
ストボックス403に「第9図」と入力し表示されてい
る際に、スピンダウンボタン405が1回指示操作され
ると、移動先連番文字列テキストテキストボックス40
3には「第4図」と表示される。
Each time the spin down button 405 is designated once, the destination serial number text box 4
The sequence value of the serial number character string input and displayed in 03 is reduced by 1 and the display is updated. However, if the value before the decrease is the same as the value of the order value of the maximum serial number character string + 1, S5
The value of the minimum sequential number character string input at 02 is reduced to a value of −1. For example, in FIG.
When “FIG. 8” is input in S503 and “FIG. 9” is input and displayed in the destination serial number character string text box 403, if the spin-down button 405 is instructed once, the movement is performed. First sequential character string text text box 40
In FIG. 3, "FIG. 4" is displayed.

【0183】また、移動先連番文字列テキストボックス
403に増減値を入力するようにしてもよい。たとえ
ば、最小連番文字列テキストボックス401に「第2
図」、最大連番文字列テキストボックス402に「第4
図」、移動先連番文字列テキストボックス403に「+
1」と入力した場合、移動先連番文字列テキストボック
ス403の内容は自動的に「第5図」に変換されて表示
更新される。なお、正の増減値はスピンアップボタン4
04を押下した回数に対応する。
Further, an increase / decrease value may be input in the destination serial number character string text box 403. For example, in the minimum serial number text box 401, "second
Figure "and the maximum serial number text box 402
Figure ", and" + "in the destination serial number text box 403.
When "1" is input, the contents of the destination serial number character string text box 403 are automatically converted to "FIG. 5" and the display is updated. The positive increase / decrease value is indicated by the spin-up button 4
04 corresponds to the number of times pressed.

【0184】また、たとえば最小連番文字列テキストボ
ックス401に「第5図」、最大連番文字列テキストボ
ックス402に「第8図」、移動先連番文字列テキスト
ボックス403に「−1」と入力した場合、移動先連番
文字列テキストボックス403の内容は自動的に「第3
図」に変換されて表示更新される。このとき、負の増減
値はスピンダウンボタン405を押下した回数に対応す
る。
For example, “FIG. 5” is displayed in the minimum serial number text box 401, “FIG. 8” is displayed in the maximum serial number text box 402, and “−1” is displayed in the destination serial number text box 403. Is entered, the content of the destination serial number text box 403 is automatically changed to “3rd.
The display is updated after being converted to a “figure”. At this time, the negative increase / decrease value corresponds to the number of times the spin down button 405 is pressed.

【0185】S505では、移動指示ボタン406また
は終了指示ボタン407のいずれが指示操作されたか否
かが判断され、移動指示ボタン406が指示された場合
はS506へ移行し、終了指示ボタン407が指示され
た場合は、連番文字列移動処理が行なわれることなく、
連番文字列移動ダイアログボックス400の表示を消去
するなどの終了処理が行なわれて、本処理が終了し、図
13のS411へ移行する。
In S505, it is determined whether the move instruction button 406 or the end instruction button 407 has been operated. If the move instruction button 406 has been instructed, the flow shifts to S506, where the end instruction button 407 is instructed. In this case, the serial number moving process is not performed,
End processing such as erasing the display of the serial number character string movement dialog box 400 is performed, and this processing ends, and the flow shifts to S411 in FIG.

【0186】S506では、S502ないしS504で
入力された各文字列が、すべて同じ形式の連番文字列で
あるか否かが判断され、そうであればS507へ移行
し、そうでなければエラーメッセージが表示された後、
S502へ戻る。
In S506, it is determined whether or not all the character strings input in S502 to S504 are serial number character strings of the same format. If so, the process proceeds to S507, and if not, an error message is output. Is displayed,
It returns to S502.

【0187】なお、連番文字列であるか否かは図11に
示された連番文字列形式辞書20を参照して判断され
る。図11に示された形式21に一致しなくても、上述
の3つの文字列の異なっている部分が連番文字列の順序
文字列(図11の順序文字列の種類22に示された数字
や英字等)であれば連番文字列であると判断される。
Whether or not the character string is a serial number character string is determined by referring to the serial number character string format dictionary 20 shown in FIG. Even if they do not match the format 21 shown in FIG. 11, the different parts of the above three character strings are the sequential character strings of the serial number character strings (the numbers shown in the sequence character string type 22 of FIG. 11). Or alphabetic characters), it is determined that the character string is a serial number character string.

【0188】S507では、図11に示された連番文字
列形式辞書20が参照されて、各連番文字列を連番文字
列の順序文字列部分とその他の部分文字列とに分割され
る。そして、最小連番文字列の分割された順序文字列に
よる順序値を変数aに代入し、最大連番文字列の分割さ
れた順序文字列による順序値を変数bに代入し、移動先
連番文字列の分割された順序文字列による順序値を変数
cに代入する。
In S507, the serial number character string dictionary 20 shown in FIG. 11 is referenced to divide each serial number character string into an order character string portion of the serial number character string and other partial character strings. . Then, the sequence value of the divided sequence character string of the smallest serial number character string is substituted for the variable a, and the sequence value of the divided sequence character string of the maximum serial number character string is substituted for the variable b. The sequence value obtained by dividing the character string into sequence characters is assigned to a variable c.

【0189】S508では、各連番文字列に関する順序
値が正常か否かを判断し、正常であればS509へ移行
し、そうでなければエラーメッセージを表示した後、S
502へ戻る。たとえば変数aの値が変数bの値より大
きい場合や、変数cの値が[変数aの値−1]ないし変
数bの値の場合はエラーとする。
In step S508, it is determined whether or not the sequence value for each serial number character string is normal. If the sequence value is normal, the process proceeds to step S509. If not, an error message is displayed.
Return to 502. For example, if the value of the variable a is greater than the value of the variable b, or if the value of the variable c is [the value of the variable a−1] or the value of the variable b, an error is generated.

【0190】S509では、S502で入力された最小
連番文字列に対応する置換後の文字列(以下、第1置換
後文字列と呼ぶ)を生成する。たとえば「第2図」ない
し「第4図」を「第8図」の後に移動させる場合、最小
連番文字列「第2図」は、図14に示されたように、
「第6図」に置換させる必要がある。この「第6図」の
番号部分の値は次の式によって求められる。
In S509, a character string after replacement (hereinafter, referred to as a first character string after replacement) corresponding to the minimum serial number character string input in S502 is generated. For example, when "FIG. 2" to "FIG. 4" are moved after "FIG. 8," the minimum serial number character string "FIG. 2" is, as shown in FIG.
It needs to be replaced with "Fig. 6". The value of the number portion in FIG. 6 is obtained by the following equation.

【0191】変数a<変数cの場合…置換後の連番文字
列の順序値=変数a−変数b+変数c 変数a>変数cの場合…置換後の連番文字列の順序値=
変数c+1 上述の式によって求められた順序値とS507で得られ
た連番文字列の順序文字列以外の部分文字列とを組合
せ、さらに特殊コードを付け加えることによって第1置
換後文字列を生成する。ここで特殊コードを付け加える
のは、たとえば「第2図」を「第6図」に置換した場
合、既に存在する「第6図」と区別するためである。な
お特殊コードは、たとえば「@」などで、たとえば上述
の例の場合、第1置換後文字列は「第@6図」となる。
In the case of variable a <variable c: sequence value of serial number character string after replacement = variable a−variable b + variable c variable a> variable c: order value of serial number character string after replacement =
Variable c + 1 The first replacement character string is generated by combining the ordinal value obtained by the above equation with the partial character string other than the ordinal character string of the serial number character string obtained in S507 and further adding a special code. . The reason why the special code is added here is to distinguish “FIG. 6” from the already existing “FIG. 6” when “FIG. 2” is replaced with “FIG. 6”. The special code is, for example, “$”. For example, in the case of the above example, the character string after the first substitution is “FIG. 6”.

【0192】S510では、S502で入力された最小
連番文字列ないしS503で入力された最大連番文字列
を、S509で得た第1置換後文字列に連番置換する。
これを第1連番置換処理という。
In S510, the minimum serial number character string input in S502 to the maximum serial number character string input in S503 are serially replaced with the first replacement character string obtained in S509.
This is called a first serial number replacement process.

【0193】なお、連番置換の処理は図8に示されたフ
ローチャートによって行なわれる。ただし、図8のS2
25では「指定範囲」方向へ分岐しS228では「一
括」方向へ分岐する。この第1連番置換処理によって、
上述の例では文章中の「第2図」ないし「第4図」は
「第@6図」ないし「第@8図」に置換される。
The serial number replacement process is performed according to the flowchart shown in FIG. However, S2 in FIG.
At 25, the process branches in the “designated range” direction, and at S228, the process branches in the “collective” direction. By this first serial number replacement processing,
In the above example, “FIG. 2” to “FIG. 4” in the text are replaced with “FIG. # 6” to “FIG.

【0194】S511では、第2の連番文字列検索を行
なうための第2の最小連番文字列および第2の最大連番
文字列が生成される。図14に示された例では「第5
図」ないし「第8図」を「第2図」ないし「第5図」へ
置換する必要がある。この「第5図」が第2の最小連番
文字列で「第8図」が第2の最大連番文字列である。
In S511, a second minimum serial number character string and a second maximum serial number character string for performing the second serial number character string search are generated. In the example shown in FIG.
FIG. 8 through FIG. 8 need to be replaced with FIG. 2 through FIG. FIG. 5 is a second minimum serial number character string, and FIG. 8 is a second maximum serial number character string.

【0195】第2の最小連番文字列の番号部分の値は次
の式によって求められる。 変数a<変数cの場合…第2の最小連番文字列の順序値
=変数b+1 変数a>変数cの場合…第2の最小連番文字列の順序値
=変数c+1 また、第2の最大連番文字列の順序値は次の式によって
求められる。
The value of the number portion of the second minimum serial number character string is obtained by the following equation. In the case of variable a <variable c: the order value of the second minimum serial number string = variable b + 1 In the case of variable a> variable c: the order value of the second minimum serial number string = variable c + 1 Also, the second maximum The order value of the serial number character string is obtained by the following equation.

【0196】変数a<変数cの場合…第2の最大連番文
字列の順序値=変数c 変数a>変数cの場合…第2の最大連番文字列の順序値
=変数a−1 上述の式によって求められた順序値と、S507で得ら
れた連番文字列の順序文字列以外の部分文字列とを組合
せることにより、第2の最小連番文字列および第2の最
大連番文字列が生成される。
In the case of variable a <variable c: the order value of the second maximum serial number character string = variable c In the case of variable a> variable c: the order value of the second maximum serial number character string = variable a-1 Is combined with the partial character string other than the sequential character string of the serial number character string obtained in S507 to obtain the second minimum serial number character string and the second maximum serial number character. A string is generated.

【0197】S512では、第2の置換後連番文字列が
生成される。図14に示された例では「第5図」ないし
「第8図」を「第2図」ないし「第5図」へ置換する必
要がある。この「第2図」が第2の置換後連番文字列で
ある。
At S512, a second post-replacement serial number character string is generated. In the example shown in FIG. 14, it is necessary to replace “FIG. 5” through “FIG. 8” with “FIG. 2” through “FIG. This “FIG. 2” is the second serial number character string after replacement.

【0198】第2の置換後連番文字列の順序値は次の式
によって求められる。 変数a<変数cの場合…第2の置換後連番文字列の順序
値=変数a 変数a>変数cの場合…第2の置換後連番文字列の順序
値=変数c+変数b−変数a+2 上述の式によって求められた値と、S507で得られた
連番文字列の順序文字列以外の部分文字列とを組合せる
ことにより、第2の置換後連番文字列が生成される。
The order value of the second serial number character string after replacement is obtained by the following equation. In the case of variable a <variable c: the order value of the second replaced serial number character string = variable a In the case of variable a> variable c ... the order value of the second replaced serial number character string = variable c + variable b−variable a + 2 By combining the value obtained by the above expression with the partial character string other than the order character string of the serial number character string obtained in S507, a second post-replacement serial number character string is generated.

【0199】S513では、S511で得られた第2の
最小連番文字列ないし第2の最大連番文字列を、S51
2で得られた第2の置換後連番文字列に連番置換する
(以下、第2連番置換処理という)。
In S513, the second minimum serial number character string or the second maximum serial number character string obtained in S511 is converted to S51.
2 is sequentially replaced with the second replaced serial number character string obtained in step 2 (hereinafter, referred to as a second serial number replacement process).

【0200】なお、連番置換の処理はS510と同様
に、図8に示されたフローチャートによって行なわれ
る。この第2連番置換処理によって、上述の例では文章
中の「第5図」ないし「第8図」は「第2図」ないし
「第5図」に置換される。
The serial number replacement process is performed according to the flowchart shown in FIG. 8, as in S510. By the second serial number substitution process, in the above example, “FIG. 5” to “FIG. 8” in the text are replaced with “FIG. 2” to “FIG. 5”.

【0201】S514では、S510の第1連番置換処
理によって追加された特殊コード、たとえば「@」が文
章中から削除される。
In S514, the special code added by the first serial number substitution process in S510, for example, “$” is deleted from the text.

【0202】以上の処理によって図14に示されたよう
な連番文字列の移動処理が実現される。
By the above processing, the sequential number character string moving processing as shown in FIG. 14 is realized.

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

【図1】この発明の実施の形態1による情報処理装置1
のハードウェアブロック図である。
FIG. 1 is an information processing apparatus 1 according to a first embodiment of the present invention.
3 is a hardware block diagram of FIG.

【図2】(A)と(B)は図1のRAM102とROM
103の構成図である。
FIGS. 2A and 2B are a RAM 102 and a ROM of FIG.
FIG.

【図3】この発明の実施の形態1による文章データ編集
プログラムによって実現されるメインフローチャートで
ある。
FIG. 3 is a main flowchart realized by a text data editing program according to the first embodiment of the present invention;

【図4】図3のS102における文章データの表示例を
示す図である。
FIG. 4 is a diagram showing a display example of text data in S102 of FIG. 3;

【図5】図4の文章データの修正例を示す図である。FIG. 5 is a diagram showing an example of correction of the sentence data of FIG. 4;

【図6】図3の文字検索置換処理の詳細を示すフローチ
ャートである。
FIG. 6 is a flowchart showing details of a character search / replacement process of FIG. 3;

【図7】図3の文字検索置換処理の詳細を示すフローチ
ャートである。
FIG. 7 is a flowchart illustrating details of a character search and replacement process in FIG. 3;

【図8】図3の文字検索置換処理の詳細を示すフローチ
ャートである。
FIG. 8 is a flowchart showing details of a character search / replacement process of FIG. 3;

【図9】図3の文字検索置換処理において提示される文
字検索置換ダイアログボックスを示す図である。
FIG. 9 is a view showing a character search and replacement dialog box presented in the character search and replacement processing of FIG. 3;

【図10】図6のS204の連番文字列検索置換チェッ
クボックス設定の処理フローチャートである。
FIG. 10 is a processing flowchart for setting a serial number character string search / replace check box in S204 of FIG. 6;

【図11】この発明の実施の形態1による連番文字列形
式辞書の具体例を示す図である。
FIG. 11 is a diagram showing a specific example of a serial number character string format dictionary according to Embodiment 1 of the present invention;

【図12】この発明の実施の形態1による連番文字列置
換処理の具体例を表形式にして示す図である。
FIG. 12 is a diagram showing a specific example of a serial number character string replacement process according to the first embodiment of the present invention in a table format.

【図13】この発明の実施の形態2による情報処理装置
の処理を示したメインフローチャートである。
FIG. 13 is a main flowchart showing processing of the information processing apparatus according to the second embodiment of the present invention.

【図14】この発明の第2の実施の形態による連番文字
列の移動例を示す図である。
FIG. 14 is a diagram showing an example of moving a serial number character string according to the second embodiment of the present invention.

【図15】この発明の実施の形態2による連番文字列移
動処理の詳細を示すフローチャートである。
FIG. 15 is a flowchart showing details of a serial number character string moving process according to the second embodiment of the present invention;

【図16】この発明の実施の形態2による連番文字列移
動ダイアログボックスを示す図である。
FIG. 16 is a diagram showing a serial number character string moving dialog box according to the second embodiment of the present invention.

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

1 情報処理装置 10 文章データ編集プログラム 11 連番文字列検索置換プログラム 20 連番文字列形式辞書 21 連番文字列形式 22 順序文字列の種類 300 文字検索置換ダイアログボックス 400 連番文字列移動ダイアログボックス DESCRIPTION OF SYMBOLS 1 Information processing apparatus 10 Sentence data editing program 11 Serial number character string search and replacement program 20 Serial number character string format dictionary 21 Serial number character string form 22 Order character string type 300 Character search and replace dialog box 400 Serial number character move dialog box

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 一定の連続性を有する連番文字列を含む
各種の文字列を入力して、該入力文字列に基づいて文章
を検索して検索結果を出力する文字列検索装置であっ
て、 前記文章を記憶する文章記憶手段と、 前記各種の文字列を入力する文字列入力手段と、 前記文字列入力手段により前記連番文字列が入力された
とき、入力された連番文字列および、該連番文字列と同
じ形式で示され、かつ順序文字列のみ異なる文字列を前
記記憶手段に記憶された前記文章中から検索する連番文
字列検索手段とを備え、 前記順序文字列は前記一定連続性における順序に対応す
る順序値を示す前記連番文字列中の文字列であり、前記
形式は前記順序文字列とその他の文字列からなることを
特徴とする、文字列検索装置。
1. A character string search device for inputting various character strings including a serial number character string having a certain continuity, searching for a sentence based on the input character string, and outputting a search result. A sentence storage means for storing the sentence, a character string input means for inputting the various character strings, and when the serial number character string is input by the character string input means, the input serial number character string and A serial number character string search unit that searches the text stored in the storage unit for a character string that is shown in the same format as the serial number character string and that differs only in the order character string, A character string search device, wherein the character string is a character string in the serial number character string indicating an order value corresponding to the order in the constant continuity, and the format includes the order character string and another character string.
【請求項2】 前記連番文字列検索手段は、前記文字列
入力手段により入力された前記連番文字列と同じ形式
で、かつ該連番文字列の前記順序値以上の前記順序値を
示す前記順序文字列を含む前記連番文字列のみを前記記
憶手段に記憶された前記文章中から検索することを特徴
とする、請求項1に記載の文字列検索装置。
2. The serial number character string search means indicates the sequence value in the same format as the serial number character string input by the character string input means and is equal to or greater than the sequence value of the serial number character string. 2. The character string search device according to claim 1, wherein only the serial number character string including the sequence character string is searched from the text stored in the storage unit.
【請求項3】 前記文字列入力手段は、第1の前記順序
値を示す前記順序文字列を含む第1連番文字列を入力す
る第1連番文字列入力手段と、 前記第1連番文字列と同じ形式で、かつ前記第1順序値
より大きい第2の前記順序値を示す前記順序文字列を含
む第2連番文字列を入力する第2連番文字列入力手段と
をさらに備え、 前記連番文字列検索手段は、前記第1および第2連番文
字列入力手段により入力された前記第1および第2連番
文字列と同じ形式で、かつ前記第1順序値以上で前記第
2順序値以下である前記順序値を示す前記順序文字列を
含む前記連番文字列のみを前記記憶手段に記憶された前
記文章中から検索することを特徴とする、請求項1また
は2に記載の文字列検索装置。
3. The first serial number input means for inputting a first serial number character string including the sequence character string indicating the first sequence value, the first serial number character string input means comprising: Second serial number character string input means for inputting a second serial number character string including the sequence character string in the same format as the character string and indicating the second sequence value larger than the first sequence value. The serial number character string search means has the same format as the first and second serial number character strings input by the first and second serial number character string input means, and The method according to claim 1, wherein only the serial number character string including the order character string indicating the order value that is equal to or less than a second order value is searched from the text stored in the storage unit. Description character string search device.
【請求項4】 前記連番文字列検索手段により前記文章
から検索された検索連番文字列を置換するための置換連
番文字列で置換する連番文字列置換手段をさらに備え、 前記連番文字列置換手段は、 前記順序値に関して所望される増減値を入力するための
増減値入力手段を有し、 前記置換連番文字列は、前記検索連番文字列の前記順序
文字列の示す前記順序値が前記増減値入力手段により入
力された前記所望増減値だけ増減された順序値の順序文
字列とその他の文字列からなることを特徴とする、請求
項1ないし3のいずれかに記載の文字列検索装置。
4. A serial number character string replacing means for replacing a search serial number character string searched from the text by the serial number character string searching means with a replacement serial number character string. The character string replacement means has an increase / decrease value input means for inputting a desired increase / decrease value with respect to the order value, and the replacement serial number character string is the character string indicated by the order character string of the search serial number character string. 4. The method according to claim 1, wherein the order value comprises an order character string of an order value increased or decreased by the desired increase / decrease value input by the increase / decrease value input unit and another character string. 5. String search device.
【請求項5】 前記連番文字列置換手段は、 前記置換連番文字列を入力するための置換連番文字列入
力手段をさらに有し、 前記増減値入力手段は、前記文字列入力手段により入力
された前記連番文字列の前記順序値と前記置換連番文字
列入力手段により入力された前記置換連番文字列の前記
順序値とから、前記所望増減値を演算して求めることを
特徴とする、請求項4に記載の文字列検索装置。
5. The serial number character string replacement means further includes a replacement serial number character string input means for inputting the replacement serial number character string, wherein the increase / decrease value input means is provided by the character string input means. The desired increase / decrease value is calculated from the sequence value of the input serial number character string and the order value of the replacement serial number character string input by the replacement serial number character string input unit. The character string search device according to claim 4, wherein
【請求項6】 前記検索連番文字列を、前記置換連番文
字列入力手段により入力された前記置換連番文字列の形
式に変換された前記検索連番文字列で置換する連番文字
列形式置換手段をさらに備える、請求項5に記載の文字
列検索装置。
6. A serial number character string for replacing the search serial number character string with the search serial number character string converted into the replacement serial number character string input by the replacement serial number character string input means. The character string search device according to claim 5, further comprising a format replacement unit.
【請求項7】 前記順序値に関して所望される増加値を
入力するための増加値入力手段と、 前記検索連番文字列を、その前記順序値が前記増加値入
力手段により入力された前記所望増加値だけ増加された
前記順序値を示す前記順序文字列を含む前記連番文字列
で置換する第1連番文字列置換手段と、 前記第1および第2連番文字列入力手段により入力され
た前記第1および第2連番文字列と同じ形式で、かつ前
記第2順序値+1以上で前記第2順序値に前記増加値入
力手段により入力された前記所望増加値を加えた前記順
序値以下を示す前記順序文字列を含む前記連番文字列の
みを前記記憶手段に記憶された前記文章中から検索する
第2連番文字列検索手段と、 前記第2連番文字列検索手段により前記文章中から検索
された第2検索連番文字列を、前記第2順序値から前記
第1順序値を減じて1を加えた値だけ減少させた後の前
記順序値を示す前記順序文字列を含む前記第2検索連番
文字列で置換する第2連番文字列置換手段とをさらに備
える、請求項3に記載の文字列検索装置。
7. An increase value input means for inputting an increase value desired with respect to the order value, and the search increment character string, wherein the order value is the desired increase value inputted by the increase value input means. First serial number character string replacing means for replacing with the serial number character string including the order character string indicating the order value incremented by a value; and input by the first and second serial number character string input means. In the same format as the first and second serial number character strings, and not more than the second order value + 1 and not more than the order value obtained by adding the desired increase value input by the increase value input means to the second order value. A second serial number character string searching means for searching only the serial number character string including the sequence character string indicating the sequence from the text stored in the storage means; and the second serial number character string searching means Second search sequence number character searched from inside Replacing a column with the second search sequence number string including the sequence string indicating the sequence value after subtracting the first sequence value from the second sequence value and adding 1 to the value; The character string search device according to claim 3, further comprising a second serial number character string replacement unit.
【請求項8】 前記第1および第2連番文字列と同じ形
式で、かつ前記第2順序値より大きい第3の前記順序値
を示す前記順序文字列を含む第3の連番文字列を入力す
る第3連番文字列入力手段をさらに備え、 前記増加値入力手段は、前記第1順序値と前記第3連番
文字列入力手段により入力された前記第3連番文字列の
前記第3順序値とから、前記所望増加値を演算して求め
ることを特徴とする、請求項7に記載の文字列検索装
置。
8. A third serial number string having the same format as the first and second serial number strings and including the order character string indicating the third order value larger than the second order value. A third serial number character string input unit for inputting, the increase value input unit including the first sequence value and the third serial number character string input by the third serial number character string input unit. The character string search device according to claim 7, wherein the desired increase value is calculated from three order values.
【請求項9】 前記順序値に関して所望される減少値を
入力するための減少値入力手段と、 前記検索連番文字列を、その前記順序値が前記減少値入
力手段により入力された前記所望減少値だけ減少された
連番文字列により置換する第3連番文字列置換手段と、 前記第1および第2連番文字列入力手段により入力され
た前記第1および第2連番文字列と同じ形式で、かつ前
記第1順序値から前記減少値入力手段により入力された
前記所望減少値を減少させた値以上で前記第1順序値−
1以下の前記順序値を示す前記順序文字列を含む前記連
番文字列のみを前記記憶手段に記憶された文章中から検
索する第3の連番文字列検索手段と、 前記第3連番文字列検索手段により前記文章中から検索
された前記連番文字列を、その前記順序値が前記第2順
序値から前記第1順序値を減じて1を加えた値だけ増加
された後の前記順序値を示す前記順序文字列を含む前記
連番文字列で置換する第4の連番文字列置換手段とをさ
らに備えた、請求項3または7に記載の文字列検索装
置。
9. A decrease value input means for inputting a desired decrease value with respect to the order value; and the search decrease character string, wherein the order value is the desired decrease value inputted by the decrease value input means. Third serial number character string replacement means for replacing with a serial number character string reduced by a value, and the same as the first and second serial number character strings input by the first and second serial number character string input means The first order value is not less than a value obtained by subtracting the desired decrease value input by the decrease value input means from the first order value in the form of the first order value.
Third serial number character string search means for searching only the serial number character string including the sequence character string indicating the order value of 1 or less from the text stored in the storage means, and the third serial number character The sequence after the sequence number is increased by subtracting the first sequence value from the second sequence value and adding 1 to the serial number character string retrieved from the text by the column retrieval means. 8. The character string search device according to claim 3, further comprising: a fourth serial number character string replacing unit that performs replacement with the serial number character string including the order character string indicating a value. 9.
【請求項10】 前記第1および第2連番文字列と同じ
形式で、かつ前記第1順序値−1より小さい第4の順序
値を示す前記順序文字列を含む第4の連番文字列を入力
する第4連番文字列入力手段をさらに有し、 前記減少値入力手段は、前記第1順序値と前記第4連番
文字列入力手段により入力された前記第4連番文字列の
前記第4順序値とから前記所望減少値を演算して求める
ことを特徴とする、請求項9に記載の文字列検索装置。
10. A fourth serial number string having the same format as the first and second serial number strings and including the order string indicating a fourth order value smaller than the first order value-1. Further comprising a fourth serial number character string input means for inputting the first sequence value and the fourth serial number character string input by the fourth serial number character string input means. 10. The character string search device according to claim 9, wherein the desired decrease value is calculated and obtained from the fourth order value.
【請求項11】 前記文字列入力手段により前記連番文
字列でない文字列が入力された時、前記入力された文字
列に一致する文字列を前記文章記憶手段に記憶された前
記文章中から検索する検索手段とをさらに備えた、請求
項1ないし10のいずれかに記載の文字列検索装置。
11. When a character string that is not the serial number character string is input by the character string input means, a character string that matches the input character string is searched from the text stored in the text storage means. The character string search device according to claim 1, further comprising: a search unit that performs search.
【請求項12】 一定の連続性を有する連番文字列を含
む各種の文字列を入力して、該入力文字列に基づいて文
章を検索して検索結果を出力する文字列検索方法であっ
て、 前記各種の文字列を入力する文字列入力ステップと、 前記文字列入力ステップにより前記連番文字列が入力さ
れたとき、入力された連番文字列および、該連番文字列
と同じ形式で示され、かつ順序文字列のみ異なる文字列
を前記文章中から検索する連番文字列検索ステップとを
備え、 前記順序文字列は前記一定連続性における順序に対応す
る順序値を示す前記連番文字列中の文字列であり、前記
形式は前記順序文字列とその他の文字列からなることを
特徴とする、文字列検索方法。
12. A character string search method for inputting various character strings including a serial number character string having a certain continuity, searching a sentence based on the input character string, and outputting a search result. A character string input step of inputting the various character strings, and when the serial number character string is input in the character string input step, the input serial number character string and the same format as the serial number character string. And a sequence number character string search step of searching the text for a character string that differs only in the sequence character string, wherein the sequence character string indicates a sequence value corresponding to the sequence in the constant continuity. A character string search method, comprising: a character string in a string, wherein the format includes the ordered character string and another character string.
【請求項13】 前記連番文字列検索ステップにより前
記文章から検索された検索連番文字列を置換するための
置換連番文字列で置換する連番文字列置換ステップをさ
らに備え、 前記連番文字列置換ステップは、 前記順序値に関して所望される増減値を入力するための
増減値入力ステップを有し、 前記置換連番文字列は、前記検索連番文字列の前記順序
文字列の示す前記順序値が前記増減値入力ステップによ
り入力された前記所望増減値だけ増減された順序値の順
序文字列とその他の文字列からなることを特徴とする、
請求項12に記載の文字列検索方法。
13. A serial number character string replacement step of replacing a search serial number character string searched from the text by the serial number character string search step with a replacement serial number character string. The character string replacement step has an increase / decrease value input step for inputting a desired increase / decrease value with respect to the order value, and the replacement serial number character string is the character string indicated by the order character string of the search serial number character string. An ordinal value comprising an ordinal character string of an ordinal value increased or decreased by the desired increase / decrease value input in the increase / decrease value input step and another character string,
The character string search method according to claim 12.
【請求項14】 一定の連続性を有する連番文字列を含
む各種の文字列を入力して、該入力文字列に基づいて文
章を検索して検索結果を出力する文字列検索方法をコン
ピュータに実行させるための連番文字列検索プログラム
を記録したコンピュータで読取可能な記録媒体であっ
て、 前記文字列検索方法は、 前記各種の文字列を入力する文字列入力ステップと、 前記文字列入力手段により前記連番文字列が入力された
とき、入力された連番文字列および、該連番文字列と同
じ形式で示され、かつ順序文字列のみ異なる文字列を前
記文章中から検索する連番文字列検索ステップとを備
え、 前記順序文字列は前記一定連続性における順序に対応す
る順序値を示す前記連番文字列中の文字列であり、前記
形式は前記順序文字列とその他の文字列からなることを
特徴とする、プログラムを記録したコンピュータで読取
可能な記録媒体。
14. A computer provided with a character string search method for inputting various character strings including a serial number character string having a certain continuity, searching for a sentence based on the input character string, and outputting a search result. A computer-readable recording medium recording a serial number character string search program to be executed, wherein the character string search method includes: a character string input step of inputting the various character strings; When the serial number character string is input, the input serial number character string and a serial number for searching the sentence for a character string shown in the same format as the serial number character string and different only in the order character string A character string search step, wherein the order character string is a character string in the serial number character string indicating an order value corresponding to the order in the constant continuity, and the format is the order character string and another character string. From Characterized Rukoto, readable recording medium recording a computer program.
【請求項15】 前記文字列検索方法は、前記連番文字
列検索ステップにより前記文章から検索された検索連番
文字列を置換するための置換連番文字列で置換する連番
文字列置換ステップをさらに備え、 前記連番文字列置換ステップは、 前記順序値に関して所望される増減値を入力するための
増減値入力ステップを有し、 前記置換連番文字列は、前記検索連番文字列の前記順序
文字列の示す前記順序値が前記増減値入力ステップによ
り入力された前記所望増減値だけ増減された順序値の順
序文字列とその他の文字列からなることを特徴とする、
請求項14に記載の文字列検索プログラムを記録したコ
ンピュータで読取可能な記録媒体。
15. The character string search method according to claim 1, wherein the serial number character string search step replaces a search serial number character string searched from the text with a replacement serial number character string. The serial number character string replacement step has an increase / decrease value input step for inputting a desired increase / decrease value with respect to the ordinal value, and the replacement serial number character string is the search serial number character string. The sequence value indicated by the sequence character string is composed of a sequence character string of a sequence value increased or decreased by the desired increase / decrease value input in the increase / decrease value input step and another character string,
A computer-readable recording medium recording the character string search program according to claim 14.
JP29952698A 1998-10-21 1998-10-21 Character string search apparatus and method, and computer-readable recording medium recording character string search program Expired - Fee Related JP4057166B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29952698A JP4057166B2 (en) 1998-10-21 1998-10-21 Character string search apparatus and method, and computer-readable recording medium recording character string search program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29952698A JP4057166B2 (en) 1998-10-21 1998-10-21 Character string search apparatus and method, and computer-readable recording medium recording character string search program

Publications (2)

Publication Number Publication Date
JP2000132548A true JP2000132548A (en) 2000-05-12
JP4057166B2 JP4057166B2 (en) 2008-03-05

Family

ID=17873748

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29952698A Expired - Fee Related JP4057166B2 (en) 1998-10-21 1998-10-21 Character string search apparatus and method, and computer-readable recording medium recording character string search program

Country Status (1)

Country Link
JP (1) JP4057166B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488313A (en) * 2020-03-13 2020-08-04 上海外高桥造船有限公司 Tribon-based model name batch processing method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111488313A (en) * 2020-03-13 2020-08-04 上海外高桥造船有限公司 Tribon-based model name batch processing method and system
CN111488313B (en) * 2020-03-13 2024-02-02 上海外高桥造船有限公司 Model name batch processing method and system based on Tribon

Also Published As

Publication number Publication date
JP4057166B2 (en) 2008-03-05

Similar Documents

Publication Publication Date Title
KR20050025147A (en) Entering text into an electronic communications device
JPH07160705A (en) Apparatus and method for automatic formatting of sentence selected by user
KR20000062479A (en) Method and apparatus for entering data strings including hangul(korean) and ascii characters
KR20040101306A (en) Entering text into an electronic communications device
GB2365150A (en) Automatic completion of data in a data entry field using prepended text
JP4057166B2 (en) Character string search apparatus and method, and computer-readable recording medium recording character string search program
JP6221275B2 (en) Character input program and character input device
JPH0683812A (en) Kana/kanji converting device for document input device
JP2006092004A (en) Dictionary information display control device, dictionary information display control program, and dictionary information display control method
JP4363167B2 (en) Electronic dictionary apparatus and program
JP2005216108A (en) Dictionary information display control device, dictionary information display control program, and dictionary information display control method
JP5446398B2 (en) Electronic device and program with dictionary function
JP2003316821A (en) Electronic dictionary
JP2009093299A (en) Data input device, method, and program
WO2023171790A1 (en) Text creation assistance device and text creation assistance program
JP3938087B2 (en) Language input system and method
JP2006172338A (en) Information processing device and method, storage medium, and program
JP2580138B2 (en) Kana-Kanji conversion attribute change processor
JP5655926B2 (en) Electronic device, program, and search method
JPH08297659A (en) Character string conversion processing system
JP2675298B2 (en) Information processing device
JPH0776966B2 (en) Kana-Kanji conversion device
JP2006227819A (en) Information processor
JPH05266006A (en) Character input device
JP2005202859A (en) Apparatus, program and method for controlling display of dictionary information

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040831

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041028

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20041111

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20050708

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071213

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101221

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101221

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111221

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111221

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121221

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121221

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees