JP2018190030A - Information processing server, control method for the same, and program, and information processing system, control method for the same, and program - Google Patents
Information processing server, control method for the same, and program, and information processing system, control method for the same, and program Download PDFInfo
- Publication number
- JP2018190030A JP2018190030A JP2017089575A JP2017089575A JP2018190030A JP 2018190030 A JP2018190030 A JP 2018190030A JP 2017089575 A JP2017089575 A JP 2017089575A JP 2017089575 A JP2017089575 A JP 2017089575A JP 2018190030 A JP2018190030 A JP 2018190030A
- Authority
- JP
- Japan
- Prior art keywords
- character string
- document data
- correction
- search
- information processing
- 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
Links
Images
Abstract
Description
本発明は、ユーザから受け付けた文字列に含まれる修正文字列に対し、適切に修正して、文書データを検索することのできる情報処理サーバ、その制御方法、及びプログラム、並びに、情報処理システム、その制御方法、及びプログラム技術に関する。 The present invention relates to an information processing server that can appropriately correct a corrected character string included in a character string received from a user and retrieve document data, a control method thereof, a program, and an information processing system, The present invention relates to a control method and program technology.
近年、企業においても家庭においても、パーソナルコンピュータが普及し、またインターネットが身近なものになったこともあって、キーボードから文字列を入力する機会が多くなっている。 In recent years, personal computers have become widespread in businesses and homes, and the Internet has become familiar, so there are many opportunities for inputting character strings from a keyboard.
しかしながら、キーボードを使いこなすにはかなりの熟練が必要であり、また熟練した人であっても誤った入力(スペリングミス)をすることは多い。 However, considerable skill is required to master the keyboard, and even a skilled person often makes an erroneous input (spelling mistake).
また、近年は音声認識により、キーボードを使わず人の声をコンピュータのソフトウェアが文字列に変換する技術も広く使われるようになってきた。しかしながら、音声認識に関しても精度は100%ではないため、スペリングミスが発生する。そして、スペリングミスに効率的に対処するため、様々な技術が開発されている。
特許文献1においては、あらかじめ電子的に記憶された辞書を用意し、音声認識で受け付けた文字列のうち、誤認識されている部分を特定し、さらに辞書の中から誤認識した文字列に対して、訂正候補の文字列および誤認識した文字列と訂正候補の文字列の類似度を計算する技術が記載されている。
In recent years, a technique for converting a human voice into a character string by a computer software without using a keyboard has been widely used. However, since the accuracy of speech recognition is not 100%, spelling errors occur. Various techniques have been developed to efficiently deal with spelling mistakes.
In
また、特許文献2においては、検索システムにおいて、過去にユーザが入力したクエリ(文字列)をログとして格納し、新たにユーザが入力をした際に、前記クエリログに基づいて、スペリングチェックを行う技術が記載されている。
In
しかしながら、特許文献1においてはあらかじめ辞書を用意する必要がある。この辞書に含まれている単語は、汎用的でありどの分野にも適用可能に作らねばならない。その場合、辞書をあらかじめ用意する工数、また新しい単語を追加するなど辞書を更新する保守の工数が必要である。またユーザが新たに入力する文字列が特定の分野であったとしても、汎用的に用意された辞書から訂正候補の文字列を探すため、訂正候補が大量に存在し、文字列間の類似度の計算が高い精度で算出されたとしても、無関係な候補を高い優先順位でユーザに提示することになるという問題がある。
However, in
また、特許文献2においては、特定のユーザのクエリログを記憶してスペリングチェックに使用しているものの、ユーザが特定のクエリだけを頻繁に使用する場合であればともかく、汎用的に使用している場合には、それだけ多くのスペリングチェック用のログを収集するには長期間を要し、またその汎用性があるため、特許文献1と同様に無関係な候補を高い優先順位でユーザに提示することになるという問題がある。
Further, in
本発明の目的は、ユーザから受け付けた文字列に含まれる修正文字列に対し、適切に修正して、文書データを検索することが可能な技術を提供することである。 An object of the present invention is to provide a technique capable of appropriately correcting a corrected character string included in a character string received from a user and searching document data.
上記の目的を達成するために、本発明は、複数の文書データから適切な文書データを、ユーザから受け付けた文字列をもとに検索することのできる情報処理サーバであって、複数の前記文書データを記憶する記憶手段と、前記文書データを検索するための複数の文字列であって、修正対象の修正文字列を少なくとも含む文字列を受け付ける受付手段と、前記受付手段で受け付けた前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索する検索手段と、前記検索手段で検索された前記文書データに含まれる文字列に基づいて、前記修正文字列を修正する修正手段とを備え、前記検索手段は、前記修正手段で修正された前記修正文字列を含む前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索することを特徴とする。 In order to achieve the above object, the present invention provides an information processing server capable of retrieving appropriate document data from a plurality of document data based on a character string received from a user, wherein the plurality of documents Storage means for storing data, a plurality of character strings for searching the document data, receiving means for receiving a character string including at least a correction character string to be corrected, and the character string received by the receiving means Using the search means for searching the plurality of document data stored in the storage means, and the correction for correcting the correction character string based on the character string included in the document data searched by the search means And the search means searches the plurality of document data stored in the storage means using the character string including the corrected character string corrected by the correction means. It is characterized in.
本発明によれば、ユーザから受け付けた文字列に含まれる修正文字列に対し、適切に修正して、文書データを検索することが可能となる。 According to the present invention, it is possible to appropriately correct a corrected character string included in a character string received from a user and search document data.
以下、本発明の実施の形態を、図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の実施形態に係る機能構成の一例を示す図である。 FIG. 1 is a diagram illustrating an example of a functional configuration according to an embodiment of the present invention.
入力文字列受付部101は、テキスト文書(文書データに相当する)を検索するための検索条件となる入力文字列を受け付ける。本実施形態では、文書データの例をテキスト文書としているが、文書が含まれていればテキスト文書に限定されず、PDFファイルなどの文書データでもよい。当該入力文字列は、本発明における情報処理装置がクライアント装置として機能するコンピュータである場合には、当該コンピュータを使用するユーザから直接入力を受け付ける機能部であってもよい。また、当該コンピュータで動作する他のアプリケーションプログラムなどから受け付ける機能部であってもよい。また、本実施形態における情報処理装置がネットワーク上におけるサーバである場合には、他の情報処理装置から当該ネットワークを介して通信情報を受け付ける機能部であってもよい。
文書検索部102は、前述の手順で取得された入力文字列に基づき、文書記憶部121に格納されたテキスト文書を検索する。検索は、テキスト文書自体ではなく、テキスト文書から予め生成された索引に対して実行するものであってもよい。テキスト文書の検索および索引を生成することに関する技術は、周知の技術であるため詳細は割愛する。
The input character
The
単語抽出部103は、文書検索部102で検索した結果であるテキスト文書から、当該テキスト文書に含まれる文字列を解析し、単語を抽出する。
The
辞書検索部104は、あらかじめ用意された単語の情報(修正データに相当する)を記憶して管理する単語辞書記憶部122(管理手段に相当する)から、入力文字列受付部101で受け付けた入力文字列の一部(部分文字列)、すなわち入力文字列を解析して単語(スペリングミスを含んでいてもよい)に基づき、単語を検索する。ただし、検索する単語の文字列が正しいか正しくないかがあらかじめ分かっていないため、文字列として完全に一致する単語のみを検索するものではなく、スペリングミスがあることも考慮した上で、類似であると判定される文字列を検索するものである。スペルチェックのための辞書検索については周知の技術であるため詳細は割愛する。
The
類似度判定部105は、単語抽出部103で抽出された単語、あるいは辞書検索部104で検索された単語が、入力文字列の部分文字列で、単語(スペリングミスを含んでいる可能性がある文字列)とどの程度類似しているか判定する。結果は数値として算出される。
The
修正候補格納部106は、前述において入力文字列の部分文字列である単語に類似していると思われる単語を、その類似度とともに一時的に記憶部に記憶させる。当該修正候補を、修正候補提示部107により、ユーザあるいは本発明のシステムを利用するアプリケーションに提示し、ユーザまたはアプリケーションの選択結果を、修正結果受付部108が受け付けて、入力文字列から得られた単語を修正する。修正された結果が改めて検索条件となり、文書検索部102で文書記憶部121を再検索する。
The correction
図2は、本発明の情報処理システムに含まれる情報処理装置(情報処理サーバに相当する)のハードウェア構成の一例を示すブロック図である。 FIG. 2 is a block diagram illustrating an example of a hardware configuration of an information processing apparatus (corresponding to an information processing server) included in the information processing system of the present invention.
図2に示すように、情報処理装置100、アプリケーションサーバ140は、システムバス204を介してCPU(Central Processing Unit)201、RAM(Random Access Memory)202、ROM(Read Only Memory)203、入力コントローラ205、ビデオコントローラ206、メモリコントローラ207、通信I/Fコントローラ208等が接続された構成を採る。 CPU201は、システムバス204に接続される各デバイスやコントローラを統括的に制御する。
As shown in FIG. 2, the
また、ROM203あるいは外部メモリ211には、CPU201の制御プログラムであるBIOS(Basic Input/Output System)やOS(Operating System)や、各サーバあるいは各PCが実行する機能を実現するために必要な後述する各種プログラム等が記憶されている。また、本発明を実施するために必要な情報が記憶されている。なお外部メモリはデータベースであってもよい。
Further, the
RAM202は、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM203あるいは外部メモリ211からRAM202にロードし、ロードしたプログラムを実行することで各種動作を実現する。
The
また、入力コントローラ205は、キーボード(KB)209や不図示のマウス等のポインティングデバイス等からの入力を制御する。
The
ビデオコントローラ206は、ディスプレイ210等の表示器への表示を制御する。尚、表示器は液晶ディスプレイ等の表示器でもよい。これらは、必要に応じて管理者が使用する。
The
メモリコントローラ207は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、各種データ等を記憶する外部記憶装置(ハードディスク(HD))や、フレキシブルディスク(FD)、あるいは、PCMCIA(Personal Computer Memory Card International Association)カードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ211(記憶手段に相当する)へのアクセスを制御する。
The
通信I/Fコントローラ208は、ネットワークを介して外部機器と接続・通信し、ネットワークでの通信制御処理を実行する。例えば、TCP/IP(Transmission Control Protocol/Internet Protocol)を用いた通信等が可能である。
The communication I /
尚、CPU201は、例えばRAM202内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、ディスプレイ210上に表示することが可能である。また、CPU201は、ディスプレイ210上のマウスカーソル(図示しない)等によるユーザ指示を可能とする。
Note that the
本発明を実現するための後述する各種プログラムは、外部メモリ211に記録されており、必要に応じてRAM202にロードされることによりCPU201によって実行されるものである。
図3は、本発明の実施形態に係る検索処理のフローチャートの一例を示す図である。図3のフローチャートの各ステップは、情報処理装置100上のCPU201で実行される。
Various programs to be described later for realizing the present invention are recorded in the
FIG. 3 is a diagram showing an example of a flowchart of search processing according to the embodiment of the present invention. Each step of the flowchart of FIG. 3 is executed by the
ステップS301においては、入力文字列受付部101が、文書検索部102でテキスト文書を検索するための条件として、入力文字列を受け付ける(受付手段に相当する)。本発明の説明のための例として、“人工知能、機械学習、ビッグデー?”という文字列が受け付けられたとする。最後の“?”は、“ビッグデータ”という単語の入力においてスペリングミスをしたもの(修正文字列に相当する)で有り、修正対象である。例えば一文字分不足した“ビッグデー”であったり、誤った文字が入力され“ビッグデーラ”であったりするものとする。
In step S301, the input character
ステップS302においては、文書検索部102が、前述の入力文字列を検索条件として、文書記憶部121から条件に合致するテキスト文書の一覧を取得(検索)する(検索手段に相当する)。文書記憶部121の例を、図5を用いて説明する。
In step S302, the
図5において、501が1つの検索対象となるテキスト文書である。図5の例では、テキスト文書は501a〜501nまである。これらのテキスト文書501のうち、前述の検索条件“人工知能”、“機械学習”を含む文書が検索結果となるが、図5の例では、501a〜501dの4つである。検索条件と一致した単語にアンダーラインを引いている。例えば、テキスト文書501aでは、“人工知能”と“機械学習”の2つが一致している。
In FIG. 5, reference numeral 501 denotes a text document to be searched. In the example of FIG. 5, there are
“ビッグデータ”という単語も含まれているが、検索条件が“ビッグデー?”とスペリングミスしたものであるため一致したとは見なされない。 The word “big data” is also included, but it is not considered a match because the search condition is a spelling mistake with “Big Day?”.
ステップS303においては、単語抽出部103が、検索結果である前述のテキスト文書を解析し、当該テキスト文書のいずれかに含まれる単語を抽出する。
In step S303, the
抽出された単語は、例えば図6の抽出単語記憶部311(“ビッグデータ”から“デジタル”までの縦の列)のように一覧として表される。ここで図6を説明する。 The extracted words are represented as a list, for example, as in the extracted word storage unit 311 (vertical column from “big data” to “digital”) in FIG. Here, FIG. 6 will be described.
図6は、前述の通り抽出単語記憶部311のリストと、文書毎に検索条件の単語を並べた部分(横の列の601)の2次元の表である。抽出単語記憶部311と各文書601が交差する重み付け欄602には、重み付けが記載されている。
FIG. 6 is a two-dimensional table of the list in the extracted
例えば最も左上の欄では、テキスト文書501には“ビッグデータ”という単語が含まれているため、ビッグデータという抽出単語の一つ右の欄に“2”と記載されている。これは、検索条件の中の“人工知能”、“機械学習”の2つの単語が、テキスト文書に出現している、すなわち“ビッグデータ”は、検索条件に含まれる単語のうち2つの単語と共起している、ということを表している。 For example, in the upper left column, since the text document 501 includes the word “big data”, “2” is described in the right column of the extracted word “big data”. This is because two words of “artificial intelligence” and “machine learning” in the search condition appear in the text document, that is, “big data” is two words among the words included in the search condition. It means that they co-occur.
この重み付けはあくまで例である。例えば、検索システムにおいては、テキスト文書に現れる各単語に、通常“重み”を付与している。1つのテキスト文書に何度も現れる単語ほど重みが高い、一方、異なるテキスト文書に何度も現れる単語ほど重みが低い、などである。これらの重みを考慮して、図6の重み付け欄602の値を算出してもよい。
This weighting is only an example. For example, in a search system, each word appearing in a text document is usually given a “weight”. A word that appears more than once in one text document has a higher weight, while a word that appears more than once in a different text document has a lower weight. Considering these weights, the value in the
また、図6では各テキスト文書に出現する検索条件の単語は2つだけであるが、もっと多い場合、例えば単語A1,A2,B1,B2の4つがある場合、単語A1,A2は共起頻度が高いため、単語A1,A2と共起する抽出単語の重みも高くする、一方、単語B1,B2の共起頻度は低いため、単語B1,B2と共起する抽出単語の重みは低くする、などとしてもよい。従って重み付け欄602の値の算出方法は、任意であり設計事項である。本発明においては、任意の算出方法を含むものとする。
In FIG. 6, there are only two search condition words appearing in each text document. When there are more words, for example, when there are four words A1, A2, B1, and B2, the words A1 and A2 are co-occurrence frequencies. Therefore, the weight of the extracted word that co-occurs with the words A1 and A2 is also increased, while the co-occurrence frequency of the words B1 and B2 is low, so that the weight of the extracted word that co-occurs with the words B1 and B2 is decreased. And so on. Therefore, the method for calculating the value in the
また、抽出単語記憶部311に“人工知能”、“機械学習”の2単語が含まれていないが、これは、後述の説明でスペリングミスがなかったものとして扱うためで有り、ステップ303の段階でその判定ができていない場合には、暫定的に抽出単語記憶部311に含んでいてもよい。
Further, the extracted
同様に、図6の抽出単語記憶部311には、“人工知能”、“機械学習”をのぞき、各テキスト文書に出現する全ての単語を記載しているが、本例での“ビッグデー?”のスペリングチェックのための候補にさえならない、という判定があらかじめできる文字列であれば、抽出単語記憶部311に必ずしも含まなくてもよい。
Similarly, all words appearing in each text document are described in the extracted
フローチャートの説明に戻る。ステップS304においては、検索条件となる入力文字列に含まれる単語に対して、スペリングチェックを行う。スペリングチェックについては周知の技術である。ただし、本願発明の特徴に関わる部分を図4のフローチャートを用いて詳細に説明する。 Return to the description of the flowchart. In step S304, a spelling check is performed on the words included in the input character string serving as a search condition. The spelling check is a well-known technique. However, the parts related to the features of the present invention will be described in detail with reference to the flowchart of FIG.
ステップS401からステップS406は、検索条件の入力文字列から抽出された単語(スペリングミスがあるものも含む)の1つずつに着目しながら、繰り返し行われる処理である。 Steps S401 to S406 are processes that are repeatedly performed while paying attention to each of the words (including those with spelling mistakes) extracted from the input character string of the search condition.
ステップS402においては、着目中の単語と同じものが抽出単語記憶部311にあるか否かを判定する。例えば“ビッグデー?”があるか否かを判定する。文字列として一致するものがある場合(YES)には、ステップS406に進み、次の着目を次の単語に移行する。一致するものがない場合(NO)の場合には、ステップS403に進む。
In step S402, it is determined whether or not the extracted
ステップS403においては、類似度判定部105が、抽出単語記憶部311に記憶された検索結果のテキスト文書に含まれる単語と、単語辞書記憶部122に含まれる単語の中から、着目中の単語と類似のものを選択し、類似度を算出する。類似度は、例えば2つの単語の文字列としての一致度に基づいて算出される。スペリングチェックおよび類似度算出の処理については、周知の技術であり詳細は割愛する。単語辞書記憶部の例として、図7を説明する。
In step S <b> 403, the
図7においては、“ビッグデー?”と類似する見出しをもつ単語のみを表示しているが、実際には他の単語も登録されている。着目中の単語701に対して、類似する見出し(702)を持つ単語をリストアップした状態である。
In FIG. 7, only words having a headline similar to “Big Day?” Are displayed, but other words are also actually registered. This is a state where words having a similar heading (702) are listed with respect to the
また前述で、特許文献1のように辞書を用いることの問題点を記載したが、これは汎用的な辞書を用意する場合であり、例えば企業が特定の製品についての質問応答システムを開発するような場合に、その製品に関連する特有の技術用語のみを登録するのであれば、着目中の単語に誤って類似する単語も少なく、また保守の工数も少なく効果があるため、使用しても同様の問題を生じないようにすることが可能である。
Moreover, although the problem of using a dictionary like
さらに、類似していると判定された単語一覧の例を図8で説明する。図8は、修正候補記憶部312を説明したものである。ステップS403の結果は、修正候補記憶部312に格納しておく。
Further, an example of a word list determined to be similar will be described with reference to FIG. FIG. 8 illustrates the correction
修正候補記憶部312には、スペリングミス候補801に対して、類似していると判定された単語の表記802と、その類似度803を格納する。さらに、単語辞書記憶部122から取得した修正候補は使用しない、ということをユーザやアプリケーションが判断できるように、出典804を格納してもよい。検索システムがデフォルトで判断せず、ユーザやアプリケーションに提示する際に、判断する根拠として、修正候補とともに出典804の情報を提示してもよい。
The correction
ステップS404においては、抽出単語記憶部311および(必要なら)単語辞書記憶部122から、着目中の単語と類似の文字列を見つけることができたか否かを判定する。具体的には、類似度の閾値を設定しプログラムコードや設定ファイルなどの記憶部に記憶しておく。例えば、閾値として“0.5”を設定し、類似度がその値よりも低いものは、スペリングミスの修正候補ではないと判定してもよい。
In step S404, it is determined whether a character string similar to the focused word can be found from the extracted
着目中の単語に類似するものがあると判定された場合(YES)には、ステップS405に進む。類似するものがないと判定された場合(NO)には、ステップS406に進み、次の着目を次の単語に移行する。 If it is determined that there is something similar to the word being noticed (YES), the process proceeds to step S405. If it is determined that there is no similarity (NO), the process proceeds to step S406, and the next attention is shifted to the next word.
ステップS405においては、着目中の単語と類似しているとされた単語に対して、類似度を変更する。 In step S405, the similarity is changed for a word that is similar to the word of interest.
例をあげて説明する。既に、図6において、抽出単語と検索条件に含まれる単語の共起度(言語が同一の発話・文・文脈などの言語的環境において生起する回数を指す)算出すること(算出手段に相当する)により、重み付けをする表を説明した。例えば、類似度が0.8の“ビッグデータ”は、図6のテーブルから、3つのテキスト文書で合計4つの検索条件と共起しているから、類似度を4倍の“3.2”に修正、類似度が0.6の“ビットデータ”は、1つしか共起していないので、変わらず“0.6”などとしてもよい。この共起度の算出方法はあくまで例であり、任意の算出方法でよい。本発明では、それら任意の算出方法をも含むものとする。 An example will be described. 6, the co-occurrence degree of the extracted word and the word included in the search condition (referring to the number of occurrences in a linguistic environment such as speech, sentence, context, etc., in which the language is the same) is calculated (corresponding to a calculation means). ) Explained the weighting table. For example, “big data” having a similarity degree of 0.8 co-occurs with a total of four search conditions in three text documents from the table of FIG. Since there is only one “bit data” with a modified degree of similarity of 0.6, it may be “0.6” without change. This co-occurrence calculation method is merely an example, and any calculation method may be used. In the present invention, these arbitrary calculation methods are also included.
以上で、図4のフローチャートの説明を完了し、図3のフローチャートの説明に戻る。 This completes the description of the flowchart of FIG. 4 and returns to the description of the flowchart of FIG. 3.
ステップS305においては、修正候補提示部107が、スペリングミスがあると判定された検索条件内の単語に対して、修正候補を提示する。例えば、図8の表記802のうち、出典804に“抽出”と記されているもののみ提示する、あるいは、類似度803が“0.7以上”のもののみを提示する、などの処理を行う。
In step S305, the correction
提示された修正候補から、ユーザあるいは検索システムを呼び出したアプリケーションが、適切なものを1つ選択することで修正候補を特定する(特定手段に相当する)。例えば、“ビッグデータ”が選択されたとする。 From the presented correction candidates, the user or the application that called the search system selects one appropriate one to specify the correction candidate (corresponding to the specifying means). For example, assume that “big data” is selected.
ステップS306においては、修正結果受付部108が、ユーザあるいはアプリケーションの選択結果を受け付け、入力文字列の中でスペリングミスがあった単語を選択された結果に置き換えて修正する(修正手段に相当する)。具体的には、“ビッグデー?”を“ビッグデータ”に置き換えて修正する。
In step S306, the correction
ステップS307においては、文書検索部102が、置き換えられた検索条件で、再度、文書記憶部121を検索する(検索手段に相当する)。具体的には、“人工知能”、“機械学習”、“ビッグデータ”の3条件で再度検索する。この結果、テキスト文書501bは順位が下がり、501c、501dの結果の順位が上がる。
In step S307, the
また、不図示ではあるが、3条件のうち“ビッグデータ”のみを含んでいるテキスト文書501は、ステップS302の検索ではヒットしないが、ステップS307の再検索ではヒットすることになる。 Although not shown, the text document 501 including only “big data” among the three conditions is not hit in the search in step S302, but is hit in the re-search in step S307.
ステップS308においては、順位が入れ替わった、あるいは1回目でヒットしなかったテキスト文書501の一覧が、ステップS306にて修正された検索条件に基づいて再検索されたステップS307の結果として、提示される。 In step S308, the list of the text documents 501 whose ranks have been changed or which has not been hit at the first time is presented as a result of step S307 which is re-searched based on the search conditions corrected in step S306. .
以上、ステップS305とステップS306で、スペリングミスのある単語に対する修正候補の中から、ユーザやアプリケーションにより正しいスペリングの単語が選択されるとの説明をした。ただし、これはあくまで例である。本発明の検索システムにおいて、最も類似度が高いものをデフォルトで選択しても構わない。 As described above, in steps S305 and S306, it has been described that a correct spelling word is selected by a user or an application from correction candidates for a spelling error word. However, this is only an example. In the search system of the present invention, the search system having the highest similarity may be selected by default.
例えば、ユーザに対して1回目の検索結果もスペリングチェックの結果も提示せずに再検索を実施し、ステップS308まで再検索の結果を提示すれば、ユーザからは、入力文字列の中にスペリングミスをした単語があるにもかかわらず、正しいスペリングで検索したように見せることが可能となる。以上で、図3のフローチャートの説明を完了する。 For example, if the user performs a re-search without presenting the first search result or the spelling check result to the user and presents the re-search result up to step S308, the user spells in the input character string. Despite having missed words, it is possible to make it look as if you searched with the correct spelling. This completes the description of the flowchart of FIG.
なお、上述した各種データの構成及びその内容はこれに限定されるものではなく、用途や目的に応じて、様々な構成や内容で構成されることは言うまでもない。 It should be noted that the configuration and contents of the various data described above are not limited to this, and it goes without saying that the various data and configurations are configured according to the application and purpose.
本発明によれば、ユーザから受け付けた文字列に含まれる修正文字列に対し、適切に修正して、文書データを検索することが可能となる。 According to the present invention, it is possible to appropriately correct a corrected character string included in a character string received from a user and search document data.
以上、いくつかの実施形態について示したが、本発明は、例えば、システム、装置、方法、コンピュータプログラムもしくは記録媒体等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。 Although several embodiments have been described above, the present invention can take an embodiment as, for example, a system, apparatus, method, computer program, or recording medium, and more specifically, a plurality of devices. The present invention may be applied to a system configured from the above, or may be applied to an apparatus including a single device.
また、本発明におけるコンピュータプログラムは、図3〜図4に示すフローチャートの処理方法をコンピュータが実行可能なコンピュータプログラムであり、本発明の記憶媒体は図3〜図4の処理方法をコンピュータが実行可能なコンピュータプログラムが記憶されている。なお、本発明におけるコンピュータプログラムは図3〜図4の各装置の処理方法ごとのコンピュータプログラムであってもよい。 The computer program according to the present invention is a computer program capable of executing the processing method of the flowcharts shown in FIGS. 3 to 4, and the storage medium of the present invention can execute the processing method of FIGS. Various computer programs are stored. In addition, the computer program in this invention may be a computer program for every processing method of each apparatus of FIGS.
以上のように、前述した実施形態の機能を実現するコンピュータプログラムを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたコンピュータプログラムを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。 As described above, a recording medium in which a computer program for realizing the functions of the above-described embodiments is recorded is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus is stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing a program.
この場合、記録媒体から読み出されたコンピュータプログラム自体が本発明の新規な機能を実現することになり、そのコンピュータプログラムを記憶した記録媒体は本発明を構成することになる。 In this case, the computer program itself read from the recording medium realizes the novel function of the present invention, and the recording medium storing the computer program constitutes the present invention.
コンピュータプログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、DVD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM、シリコンディスク、ソリッドステートドライブ等を用いることができる。 As a recording medium for supplying a computer program, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a DVD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, an EEPROM, Silicon disks, solid state drives, etc. can be used.
また、コンピュータが読み出したコンピュータプログラムを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのコンピュータプログラムの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the computer program read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instructions of the computer program. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
さらに、記録媒体から読み出されたコンピュータプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのコンピュータプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Furthermore, after the computer program read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function is based on the instructions of the computer program code. It goes without saying that the CPU or the like provided in the expansion board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。また、本発明は、システムあるいは装置にコンピュータプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのコンピュータプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. It goes without saying that the present invention can also be applied to a case where the present invention is achieved by supplying a computer program to a system or apparatus. In this case, by reading the recording medium storing the computer program for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.
さらに、本発明を達成するためのコンピュータプログラムをネットワーク上のサーバ、データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。 Furthermore, by downloading and reading out a computer program for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention.
なお、上述した各実施形態およびその変形例を組み合わせた構成も全て本発明に含まれるものである。 In addition, all the structures which combined each embodiment mentioned above and its modification are also included in this invention.
100 情報処理装置
101 入力文字列受付部
102 文書検索部
103 単語抽出部
104 辞書検索部
105 類似度判定部
106 修正候補格納部
107 修正候補提示部
108 修正結果受付部
121 文書記憶部
122 単語辞書記憶部
311 抽出単語記憶部
312 修正候補記憶部
600 共起情報記憶部
DESCRIPTION OF
Claims (9)
複数の前記文書データを記憶する記憶手段と、
前記文書データを検索するための複数の文字列であって、修正対象の修正文字列を少なくとも含む文字列を受け付ける受付手段と、
前記受付手段で受け付けた前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索する検索手段と、
前記検索手段で検索された前記文書データに含まれる文字列に基づいて、前記修正文字列を修正する修正手段と
を備え、
前記検索手段は、前記修正手段で修正された前記修正文字列を含む前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索すること
を特徴とする情報処理サーバ。 An information processing server capable of retrieving appropriate document data from a plurality of document data based on a character string received from a user,
Storage means for storing a plurality of the document data;
A plurality of character strings for searching for the document data, and accepting means for receiving a character string including at least a correction character string to be corrected;
Search means for searching a plurality of the document data stored in the storage means using the character string received by the receiving means;
Correction means for correcting the correction character string based on a character string included in the document data searched by the search means; and
The information processing server, wherein the search unit searches the plurality of document data stored in the storage unit using the character string including the corrected character string corrected by the correction unit.
前記修正手段は、前記修正文字列を前記修正データに基づいて修正すること
を特徴とする請求項1に記載の情報処理サーバ。 Management means for managing correction data for correcting the correction character string,
The information processing server according to claim 1, wherein the correction unit corrects the corrected character string based on the correction data.
前記修正手段は、前記特定手段で特定された前記修正候補のいずれかで前記修正文字列を修正すること
を特徴とする請求項1または2に記載の情報処理サーバ。 A specifying means for specifying a correction candidate of the correction character string from a character string included in the document data searched by the search means;
The information processing server according to claim 1, wherein the correction unit corrects the correction character string with any one of the correction candidates specified by the specifying unit.
前記修正手段は、前記算出手段で算出された前記共起度に基づいて決まる前記修正候補により、前記修正文字列を修正すること
を特徴とする請求項3に記載の情報処理サーバ。 The correction candidate specified by the specifying means further comprises a calculation means for obtaining a co-occurrence degree indicating the number of times the correction character string and the document data co-occur,
The information processing server according to claim 3, wherein the correcting unit corrects the corrected character string based on the correction candidate determined based on the co-occurrence degree calculated by the calculating unit.
前記文書データを検索するための複数の文字列であって、修正対象の修正文字列を少なくとも含む文字列を受け付ける受付ステップと、
前記受付ステップで受け付けた前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索する検索ステップと、
前記検索ステップで検索された前記文書データに含まれる文字列に基づいて、前記修正文字列を修正する修正ステップと
を含み、
前記検索ステップは、前記修正ステップで修正された前記修正文字列を含む前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索すること
を特徴とする情報処理サーバの制御方法。 An information processing server comprising a storage means for storing a plurality of document data, and an information processing server control method capable of retrieving appropriate document data from a plurality of document data based on a character string received from a user There,
Receiving a plurality of character strings for searching the document data, the character string including at least a correction character string to be corrected; and
A search step for searching the plurality of document data stored in the storage unit using the character string received in the reception step;
A correction step of correcting the correction character string based on the character string included in the document data searched in the search step;
The search step includes: searching the plurality of document data stored in the storage unit using the character string including the corrected character string corrected in the correction step. Method.
情報処理サーバを、
前記文書データを検索するための複数の文字列であって、修正対象の修正文字列を少なくとも含む文字列を受け付ける受付手段と、
前記受付手段で受け付けた前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索する検索手段と、
前記検索手段で検索された前記文書データに含まれる文字列に基づいて、前記修正文字列を修正する修正手段
として機能させ、
前記検索手段を、前記修正手段で修正された前記修正文字列を含む前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索するよう機能させること
を特徴とするプログラム。 An information processing server having storage means for storing a plurality of document data, and can be executed by an information processing server that can retrieve appropriate document data from a plurality of document data based on a character string received from a user. A program,
Information processing server
A plurality of character strings for searching for the document data, and accepting means for receiving a character string including at least a correction character string to be corrected;
Search means for searching a plurality of the document data stored in the storage means using the character string received by the receiving means;
Based on the character string included in the document data searched by the search means, function as correction means for correcting the correction character string,
A program for causing the search means to function to search a plurality of the document data stored in the storage means using the character string including the corrected character string corrected by the correction means.
複数の前記文書データを記憶する記憶手段と、
前記文書データを検索するための複数の文字列であって、修正対象の修正文字列を少なくとも含む文字列を受け付ける受付手段と、
前記受付手段で受け付けた前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索する検索手段と、
前記検索手段で検索された前記文書データに含まれる文字列に基づいて、前記修正文字列を修正する修正手段と
を備え、
前記検索手段は、前記修正手段で修正された前記修正文字列を含む前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索すること
を特徴とする情報処理システム。 An information processing system including an information processing server capable of searching appropriate document data from a plurality of document data based on a character string received from a user,
Storage means for storing a plurality of the document data;
A plurality of character strings for searching for the document data, and accepting means for receiving a character string including at least a correction character string to be corrected;
Search means for searching a plurality of the document data stored in the storage means using the character string received by the receiving means;
Correction means for correcting the correction character string based on a character string included in the document data searched by the search means; and
The information processing system, wherein the search means searches the plurality of document data stored in the storage means using the character string including the corrected character string corrected by the correction means.
前記文書データを検索するための複数の文字列であって、修正対象の修正文字列を少なくとも含む文字列を受け付ける受付ステップと、
前記受付ステップで受け付けた前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索する検索ステップと、
前記検索ステップで検索された前記文書データに含まれる文字列に基づいて、前記修正文字列を修正する修正ステップと
を含み、
前記検索ステップは、前記修正ステップで修正された前記修正文字列を含む前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索すること
を特徴とする情報処理システムの制御方法。 An information processing system comprising a storage means for storing a plurality of document data, and including an information processing server capable of retrieving appropriate document data from the plurality of document data based on a character string received from a user A system control method comprising:
Receiving a plurality of character strings for searching the document data, the character string including at least a correction character string to be corrected; and
A search step for searching the plurality of document data stored in the storage unit using the character string received in the reception step;
A correction step of correcting the correction character string based on the character string included in the document data searched in the search step;
The search step searches the plurality of document data stored in the storage means using the character string including the corrected character string corrected in the correction step. Method.
情報処理システムを、
前記文書データを検索するための複数の文字列であって、修正対象の修正文字列を少なくとも含む文字列を受け付ける受付手段と、
前記受付手段で受け付けた前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索する検索手段と、
前記検索手段で検索された前記文書データに含まれる文字列に基づいて、前記修正文字列を修正する修正手段
として機能させ、
前記検索手段を、前記修正手段で修正された前記修正文字列を含む前記文字列を用いて、前記記憶手段で記憶される複数の前記文書データを検索させること
を特徴とするプログラム。 An information processing system comprising a storage means for storing a plurality of document data, and including an information processing server capable of retrieving appropriate document data from the plurality of document data based on a character string received from a user A program executable on the system,
Information processing system
A plurality of character strings for searching for the document data, and accepting means for receiving a character string including at least a correction character string to be corrected;
Search means for searching a plurality of the document data stored in the storage means using the character string received by the receiving means;
Based on the character string included in the document data searched by the search means, function as correction means for correcting the correction character string,
A program for causing the search means to search the plurality of document data stored in the storage means using the character string including the corrected character string corrected by the correction means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017089575A JP6916437B2 (en) | 2017-04-28 | 2017-04-28 | Information processing device, its control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017089575A JP6916437B2 (en) | 2017-04-28 | 2017-04-28 | Information processing device, its control method, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2018190030A true JP2018190030A (en) | 2018-11-29 |
JP2018190030A5 JP2018190030A5 (en) | 2020-07-30 |
JP6916437B2 JP6916437B2 (en) | 2021-08-11 |
Family
ID=64479799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017089575A Active JP6916437B2 (en) | 2017-04-28 | 2017-04-28 | Information processing device, its control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6916437B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20200081562A (en) * | 2018-12-27 | 2020-07-08 | 현대엠엔소프트 주식회사 | Apparatus for correcting address data and method thereof |
JP2021179860A (en) * | 2020-05-14 | 2021-11-18 | ヤフー株式会社 | Information processing device, information processing method, and program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014041607A1 (en) * | 2012-09-11 | 2014-03-20 | 株式会社東芝 | Information processing device, information processing method, and program |
-
2017
- 2017-04-28 JP JP2017089575A patent/JP6916437B2/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014041607A1 (en) * | 2012-09-11 | 2014-03-20 | 株式会社東芝 | Information processing device, information processing method, and program |
Non-Patent Citations (1)
Title |
---|
伊藤 友裕、外3名: "音声文書インデキシングのためのWEB文書を利用した自動誤り訂正", FIT2004 第3回情報科学技術フォーラム 一般講演論文集 第2分冊, JPN6020047835, 20 August 2004 (2004-08-20), JP, pages 343 - 344, ISSN: 0004406236 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20200081562A (en) * | 2018-12-27 | 2020-07-08 | 현대엠엔소프트 주식회사 | Apparatus for correcting address data and method thereof |
KR102622577B1 (en) * | 2018-12-27 | 2024-01-09 | 현대오토에버 주식회사 | Apparatus for correcting address data and method thereof |
JP2021179860A (en) * | 2020-05-14 | 2021-11-18 | ヤフー株式会社 | Information processing device, information processing method, and program |
JP7128229B2 (en) | 2020-05-14 | 2022-08-30 | ヤフー株式会社 | Information processing device, information processing method and program |
Also Published As
Publication number | Publication date |
---|---|
JP6916437B2 (en) | 2021-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7028858B2 (en) | Systems and methods for contextual search of electronic records | |
US10963499B2 (en) | Generating command-specific language model discourses for digital assistant interpretation | |
US7769771B2 (en) | Searching a document using relevance feedback | |
US20180267953A1 (en) | Context-based text auto completion | |
US20170004121A1 (en) | Machine-translation based corrections | |
JP2004062893A (en) | System and method for automatic retrieval of example sentence based on weighted editing distance | |
US20190205391A1 (en) | Automated Document Cluster Merging for Topic-Based Digital Assistant Interpretation | |
US20080077397A1 (en) | Dictionary creation support system, method and program | |
US8661341B1 (en) | Simhash based spell correction | |
WO2013071305A2 (en) | Systems and methods for manipulating data using natural language commands | |
US8583415B2 (en) | Phonetic search using normalized string | |
JP4160548B2 (en) | Document summary creation system, method, and program | |
KR20200014047A (en) | Method, system and computer program for knowledge extension based on triple-semantic | |
US20200278971A1 (en) | Document retrieval apparatus and document retrieval method | |
US10120843B2 (en) | Generation of parsable data for deep parsing | |
US9298694B2 (en) | Generating a regular expression for entity extraction | |
US9984065B2 (en) | Optimizing generation of a regular expression | |
JP6916437B2 (en) | Information processing device, its control method, and program | |
JP2011133928A (en) | Retrieval device, retrieval system, retrieval method, and computer program for retrieving document file stored in storage device | |
US20210149900A1 (en) | Method, system and computer program for semantic triple-based knowledge extension | |
US10942934B2 (en) | Non-transitory computer-readable recording medium, encoded data searching method, and encoded data searching apparatus | |
JP5285491B2 (en) | Information retrieval system, method and program, index creation system, method and program, | |
JP2020071678A (en) | Information processing device, control method, and program | |
JP2009104475A (en) | Similar document retrieval device, and similar document retrieval method and program | |
US20140181065A1 (en) | Creating Meaningful Selectable Strings From Media Titles |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20180703 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20181031 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20190115 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20191218 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200622 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20201105 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20201215 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210210 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20210615 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210628 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6916437 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |