JP2007033964A - Braille translation device, braille translation method, braille translation program, and computer readable recording medium having program recorded therein - Google Patents
Braille translation device, braille translation method, braille translation program, and computer readable recording medium having program recorded therein Download PDFInfo
- Publication number
- JP2007033964A JP2007033964A JP2005218343A JP2005218343A JP2007033964A JP 2007033964 A JP2007033964 A JP 2007033964A JP 2005218343 A JP2005218343 A JP 2005218343A JP 2005218343 A JP2005218343 A JP 2005218343A JP 2007033964 A JP2007033964 A JP 2007033964A
- Authority
- JP
- Japan
- Prior art keywords
- braille
- candidate
- data
- pattern
- data string
- 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 a Braille translation device, a Braille translation method, a Braille translation program, and a computer-readable recording medium on which the Braille translation program is recorded, and in particular, Braille that can be used to obtain information for a visually impaired person to obtain information. The present invention relates to a translation device, a Braille translation method, a Braille translation program, and a computer-readable recording medium on which the program is recorded.
点字は、健常者と視覚障害者との間のコミュニケーションを行なう上で、非常に重要な文字である。しかし、点字で表記するための文法は難しく、健常者にとっては理解しがたいものである。そこで、点字を墨字に翻訳する、または墨字を点字に翻訳して提示することができる装置が開発されている。 Braille is a very important character in communication between a healthy person and a visually impaired person. However, the grammar for writing in braille is difficult and difficult for a healthy person to understand. In view of this, devices have been developed that can translate braille into ink characters or translate ink characters into braille and present them.
たとえば、特許文献1には、使用者が、翻訳したい点字の凸面の点と同一の相互位置関係にある配列を有した入力装置を用いて、点字データの入力を行ない、該当する墨字に翻訳して表示する装置が開示されている。この装置における入力装置としては、たとえば点字を構成する縦3行、横2列からなる最大6個のキーを有するテンキーが用いられ、使用者は、翻訳したい点字に対応する点を、テンキーから1点ずつキー入力する。
特許文献1に開示された装置では、点字情報を入力する際、使用者は、点字の一文字を構成している縦3×横2の計6点のうち、どこに点が配置されているかを覚えて入力しなければならない。このため、使用者は、覚え違い等で点字情報を誤入力してしまう可能性がある。
In the device disclosed in
しかしながら、特許文献1においては、誤入力をしてしまったとしても、使用者自身が翻訳結果を見て入力誤りを判断し、訂正を行う必要がある。
However, in
本発明は、上記のような問題を解決するためになされたものであって、その目的は、入力誤りを含む点字データ列を、容易に修正することができる点字翻訳装置、点字翻訳方法、点字翻訳プログラムおよびこれを記録したコンピュータ読取り可能な記録媒体を提供することである。 The present invention has been made to solve the above-described problems, and an object thereof is to provide a Braille translation device, a Braille translation method, and a Braille translation method that can easily correct a Braille data string including an input error. To provide a translation program and a computer-readable recording medium on which the translation program is recorded.
この発明のある局面に従う点字翻訳装置は、入力された複数の点字データを記憶するための点字記憶手段を備え、各点字データは、対応する点字文字の点字マス内の行列状の点位置に配列される凸部の組み合わせを表現するものであり、複数の点字データに基づいて、点字パターン候補を抽出するための候補抽出手段をさらに備え、点字パターン候補は、複数の点字データにより表わされる入力点字文字列の凸部の少なくとも一部を、他の点位置に移動させることにより構成される点字文字列の凸部の組み合わせに対応し、候補抽出手段により抽出された点字パターン候補に対応する候補点字データ列の翻訳結果が、予め記憶された辞書データと一致するか否かを検出することにより、点字パターン候補が誤りであるか否かを検出するための誤り検出手段と、候補点字データ列のうち、翻訳結果が辞書データと一致する候補点字データ列を、複数の点字データに対する修正候補点字データ列として出力するための候補出力手段とをさらに備える。 A Braille translation device according to an aspect of the present invention includes Braille storage means for storing a plurality of input Braille data, and each Braille data is arranged in a matrix-like point position within the Braille cell of the corresponding Braille character. And a candidate extracting means for extracting a braille pattern candidate based on a plurality of braille data, wherein the braille pattern candidate is an input braille represented by the plurality of braille data Candidate braille corresponding to a combination of convex portions of a braille character string configured by moving at least a part of the convex portion of the character string to another point position and corresponding to a braille pattern candidate extracted by the candidate extracting means For detecting whether or not the braille pattern candidate is erroneous by detecting whether or not the translation result of the data string matches the dictionary data stored in advance And Ri detection means, among the candidate braille data string, further comprising a candidate braille data sequence translation result matches the dictionary data, and a candidate output means for outputting the corrected candidate braille data strings for a plurality of braille data.
好ましくは、誤り検出手段は、辞書データに基づいて、候補点字データ列を墨字データ列に翻訳するための翻訳手段を含み、誤り検出手段は、候補点字データ列に、辞書データに存在しない1以上の点字データが検出された場合に、候補点字データ列は誤りであると判定する。 Preferably, the error detection means includes translation means for translating the candidate Braille data string into the ink character data string based on the dictionary data, and the error detection means is not present in the dictionary data in the candidate Braille data string. When the above braille data is detected, it is determined that the candidate braille data string is erroneous.
好ましくは、誤り検出手段は、辞書データに基づき、翻訳手段により翻訳された墨字データ列の正誤を判定するための正誤判定手段をさらに含み、正誤判定手段は、墨字データ列に、辞書データに存在しな1以上の墨字データが検出された場合に、墨字データ列は誤りであると判定し、誤り検出手段は、墨字正誤判定手段により墨字データ列が誤りと判定された場合に、候補点字データ列は誤りであると判定する。 Preferably, the error detection means further includes a correct / incorrect determination means for determining the correctness / incorrectness of the ink character data string translated by the translation means based on the dictionary data, and the error determination means includes the dictionary data in the ink character data string. When one or more ink character data that does not exist is detected, it is determined that the ink character string is erroneous, and the error detecting means determines that the ink character string is erroneous by the ink character correctness determining means. In this case, it is determined that the candidate braille data string is erroneous.
好ましくは、候補抽出手段は、入力点字文字列の凸部のうち少なくとも1つの凸部を含む集合体であって、隣接する平坦部に一括して移動可能な凸部の集合体である孤立ブロックを検出するための孤立ブロック検出手段と、孤立ブロック単位で、所定の点位置数分だけ凸部を移動させる移動手段とを含み、移動手段により移動された後の点字文字列のパターンを、点字パターン候補として抽出する。 Preferably, the candidate extracting means is an isolated block that is an aggregate including at least one convex portion among the convex portions of the input braille character string, and is an aggregate of convex portions that are collectively movable to adjacent flat portions. An isolated block detecting means for detecting the image and a moving means for moving the convex portion by a predetermined number of point positions in units of isolated blocks, and the pattern of the Braille character string after being moved by the moving means Extract as pattern candidates.
好ましくは、孤立ブロック検出手段は、入力点字文字列を構成する点字文字の点字マス内において、隣接する凸部の集合体であって、かつ、隣接する平坦部に一括して移動可能な凸部の集合体を、孤立ブロックとして検出する。 Preferably, the isolated block detecting means is an aggregate of adjacent convex portions within the braille cell of the braille character constituting the input braille character string, and the convex portions that can be moved collectively to the adjacent flat portions. Are detected as isolated blocks.
好ましくは、孤立ブロック検出手段は、入力点字文字列の凸部の組み合わせを1列毎に区切った場合、凸部が存在しない空列が存在するか否かを検出し、間に空列が存在しない1以上の列に含まれる凸部と平坦部との集合体を孤立ブロックとして抽出する。 Preferably, the isolated block detecting means detects whether or not there is an empty string having no convex part when the combination of convex parts of the input braille character string is divided for each column, and there is an empty string in between. A set of convex portions and flat portions included in one or more columns that are not to be extracted is extracted as an isolated block.
好ましくは、孤立ブロック検出手段は、入力点字文字列の凸部の組み合わせを1行毎に区切った場合、凸部が存在しない空行が存在するか否かを検出し、間に空行が存在しない1以上の行に含まれる凸部と平坦部との集合体を孤立ブロックとして抽出する。 Preferably, the isolated block detecting means detects whether or not there is a blank line having no convex part when the combination of convex parts of the input Braille character string is divided for each line, and there is a blank line between them. A set of convex portions and flat portions included in one or more rows that are not to be extracted is extracted as an isolated block.
好ましくは、辞書データと一致する候補点字データ列を、修正候補点字データ列として記憶するための候補記憶手段をさら備え、候補出力手段は、候補記憶手段に記憶された修正候補点字データ列を出力する。 Preferably, the apparatus further includes candidate storage means for storing candidate braille data strings that match the dictionary data as correction candidate braille data strings, and the candidate output means outputs the correction candidate braille data strings stored in the candidate storage means. To do.
好ましくは、修正候補点字データ列の、複数の点字データ列に対する尤度指標を算出するための尤度算出手段をさらに備え、尤度算出手段は、移動手段による孤立ブロックの移動方向、移動量および移動個数の少なくとも一つに基づいて、尤度指標を算出し、候補出力手段は、修正候補点字データ列を尤度指標の高い順にソートして出力する。 Preferably, the correction candidate braille data string further includes likelihood calculating means for calculating a likelihood index for a plurality of braille data strings, and the likelihood calculating means includes a moving direction, a moving amount, and a moving amount of the isolated block by the moving means. The likelihood index is calculated based on at least one of the movement numbers, and the candidate output means sorts and outputs the corrected candidate braille data strings in descending order of the likelihood index.
好ましくは、1以上の入力誤りパターンと、各入力誤りパターンに対する修正パターンと、各修正パターンの尤度指標データとを対応付けて管理するパターン管理手段と、パターン管理手段にて管理されている情報の修正および/または新規追加を行なうパターン修正手段とをさらに備え、パターン修正手段は、尤度算出手段にて算出された尤度指標が所定の閾値以上である場合、移動手段により孤立ブロックが移動された後の部分パターンを修正パターンに、移動手段による孤立ブロックの移動前の部分パターンを入力誤りパターンに、尤度指標を尤度指標データにそれぞれ設定して新規追加を行なう。 Preferably, one or more input error patterns, a correction pattern for each input error pattern, and pattern management means for managing the likelihood index data of each correction pattern in association with each other, and information managed by the pattern management means And / or a pattern correction means for performing new addition, and the pattern correction means moves the isolated block by the movement means when the likelihood index calculated by the likelihood calculation means is equal to or greater than a predetermined threshold. The newly added partial pattern is set as the correction pattern, the partial pattern before the movement of the isolated block by the moving means is set as the input error pattern, and the likelihood index is set as the likelihood index data.
好ましくは、1以上の入力誤りパターンと、各入力誤りパターンに対する修正パターンとを対応付けて管理するためのパターン管理手段をさらに備え、各修正パターンは、対応する入力誤りパターンの凸部の位置を、所定の範囲内で他の点位置に移動させた凸部の組み合わせからなるパターンであり、候補抽出手段は、入力点字文字列を構成する部分パターンのうち、パターン管理手段に管理されている入力誤りパターンと一致する部分パターンを検索するための検索手段と、検索された部分パターンを、対応する修正パターンに置き換えるための置き換え手段とを含み、置き換え手段による置換後の点字文字列のパターンを、点字パターン候補として抽出する。 Preferably, the apparatus further comprises pattern management means for managing one or more input error patterns in association with correction patterns for each input error pattern, and each correction pattern has a position of a convex portion of the corresponding input error pattern. , A pattern comprising a combination of convex portions moved to other point positions within a predetermined range, and the candidate extraction means is an input managed by the pattern management means among the partial patterns constituting the input braille character string A search means for searching for a partial pattern that matches the error pattern, and a replacement means for replacing the searched partial pattern with a corresponding correction pattern, and a pattern of the braille character string after replacement by the replacement means, Extract as braille pattern candidates.
好ましくは、パターン管理手段は、さらに、候補抽出手段により抽出された点字パターン候補の尤度指標データをさらに対応付けて管理する。 Preferably, the pattern management unit further manages the likelihood index data of the braille pattern candidates extracted by the candidate extraction unit in association with each other.
好ましくは、パターン管理手段にて管理されている尤度指標データに基づいて、修正候補点字データ列の尤度指標を算出する尤度算出手段をさらに備える。 Preferably, it further includes likelihood calculation means for calculating a likelihood index of the correction candidate Braille data string based on the likelihood index data managed by the pattern management means.
好ましくは、候補出力手段は、修正候補点字データ列を尤度算出手段にて算出された尤度の高い順にソートして出力する。 Preferably, the candidate output unit sorts and outputs the corrected candidate Braille data strings in descending order of the likelihood calculated by the likelihood calculating unit.
好ましくは、パターン管理手段は、さらに、各修正パターンの尤度指標データを対応付けて管理し、パターン管理手段にて管理されている情報の修正および/または新規追加を行なうパターン修正手段と、ユーザからの指示に基づき、候補出力手段により出力された複数の修正候補点字データ列のうち1つを選択するための選択手段とをさらに備え、パターン修正手段は、選択手段により選択された修正候補点字データ列に対応する修正パターンの尤度指標データの値を、所定の値または所定の割合だけ高める。 Preferably, the pattern management means further manages the likelihood index data of each correction pattern in association with each other, a pattern correction means for correcting and / or newly adding information managed by the pattern management means, and a user And a selection means for selecting one of a plurality of correction candidate braille data strings output by the candidate output means based on the instruction from the pattern correction means, wherein the pattern correction means selects the correction candidate braille selected by the selection means The value of the likelihood index data of the correction pattern corresponding to the data string is increased by a predetermined value or a predetermined ratio.
好ましくは、候補抽出手段は、検索手段により一致する部分パターンが検索されない場合に、孤立ブロックを検出するための孤立ブロック検出手段を含み、孤立ブロックは、入力点字文字列の凸部のうち少なくとも1つの凸部を含む集合体であって、隣接する平坦部に一括して移動可能な集合体であり、孤立ブロック単位で、他の点位置に、所定の点位置数分だけ凸部を移動させる移動手段をさらに含み、移動手段により移動された後の点字文字列のパターンを、点字パターン候補としてさらに抽出する。 Preferably, the candidate extracting means includes an isolated block detecting means for detecting an isolated block when a matching partial pattern is not searched by the search means, and the isolated block is at least one of the convex portions of the input braille character string. It is an aggregate that includes two convex parts, and is an aggregate that can be moved collectively to adjacent flat parts. The convex parts are moved to other point positions by a predetermined number of point positions in units of isolated blocks. A braille character string pattern that has been moved by the moving means is further extracted as a braille pattern candidate.
好ましくは、座標情報を入力するための座標入力手段と、入力された座標情報を複数の点字データに変換するための変換手段とをさらに備える。 Preferably, the apparatus further includes coordinate input means for inputting coordinate information and conversion means for converting the input coordinate information into a plurality of braille data.
好ましくは、外部より、複数の点字データの入力を受け付けるためのデータ入力手段をさらに備える。 Preferably, data input means for receiving input of a plurality of braille data from the outside is further provided.
好ましくは、誤り検出手段は、さらに、複数の点字データの誤りを検出し、候補抽出手段は、複数の点字データの誤りが検出された場合に、点字パターン候補を抽出する。 Preferably, the error detection means further detects an error in a plurality of braille data, and the candidate extraction means extracts a braille pattern candidate when an error in the plurality of braille data is detected.
この発明の他の局面に従う点字翻訳方法は、入力された複数の点字データの翻訳結果が、予め記憶された辞書データと一致するか否かを検出するステップと、複数の点字データの翻訳結果が辞書データと一致しない場合に、複数の点字データに基づいて、点字パターン候補を抽出するステップと、抽出された点字パターン候補に対応する候補点字データ列の翻訳結果が、辞書データと一致するか否かを検出するステップと、候補点字データ列の翻訳結果が辞書データと一致した場合に、候補点字データ列を、修正候補点字データ列として出力するステップとを備える。 The Braille translation method according to another aspect of the present invention includes a step of detecting whether or not a translation result of a plurality of input Braille data matches a dictionary data stored in advance, and a translation result of the plurality of Braille data If the dictionary data does not match, the step of extracting braille pattern candidates based on a plurality of braille data and whether the translation result of the candidate braille data string corresponding to the extracted braille pattern candidates matches the dictionary data And a step of outputting the candidate Braille data string as a correction candidate Braille data string when the translation result of the candidate Braille data string matches the dictionary data.
この発明の他の局面に従う点字翻訳プログラムは、入力された複数の点字データの翻訳結果が、予め記憶された辞書データと一致するか否かを検出するステップと、複数の点字データの翻訳結果が辞書データと一致しない場合に、複数の点字データに基づいて、点字パターン候補を抽出するステップと、抽出された点字パターン候補に対応する候補点字データ列の翻訳結果が、辞書データと一致するか否かを検出するステップと、候補点字データ列の翻訳結果が辞書データと一致した場合に、候補点字データ列を、修正候補点字データ列として出力するステップとをコンピュータに実行させる。 A Braille translation program according to another aspect of the present invention includes a step of detecting whether or not a translation result of a plurality of input Braille data matches a dictionary data stored in advance, and a translation result of the plurality of Braille data If the dictionary data does not match, the step of extracting braille pattern candidates based on a plurality of braille data and whether the translation result of the candidate braille data string corresponding to the extracted braille pattern candidates matches the dictionary data And a step of outputting the candidate Braille data string as a correction candidate Braille data string when the translation result of the candidate Braille data string matches the dictionary data.
この発明の他の局面に従う点字翻訳プログラムを記録したコンピュータ読み取り可能な記録媒体は、上記の点字翻訳プログラムを記録する。 A computer-readable recording medium recording a Braille translation program according to another aspect of the present invention records the Braille translation program described above.
本発明によると、入力された複数の点字データに基づいて点字パターン候補を抽出することにより、入力された複数の点字データに対する修正候補点字データ列を出力することができる。これにより、ユーザは、複数の点字データを入力し直さなくても、容易に正解の点字データ列を把握することができる。 According to the present invention, by extracting braille pattern candidates based on a plurality of input braille data, a correction candidate braille data string for the plurality of input braille data can be output. Thus, the user can easily grasp the correct Braille data string without re-inputting a plurality of Braille data.
本発明の実施の形態について図面を参照しながら詳細に説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰返さない。 Embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals and description thereof will not be repeated.
<構成について>
はじめに、図1〜図6を用いて、本発明の実施の形態に係る点字翻訳装置の構成について説明する。
<About configuration>
First, the configuration of the Braille translation apparatus according to the embodiment of the present invention will be described with reference to FIGS.
図1は、本発明の実施の形態に係る点字翻訳装置100の機能ブロック図である。
図1に示すように、点字翻訳装置100は、座標情報入力部101および表示部111を備えている。さらに、点字翻訳装置100は、点字データ変換部102、点字データ記憶部103、誤り検出部104、候補抽出部105、修正候補記憶部106、点字修正候補出力処理部107、尤度算出部108、パターン修正部109、パターン管理部110、点字−墨字対応辞書記憶部112および単語辞書記憶部113を備えている。
FIG. 1 is a functional block diagram of a
As shown in FIG. 1, the Braille
本発明の実施の形態において、「点字」とは、1以上の点字文字により構成される点字文字列であり、「点字文字」とは、点字マス内の行列状の点位置に配列される凸部の組み合わせからなる視覚障害者用の文字である。「墨字」とは、健常者に通常に用いられる1字からなる文字であり、たとえば仮名、漢字、アルファベット、数字などをいう。「単語」とは、1以上の墨字からなる墨字文字列であり、たとえば単語、文節など言葉のまとまりをいう。 In the embodiment of the present invention, “Braille” is a Braille character string composed of one or more Braille characters, and “Braille character” is a convex array arranged at matrix-like point positions in the Braille cell. It is a character for visually impaired persons consisting of a combination of parts. “Ink” is a single character that is normally used by healthy individuals, and includes, for example, kana, kanji, alphabet, and numbers. A “word” is an ink character string composed of one or more ink characters, and refers to a group of words such as a word and a phrase.
ここでまず、点字文字の具体例について説明する。
図4は、点字文字を表現するために用いられる点字マスの構成を示す図である。点字マス30は、縦3点×横2点の計6点に対応する6つの点位置31〜36により構成される。点字マス30の左列の最上段の点位置31の点は“1の点”、左列の中段の点位置32の点は“2の点”、左列の最下段の点位置33の点は“3の点”、右列の最上段の点位置34の点は“4の点”、右列の中段の点位置35の点は“5の点”、そして右列の最下段の点位置36の点は“6の点”とそれぞれ呼ばれる。
First, a specific example of Braille characters will be described.
FIG. 4 is a diagram showing a configuration of a braille cell used to represent a braille character. The
点字文字は、このような6つの点位置31〜36に配置される凸部の組み合わせで表現される。そのため、点字文字は63通りの凸部の組み合わせを表現することができる。しかし、63通りの表現では、仮名文字、アルファベット、数字および記号などの全ての墨字を表現することができない。そこで、アルファベットまたは数字を表現する場合は、所定の前置点を付けることで、アルファベット体系または数字体系を区別する。 A braille character is expressed by the combination of the convex part arrange | positioned at such six point positions 31-36. Therefore, the Braille characters can express 63 combinations of convex portions. However, in 63 ways of expression, not all ink characters such as kana characters, alphabets, numbers and symbols can be expressed. Therefore, when expressing alphabets or numbers, the alphabet system or number system is distinguished by attaching a predetermined prefix.
たとえば、点位置31に凸部が配置された点字文字は、墨字「あ」を示し、点位置31および点位置32に凸部が配置された点字文字は、墨字「い」を示す。また、アルファベットの小文字を示す場合は、点位置35および点位置36に凸部が配置された点字文字(以降、「外国語符」と称する)の後に、点位置31に凸部が配置された点字文字を続けることで、墨字「a」を示す。また、アルファベットの大文字を示す場合は、外国語符の後に点位置36に凸部が配置された点字文字(以降、「大文字符」と称する)をつけ、さらに点位置31に凸部が配置された点字文字を続けることで、墨字「A」を示す。さらに、数字を示す場合は、点位置33、点位置34、点位置35および点位置36に凸部が配置された点字文字(以降、「数符」と称する)の後に、点位置31に凸部が配置された点字文字を続けることで、墨字「1」を示す。このように、複数の点字文字を組み合わせることで、1つの墨字を表現することができる。
For example, a Braille character having a convex portion arranged at the
図1を参照して、点字−墨字対応辞書記憶部112には、予め、複数の点字データすなわち点字データ列を1以上の墨字データすなわち墨字データ列に変換(翻訳)する際の変換規則となるたとえば変換テーブルが格納される。「点字データ」とは、本実施の形態において、対応する点字文字における凸部の組み合わせを表現するためのデータをいう。変換テーブルには、たとえば、1つの墨字データと1以上の点字データとが対応付けられて記憶される。
Referring to FIG. 1, the Braille-Ink Character
単語辞書記憶部113には、予め、複数の単語データが辞書として記憶される。単語辞書記憶部113に記憶される単語データ(以下「単語辞書データ」という)は、予め点字翻訳装置100が保持しているものであっても構わないし、適宜ユーザにより登録されるものであっても構わない。
The word
座標情報入力部101は、座標情報を入力するためのインターフェースであり、たとえば電子ペン211(図2参照)やユーザの指等から、点字の凸部を指定(選択)するための情報として座標情報の入力を受け付ける。
The coordinate
点字データ変換部102は、座標情報入力部101が受け付けた座標情報を、1以上の点字データに変換する。たとえば、1つの点字マス30の点位置31、32および36に座標情報の入力が検知された場合、点字データ変換部102は、その座標情報を点字データ「110001」に変換する。
The Braille
点字データ記憶部103は、点字データ変換部102により変換された点字データ列10を記憶する。
The braille
誤り検出部104は、点字データ列10の中に誤りが含まれるか否かを検出する。また、誤り検出部104は、後述の候補抽出部105により抽出された点字パターン候補に対応する点字データ列の中に誤りが含まれるか否かを検出する。誤り検出部104は、点字データ列を墨字データ列に翻訳するための点字翻訳部1041と、点字翻訳部1041により翻訳された墨字データ列の正誤を判定するための墨字正誤判定部1042とを含む。
The
点字翻訳部1041は、点字−墨字対応辞書記憶部112に格納された変換テーブルに基づいて、翻訳元の点字データ列を墨字データ列に翻訳する。
The
墨字正誤判定部1042は、点字翻訳部1041により翻訳された墨字データ列が正しいか否か、つまり、単語または文として意味が通じるものであるか否かを判定する。たとえば、墨字正誤判定部1042は、墨字データ列に対して形態素解析を行なう。そして、形態素解析を行なった後の個々の単語データと、単語辞書記憶部113に記憶された複数の単語辞書データとを比較して、各単語データと一致する単語辞書データが存在するか否かを判定する。全ての単語データが単語辞書データと一致すれば、墨字正誤判定部1042は、点字翻訳部1041により翻訳された墨字データ列は正しいと判定する。一方、単語辞書データと一致しない単語データが1つでも存在すれば、墨字正誤判定部1042は、点字翻訳部1041により翻訳された墨字データ列は誤りと判定する。
The ink character correct /
誤り検出部104は、点字翻訳部1041が墨字データに翻訳することができない点字データが存在する場合に、対象となる点字データ列は誤りであると判定する。つまり、対象の点字データ列に、墨字データと対応付けられていない1以上の点字データが検出された場合に、当該点字データ列は誤りであると判定される。また、誤り検出部104は、点字翻訳部1041により対象の点字データ列が墨字データ列に翻訳された場合であっても、墨字正誤判定部1042により当該墨字データ列が誤りであると判定された場合には、対象の点字データ列は誤りであると判定する。
The
なお、誤り検出部104は、点字翻訳部1041が墨字データに翻訳することができない点字データが存在する場合にのみ、対象となる点字データ列は誤りであると判定することとしてもよい。
Note that the
また、誤り検出部104により点字データ列10に誤りが検出されなかった場合には、点字翻訳部1041により翻訳された墨字データ列が表示部111に表示されてもよい。
If no error is detected in the
パターン管理部110は、入力誤りを起こしそうな点字文字の入力パターンを入力誤りパターンとし、当該入力誤りパターンに対する修正パターンをそれぞれ対応付けて管理している。図5(a)および(b)は、それぞれ、パターン管理部110のデータ構造の例を示す第1および第2の図である。
The
図5(a)を参照して、パターン管理部110は、パターン管理テーブルにおいて、1以上の入力誤りパターン801と、各入力誤りパターン801に対する修正パターン802とをそれぞれ対応付けて管理している。たとえば、組803には、点字データ“011000”で表わされる点字文字のパターンが入力誤りパターン801として格納され、点字データ“000011”で表わされる点字文字のパターンが修正パターン802として格納されている。また、組804には、点字データ“100110”で表わされる点字文字のパターンが入力誤りパターン801として格納され、点字データ“010011”で表わされる点字文字のパターンが修正パターン802として格納されている。なお、本実施の形態では、このようにテーブル形式によりパターンの組が格納されるものとするが、テーブル形式に限定されるものではない。また、各パターンの組は、予め登録されているものであってもよいし、ユーザにより登録されてもよい。また、後述するように、パターンの組が、自動的に新規登録がされてもよい。
Referring to FIG. 5A, the
また、図5(b)に示すように、入力誤りパターン801および修正パターン802に加え、尤度指標データ805がさらに各パターンの組に対応付けて管理されてもよい。尤度指標データ805は、入力誤りパターン801を修正パターン802に置き換えることで生成される新たな点字データ列の、点字データ列10に対する尤もらしさを相対的に表わす指標である。
Further, as shown in FIG. 5B, in addition to the
図5(b)を参照して、パターン管理テーブルのたとえば組803´では、点字データ“011000”で表わされる点字文字のパターンを、点字データ“000011”で表わされる点字文字のパターンに置き換えることによる尤度指標データ805は、“100”であることが示される。なお、ここでは、尤度指標データ805を“0〜100”の数値としたが、これに限られず、たとえば、百分率の数値としてもよい。この尤度指標データ805は、たとえば、後述する修正候補記憶部106に複数の修正候補点字データ列が登録された場合に、点字修正候補出力処理部107が、これらの修正候補点字データ列の出力順序を決定する際の指標として使用される。以下の説明においては、パターン管理部110は、図5(b)のようなデータ構造であるものとする。
Referring to FIG. 5B, in the pattern management table, for example, set 803 ′, the Braille character pattern represented by Braille data “011000” is replaced with the Braille character pattern represented by Braille data “000011”. The
なお、図5(a)および(b)においては、入力誤りパターン801および修正パターン802は、各々1つの点字文字に対応するパターンであることとしたが、このような例に限られない。各パターンの組が同じ数の点字文字に対応していればよく、2以上の点字文字に対応するパターンの組が管理されてもよい。
In FIGS. 5A and 5B, each of the
候補抽出部105は、点字データ列10に基づいて、点字パターン候補を抽出する。「点字パターン候補」とは、点字データ列10により表わされる点字文字列(以下「入力点字」という)の凸部の少なくとも一部を、他の点位置に移動させることにより構成される点字の凸部の組み合わせに対応する点字のパターンである。
The
候補抽出部105は、孤立ブロック検出部1051と、孤立ブロック移動部1052と、パターン検索・置換部1053とを含む。
孤立ブロック検出部1051は、入力点字の凸部を1または複数のグループに分割して、孤立ブロックを検出する。「孤立ブロック」とは、入力点字の凸部のうち少なくとも1つの凸部を含む集合体であって、隣接する平坦部に一括して移動可能な集合体をいう。なお、「集合体」とは、凸部を少なくとも1つ含む凸部の集合体、または、凸部を少なくとも1つ含む凸部と平坦部(凸部の存在しない点位置の点)との集合体であるものとする。また、「移動可能」とは、孤立ブロックの上下左右の少なくとも一方に平坦部が存在し、孤立ブロックごと所定の点位置数分だけずらしても、他の凸部が影響を受けない(他の凸部に重ならない)ことをいう。
The isolated
孤立ブロック移動部1052は、検出された孤立ブロック単位で、たとえば、上下左右の少なくとも1方向につき、所定の点位置数分移動させる。
The isolated
候補抽出部105は、孤立ブロック移動部1052による移動後の点字のパターンを、点字パターン候補として抽出する。
パターン検索・置換部1053は、入力点字を構成する凸部の組み合わせのパターン(以下「入力点字パターン」という)に、パターン管理部110に記憶された入力誤りパターン801と一致する部分パターンが存在するかを検索する。そして、一致する部分パターンが検索された場合、当該部分パターン(入力誤りパターン801)を、対応する修正パターン802に置き換える。なお、「部分パターン」とは、入力点字パターンに含まれる点字文字または点字文字列のパターンをいうものとする。
The pattern search /
候補抽出部105は、パターン検索・置換部1053により置き換えられた修正パターンを含む点字のパターンを、点字パターン候補として抽出する。
The
修正候補記憶部106は、誤り検出部104により誤りが検出されなかった点字パターン候補に対応する点字データ列を、修正候補点字データ列として記憶する。
The correction
点字修正候補出力処理部107は、修正候補記憶部106に記憶された修正候補点字データ列を表示部111に出力する。本実施の形態においては、修正候補点字データ列が表わす点字(点字文字列)の凸部の組み合わせのパターン(以下「候補パターン」ともいう)が表示部111に表示される。また、点字修正候補出力処理部107は、候補パターンと併せて、対応する墨字データ列を表示することとしてもよい。
The braille correction candidate
尤度算出部108は、修正候補記憶部106に記憶された修正候補点字データ列それぞれの、点字データ列10に対する尤度指標を算出する。「尤度指標」とは、修正候補点字データ列の、点字データ列10に対する尤もらしさを相対的に表わす量である。尤度指標算出方法としては、パターン管理部110にて管理されている尤度指標データ805に基づいて算出するものであっても構わない。また、修正候補点字データ列が孤立ブロック移動部1052により孤立ブロックを移動させて作成されたものである場合、たとえば、当該孤立ブロックの移動方向、移動量および移動個数の少なくとも1つの移動情報に基づいて、尤度指標を算出するものであっても構わない。たとえば、孤立ブロックを1回移動させることによって作成された修正候補点字データ列の尤度指標は、孤立ブロックを2回移動させることによって作成された修正候補点字データ列の尤度指標よりも高い値が算出されるように予め定められる。また、移動した孤立ブロックに含まれる凸部の個数により尤度指標を算出することとしてもかまわない。
The
なお、算出された尤度指標は、点字修正候補出力処理部107が修正候補点字データ列を表示部111に表示する際に使用される。そのために、たとえば、修正候補記憶部106に、修正候補点字データ列と、尤度指標算出のためのデータとを対応付けて記憶させておく。図6に、修正候補記憶部106のデータ構造例を示す。
The calculated likelihood index is used when the braille correction candidate
図6を参照して、本実施の形態では、修正候補記憶部106において、修正候補点字データ列301と尤度指標データ302または移動量303とが対応付けられて記憶される。尤度指標データ302は、パターン管理部110に記憶された尤度指標データ805に対応する。移動量303は、孤立ブロックの移動回数に対応する。尤度算出部108は、尤度指標データ302に基づいて、または、移動量303に基づいて尤度指標を算出する。移動量303に基づく尤度指標は、たとえば次のような計算式で算出されてもよい。
With reference to FIG. 6, in the present embodiment, correction
尤度=(1/移動量)×100
点字修正候補出力処理部107は、算出された尤度指標に基づいて、たとえば全ての修正候補点字データ列を尤度指標の高い順に並び替えて出力する。なお、最も尤度指標の高い修正候補点字データ列を1つ出力するものであっても構わないし、尤度指標の上位所定数(たとえば3つ)の修正候補点字データ列を出力するものであってもよい。また、これらの出力方法をユーザが選択できることにしてもよい。たとえば、出力方法を選択するためのメニューを設けて、予めユーザに設定・変更させてもよいし、出力の際に、出力方法ごとの選択ボタンを表示部111の所定の領域に表示していずれか1つを選択させてもよい。本実施の形態では、出力方法がユーザにより予め設定されているものとして説明する。
Likelihood = (1 / movement amount) × 100
Based on the calculated likelihood index, the braille correction candidate
パターン修正部109は、パターン管理部110にて管理されているパターン管理テーブルの情報を適宜修正(更新)する。パターン管理テーブルの情報の修正タイミングとしては、たとえば、次のようなタイミングとすることができる。たとえば、表示部111に候補パターンを表示する場合に、表示部111の所定の領域に、提示(表示)した修正候補点字データ列のいずれが正解の点字データ列であるか(あるいは、提示した修正候補点字データ列が正解であるか否か)を選択するためのボタンを表示すると想定する。ユーザが正解の修正候補点字データ列を選択した場合に、当該修正候補点字データ列を作成するに至った入力誤りパターンと修正パターンと算出された尤度指標とからなるレコードを、パターン管理テーブルに新規に追加する。すなわち、孤立ブロックを移動させることにより生成された修正候補点字データ列の場合、移動対象となった凸部を含む点字マスにおける移動前の点字データ列10に対応する点字(点字文字)パターンと移動後の修正候補点字データ列に対応する点字(点字文字)パターンとをそれぞれ入力誤りパターン801と修正パターン802とに設定する。そして、算出された尤度指標を尤度指標データ805に設定する。また、尤度算出部108により算出された尤度指標が、所定の閾値(たとえば75)以上の場合に、対象の修正候補点字データ列を作成するに至った入力誤りパターンと修正パターンと算出された尤度指標とからなるレコードを、パターン管理テーブルに新規に追加してもよい。
The
また、正解の修正候補点字データ列が既存のパターンの組を使用して生成された場合には、当該組の修正パターン802の尤度指標データ805を所定値あるいは所定割合高めるように修正してもよい。これにより、当該組を使用して修正された修正候補点字データ列に対する尤度指標が今後高くなるため、複数の修正候補点字データ列が存在する場合は、当該組を使用して修正された修正候補点字データ列が上位に位置することになる。したがって、ユーザは容易に正解の点字データ列を選ぶことができる。
When the correct correction candidate braille data string is generated using an existing pattern set, the
図2は、本発明の実施の形態に係る点字翻訳装置100のハードウェア構成を示すブロック図である。
FIG. 2 is a block diagram showing a hardware configuration of
図2を参照して、点字翻訳装置100は、各種演算および制御を行なうためのCPU(Central Processing Unit)201、たとえばブートアッププログラム等のプログラムおよび各種データを記憶するためのROM(Read Only Memory)202、作業データ等を記憶するRAM(Random Access Memory)203、上記した座標情報入力部101および表示部111、ユーザにより操作されてユーザからの指示の入力を受け付けるための操作部204、記録媒体210からのデータの読み出しが可能なドライブ装置206およびハードディスク207を備える。これらのハードウェアは、バス208と接続される。
Referring to FIG. 2,
なお、点字翻訳装置100は、さらに、ローカルエリアネットワーク(LAN)への接続を提供するネットワークアダプタボードを備えてもよい。
The
座標情報入力部101は、たとえば電子ペン211からの入力を受け付ける。
記録媒体210には、図1に示した点字翻訳装置100の機能を実現させるためのプログラム(点字翻訳プログラム)が格納され、さらにハードディスク207に転送される。なお、ROM202に予めこのような点字翻訳プログラムが格納されていてもよい。又は、点字翻訳プログラムは、外部より図示しないネットワークを通じて点字翻訳装置100に送信されて、ハードディスク207に記憶されてもよい。点字翻訳プログラムは、実行の際にRAM209にロードされる。なお、記録媒体210から、又はネットワークを介して、直接にRAM209に点字翻訳プログラムがロードされてもよい。また、ハードディスク207に代えて、たとえばフラッシュメモリに点字翻訳プログラムが転送されてもよい。
The coordinate
The
記録媒体210は、CD−ROM(Compact Disc-ROM)、MO(Magneto-Optical disc)、MD(Mini Disc)、及びDVD(Digital Versatile Disc)等の光ディスクであってもよいし、FD(フレキシブルディスク)及びハードディスク等の磁気ディスクであってもよい。あるいは、磁気テープ及びカセットテープ等のテープ媒体、IC(Integrated Circuit)カード及び光カード等のカード型記録媒体、並びにマスクROM、EPROM(Erasable Programable ROM)、EEPROM(Electrically Erasable Programable ROM)、及びフラッシュROM等の半導体メモリのいずれかでもよい。
The
上記した点字データ変換部102、誤り検出部104、候補抽出部105、点字修正候補出力処理部107、尤度算出部108、パターン修正部109、および、誤り検出部104ならびに候補抽出部105に含まれる各部の機能は、CPU201により実現される。なお、これらのうち少なくとも1つは、ハードウェアにより実現されてもよい。
Included in the braille
また、点字データ記憶部103および修正候補記憶部106は、それぞれたとえばRAM203に含まれる記憶領域である。また、点字−墨字対応辞書記憶部112、単語辞書記憶部113およびパターン管理部110は、それぞれたとえばハードディスク207に含まれる記憶領域である。なお、点字−墨字対応辞書記憶部112、単語辞書記憶部113およびパターン管理部110内のデータは、予めハードディスク207に内蔵されていてもよいし、たとえば記録媒体210から読み出されて格納されてもよい。
Braille
図3に、本発明の実施の形態に係る点字翻訳装置100の概観図を示す。図3を参照して、点字翻訳装置100の表面には、電源の投入状態を変更するために操作される電源ボタン204.1と、各種メニューを表示するためのメニューボタン204.2と、1つ前の候補パターンを表示するための前候補選択ボタン204.3と、次の候補パターンを表示するための次候補選択ボタン204.4と、表示中の候補パターンが正解である場合に操作される正解ボタン204.5とを含む操作部204、および、表示部111が設けられる。本実施の形態において、座標情報入力部101は、表示部111と一体に設けられ、たとえばタッチパネルを構成する。これにより、入力した座標情報が入力した場所に表示されるために、確認が容易であり、入力ミスを防止することができる。
FIG. 3 shows an overview of
座標情報入力部101には、点字マス30がたとえば8つ設けられる。本実施の形態では、座標情報入力部101の位置に相当する表示領域に、候補パターンが表示される。
For example, eight
また、表示部111には、点字マス30を1つずつ進めるための送りボタン52と、1つずつ戻るための戻りボタン51と、翻訳開始の指示を入力するための翻訳ボタン53とが表示される。さらに、表示部111には、翻訳結果を表示するための墨字表示エリア40が設けられる。
The
<動作について>
次に、図7〜図16を用いて、本発明の実施の形態における点字翻訳装置100の動作について説明する。
<About operation>
Next, the operation of the
(主要動作の概要)
図7は、本発明の実施の形態の点字翻訳装置100におけるCPU201が実行するメインルーチンを示すフローチャートである。
(Outline of main operations)
FIG. 7 is a flowchart showing a main routine executed by
図7を参照して、電源ボタン204.1が押下されて電源が投入されると、点字翻訳プログラムが起動し、ステップS2へ進む。 Referring to FIG. 7, when power button 204.1 is pressed to turn on the power, the Braille translation program is activated and the process proceeds to step S2.
ステップS2において、CPU201は、座標情報入力部101に対する座標情報の入力を受け付ける。この際、CPU201は、受け付けた座標情報により、それぞれの点字マス30のいずれの点位置31〜36が指定されたかを判定する。そして、指定されたと判定した点位置の情報をRAM203に一時的に記録する。たとえば、RAM203の所定の領域に、点字マス30ごとに、点位置31〜36のそれぞれに対応してフラグ情報を格納するためのフラグ情報記憶領域を設け、選択されたと判定された点位置に対応する記憶領域にフラグ“1”をセットする。
In step S <b> 2, the
次に、CPU201は、表示部111に表示した翻訳ボタン53が選択されたか否かを判定する(ステップS4)。翻訳ボタン53が選択されるまで、座標情報の入力を受け付ける(ステップS4でNO)。
Next, the
翻訳ボタン53が選択されると(ステップS4でYES)、点字データ変換部102は、入力された座標情報を1以上の点字データ(点字データ列10)に変換し、点字データ記憶部103に記憶する(ステップS6)。たとえば、点字データ変換部102は、点字マス30ごとにRAM203に記録されたフラグ情報を点位置31,32,33,34,35,36の順に読み出すことにより、点字データ列10に変換する。
When the
次に、点字翻訳部1041はステップS6において点字データ記憶部103に記憶された点字データ列10を、点字−墨字対応辞書記憶部112に記憶された変換テーブルに基づいて、墨字データ列に翻訳する(ステップS8)。そして、誤り検出部104は、ステップS8での翻訳結果にエラーが含まれるか否かをチェックする。エラーが含まれる場合、すなわち、点字翻訳部1041が点字データ列10を墨字データまたは墨字データ列に翻訳することができない場合は(ステップS10でYES)ステップS14へ進む。これに対し、エラーがない場合、すなわち点字データ列10を墨字データまたは墨字データ列に翻訳することができた場合には(ステップS10でNO)ステップS12へ進む。
Next, the
ステップS12では、墨字正誤判定部1042が、翻訳された墨字データ列は単語として、または文としておかしくないか、すなわち意味が通じるのか否かをチェックする。具体的には、墨字正誤判定部1042は、上記したように、墨字データ列に対して形態素解析を行ない、個々の単語データが、単語辞書記憶部113に記憶された単語辞書データと一致するか否かを判定する。そして、翻訳された墨字データ列が単語として、または文としておかしいと判定された場合すなわち、単語辞書データのいずれとも一致しない単語データが存在した場合(ステップS12でYES)、ステップS14に進む。一方、翻訳された墨字データ列が単語として、または文としておかしくないと判定された場合すなわち、全ての単語データが単語辞書データと一致した場合(ステップS12でNO)、一連の処理は終了される。
In step S12, the ink character correct /
ステップS14では、修正候補抽出処理が実行される。そして、修正候補出力処理が実行され(ステップS16)、一連の処理は終了される。修正候補抽出処理(ステップS14)および修正候補出力処理(ステップS16)については、後に詳細に説明する。 In step S14, a correction candidate extraction process is executed. And a correction candidate output process is performed (step S16) and a series of processes are complete | finished. The correction candidate extraction process (step S14) and the correction candidate output process (step S16) will be described in detail later.
(修正候補抽出処理)
図8は、修正候補抽出処理を示すフローチャートである。
(Correction candidate extraction process)
FIG. 8 is a flowchart showing the correction candidate extraction process.
はじめに、パターン検索・置換部1053は、入力点字パターンに、パターン管理部110において管理されている誤りパターン801と同一の部分パターンが存在するか否かを検索する(ステップS102)。入力点字パターンに誤りパターンがあると判定された場合(ステップS102でYES)、ステップS104に進む。一方、入力点字パターンに誤りパターンがないと判定された場合(ステップS102でNO)、ステップS110に進む。
First, the pattern search /
ステップS104において、パターン検索・置換部1053は、入力点字パターンに含まれる入力誤りパターンを、対応する修正パターンに置換える。このようにして点字パターン候補が抽出される。
In step S104, the pattern search /
次に、抽出された点字パターンの点字文字列に対応する新たな点字データ列に対し、誤り検出処理が実行される(ステップS106)。この誤り検出処理については後述する。 Next, an error detection process is performed on the new braille data string corresponding to the extracted braille character string of the braille pattern (step S106). This error detection process will be described later.
次に、パターン検索・置換部1053は、入力点字パターンに、他に誤りパターンが存在するか否かを検索する(ステップS108)。他に誤りパターンがあると判定された場合(ステップS108においてYES)、ステップS104に戻る。一方、他に誤りパターンがないと判定された場合(ステップS108においてNO)、ステップS110に進む。
Next, the pattern search /
ステップS110では、孤立ブロック検出部1051は、入力点字パターンに対し、後述する点字マス内孤立ブロック検出処理を実行する。次に、孤立ブロック移動部1052は、1つの孤立ブロックを上下左右のいずれか一方向に移動させる(ステップS112)。たとえば、翻訳結果にエラーが含まれていた場合、エラーの点字文字の点字マス内で孤立ブロックを移動させる。また、墨字データ列に誤りの単語データが検出された場合、当該単語データが表わす点字文字列(または点字文字)の点字マス内で孤立ブロックを移動させる。
In step S110, the isolated
そして、孤立ブロック移動後に抽出される点字パターンの点字文字列に対応する新たな点字データ列に対し、誤り検出処理が実行される(ステップS114)。 Then, an error detection process is performed on a new Braille data string corresponding to the Braille character string of the Braille pattern extracted after the isolated block is moved (Step S114).
次に、孤立ブロック移動部1052は、孤立ブロックの移動を行なうか否かを判定する(ステップS116)。孤立ブロックの移動を行なうか否かは、たとえば、ステップS112において未だ移動させていない方向に移動可能か否かにより判定される。なお、ここでは、一方向に対して、1つの点位置分のみ移動可能であるものとするが、一方向に対して、2つの点位置分以上移動させることとしてもかまわない。以下に説明するステップS124およびステップS132においても同様とする。
Next, the isolated
孤立ブロック移動部1052は、孤立ブロックの移動を行なうと判断した場合(ステップS116でYES)、ステップS112に戻る。一方、孤立ブロックの移動を行なわないと判定した場合(ステップS116においてNO)、ステップS118に進む。なお、ステップS112における上下左右の移動順序としては、予め優先順位が定められていてもよいし、その都度ランダムに決定されてもよい。以下に説明するステップS120およびステップS128においても同様とする。
If the isolated
ステップS118では、孤立ブロック検出部1051は、後述する行孤立ブロック検出処理を実行する。次に、孤立ブロック移動部1052は、1つの孤立ブロックを、上下左右のいずれか一方向に移動する(ステップS120)。たとえば、翻訳結果にエラーが含まれていた場合、ステップS118で検出された孤立ブロックごと移動させる。また、墨字データ列に誤りの単語データが検出された場合も同様に、ステップS118で検出された孤立ブロックごと移動させる。なお、後者の場合、ステップS118で検出された孤立ブロックのうち、誤りが検出された単語データが表わす点字(または点字文字)に対応する点字マスの範囲内に存在する部分のみを移動させてもよい。
In step S118, the isolated
そして、孤立ブロック移動後に抽出される点字パターンの点字文字列に対応する新たな点字データ列に対し、誤り検出処理が実行される(ステップS122)。次に、孤立ブロック移動部1052は、孤立ブロックの移動を行なうか否かを判定する(ステップS124)。孤立ブロックの移動を行なうと判定した場合(ステップS124においてYES)、ステップS120に戻る。一方、孤立ブロックの移動を行なわないと判定した場合(ステップS124においてNO)、ステップS126に進む。
Then, an error detection process is performed on a new Braille data string corresponding to the Braille character string of the Braille pattern extracted after the isolated block is moved (Step S122). Next, the isolated
ステップS126において、孤立ブロック検出部1051は、後述する列孤立ブロック検出処理を実行する。次に、孤立ブロック移動部1052は、孤立ブロックを、上下左右のいずれか一方向に移動する(ステップS128)。たとえば、翻訳結果にエラーが含まれていた場合、エラーの点字文字の凸部を含む孤立ブロックを移動させる。また、墨字データ列に誤りの単語データが検出された場合、当該単語データが表わす点字文字列(または点字文字)の凸部を含む孤立ブロックを移動させる。
In step S126, the isolated
そして、孤立ブロック移動後に抽出される点字パターンの点字文字列に対応する新たな点字データ列に対し、誤り検出処理が実行される(ステップS130)。そして、孤立ブロック移動部1052は、孤立ブロックの移動を行なうか否かを判定する(ステップS132)。孤立ブロックの移動を行なうと判定した場合(ステップS132においてYES)、ステップS128に戻る。これに対し、孤立ブロックの移動を行なわないと判定した場合(ステップS132においてNO)、処理は、メインルーチンに戻される。
Then, an error detection process is performed on a new Braille data string corresponding to the Braille character string of the Braille pattern extracted after the isolated block is moved (Step S130). Then, the isolated
なお、本実施の形態においては、このように、点字パターン検索・置換処理(ステップS102〜S108)の後に、孤立ブロック検出・移動処理(ステップS110〜S132)を行なうこととしたが、これらを逆に行なってもよい。また、これらの処理の両方を行なうこととしたが、いずれか一方を行なうこととしてもかまわない。この場合、予め、いずれか1つの処理のみが実行されることが定められていてもよいし、たとえばメニューボタン204.2を操作させることで、ユーザにいずれか1つを選択させてもよい。 In the present embodiment, the isolated block detection / movement process (steps S110 to S132) is performed after the Braille pattern search / replacement process (steps S102 to S108). You may do it. In addition, although both of these processes are performed, either one may be performed. In this case, it may be determined that only one of the processes is executed in advance, or the user may select any one by operating the menu button 204.2, for example.
また、孤立ブロック検出・移動処理において、点字マス内、行および列の3種類の孤立ブロック検出・移動処理を一連に行なうこととしたが、いずれか1種類あるいは2種類の孤立ブロック検出・移動処理を行なうこととしてもよい。この場合、いずれの種類の孤立ブロック検出・移動処理を行なうかを、ユーザに選択させてもよい。また、3種類の孤立ブロック検出・移動処理の順序は、図8に示した順序に限られない。 In the isolated block detection / movement process, three types of isolated block detection / movement processes in braille cells, rows and columns are performed in series, but one or two types of isolated block detection / movement processes are performed. It is good also as performing. In this case, the user may be allowed to select which type of isolated block detection / movement process is performed. The order of the three types of isolated block detection / movement processing is not limited to the order shown in FIG.
また、パターン置換および孤立ブロック移動の度に、生成された新たな点字データ列の誤り検出を行なうこととしたが、毎回誤り検出を行なうものでなくてもよい。たとえば、新たな点字データ列を一旦全て修正候補記憶部106に記憶させてから、一括して誤り検出を行ない、誤りが検出された新たな点字データ列を修正候補記憶部106から削除することとしてもよい。
In addition, the error detection of the generated new braille data string is performed every time the pattern replacement and the isolated block move, but the error detection may not be performed every time. For example, all new braille data strings are temporarily stored in the correction
(誤り検出処理)
図9は、誤り検出処理の流れを示すフローチャートである。
(Error detection process)
FIG. 9 is a flowchart showing the flow of error detection processing.
はじめに、点字翻訳部1041は、点字−墨字対応辞書記憶部112に記憶された変換テーブルに基づいて、新たな点字データ列の墨字データ列への翻訳を行なう(ステップS202)。ここでの新たな点字データ列とは、点字データ列10に基づいたパターン置換後(ステップS104)の点字データ列、および、点字データ列10に基づいた孤立ブロック移動後(ステップS112,S120,S128)の点字データ列である。
First, the
次に、点字翻訳部1041は、翻訳結果にエラーが含まれるか否かを判定する(ステップS204)。翻訳結果にエラーが含まれないと判定された場合(ステップS204においてNO)、ステップS206に進む。一方、翻訳結果にエラーが含まれると判定された場合(ステップS204においてYES)、ステップS210に進む。
Next, the
ステップS206において、墨字正誤判定部1042は、ステップS202で翻訳された墨字データ列は単語または文章としておかしいか否かを判定する。翻訳された墨字データ列は単語または文章としておかしいと判定された場合(ステップS206においてYES)、ステップS210に進む。一方、翻訳された墨字データ列が単語または文章としておかしくないと判定された場合(ステップS206においてNO)、ステップS208に進む。なお、ステップS204およびS206は、それぞれ上述のステップS10およびS12と同様であるので、ここでの詳細な説明は繰り返さない。
In step S206, the ink character correct /
ステップS208において、候補抽出部105は、ステップS202で翻訳を行なった点字データ列を、修正候補点字データ列として修正候補記憶部106に登録する。ステップS208の処理が終わると、誤り検出処理は終了される。
In step S208, the
一方ステップS210では、ステップS202で翻訳を行なった点字データ列は、修正候補点字データ列として登録されずに破棄されて、誤り検出処理は終了される。 On the other hand, in step S210, the braille data string translated in step S202 is discarded without being registered as a correction candidate braille data string, and the error detection process is terminated.
(点字マス内孤立ブロック検出処理)
図10は、点字マス内孤立ブロック検出処理の流れを示すフローチャートである。
(Braille square isolated block detection process)
FIG. 10 is a flowchart showing the flow of the isolated block detection process in braille cells.
はじめに、孤立ブロック検出部1051は、孤立ブロック検出処理をしていない点字マスがあるか否かを判定する(ステップS302)。未処理の点字マスがあると判定された場合(ステップ302でYES)、ステップS304に進む。一方、すべての点字マスに対し孤立ブロック検出処理を行なったと判定された場合(ステップS302でNO)、点字マス内孤立ブロック検出処理は終了される。
First, the isolated
ステップS304において、孤立ブロック検出部1051は、孤立ブロック検出処理をしていないと判定された点字マス内において、孤立ブロック候補に属していない凸部があるか否かを判定する。孤立ブロック候補に属していない凸部があると判定された場合(ステップS304においてYES)、ステップS306に進む。これに対し、孤立ブロック候補に属していない凸部がないと判定された場合(ステップS304においてNO)当該点字マス内に対する孤立ブロック検出処理は終了され、ステップS302に戻る。
In step S304, the isolated
ステップS306において、孤立ブロックに属していないいずれか1つの凸部を、新規の孤立ブロック候補とする。次に、追加した凸部の点位置に隣接する点位置に、孤立ブロック候補に属していない凸部があるか否かが判定される(ステップS308)。孤立ブロック候補に属していない凸部があると判定された場合(ステップS308においてYES)、隣接する点位置に存在する凸部をすべて孤立ブロック候補に追加する(ステップS310)。ステップS310の処理が終わると、ステップS308に戻る。 In step S306, any one convex portion that does not belong to an isolated block is set as a new isolated block candidate. Next, it is determined whether or not there is a convex portion that does not belong to the isolated block candidate at a point position adjacent to the point position of the added convex portion (step S308). If it is determined that there is a convex portion that does not belong to an isolated block candidate (YES in step S308), all the convex portions existing at adjacent point positions are added to the isolated block candidate (step S310). When the process of step S310 ends, the process returns to step S308.
ステップS308において、追加した凸部の点位置に隣接する点位置に、孤立ブロック候補に属していない凸部がないと判定された場合(ステップS308においてNO)、ステップS312に進む。 If it is determined in step S308 that there is no convex portion that does not belong to the isolated block candidate at the point position adjacent to the point position of the added convex portion (NO in step S308), the process proceeds to step S312.
ステップS312において、孤立ブロック検出部1051は、現在の孤立ブロック候補は、対象の点字マス内において、上下左右のいずれか一方向に移動できるか否かを判定する。上下左右のいずれか一方向に移動できると判定された場合(ステップS312においてYES)、当該孤立ブロック候補を、孤立ブロックとして確定する(ステップS314)。ステップS314の処理が終了すると、ステップS304に戻る。
In step S312, the isolated
一方、現在の孤立ブロック候補が対象の点字マス内において上下左右のいずれか一方向に移動できないと判定された場合(ステップS312においてNO)、当該孤立ブロック候補は、孤立ブロックとして見なされずに(ステップS316)ステップS304に戻る。 On the other hand, if it is determined that the current isolated block candidate cannot move in any one of the upper, lower, left and right directions within the target braille cell (NO in step S312), the isolated block candidate is not regarded as an isolated block (step S316) Return to step S304.
図11(a)〜(c)は、点字マス内孤立ブロック検出処理を説明するための図である。点字データ記憶部103に記憶された点字データ列10が、図11(a)に示すような、点字(点字文字列)620を表わすものである場合について説明する。
FIGS. 11A to 11C are diagrams for explaining the isolated block detection process in the braille cell. A case will be described in which the
図11(a)を参照して、点字620は、5つの点字文字621〜625により構成される。なお、これらの点字文字621〜625に対応する点字データは、それぞれ、「000010」、「101101」、「001011」、「110111」、「100011」である。
Referring to FIG. 11A, the braille 620 is composed of five
図11(b)は、点字文字622について、点字マス30内において孤立ブロックを検出する場合の様子を示す図である。以下、図10のフローチャートおよび図4を参照しながら具体的に説明する。
FIG. 11B is a diagram illustrating a state in which an isolated block is detected in the
ステップS306において、孤立ブロック検出部1051は、点位置31の凸部を、新規の孤立ブロック候補626とし、当該凸部を、孤立ブロック候補626に追加する。次に、孤立ブロック候補626に追加した凸部の点位置31に隣接する点位置32,34,35のうち、孤立ブロック候補626に属していない点位置34の凸部を孤立ブロック候補626に追加する(ステップS308およびステップS310)。
In step S <b> 306, the isolated
次に、孤立ブロック候補626に新規に追加した凸部の点位置34に隣接する点位置31,32,35のうち、孤立ブロック候補626に属していない凸部があるか否かを調べる(ステップS308)。ここでは、存在しないため、ステップS312へ進む。ステップS312では、孤立ブロック候補626は下に移動することができるため、ステップS314へ進み、孤立ブロック候補626は孤立ブロック630としてみなされる。このようにして、点位置31および点位置34の凸部の集合体である孤立ブロック630が検出される。
Next, it is checked whether or not there is a convex part that does not belong to the
さらに、ステップS304において、孤立ブロック検出部1051は点位置33の凸部を新規の孤立ブロック候補627として、当該凸部を孤立ブロック候補627に追加する。次に、孤立ブロック候補627に追加した凸部の点位置33に隣接する点位置32,35,36のうち、孤立ブロック候補に属していない点位置36の凸部を孤立ブロック候補627に追加する(ステップS308およびステップS310)。
In step S <b> 304, the isolated
次に、孤立ブロック候補627に新規に追加した凸部の点位置36に隣接する点位置32,33,35のうち、孤立ブロック候補に属していない凸部があるか否かを調べる。ここでは、存在しないため、ステップS312へ進む。ステップS312では、孤立ブロック候補627は上に移動することができるため、ステップS314へ進み、孤立ブロック候補627は孤立ブロック631としてみなされる。このようにして、点位置33および点位置36の凸部の集合体である孤立ブロック631が検出される。
Next, it is checked whether or not there is a convex portion that does not belong to the isolated block candidate among the point positions 32, 33, and 35 adjacent to the
同様にして、図11(a)に示す点字文字列620を構成する5つの点字文字621〜625の点字マス全てに対しても同様の処理を行った結果を図11(c)に示す。
Similarly, FIG. 11C shows the result of the same processing performed on all the braille cells of the five
図11(c)を参照して、点字文字621の点字マス内では、点位置35の凸部からなる孤立ブロック632が検出される。点字文字623の点字マス内では、点位置33,35,36の凸部の集合体である孤立ブロック633が検出される。一方、点字文字624および点字文字625の点字マス内では孤立ブロックは検出されない。点字文字624の点字マス内では、点位置31,32,34,35,36の5つの凸部の集合体で孤立ブロック候補が構成されるが、点字マス内において上下左右の何れにも移動させることができないためである。同様に、点字文字625の点字マス内では、点位置31,35,36の3つの凸部の集合体で孤立ブロック候補が構成されるが、点字マス内において上下左右の何れにも移動させることができないためである。
Referring to FIG. 11C, an
(行孤立ブロック検出処理)
図12は、行孤立ブロック検出処理を示すフローチャートである。
(Row isolation block detection processing)
FIG. 12 is a flowchart showing row isolated block detection processing.
はじめに、孤立ブロック検出部1051は、入力点字パターン全体を行ごとに分割し、1行目、2行目、3行目を抽出する(ステップS402)。次に、孤立ブロック検出部1051は、空行がいくつあるかを判定する(ステップS406)。空行が1つであると判定された場合、ステップS408に進む。空行が2つであると判定された場合ステップS416に進む。空行がないと判定された場合ステップS424に進む。
First, the isolated
ステップS408において、孤立ブロック検出部1051は、どの行が空行であるか否かを判定する。1行目が空行であると判定された場合、2行目と3行目とで孤立ブロックを構成する(ステップS410)。すなわち、2行目と3行目とに含まれる凸部と平坦部との集合体が、1つの孤立ブロックとして検出される。空行が2行目であると判定された場合、1行目および3行目のそれぞれにおいて孤立ブロックを構成する(ステップS412)。すなわち、1行目に含まれる凸部と平坦部との集合体と3行目に含まれる凸部と平坦部との集合体とが、それぞれ1つの孤立ブロックとして検出される。空行が3行目であると判定された場合、1行目と2行目とで孤立ブロックを構成する(ステップS414)。すなわち、1行目と2行目とに含まれる凸部と平坦部との集合体が、1つの孤立ブロックとして検出される。
In step S408, the isolated
ステップS416において、どの行とどの行が空行であるか否かが判定される。空行が1行目および2行目であると判定された場合、孤立ブロック検出部1051は、3行目だけで孤立ブロックを構成する(ステップS418)。すなわち、3行目に含まれる凸部と平坦部との集合体が、1つの孤立ブロックとして検出される。空行が2行目と3行目であると判定された場合、1行目だけで孤立ブロックを構成する(ステップS420)。すなわち、1行目に含まれる凸部と平坦部との集合体が、1つの孤立ブロックとして検出される。空行が1行目と3行目であると判定された場合、2行目だけで孤立ブロックを構成する(ステップS422)。すなわち、2行目に含まれる凸部と平坦部との集合体が、1つの孤立ブロックとして検出される。
In step S416, it is determined which line and which line is a blank line. When it is determined that the blank line is the first line and the second line, the isolated
上記したステップS410,412,414,418,420,422の処理が終了すると、この行孤立ブロック検出処理は終了される。また、ステップS424においては、孤立ブロックを構成せずに、行孤立ブロック検出処理を終了する。 When the processing in steps S410, 412, 414, 418, 420, and 422 is completed, this row isolated block detection processing is terminated. In step S424, the isolated row detection process is terminated without forming an isolated block.
図13(a)〜(c)は、行孤立ブロック検出処理を説明するための図である。点字データ記憶部103に記憶された点字データ列10が、図13(a)に示すような、点字(点字文字列)640を表わすものである場合について説明する。
FIGS. 13A to 13C are diagrams for explaining row isolated block detection processing. A case will be described in which the
図13(a)を参照して、点字640は、3つの点字文字641〜643により構成される。なお、これらの点字文字641〜643に対応する点字データは、それぞれ、「001100」、「101000」、「100101」である。
Referring to FIG. 13A, the braille 640 is composed of three
図13(b)には、点字640のパターン全体が行ごとに分割されることで、3つの行644、645および646が抽出された様子が示される(ステップS402)。この場合、2行目の行645は凸部が全く存在しない空行であるため、1行目の行644で孤立ブロック647が構成され、3行目の行646で孤立ブロック648が構成される(ステップS412)。その結果を図13(c)に示す。
FIG. 13B shows a state where three
(列孤立ブロック検出処理)
図14は、列孤立ブロック検出処理を示すフローチャートである。
(Column isolated block detection processing)
FIG. 14 is a flowchart showing column isolated block detection processing.
はじめに、孤立ブロック検出部1051は、入力点字パターン全体を列ごとに分割して、複数の列を抽出する(ステップS502)。ここでは、点字マス1つにつき列が2つ存在するため、入力点字パターンを構成する点字マスの数の2倍の数の列が抽出される。次に、1つも凸部の存在しない空列のみを抽出する(ステップS504)。そして、孤立ブロック検出部1051は、空列で区切ることで孤立ブロックを検出する(ステップS506)。つまり、間に空列の存在しない1以上の列に含まれる凸部と平坦部との集合体を、孤立ブロックとして検出する。ステップS506の処理が終わると列孤立ブロック検出処理は終了される。
First, the isolated
図15(a)〜(c)は、列孤立ブロック検出処理を説明するための図である。点字データ記憶部103に記憶された点字データ列10が、図15(a)に示すような、点字(点字文字列)660を表わすものである場合について説明する。
FIGS. 15A to 15C are diagrams for explaining column isolated block detection processing. A case will be described in which the
図15(a)を参照して、点字660は、6つの点字文字661〜666により構成される。なお、これらの点字文字661〜666に対応する点字データは、それぞれ、「111000」、「001011」、「000010」、「110000」、「011001」、「011000」である。
With reference to FIG. 15A, the
図15(b)には、点字660のパターン全体が列ごとに分割されることで、12個の列667〜678が抽出される様子が示される(ステップS502)。ここで、1つも凸部を含まない空列を抽出すると、列668、671、674及び678が抽出される(ステップS504)。孤立ブロック検出部1051は間に空列を含まない1以上の列で孤立ブロックを構成するため、列667だけで孤立ブロック680が構成され、空列である列668と列671とに挟まれる列669から列670で孤立ブロック681が構成される。また、空列である列671と列674とに挟まれる列672から列673で孤立ブロック682が構成され、空列である列674と列678とに挟まれる列675から列677で孤立ブロック683が構成される。その結果を図15(c)に示す。
FIG. 15B shows a state in which twelve
(修正候補出力処理)
図16は、修正候補出力処理を示すフローチャートである。
(Correction candidate output process)
FIG. 16 is a flowchart showing the correction candidate output process.
はじめに、尤度算出部108は、修正候補記憶部106に記憶された各修正候補点字データ列の尤度指標を算出する(ステップS602)。図6を参照して、修正候補点字データ列801に尤度指標データ802が対応付けられている場合、尤度指標データ802そのものが尤度指標として算出される。また、修正候補点字データ列801に移動量803が対応付けられている場合、尤度指標は、上記したような計算式を用いて算出される。
First, the
次に、点字修正候補出力処理部107は、尤度指標の高い順に、修正候補記憶部106に記憶された修正候補点字データ列をソートする(ステップS604)。そして点字修正候補出力処理部107は、ユーザにより予め設定された出力方法を判定する(ステップS606)。
Next, the braille correction candidate
出力方法が1つであると判定された場合、尤度指標の最も高い修正候補点字データ列を出力する(ステップS608)。出力方法が上位N個と判定された場合、上位N個の修正候補点字データ列を出力する(ステップS610)。出力方法がすべてであると判定された場合、すべての修正候補点字データ列を尤度指標の高い順に出力する(ステップS612)。 If it is determined that there is only one output method, the correction candidate braille data string having the highest likelihood index is output (step S608). If the output method is determined to be the top N, the top N correction candidate braille data strings are output (step S610). When it is determined that the output method is all, all the correction candidate braille data strings are output in descending order of likelihood index (step S612).
ステップS608、610および612の処理が終了すると、修正候補点字データ出力処理は終了される。 When the processes of steps S608, 610, and 612 are completed, the correction candidate braille data output process is terminated.
<具体例について>
次に、図17〜図23を用いて、本発明の実施の形態における点字翻訳装置100の動作の具体例について説明する。
<Specific examples>
Next, a specific example of the operation of the
(パターン検索・置換処理の具体例)
まず、パターン検索・置換処理(図8のステップS102〜S108)に基づき抽出される修正候補点字データ列の具体例について説明する。
(Specific example of pattern search / replacement processing)
First, a specific example of the correction candidate braille data string extracted based on the pattern search / replacement process (steps S102 to S108 in FIG. 8) will be described.
図17は、パターン検索・置換処理の具体例を説明するための図である。図17(a)に示すように、点字データ記憶部103に記憶された点字データ列10が点字820を表わすものであるとする。
FIG. 17 is a diagram for explaining a specific example of the pattern search / replacement process. As shown in FIG. 17A, it is assumed that the
図17(a)を参照して、点字820は、6つの点字文字821〜826により構成される。なお、これらの点字文字821〜826に対応する点字データは、それぞれ、「011000」、「100000」、「111100」、「111100」、「111000」、「100010」である。
Referring to FIG. 17A, a braille 820 is composed of six
この場合、点字翻訳部1041が墨字データ列に翻訳すると、図17(a)に示すように「(エラー)あねねにら」となる。誤り検出部104は、エラーとなった1番目の点字文字821のパターンが入力誤りであると判定する。したがって、パターン検索・置換部1053は、1番目の点字文字821のパターンが入力誤りパターン801であるものをパターン管理部110から検索し、それに対応付けて管理されている修正パターン802を抽出する。
In this case, when the
ステップS102において、パターン検索・置換部1053は、1番目の点字文字821と同じパターンの入力誤りパターン801をパターン管理部110から検索する。この場合、図5(b)に示した組803´の入力誤りパターン801と一致しているので、ステップS104において、組803´の修正パターン802を抽出し、点字文字821のパターンを抽出した修正パターン802に置き換える。置き換えることで新たに作成された点字820´のパターンを図17(b)に示す。
In step S102, the pattern search /
図17(b)を参照して、点字820´の1番目の点字文字821´は、点字データ「000011」で表わされる。このような点字820´を表わす新たな点字データ列を墨字データ列に翻訳すると、「apple」となる。墨字データ列「apple」は、単語として成立しているため(単語辞書データと一致するため)、この墨字データ列は正しいと判定される。
Referring to FIG. 17B, the first
したがって、点字820´を表わす新たな点字データ列は、修正候補点字データ列として修正候補記憶部106に登録される。これにより、登録された修正候補点字データ列は、ユーザに提示されることになる。なお、この際、組803´の尤度指標データ805である数値(100)も修正候補点字データ列と対応付けて記憶される。
Therefore, a new Braille data string representing the
このように、点字データ列10が入力誤りを含む場合であっても、入力誤りパターン801と修正パターン802とを対応付けて管理しているパターン管理部110を検索し、入力誤りパターンを修正パターン802に置き換えることで、修正候補点字データ列を出力することができる。これにより、ユーザは間違った点位置に座標情報を入力した場合であっても、正解の点字データ列を容易に得ることができる。
Thus, even when the
(行単位での孤立ブロック移動処理の具体例)
図18(a)〜(e)は、本発明の実施の形態における行孤立ブロック移動処理の具体例を説明するための図である。点字データ記憶部103に記憶された点字データ列10が、図18(a)に示すような、点字(点字文字列)720を表わすものである場合について説明する。
(Specific example of isolated block move processing in units of rows)
FIGS. 18A to 18E are diagrams for describing a specific example of row isolated block movement processing in the embodiment of the present invention. A case will be described in which the
図18(a)を参照して、点字720は、3つの点字文字により構成される。なお、これらの点字文字に対応する点字データは、それぞれ、「010010」、「001001」、「010011」である。墨字表示エリア40には、点字720を表わす点字データ列の翻訳結果「ー(エラー)。」が表示される。翻訳結果にはエラーが含まれるため、誤り検出部104は、点字720を表わす点字データ列10には入力誤りが含まれると判定する。そして、候補抽出部105は点字パターン候補の抽出処理を開始する。
Referring to FIG. 18A, the braille 720 is composed of three braille characters. The braille data corresponding to these braille characters are “010010”, “001001”, and “010011”, respectively. In the ink
図18(b)〜図18(e)には、行単位で孤立ブロックの検出・移動を行ない、修正候補点字データ列(の点字パターンの)を表示するまでの手順が示される。 FIG. 18B to FIG. 18E show a procedure from detection and movement of isolated blocks in units of rows to display of a correction candidate Braille data string (of the Braille pattern).
孤立ブロック検出部1051は、1行目のみが空行であるため、2行目と3行目とに含まれる凸部と平坦部とを孤立ブロック721として検出する(ステップS410)。図18(b)に検出された孤立ブロック721の様子を示す。
Since only the first row is a blank row, the isolated
孤立ブロック721は、2行目と3行目とに含まれる凸部と平坦部との集合体であるため、これ以上、下には移動することができない。さらに、右に移動させる場合と左に移動させる場合ではここでは同じである。そこで、この例では、上及び右の2方向のうちの何れか一方向に移動させるものとする。
Since the
孤立ブロック移動部1052は、はじめにたとえば孤立ブロック721を上方向に移動させる(ステップS120)。移動後の孤立ブロック721の様子を図18(c)に示す。図18(c)に示すように、新たに作成された点字データ列を翻訳すると、「うーる」という翻訳結果となる。
The isolated
新しく生成された点字データ列は、「うーる」という墨字データ列に翻訳されたため、当該点字データ列には誤りが含まれないと判断される(ステップS204でNO,ステップS206でNO)。よって、新しく生成された図18(c)に示す点字パターンの点字データ列は修正候補点字データ列として修正候補記憶部106に登録される(ステップS208)。なお、この際、修正候補点字データ列と対応付けて、移動量“1”も併せて登録される。
Since the newly generated braille data string is translated into the ink character data string “wooru”, it is determined that the braille data string does not contain an error (NO in step S204, NO in step S206). Therefore, the newly generated Braille data string of the Braille pattern shown in FIG. 18C is registered in the correction
次に、孤立ブロック移動部1052は、孤立ブロック721を右方向に移動させる(ステップS120)。移動後の孤立ブロック721の様子を図18(d)に示す。図18(d)に示すように、新たに作成された点字データ列を翻訳すると、「(エラー)(エラー)を(エラー)」となる。
Next, the isolated
新しく生成された点字データ列を翻訳した結果にはエラーが含まれるため(ステップS204でYES)、当該点字データ列には入力誤りが含まれると判断される。よって、新しく生成された図18(d)に示す点字パターンの点字データ列は修正候補点字データ列として登録せずに、破棄される(ステップS210)。 Since an error is included in the result of translating the newly generated Braille data string (YES in Step S204), it is determined that the Braille data string includes an input error. Therefore, the newly generated Braille data string of the Braille pattern shown in FIG. 18D is not registered as a correction candidate Braille data string but is discarded (Step S210).
このように、図18(b)に示す孤立ブロック721を上下左右の何れか一方向にのみ移動させることにより作成された新たな点字データ列のうちでは、上方向に移動させることにより作成された点字データ列のみが修正候補点字データ列として登録される。したがって、点字修正候補出力処理部107は当該修正候補点字データ列が示す点字パターンを表示部111に出力する。
Thus, among the new Braille data strings created by moving the
図18(e)を参照して、修正候補点字データ列が示す点字パターンは、たとえば、座標情報入力部101と一体的に設けられる表示領域に表示される。また、図18(e)に示すように、その点字データ列を墨字データ列に翻訳した結果を墨字表示エリア40に併せて出力するものであっても構わない。また、元の誤りを含む点字データ列10と、新たに作成された点字データ列との違いを表示してもよい。たとえば図18(e)に示されるように、「上に移動しました」というメッセージ722を表示して、孤立ブロック721を上方向に移動させたことを表示してもよい。また、このような形態に限られず、移動方向を示す矢印などの記号を表示してもよい。これにより、ユーザはどのように入力を誤ったのかを容易に把握することができる。
Referring to FIG. 18E, the braille pattern indicated by the correction candidate braille data string is displayed in a display area provided integrally with the coordinate
なお、上記のように、本実施の形態では、上下左右の何れか一方向にのみ孤立ブロックを移動させることとしたが、二方向に移動させるものであってもよい。 As described above, in this embodiment, the isolated block is moved only in one of the upper, lower, left, and right directions, but it may be moved in two directions.
図19(a)〜(e)は、行孤立ブロック移動処理の他の例を説明するための図である。点字データ記憶部103に記憶された点字データ列10が、図19(a)に示すような、点字(点字文字列)730を表わすものである場合について説明する。
FIGS. 19A to 19E are diagrams for explaining another example of row isolated block movement processing. A case will be described in which the
図19(a)を参照して、点字730は、4つの点字文字により構成される。なお、これらの点字文字に対応する点字データは、それぞれ、「000001」、「010011」、「000010」、「011000」である。墨字表示エリア40には、点字730を表わす点字データ列の翻訳結果「(エラー)(エラー)(エラー)(エラー)」が表示される。翻訳結果にはエラーが含まれるため、誤り検出部104は、点字730を表わす点字データ列10には入力誤りが含まれると判定する。
Referring to FIG. 19A, the braille 730 is composed of four braille characters. The braille data corresponding to these braille characters are “000001”, “010011”, “000010”, and “011000”, respectively. In the ink
図19(b)〜図19(e)にも、行単位で孤立ブロックの検出・移動を行ない、修正候補点字データ列(の点字パターン)を表示するまでの手順が示される。 FIGS. 19B to 19E also show a procedure from detection and movement of isolated blocks in units of rows to display of a correction candidate braille data string (its braille pattern).
図19(b)を参照して、孤立ブロック検出部1051は、1行目のみが空行であるため、2行目と3行目とに含まれる凸部と平坦部とを孤立ブロック731として検出する(ステップS410)。
Referring to FIG. 19B, the isolated
図19(b)を参照して、孤立ブロック731は、2行目と3行目とに含まれる凸部と平坦部との集合体であるため、これ以上、下には移動することができない。さらに、右に移動させる場合と左に移動させる場合ではここでは同じである。そこで、この例では、上方向に移動させ、次に左方向に移動させるものとする。
Referring to FIG. 19B, the
はじめに、孤立ブロック移動部1052は孤立ブロック731を上方向に移動させる(ステップS120)。移動後の孤立ブロック731の様子を図19(c)に示す。図19(c)に示すように、新たに作成された点字データ列を翻訳すると、「(エラー)る(エラー)い」という翻訳結果となる。
First, the isolated
新しく生成された点字データ列を翻訳した結果にはエラーが含まれるため(ステップS204でYES)、当該点字データ列には入力誤りが含まれると判断される。よって、新しく生成された図19(c)に示す点字データ列は修正候補点字データとして登録せずに、破棄される(ステップS210)。 Since an error is included in the result of translating the newly generated Braille data string (YES in Step S204), it is determined that the Braille data string includes an input error. Accordingly, the newly generated braille data string shown in FIG. 19C is discarded without being registered as the correction candidate braille data (step S210).
この例では、孤立ブロック731を二方向に移動させることで、点字パターン候補を抽出するため、再び処理をステップS120に戻す。
In this example, the braille pattern candidate is extracted by moving the
ステップS120において、孤立ブロック移動部1052は図19(c)に示す状態からさらに孤立ブロック731を左に移動させる。移動後の孤立ブロック731の様子を図19(d)に示す。図19(d)に示すように、新たに作成された点字データ列を翻訳すると、「おいる」という墨字データ列を得ることができる。
In step S120, the isolated
新しく生成された点字データ列は、「おいる」という墨字データ列に翻訳されたため、当該点字データ列には誤りが含まれないと判断される(ステップS204でNO,ステップS206でNO)。よって、図19(d)に示す新たな点字データ列は修正候補点字データ列として登録される(ステップS208)。 Since the newly generated braille data string is translated into the ink character data string “OI”, it is determined that the braille data string does not contain an error (NO in step S204, NO in step S206). Therefore, the new braille data string shown in FIG. 19D is registered as a correction candidate braille data string (step S208).
以上より、点字データ730から構成された孤立ブロック731を上下左右の何れか二方向に移動させることにより抽出された点字パターン候補のうち、上方向に移動しさらに左方向に移動させることにより抽出された点字パターン候補に対応する点字データ列のみが修正候補点字データ列として登録される。これにより、点字修正候補出力処理部107は、当該修正候補点字データ列が示す点字パターンを表示部111に出力する。
As described above, among the braille pattern candidates extracted by moving the
図19(e)を参照して、修正候補点字データ列が示す点字パターンは、図18(e)と同様に、たとえば、座標情報入力部101と一体的に設けられる表示領域に表示される。また、たとえば、「左上に移動しました」というメッセージ732を表示して、孤立ブロック731を上方向と左方向とに移動させたことを表示してもよい。
Referring to FIG. 19E, the braille pattern indicated by the correction candidate braille data string is displayed in, for example, a display area provided integrally with the coordinate
(列単位での孤立ブロック移動処理の具体例)
図20(a)〜(g)は、本発明の実施の形態における列孤立ブロック移動処理の具体例について説明するための図である。ここでは、図15(c)に示したような4つの孤立ブロックが検出されているものと仮定する。
(Specific example of isolated block movement processing in units of columns)
20A to 20G are diagrams for describing a specific example of column isolated block movement processing according to the embodiment of the present invention. Here, it is assumed that four isolated blocks as shown in FIG. 15C are detected.
図20(a)には、点字文字列661〜666の翻訳結果が示される。この場合、孤立ブロック682および孤立ブロック683に、エラーが含まれる(エラーの点字文字の凸部が含まれる)。したがって、これらの孤立ブロック682および孤立ブロック683が移動対象となる。
FIG. 20A shows the translation results of the
孤立ブロック682及び孤立ブロック683のどちらか一方を移動させた場合に抽出される点字パターン候補と、当該点字パターン候補が示す点字データ列を翻訳した墨字データ列とを、図20(b)から図20(g)に示す。
A braille pattern candidate extracted when one of the
図20(b)は孤立ブロック682のみを左方向に移動させたものであり、図20(c)は孤立ブロック682を右方向に移動させたものであり、図20(d)は孤立ブロック682を下方向に移動させたものである。さらに、図20(e)は孤立ブロック683を左方向に移動させたものであり、図20(f)は孤立ブロック683を右方向に移動させたものであり、図20(g)は孤立ブロック683を上方向に移動させたものである。
FIG. 20B shows only the
図20(b)から図20(g)に示されるように、孤立ブロック682および孤立ブロック683のいずれか1つを移動させることで抽出される点字パターン候補を示す点字データ列を翻訳すると、図20(e)に示す点字パターン候補のみが「にんじん」と翻訳される。それ以外の点字パターン候補は、翻訳結果に「エラー」が含まれる。これにより、図20(e)に示す点字パターンを表わす点字データ列が、修正候補点字データ列として登録される。
As shown in FIG. 20B to FIG. 20G, when a braille data string indicating a braille pattern candidate extracted by moving one of the
以上より、図20(e)に示す点字パターンの点字データ列のみが修正候補点字データ列として登録される。したがって、図20(e)に示す点字パターンがユーザに提示される。点字パターンの提示は、図18(e)および図19(e)と同様に行なうことができる。 As described above, only the braille data string of the braille pattern shown in FIG. 20E is registered as the correction candidate braille data string. Therefore, the braille pattern shown in FIG. 20 (e) is presented to the user. Presentation of the braille pattern can be performed in the same manner as in FIGS. 18 (e) and 19 (e).
なお、上記のように、本実施の形態では、孤立ブロックのいずれか一方のみを移動させることとしたが、複数の孤立ブロックを一度に移動させることとしてもよい。 As described above, in this embodiment, only one of the isolated blocks is moved, but a plurality of isolated blocks may be moved at a time.
図21(a)および(b)は、列孤立ブロック移動処理の他の例を説明するための図である。ここでも、図15(c)に示したような4つの孤立ブロックが検出されているものと仮定する。 FIGS. 21A and 21B are diagrams for explaining another example of the column isolated block moving process. Again, it is assumed that four isolated blocks as shown in FIG. 15C have been detected.
図21(a)には、孤立ブロック682及び孤立ブロック683をセットで、左方向に移動させた場合の例を示す。図21(b)には、孤立ブロック682及び孤立ブロック683をセットで、右方向に移動させた場合の例を示す。
FIG. 21A shows an example in which the
図21(a)及び図21(b)ともに、抽出された点字パターン候補を示す点字データ列を翻訳すると、エラーが含まれる。したがって、これらの点字データ列は、修正候補点字データ列として登録されずに、破棄される。 In both FIG. 21 (a) and FIG. 21 (b), when the braille data string indicating the extracted braille pattern candidates is translated, an error is included. Accordingly, these braille data strings are discarded without being registered as correction candidate braille data strings.
なお、ここでは、孤立ブロック682及び孤立ブロック683をセットで同一の方向に移動させる場合について説明したが、孤立ブロック682及び孤立ブロック683を別方向に移動させるものであっても構わない。たとえば、一度に、孤立ブロック682を左に移動させ、かつ孤立ブロック683を上に移動させることで点字パターン候補を抽出するものであっても構わない。
Although the case where the
以上、孤立ブロックを、行単位または列単位で移動させる場合の具合例を説明したが、点字マス内で孤立ブロックを移動させる場合も、同様に行なうことができる。 In the above, an example of the case where the isolated block is moved in units of rows or columns has been described, but the case where the isolated block is moved in the braille cell can be similarly performed.
(誤り検出処理の具体例)
図22は、墨字正誤判定部1042による墨字データ列の正誤判定処理の具体例を説明するための図である。図22(a)に示すように、点字データ記憶部103に記憶された点字データ列10が点字900を表わすものであるとする。
(Specific examples of error detection processing)
FIG. 22 is a diagram for explaining a specific example of the correct / incorrect determination process of the ink character data string by the ink character correct /
点字翻訳部1041が、点字データ列900を墨字データ列901に翻訳すると、翻訳結果は「っいんを かいに いく」となる。このように、墨字データ列901にはエラーは発生しない。
When the
次に、墨字正誤判定部1042が、墨字データ列901の正誤判定を行なう。まずはじめに、墨字正誤判定部1042は、墨字データ列901を各品詞に分解する。より具体的には、たとえば、墨字データ列901に対し形態素解析を行なう。そうすると、墨字データ列901は、「っいん」という単語データ902,「を」という単語データ903,「かい」という単語データ904,「に」という単語データ905,「いく」という単語データ906に分解される。
Next, the ink character correct /
ここで、墨字正誤判定部1042は、単語辞書記憶部113内に、単語データ902〜906各々に一致する単語辞書データが存在するか否かを判定する。ここでは、「っいん」という単語データ902が単語辞書記憶部113には存在しないため、墨字正誤判定部1042は、単語データ902はエラーと判定する。
Here, the ink right /
これは、入力された座標情報に基づく点字データ列10に入力誤りが含まれていたが、墨字データ列に翻訳した場合に偶然入力誤りをした点字文字を表す点字データに対応する墨字データが存在したために、翻訳結果にエラーが含まれなかったと考えられる。しかし、この場合であっても、墨字データ列をたとえば形態素解析することで、墨字データ列の正誤を判定する。すなわち、墨字データ列に、単語辞書データと一致しない単語データが存在すれば、その単語データをエラーと判断する。これにより、翻訳結果にエラーが含まれなかった場合でも、点字データ列10には誤りが含まれると判定することができる。
This is because the character data corresponding to the braille data representing the braille character that was accidentally input when the input error was included in the
このようにしてエラーと判断された単語データ902に対応する点字データ列に対して、点字パターン候補が抽出される。
A braille pattern candidate is extracted from the braille data string corresponding to the
たとえば孤立ブロックを移動させることで点字パターン候補を抽出した場合、本実施の形態では、孤立ブロックの移動量を修正候補記憶部106に記憶する。たとえば、点字文字921〜923の点字パターンに基づいて、列孤立ブロック検出処理が行なわれて、検出されたと仮定する。この場合、図22(b)に示すように、点字文字921A〜923Aからなる点字907の点字パターンは、1つの孤立ブロックを1回だけ移動させているため、移動量910は“1”となる。また、点字文字921B〜923Bからなる点字908の点字パターンは、2つの孤立ブロックをそれぞれ1回移動させているため、移動量910は“2”となる。また、点字文字921C〜923Cからなる点字909の点字パターンは、3つの孤立ブロックを合計4回移動させているため、移動量910は“4”となる。
For example, when a braille pattern candidate is extracted by moving an isolated block, the movement amount of the isolated block is stored in the correction
この場合、点字907の点字パターンを含む新たな点字パターンの修正候補点字データ列の尤度指標911は、上述の計算式により“100”と算出される。また、点字908の点字パターンを含む新たな点字パターンの修正候補点字データ列の尤度指標911は、上述の計算式により“50”と算出される。また、点字909の点字パターンを含む新たな点字パターンの修正候補点字データ列の尤度指標は、上述の計算式により“25”と算出される。
In this case, the
なお、点字907、908および909の翻訳結果は、それぞれ「わいん」、「わいろ」、「よん」となる。
The translation results of
図23は、孤立ブロックを移動させることで、点字パターン候補を抽出する具体例を説明するための図である。 FIG. 23 is a diagram for describing a specific example of extracting braille pattern candidates by moving an isolated block.
図23(a)を参照して、点字930に対応する点字データ列を墨字データ列に翻訳すると、「おおにょわふ」となり、上記と同様に、翻訳結果にエラーは含まれない。しかし、「おおにょわふ」という墨字データ列は単語辞書記憶部113に記憶された単語辞書データと一致しない。この場合、たとえば、「にょわ」に対応する点字のパターンの凸部を含む列単位での孤立ブロック931を右に移動させることができる。図23(b)を参照して、孤立ブロック931を右に移動させることで新たに生成された点字データ列を翻訳すると、翻訳結果は「おお」と「さかふ」とになる。しかし、「おお」も「さかふ」も単語辞書データと一致しない。次に、図23(c)を参照して、「さかふ」に対応する点字のパターンの列単位での孤立ブロック931および孤立ブロック932を、左に移動させる。そうすると、翻訳結果は「おおさかふ」となる。「おおさかふ」という墨字データ列は、単語辞書データと一致する。したがって、図23(c)に示した点字930´を示す点字データ列が、修正候補点字データ列として登録される。
Referring to FIG. 23A, when a Braille data string corresponding to
これにより、ユーザは点字データ列10の元となる座標情報を入力する際に入力誤りを起こしたにもかかわらず、偶然墨字データ列に翻訳された場合であっても、それをエラーと判定することができる。したがって、ユーザは、再度座標情報の入力を行なうことなく、正しい点字データ列を容易に得ることができる。
Thereby, even if the user accidentally translates into the ink character data string even though an input error has occurred when inputting the coordinate information that is the source of the
なお、上記実施の形態で説明した点字翻訳装置100の機能が、パーソナルコンピュータやPDA(Personal Digital Assistant)などを用いたコンピュータシステムで実現されてもよい。
Note that the functions of the
この場合においても、図2に示されるハードウェア構成と同様の構成で実現可能である。たとえば、コンピュータシステムに点字翻訳装置100の機能を実現させるためのプログラムと、点字−墨字対応辞書記憶部112および単語辞書記憶部113内の各辞書データとが記録媒体210に記憶され、さらにハードディスク207に転送される。又は、プログラムおよび各辞書データは図示しないネットワークを通じてコンピュータに送信されハードディスク207に記憶されてもよい。
Even in this case, it can be realized by the same configuration as the hardware configuration shown in FIG. For example, a program for causing the computer system to realize the functions of the
このプログラムは、コンピュータに点字翻訳装置100の機能を実現させる複数の命令を含む。これら機能を実現させるのに必要な基本的機能のいくつかはコンピュータ上で動作するオペレーティングシステム(OS)又はサードパーティのプログラム、若しくはコンピュータにインストールされる各種ツールキットのモジュールにより提供される。したがって、このプログラムは、点字翻訳装置100の機能を実現するのに必要な機能全てを必ずしも含まなくてよい。このプログラムは、命令のうち、所望の結果が得られるように制御されたやり方で適切な機能又は「ツール」を呼出すことにより、点字翻訳装置100の制御を実行する命令のみを含んでいればよい。
This program includes a plurality of instructions for causing a computer to realize the functions of the
また、記録媒体210に、点字データ列10が記録され、点字データ列10をドライブ装置206が読み出して上述の機能が実現されてもよい。または、点字データ列10が、図示しないネットワークを通じてコンピュータに送信されハードディスク207に記憶されてもよい。また、点字修正候補出力処理部107が出力する修正候補点字データ列が、ドライブ装置206により記録媒体210に書きこまれてもよい。または、修正候補データ列が図示しないネットワークを通じて他のコンピュータに送信されてもよい。
Further, the
なお、コンピュータシステムの動作は周知であるので、ここではその説明を繰り返さない。 Since the operation of the computer system is well known, the description thereof will not be repeated here.
また、本発明の点字翻訳装置が行なう、点字翻訳方法を、プログラムとして提供することもできる。このようなプログラムは、CD−ROM(Compact Disc-ROM)などの光学媒体や、メモリカードなどのコンピュータ読取り可能な記録媒体にて記録させて、プログラム製品として提供することもできる。また、ネットワークを介したダウンロードによって、プログラムを提供することもできる。 Moreover, the Braille translation method performed by the Braille translation apparatus of the present invention can also be provided as a program. Such a program can be recorded on an optical medium such as a CD-ROM (Compact Disc-ROM) or a computer-readable recording medium such as a memory card and provided as a program product. A program can also be provided by downloading via a network.
提供されるプログラム製品は、ハードディスクなどのプログラム格納部にインストールされて実行される。なお、プログラム製品は、プログラム自体と、プログラムが記録された記録媒体とを含む。 The provided program product is installed in a program storage unit such as a hard disk and executed. The program product includes the program itself and a recording medium on which the program is recorded.
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
10 点字データ列、30 点字マス、31,32,33,34,35,36 点位置、40 墨字表示エリア、51 戻りボタン、52 送りボタン、53 翻訳ボタン、100 点字翻訳装置、101 座標情報入力部、102 点字データ変換部、103 点字データ記憶部、104 検出部、105 候補抽出部、106 修正候補記憶部、107 点字修正候補出力処理部、108 尤度算出部、109 パターン修正部、110 パターン管理部、111 表示部、112 点字−墨字対応辞書記憶部、113 単語辞書記憶部、201 CPU、202 ROM、203 RAM、204 操作部、204.1 電源ボタン、204.2 メニューボタン、204.3 前候補選択ボタン、204.4 次候補選択ボタン、204.5 正解ボタン、206 ドライブ装置、207 ハードディスク、208 バス、210 記録媒体、211 電子ペン、1041 点字翻訳部、1042 墨字正誤判定部、1051 孤立ブロック検出部、1052 孤立ブロック移動部、1053 パターン検索・置換部。
10 Braille data string, 30 Braille cell, 31, 32, 33, 34, 35, 36 Point position, 40 Ink display area, 51 Return button, 52 Feed button, 53 Translation button, 100 Braille translation device, 101 Coordinate information input , 102 Braille data conversion unit, 103 Braille data storage unit, 104 detection unit, 105 candidate extraction unit, 106 correction candidate storage unit, 107 Braille correction candidate output processing unit, 108 likelihood calculation unit, 109 pattern correction unit, 110 pattern Management unit, 111 display unit, 112 Braille-ink character correspondence dictionary storage unit, 113 word dictionary storage unit, 201 CPU, 202 ROM, 203 RAM, 204 operation unit, 204.1 power button, 204.2 menu button, 204. 3 Previous candidate selection button, 204.4 Next candidate selection button, 204.5
Claims (22)
各前記点字データは、対応する点字文字の点字マス内の行列状の点位置に配列される凸部の組み合わせを表現するものであり、
前記複数の点字データに基づいて、点字パターン候補を抽出するための候補抽出手段をさらに備え、
前記点字パターン候補は、前記複数の点字データにより表わされる入力点字文字列の凸部の少なくとも一部を、他の点位置に移動させることにより構成される点字文字列の凸部の組み合わせに対応し、
前記候補抽出手段により抽出された前記点字パターン候補に対応する候補点字データ列の翻訳結果が、予め記憶された辞書データと一致するか否かを検出することにより、前記点字パターン候補が誤りであるか否かを検出するための誤り検出手段と、
前記候補点字データ列のうち、翻訳結果が前記辞書データと一致する候補点字データ列を、前記複数の点字データに対する修正候補点字データ列として出力するための候補出力手段とをさらに備える、点字翻訳装置。 Braille storage means for storing a plurality of input braille data,
Each of the braille data represents a combination of convex portions arranged at matrix-like point positions in the braille cell of the corresponding braille character,
Further comprising candidate extraction means for extracting braille pattern candidates based on the plurality of braille data,
The braille pattern candidate corresponds to a combination of convex portions of the braille character string configured by moving at least a part of the convex portions of the input braille character string represented by the plurality of braille data to another point position. ,
The braille pattern candidate is erroneous by detecting whether or not the translation result of the candidate braille data string corresponding to the braille pattern candidate extracted by the candidate extraction means matches the dictionary data stored in advance. Error detection means for detecting whether or not,
A braille translation device further comprising candidate output means for outputting a candidate braille data string whose translation result matches the dictionary data among the candidate braille data strings as a corrected candidate braille data string for the plurality of braille data .
前記誤り検出手段は、前記候補点字データ列に、前記辞書データに存在しない1以上の点字データが検出された場合に、前記候補点字データ列は誤りであると判定する、請求項1に記載の点字翻訳装置。 The error detection means includes translation means for translating the candidate braille data string into an ink letter data string based on the dictionary data;
2. The error detection unit according to claim 1, wherein when the one or more braille data that does not exist in the dictionary data is detected in the candidate braille data string, the candidate braille data string is determined to be erroneous. Braille translator.
前記正誤判定手段は、前記墨字データ列に、前記辞書データに存在しない1以上の墨字データが検出された場合に、前記墨字データ列は誤りであると判定し、
前記誤り検出手段は、前記墨字正誤判定手段により前記墨字データ列が誤りと判定された場合に、前記候補点字データ列は誤りであると判定する、請求項2に記載の点字翻訳装置。 The error detection means further includes a correctness determination means for determining the correctness of the ink character data string translated by the translation means based on the dictionary data,
The correct / incorrect determination means determines that the ink character data string is incorrect when one or more ink character data not present in the dictionary data is detected in the ink character data string,
3. The Braille translation apparatus according to claim 2, wherein the error detection unit determines that the candidate Braille data sequence is erroneous when the ink character data sequence is determined to be incorrect by the ink character correctness determination unit.
前記入力点字文字列の凸部のうち少なくとも1つの凸部を含む集合体であって、隣接する平坦部に一括して移動可能な集合体である孤立ブロックを検出するための孤立ブロック検出手段と、
前記孤立ブロック単位で、所定の点位置数分だけ凸部を移動させる移動手段とを含み、
前記移動手段により移動された後の点字文字列のパターンを、前記点字パターン候補として抽出する、請求項2または3に記載の点字翻訳装置。 The candidate extracting means includes
An isolated block detecting means for detecting an isolated block which is an aggregate including at least one convex portion of the convex portions of the input braille character string and which can be collectively moved to an adjacent flat portion; ,
Moving means for moving the convex portion by the predetermined number of point positions in units of the isolated blocks,
The braille translation device according to claim 2 or 3, wherein a pattern of the braille character string after being moved by the moving means is extracted as the braille pattern candidate.
前記候補出力手段は、前記候補記憶手段に記憶された前記修正候補点字データ列を出力する、請求項2または3に記載の点字翻訳装置。 Candidate storage means for storing candidate braille data strings that match the dictionary data as the correction candidate braille data strings,
The braille translation device according to claim 2 or 3, wherein the candidate output means outputs the correction candidate braille data string stored in the candidate storage means.
前記尤度算出手段は、前記移動手段による前記孤立ブロックの移動方向、移動量および移動個数の少なくとも一つに基づいて、前記尤度指標を算出し、
前記候補出力手段は、前記修正候補点字データ列を前記尤度指標の高い順にソートして出力する、請求項8に記載の点字翻訳装置。 A likelihood calculating means for calculating a likelihood index for the plurality of braille data strings of the correction candidate braille data string;
The likelihood calculating unit calculates the likelihood index based on at least one of a moving direction, a moving amount, and a moving number of the isolated block by the moving unit,
The braille translation device according to claim 8, wherein the candidate output unit sorts and outputs the correction candidate braille data string in descending order of the likelihood index.
前記パターン管理手段にて管理されている情報の修正および/または新規追加を行なうパターン修正手段とをさらに備え、
前記パターン修正手段は、前記尤度算出手段にて算出された前記尤度指標が所定の閾値以上である場合、前記移動手段により前記孤立ブロックが移動された後の部分パターンを前記修正パターンに、前記移動手段による前記孤立ブロックの移動前の部分パターンを入力誤りパターンに、前記尤度指標を前記尤度指標データにそれぞれ設定して新規追加を行なう、請求項9に記載の点字翻訳装置。 Pattern management means for managing one or more input error patterns, correction patterns for the input error patterns, and likelihood index data of the correction patterns in association with each other;
Pattern correction means for correcting and / or newly adding information managed by the pattern management means,
When the likelihood index calculated by the likelihood calculating unit is equal to or greater than a predetermined threshold, the pattern correcting unit uses the partial pattern after the isolated block is moved by the moving unit as the corrected pattern. The Braille translation apparatus according to claim 9, wherein a new addition is performed by setting a partial pattern before movement of the isolated block by the moving means as an input error pattern and setting the likelihood index as the likelihood index data.
各前記修正パターンは、対応する入力誤りパターンの凸部の位置を、所定の範囲内で他の点位置に移動させた凸部の組み合わせからなるパターンであり、
前記候補抽出手段は、
前記入力点字文字列を構成する部分パターンのうち、前記パターン管理手段に管理されている前記入力誤りパターンと一致する部分パターンを検索するための検索手段と、
検索された部分パターンを、対応する修正パターンに置き換えるための置き換え手段とを含み、
前記置き換え手段による置換後の点字文字列のパターンを、前記点字パターン候補として抽出する、請求項2または3に記載の点字翻訳装置。 Pattern management means for associating and managing one or more input error patterns and a correction pattern for each input error pattern;
Each of the correction patterns is a pattern composed of a combination of convex portions in which the position of the convex portion of the corresponding input error pattern is moved to another point position within a predetermined range,
The candidate extracting means includes
Search means for searching for a partial pattern that matches the input error pattern managed by the pattern management means among the partial patterns constituting the input braille character string;
Replacement means for replacing the searched partial pattern with a corresponding correction pattern,
The braille translation device according to claim 2 or 3, wherein a braille character string pattern after replacement by the replacement means is extracted as the braille pattern candidate.
前記パターン管理手段にて管理されている情報の修正および/または新規追加を行なうパターン修正手段と、
ユーザからの指示に基づき、前記候補出力手段により出力された複数の前記修正候補点字データ列のうち1つを選択するための選択手段とをさらに備え、
前記パターン修正手段は、前記選択手段により選択された修正候補点字データ列に対応する前記修正パターンの前記尤度指標データの値を、所定の値または所定の割合高める、請求項13に記載の点字翻訳装置。 The pattern management means further manages the likelihood index data of each of the correction patterns in association with each other,
Pattern correction means for correcting and / or newly adding information managed by the pattern management means;
Selecting means for selecting one of the plurality of correction candidate braille data strings output by the candidate output means based on an instruction from the user;
14. The Braille according to claim 13, wherein the pattern correction unit increases a value of the likelihood index data of the correction pattern corresponding to the correction candidate Braille data string selected by the selection unit by a predetermined value or a predetermined ratio. Translation device.
前記検索手段により一致する部分パターンが検索されない場合に、孤立ブロックを検出するための孤立ブロック検出手段を含み、
前記孤立ブロックは、前記入力点字文字列の凸部のうち少なくとも1つの凸部を含む集合体であって、隣接する平坦部に一括して移動可能な凸部の集合体であり、
前記孤立ブロック単位で、他の点位置に、所定の点位置数分だけ凸部を移動させる移動手段をさらに含み、
前記移動手段により移動された後の点字文字列のパターンを、前記点字パターン候補としてさらに抽出する、請求項12に記載の点字翻訳装置。 The candidate extracting means includes
Including an isolated block detection means for detecting an isolated block when the matching partial pattern is not searched by the search means;
The isolated block is an aggregate including at least one convex portion among the convex portions of the input braille character string, and is an aggregate of convex portions that can be collectively moved to adjacent flat portions,
A moving means for moving the convex portion by a predetermined number of point positions to another point position in units of the isolated blocks;
The braille translation device according to claim 12, further comprising extracting a pattern of the braille character string after being moved by the moving means as the braille pattern candidate.
入力された座標情報を前記複数の点字データに変換するための変換手段とをさらに備える、請求項1に記載の点字翻訳装置。 Coordinate input means for inputting coordinate information;
The braille translation device according to claim 1, further comprising: conversion means for converting input coordinate information into the plurality of braille data.
前記候補抽出手段は、前記複数の点字データの誤りが検出された場合に、前記点字パターン候補を抽出する、請求項1に記載の点字翻訳装置。 The error detection means further detects an error in the plurality of braille data,
The braille translation device according to claim 1, wherein the candidate extracting unit extracts the braille pattern candidates when an error is detected in the plurality of braille data.
前記複数の点字データの翻訳結果が前記辞書データと一致しない場合に、前記複数の点字データに基づいて、点字パターン候補を抽出するステップと、
抽出された前記点字パターン候補に対応する候補点字データ列の翻訳結果が、前記辞書データと一致するか否かを検出するステップと、
前記候補点字データ列の翻訳結果が前記辞書データと一致した場合に、前記候補点字データ列を、修正候補点字データ列として出力するステップとを備える、点字翻訳方法。 Detecting whether or not the translation result of the plurality of input braille data matches the dictionary data stored in advance;
Extracting a braille pattern candidate based on the plurality of braille data when a translation result of the plurality of braille data does not match the dictionary data;
Detecting whether or not the translation result of the candidate braille data string corresponding to the extracted braille pattern candidate matches the dictionary data;
A Braille translation method comprising: outputting the candidate Braille data string as a correction candidate Braille data string when a translation result of the candidate Braille data string matches the dictionary data.
前記複数の点字データの翻訳結果が前記辞書データと一致しない場合に、前記複数の点字データに基づいて、点字パターン候補を抽出するステップと、
抽出された前記点字パターン候補に対応する候補点字データ列の翻訳結果が、前記辞書データと一致するか否かを検出するステップと、
前記候補点字データ列の翻訳結果が前記辞書データと一致した場合に、前記候補点字データ列を、修正候補点字データ列として出力するステップとをコンピュータに実行させる、点字翻訳プログラム。 Detecting whether or not the translation result of the plurality of input braille data matches the dictionary data stored in advance;
Extracting a braille pattern candidate based on the plurality of braille data when a translation result of the plurality of braille data does not match the dictionary data;
Detecting whether or not the translation result of the candidate braille data string corresponding to the extracted braille pattern candidate matches the dictionary data;
A Braille translation program for causing a computer to execute a step of outputting the candidate Braille data string as a correction candidate Braille data string when a translation result of the candidate Braille data string matches the dictionary data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005218343A JP4632893B2 (en) | 2005-07-28 | 2005-07-28 | Braille translation apparatus, Braille translation method, Braille translation program, and computer-readable recording medium recording the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005218343A JP4632893B2 (en) | 2005-07-28 | 2005-07-28 | Braille translation apparatus, Braille translation method, Braille translation program, and computer-readable recording medium recording the same |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007033964A true JP2007033964A (en) | 2007-02-08 |
JP4632893B2 JP4632893B2 (en) | 2011-02-16 |
Family
ID=37793288
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005218343A Expired - Fee Related JP4632893B2 (en) | 2005-07-28 | 2005-07-28 | Braille translation apparatus, Braille translation method, Braille translation program, and computer-readable recording medium recording the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4632893B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160069210A (en) * | 2014-12-08 | 2016-06-16 | 주식회사 자원메디칼 | Device of braille input and output |
KR101989052B1 (en) * | 2018-10-01 | 2019-06-13 | 주식회사 넥스트이노베이션 | Braille editing method using the error output function and recording medium storing program for executing the same, and computer program stored in recording medium for executing the same |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11305652A (en) * | 1998-04-27 | 1999-11-05 | Fumihiro Nomura | Device and method for transcribing braille into character |
-
2005
- 2005-07-28 JP JP2005218343A patent/JP4632893B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11305652A (en) * | 1998-04-27 | 1999-11-05 | Fumihiro Nomura | Device and method for transcribing braille into character |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20160069210A (en) * | 2014-12-08 | 2016-06-16 | 주식회사 자원메디칼 | Device of braille input and output |
KR101645446B1 (en) | 2014-12-08 | 2016-08-04 | 주식회사 자원메디칼 | Device of braille input and output |
KR101989052B1 (en) * | 2018-10-01 | 2019-06-13 | 주식회사 넥스트이노베이션 | Braille editing method using the error output function and recording medium storing program for executing the same, and computer program stored in recording medium for executing the same |
WO2020071578A1 (en) * | 2018-10-01 | 2020-04-09 | 주식회사 넥스트이노베이션 | Method for editing braille letters by using braille translation error output function, recording medium storing a program for implementing same, and computer program stored in medium to implement same |
US11170182B2 (en) | 2018-10-01 | 2021-11-09 | SENSEE, Inc. | Braille editing method using error output function, recording medium storing program for executing same, and computer program stored in recording medium for executing same |
Also Published As
Publication number | Publication date |
---|---|
JP4632893B2 (en) | 2011-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR0136797B1 (en) | Method & apparatus for processing ideographic characters | |
EP0028533B1 (en) | Method and apparatus for producing ideographic text | |
CN100334529C (en) | Reduced keyboard disambiguating system | |
US10656830B2 (en) | Method, system and keyboard for input of characters | |
US20170206004A1 (en) | Input of characters of a symbol-based written language | |
US20130271377A1 (en) | Data entry system and method of entering data | |
KR101036903B1 (en) | Input-output device for alphabets of selected languages through hangul | |
US5331557A (en) | Audio-video coding system for Chinese characters | |
CN102422245A (en) | Input method editor | |
CN104102338A (en) | Editing apparatus and editing method | |
JPS61240365A (en) | Character printing apparatus having specified keyboard usingcoding system | |
TWI616760B (en) | Method and apparatus for inputting chinese characters | |
US7058900B2 (en) | Chinese language input system based on graphic form | |
JP4632886B2 (en) | Braille translation apparatus, Braille translation method, Braille translation program, and computer-readable recording medium recording the same | |
US20140253457A1 (en) | Inputting Chinese Characters | |
JP4632893B2 (en) | Braille translation apparatus, Braille translation method, Braille translation program, and computer-readable recording medium recording the same | |
US20150185868A1 (en) | Brahmi phonemics based keyboard for providing textual inputs in indian languages | |
KR100702483B1 (en) | Chinese character input system and its method | |
JP4689389B2 (en) | Braille display device, braille display method, program for causing computer to function as braille display device, and computer-readable recording medium storing the program | |
KR102257719B1 (en) | Writing program, and character input device equipped with the program | |
JP2012048585A (en) | Electronic document processor | |
Tanaka-Ishii et al. | Text entry in East Asian languages | |
JP2015055891A (en) | Character recognition result verification device and character reading system | |
JP2004157956A (en) | Numeric keypad type character input device | |
KR20040096295A (en) | Device and method for inputting chinese character for learning using stroke |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070822 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100810 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101004 |
|
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: 20101109 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101116 |
|
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: 20131126 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |