JP5202242B2 - Information processing device - Google Patents
Information processing device Download PDFInfo
- Publication number
- JP5202242B2 JP5202242B2 JP2008294472A JP2008294472A JP5202242B2 JP 5202242 B2 JP5202242 B2 JP 5202242B2 JP 2008294472 A JP2008294472 A JP 2008294472A JP 2008294472 A JP2008294472 A JP 2008294472A JP 5202242 B2 JP5202242 B2 JP 5202242B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- function
- character string
- unit
- executed
- 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.)
- Active
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Machine Translation (AREA)
- Document Processing Apparatus (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
この発明は、情報処理装置に関し、特に、画面に表示された文字列を選択した後に、複数の機能のうち選択文字列に対して適用可能な機能のみを選択することが可能な文字列選択機能を有する情報処理装置に関する。 The present invention relates to an information processing apparatus, and in particular, a character string selection function capable of selecting only a function applicable to a selected character string from among a plurality of functions after selecting a character string displayed on a screen. The present invention relates to an information processing apparatus having
従来から電子辞書やPDAなどの情報検索機能を備えた電子機器では、入力装置として、キーボードの他、タッチパネルや、マウス,ペンなどのポインティングデバイスが用いられている。
また、情報検索などのために画面表示された文字列に対して実行することができる多数の機能が予め実装されている。たとえば、画面表示された文章の中で特定の文字列の意味を調べたい場合、電子辞書に搭載されている辞書データの中から、その特定文字列に対応する意味内容を検索して表示させるような「ジャンプ」機能を備えたものがある。
2. Description of the Related Art Conventionally, in an electronic device having an information search function such as an electronic dictionary or PDA, a touch panel, a pointing device such as a mouse or a pen is used as an input device.
In addition, a large number of functions that can be executed on a character string displayed on the screen for information retrieval or the like are installed in advance. For example, if you want to examine the meaning of a specific character string in the text displayed on the screen, search the semantic content corresponding to the specific character string from the dictionary data installed in the electronic dictionary and display it. Some have a “jump” function.
従来、この「ジャンプ」機能を実行させるためには、まず、「ジャンプ」機能を実行させるための特定キーを押下げることにより実行する機能を確定した後、利用者が所望の文字列の先頭および終了位置を、ペン等で指定する操作をし、最後に機能の実行を意味する決定(実行)キーを押下げる操作をしていた。 Conventionally, in order to execute this “jump” function, first, a function to be executed is determined by depressing a specific key for executing the “jump” function, and then the user starts and ends the desired character string. An operation for designating the end position with a pen or the like was performed, and finally an operation for depressing a decision (execution) key, which means execution of a function, was performed.
また、特許文献1では、利用者が編集操作をしたい所望の文字列を指定する操作をした後、その文字列を反転表示して、固定された編集機能メニューとは別に、反転表示された文字列の近傍にポップアップメニューを表示させ、このポップアップメニューに表示された多数の機能の中から、所望の機能を選択する操作を、利用者に意図的にしてもらうことにより、その機能を実行させる情報処理装置が提案されていた。
Further, in
ところで、電子辞書などでは、上記した「ジャンプ」機能の他に、音声再生機能や、特定文字列を着色表示するマーカー機能など、利用者が利用できる多数の機能が予め用意されている。
ただし、一般的には、その機能ごとに、実行可能な文字列の種類が予め決められており、利用者によって指定された文字列に対して実行可能な機能が制限されている。たとえば、「ジャンプ」機能を実行することのできる文字列は、アルファベットなどの英文字か、ひらがなやカタカナなどの日本語文字に限定され、句読点などの記号を指定した場合には、ジャンプ機能は実行されない。
By the way, in addition to the above-described “jump” function, an electronic dictionary or the like is prepared in advance with a number of functions that can be used by the user, such as a voice playback function and a marker function for coloring and displaying a specific character string.
However, generally, the types of character strings that can be executed are determined in advance for each function, and the functions that can be executed on the character string specified by the user are limited. For example, the character string that can execute the “jump” function is limited to English characters such as alphabets or Japanese characters such as hiragana and katakana. When symbols such as punctuation marks are specified, the jump function is executed. Not.
また、英単語に対する音声再生機能では、実行可能な文字列は、アルファベットからなる1つの英単語に限定され、それ以外の文字列(たとえば、ひらがなを含む文字列)が指定された場合は、音声再生機能は実行されなかった。
しかし、上記したように、先に機能を選択し、その後にその機能を実行させる文字列を指定する場合は、文字列の先頭位置の指定,文字列の範囲選択,および機能実行キーの押下などの多数の操作を指定された順序で行う必要があり、操作が複雑となる場合があった。利用者の操作性向上の観点からは、機能選択の前に、文字列の指定を行う方が望ましいと考えられる。 However, as described above, when selecting a function first and then specifying a character string to execute that function, specifying the start position of the character string, selecting a range of the character string, and pressing the function execution key, etc. It is necessary to perform a large number of operations in the specified order, and the operations may be complicated. From the viewpoint of improving the operability for the user, it is preferable to specify a character string before selecting a function.
しかし、特許文献1に記載のものでは、文字列の指定を機能選択の前に行うが、ポップアップメニューに表示された機能は予め設定されたすべての機能を表示しているので、指定された文字列に対して実行可能な機能が選択されるとは限らない。
すなわち、ポップアップメニューには、指定された文字列に対して実行することができない機能も表示されており、利用者がそのような実行不可能な機能を誤って選択してしまう場合もあり、利用者にとって操作性が悪い場合もある。
However, in the thing of
In other words, the pop-up menu also displays functions that cannot be executed for the specified character string, and the user may accidentally select such an inexecutable function. In some cases, the operability is bad for the person.
また、利用者が、アルファベット,ひらがなあるいは記号などの多数の文字種を含む文字列を指定した状態で、その後に所望の機能を選択する操作をしても、対象外の文字種を含むためにその機能を実行できない場合があり、不慣れな利用者にとってはなぜ実行できないのかわからず、また文字列の選択をやり直す必要があった。 In addition, even if the user specifies a character string that includes a large number of character types such as alphabets, hiragana characters, and symbols, and then performs an operation of selecting a desired function, the function is included to include the non-target character types. May not be able to be executed, and unfamiliar users do not know why it cannot be executed, and it is necessary to re-select the character string.
そこで、この発明は、以上のような事情を考慮してなされたものであり、所望の文字列を先に選択した後に、その選択文字列に対して実行可能な機能を自動的に選択するようにして、利用者の望む機能を実行させるときの操作性を向上させることのできる文字列選択機能を有する情報処理装置を提供することを課題とする。 Therefore, the present invention has been made in consideration of the above circumstances, and after selecting a desired character string first, a function executable on the selected character string is automatically selected. Thus, an object of the present invention is to provide an information processing apparatus having a character string selection function capable of improving operability when executing a function desired by a user.
この発明は、文字列を含むコンテンツ情報を表示する文字列表示部と、実行可能な機能と、その機能ごとに実行対象となる文字の文字種とを対応付けた文字種機能対応情報を記憶した記憶部と、前記文字列表示部に表示されたコンテンツ情報の中で、所望の文字列を選択させる文字選択部と、前記選択された文字列の先頭の文字の文字種を取得する文字種取得部と、前記文字選択部によって文字列を選択させた後、前記取得された文字種と対応付けられた実行可能な機能を、前記文字種機能対応情報から取得する機能取得部と、前記取得された実行可能な機能ごとに、前記文字選択部によって選択された選択文字列の中から、その機能を実行する有効文字列を決定する有効文字列決定部と、前記取得された実行可能な機能のうち、実行すべき機能を選択させる機能選択部とを備えた情報処理装置を提供するものである。 The present invention relates to a storage unit that stores character type function correspondence information in which a character string display unit that displays content information including a character string, an executable function, and a character type of a character to be executed for each function are associated with each other. And a character selection unit that selects a desired character string in the content information displayed on the character string display unit, a character type acquisition unit that acquires a character type of the first character of the selected character string, and A function acquisition unit that acquires an executable function associated with the acquired character type from the character type function correspondence information after selecting a character string by the character selection unit, and for each acquired executable function Among the selected character strings selected by the character selection unit, an effective character string determination unit that determines an effective character string for executing the function, and among the acquired executable functions There is provided an information processing apparatus that includes a function selection unit for selecting the capacity.
これによれば、選択文字列を選択した後に、実行可能な機能を取得し、さらに、その機能を実行する有効文字列を決定しているので、利用者の操作が容易かつわかりやすく、誤操作を少なくでき、利用者の操作性を向上させることができる。 According to this, after selecting a selected character string, an executable function is acquired, and further, an effective character string for executing the function is determined. It can be reduced and the operability for the user can be improved.
また、前記機能取得部によって取得された実行可能な機能の項目を表示した機能選択画面表示部をさらに備え、前記文字列表示部と前記機能選択画面表示部とを、1つの表示装置内の異なる画面、または異なる表示装置のそれぞれの画面に表示するようにしてもよい。これによれば、利用者は、実行可能な機能を容易に確認できる。
ここで、前記機能選択部は、前記機能選択画面表示部に表示された項目の中から、所望の実行すべき機能を選択させるようにする。
さらに、前記文字選択部によって選択された文字列は、選択されなかった文字列とは異なる表示形態で、前記文字列表示部に表示されるようにしてもよい。
In addition, a function selection screen display unit that displays items of executable functions acquired by the function acquisition unit are further provided, and the character string display unit and the function selection screen display unit are different in one display device. You may make it display on a screen or each screen of a different display apparatus. According to this, the user can easily confirm the executable functions.
Here, the function selection unit causes a desired function to be executed to be selected from items displayed on the function selection screen display unit.
Furthermore, the character string selected by the character selection unit may be displayed on the character string display unit in a display form different from that of the character string not selected.
また、前記文字種取得部は、取得された文字種が空白であった場合、前記文字選択部によって選択された文字列の中で、最初に出現する空白でない文字の文字種を取得するようにしてもよい。これにより、誤操作により、先頭に空白文字を含む文字列を選択してしまった場合でも、利用者の意図した機能が実行できる。 The character type acquisition unit may acquire the character type of the first non-blank character that appears in the character string selected by the character selection unit when the acquired character type is a blank. . Thereby, even when a character string including a blank character at the head is selected due to an erroneous operation, the function intended by the user can be executed.
さらに、前記機能選択部によって選択された実行すべき機能を、前記有効文字列決定部によって決定されたその実行すべき機能の有効文字列に対して実行させる機能実行部をさらに備えたことを特徴とする。 And a function execution unit that causes the function to be executed selected by the function selection unit to be executed on the effective character string of the function to be executed determined by the effective character string determination unit. And
また、前記記憶部に記憶される実行可能な機能には、たとえば、音声再生機能,Sジャンプ機能,読み上げ機能,およびマーカー機能が含まれる。
ここで、前記記憶部に記憶される文字種には、アルファベット,日本語文字が含まれ、前記実行可能な機能ごとに、1または複数個の実行対象となる文字の文字種が予め設定されている。
The executable functions stored in the storage unit include, for example, a voice reproduction function, an S jump function, a reading function, and a marker function.
Here, the character types stored in the storage unit include alphabets and Japanese characters, and one or a plurality of character types to be executed are preset for each of the executable functions.
また、前記有効文字列決定部が決定する有効文字列は、前記選択文字列の中に含まれる1つまたは複数個の文字列である。
ここで、前記決定された有効文字列が1つの場合、その有効文字列は先頭文字を含む文字列としてもよい。
さらに、前記決定された有効文字列が複数個である場合、その複数個の有効文字列の項目を選択可能に表示させた有効文字列選択画面表示部をさらに備え、1つの表示装置内の他の表示画面とは異なる画面に有効文字列選択画面表示部を表示するようにしてもよい。
The effective character string determined by the effective character string determination unit is one or more character strings included in the selected character string.
Here, when the determined effective character string is one, the effective character string may be a character string including the first character.
Further, when there are a plurality of determined effective character strings, the display device further includes an effective character string selection screen display unit that displays the items of the plurality of effective character strings in a selectable manner. The valid character string selection screen display unit may be displayed on a screen different from the display screen.
また、この発明は、文字列を含むコンテンツ情報を表示する文字列表示手段と、実行可能な機能と、その機能ごとに実行対象となる文字の文字種とを対応付けた文字種機能対応情報を記憶した記憶手段と、前記文字列表示手段に表示されたコンテンツ情報の中で、所望の文字列を選択させる文字選択手段と、前記選択された文字列の先頭の文字の文字種を取得する文字種取得手段と、前記文字選択手段によって文字列を選択させた後、前記取得された文字種と対応付けられた実行可能な機能を、前記文字種機能対応情報から取得する機能取得手段と、前記取得された実行可能な機能ごとに、前記文字選択手段によって選択された選択文字列の中から、その機能を実行する有効文字列を決定する有効文字列決定手段と、前記取得された実行可能な機能のうち、実行すべき機能を選択させる機能選択手段として、コンピュータを機能させるための情報処理装置のプログラムを提供するものである。 The present invention also stores character type function correspondence information in which character string display means for displaying content information including character strings, executable functions, and character types of characters to be executed for each function are associated with each other. Storage means; character selection means for selecting a desired character string from the content information displayed on the character string display means; and character type acquisition means for acquiring the character type of the first character of the selected character string. A function acquisition unit that acquires an executable function associated with the acquired character type from the character type function correspondence information after the character selection unit selects a character string; and the acquired executable type Effective character string determining means for determining an effective character string for executing the function from the selected character string selected by the character selecting means for each function, and the acquired executable Among the functions, as a function selecting means for selecting a function to be performed, there is provided a program of an information processing apparatus for causing a computer to function.
この発明は、文字列を含むコンテンツ情報を表示する文字列表示部と、機能およびその機能ごとに実行対象となる文字の文字種とを対応付けた文字種機能対応情報を記憶した記憶部と、文字選択部と、文字取得部と、機能取得部と、有効文字列決定部と、機能実行部とを備えた情報処理装置の文字列および機能の選択方法であって、前記文字選択部が、前記文字列表示部に表示されたコンテンツ情報の中で、所望の文字列を選択し、前記文字種取得部が、前記選択された文字列の先頭の文字の文字種を取得し、前記文字選択部が文字列を選択した後、前記取得された文字種と対応付けられた実行可能な機能を、前記機能取得部が、前記文字種機能対応情報から取得し、前記有効文字列決定部が、前記取得された実行可能な機能ごとに、前記選択された選択文字列の中から、その機能を実行する有効文字列を決定し、前記機能選択部が、前記取得された実行可能な機能のうち、実行すべき機能を選択することを特徴とする情報処理装置の文字列および機能の選択方法を提供するものである。 The present invention includes a character string display unit that displays content information including a character string, a storage unit that stores character type function correspondence information in which a function and a character type of a character to be executed for each function are associated, and a character selection Section, a character acquisition unit, a function acquisition unit, an effective character string determination unit, and a function execution unit. A desired character string is selected from the content information displayed on the column display unit, the character type acquisition unit acquires the character type of the first character of the selected character string, and the character selection unit selects the character string. The function acquisition unit acquires the executable function associated with the acquired character type from the character type function correspondence information, and the valid character string determination unit acquires the executable function acquired. For each function, An effective character string for executing the function is determined from the selected character string, and the function selecting unit selects a function to be executed from the acquired executable functions. A method for selecting a character string and a function of an information processing apparatus is provided.
この発明によれば、所望の文字列を選択した後に、その選択文字列に対して実行可能な機能を選択するようにしているので、利用者にとって操作が容易かつわかりやすく、誤操作を少なくすることができ、利用者の操作性を向上させることができる。 According to the present invention, after a desired character string is selected, a function that can be executed on the selected character string is selected, so that the operation is easy and understandable for the user, and erroneous operations are reduced. It is possible to improve user operability.
以下、図面を使用して本発明の実施の形態を説明する。なお、以下の実施例の記載によって、この発明が限定されるものではない。
<この発明の情報処理装置の構成>
図1に、この発明の情報処理装置の一実施例の構成ブロック図を示す。
図1において、この発明の情報処理装置は、主として、入力部10,表示部20,記憶部30,文字種取得部40,有効文字列決定部50,機能取得部60,機能実行部70とから構成される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, this invention is not limited by description of the following examples.
<Configuration of Information Processing Apparatus of the Invention>
FIG. 1 is a block diagram showing the configuration of an embodiment of an information processing apparatus according to the present invention.
In FIG. 1, the information processing apparatus of the present invention mainly comprises an
ここで、情報処理装置は、CPU,ROM,RAM,I/Oコントローラ,タイマーなどからなるマイクロコンピュータによって実現され、各機能ブロックの機能は、CPUが、ROM等に記憶された制御プログラムに基づいて、種々のハードウェアを動作させることにより実行される。CPUは、図1の各機能ブロックを動作させる制御部に相当し、図4などに示したフローチャートの処理を実行させる。
また、この情報処理装置は、たとえば、電子辞書,PDA,携帯電話,ノート型パソコンなどの電子機器に組込まれて用いられる。
Here, the information processing apparatus is realized by a microcomputer including a CPU, a ROM, a RAM, an I / O controller, a timer, and the like, and the function of each functional block is based on a control program stored in the ROM or the like. It is executed by operating various hardware. The CPU corresponds to a control unit that operates each functional block of FIG. 1, and executes the processing of the flowchart shown in FIG.
The information processing apparatus is used by being incorporated in an electronic device such as an electronic dictionary, a PDA, a mobile phone, and a notebook personal computer.
入力部10は、文字,図形,記号などの入力や、機能選択などを行う部分であり、キーボード,もしくは、マウス,ペンなどのポインティングデバイスが用いられる。
また、入力機能的な観点から見ると、この発明の入力部10は、表示されたコンテンツ情報の中から、所望の文字列を選択させる文字選択部11と、機能取得部60によって取得された実行可能な機能のうち、実行すべき機能を選択させる機能選択部12とを備える。
文字選択部11と機能選択部12のどちらの機能も、キーボードやペン等を用いて実行される。たとえば、文字選択部11は、図3(a)の表示画面101に表示された文字列のうち、ペンを用いて、「abc」の部分を選択する機能ブロックである。選択された文字列「abc」は、選択文字列33として、記憶部30に記憶される。
また、機能選択部12は、図3(b)に示した「機能選択画面102」に表示された機能項目の中から、たとえばペンを用いて、所望の実行すべき機能の項目(Sジャンプ機能など)を選択させる部分である。
The
From the viewpoint of the input function, the
Both functions of the
Further, the
表示部20は、文字列,図形,記号などを表示する部分であり、1つの表示画面あるいは複数の表示画面を備えてもよい。
また、表示部20は、表示画面に重ねてタッチパネルを配置し、ペン等で表示画面上の接触した位置に表示された情報が入力されるようにする。
また、表示機能の観点から見ると、この発明の表示部20は、文字列を含むコンテンツ情報を表示する文字列表示部21と、実行可能な機能の項目を表示する機能選択画面表示部22とを備える。
The display unit 20 is a part that displays character strings, figures, symbols, and the like, and may include one display screen or a plurality of display screens.
In addition, the display unit 20 arranges a touch panel on the display screen so that information displayed at a touched position on the display screen with a pen or the like is input.
Further, from the viewpoint of the display function, the display unit 20 of the present invention includes a character
たとえば、図3(a)の符号101が文字列表示部21であり、図3(b)の符号102が機能選択画面表示部22に相当する。機能選択画面102は、常に画面上に表示されるのではなく、ユーザの操作性向上の観点からは、文字列表示部に表示されたコンテンツ情報の中で、所望の文字列を選択した後に、自動的に表示するようにすることが好ましい。
また、機能選択画面102に表示される機能の項目は、常に多数の項目を表示するのではなく、選択された文字列の種類(文字種)に対応させて、実行可能な機能項目が選択可能なように表示することが好ましい。
For example,
In addition, the function items displayed on the
また、機能選択画面表示部22に表示される項目は、機能取得部60によって取得された「実行可能な機能」の項目であり、表示される内容は、予め定められたその機能の名称を用いればよい。
文字列表示部21に表示されるコンテンツ情報には、文字列の他に、記号,図形,写真など種々の情報が含まれるが、この発明では、主として文字列からなる情報が表示されるものとする。
また、2つの表示部(21,22)は、LCDやCRTなどの1つの表示装置内の同じ画面内に表示してもよいが、2つの表示部を明確に区別して利用者にわかりやすくするために、その表示装置内の異なる画面(ウィンドウ)に表示してもよい。あるいは、この発明の情報処理装置に、2つの異なる表示装置を備えている場合は、文字列表示部21と機能選択画面表示部22とを、その表示装置のそれぞれの画面に別々に表示してもよい。
Further, the item displayed on the function selection
The content information displayed on the character
In addition, the two display units (21, 22) may be displayed on the same screen in one display device such as an LCD or CRT, but the two display units are clearly distinguished for easy understanding by the user. Therefore, it may be displayed on a different screen (window) in the display device. Alternatively, when the information processing apparatus of the present invention includes two different display devices, the character
さらに、文字選択部によって選択された選択文字列は、利用者が視覚的に見やすくするために、選択されなかった文字列とは異なる表示形態で、表示させることが好ましい。たとえば、反転表示させればよい。
また、後述するように、有効文字列決定部によって決定された有効文字列が複数個の場合、その複数個の有効文字列の項目を選択可能に表示させた有効文字列選択画面表示部を設ける。
この表示部は、たとえば図12(d)に示す符号103の画面であり、1つの表示装置内の他の表示画面(101,102)とは異なる画面(ウィンドウ)に表示する。
Further, the selected character string selected by the character selection unit is preferably displayed in a display form different from that of the character string that was not selected, in order to make it easier for the user to see visually. For example, the display may be reversed.
Further, as will be described later, when there are a plurality of effective character strings determined by the effective character string determining unit, an effective character string selection screen display unit is provided that displays the items of the plurality of effective character strings in a selectable manner. .
This display unit is, for example, a screen denoted by
文字種取得部40は、文字選択部12によって選択された文字列の文字の種類(文字種)を取得する部分である。ここで、文字種とは、文字の種類であり、たとえば、アルファベット(英字),日本語文字(漢字,ひらがな,カタカナ),記号,他言語文字などを意味する。
たとえば、図3(a)の表示画面状態で、「abc」が選択されたとすると、その文字の文字コードの値を識別することにより、選択された文字列の文字種は、アルファベットであると判断される。取得された文字種の情報は、実行可能な機能を取得するときに用いられる。
The character
For example, if “abc” is selected in the display screen state of FIG. 3A, the character type of the selected character string is determined to be alphabet by identifying the character code value of the character. The The acquired character type information is used when acquiring an executable function.
また、選択された文字列の中に、複数の文字種が含まれる場合があるが、この発明では、原則として、その選択された文字列の先頭の文字の文字種を取得するようにする。
たとえば、図3(a)において「def あいうえお」が選択されたとすると、先頭の文字「d」の文字種である「アルファベット」が、先頭文字種35として取得される。
また、「あいうえお gh」が選択されたとすると、先頭の文字「あ」の文字種である「ひらがな」が取得される。
In addition, there are cases where a plurality of character types are included in the selected character string, but in principle, the present invention acquires the character type of the first character of the selected character string.
For example, if “def aiueo” is selected in FIG. 3A, “alphabet” that is the character type of the first character “d” is acquired as the
If “Aiueo gh” is selected, “Hiragana”, which is the character type of the first character “A”, is acquired.
有効文字列決定部50は、文字選択部11によって選択された選択文字列を解析する部分であり、機能取得部によって選択候補として取得される実行可能な機能を実行させる対象の有効文字列を決定する部分である。ここで、取得された実行可能な機能ごとに、その機能を実行する有効文字列が決定される。
たとえば、選択された文字列が「abc」であった場合は、その文字種はアルファベットのみであると特定され、ある特定の機能を実行させる有効文字列は「abc」と決定される。
また、選択された文字列が、「def あいう」の場合は、この選択文字列には、アルファベットとひらがなの2つの文字種が含まれるので、有効な文字列としてどちらを取得すべきかを決定する必要がある。この場合、「def」のみを有効文字列とするか、「あいう」のみを有効文字列とするか、「def」と「あいう」の2つを有効文字列とするか、あるいは「def あいう」全体を有効文字列とすべきかを決定する必要がある。決定された有効文字列によって、実行可能な機能が異なってくるからである。
有効文字列決定部によって決定される有効文字列は、選択文字列の中に含まれる1つまたは複数個の文字列である。
また、決定された有効文字列が1つの場合は、先頭文字を含む文字列を有効文字列としてもよい。
The valid character
For example, if the selected character string is “abc”, it is determined that the character type is only the alphabet, and the valid character string for executing a specific function is determined as “abc”.
When the selected character string is “def”, the selected character string includes two character types, alphabet and hiragana, so it is necessary to determine which one should be acquired as a valid character string. There is. In this case, only “def” is a valid character string, only “a” is a valid character string, “def” and “a” are two valid character strings, or “def is said” It is necessary to decide whether or not the whole should be a valid character string. This is because the executable function varies depending on the determined effective character string.
The effective character string determined by the effective character string determination unit is one or more character strings included in the selected character string.
In addition, when there is one determined effective character string, a character string including the first character may be used as the effective character string.
たとえば、選択された文字列がアルファベットから始まる文字列「def あいうえお」の場合は、音声再生機能,Sジャンプ機能,読み上げ機能,マーカー機能の4つの機能が実行可能である。ここで、「音声再生機能」がアルファベットのみについて実行される機能であるとすれば、実行可能な有効文字列としては、「def」であると決定される。この場合、選択文字列の中の「あいうえお」は有効文字列からは除外される。
また、「マーカー機能」が実行可能な有効文字列としては、「def あいうえお」全体であると決定される。
電子辞書などにおいて実行可能な機能は、上記4つの機能に限られるものではなく、多数の機能がある。ただし、この発明の以下の実施例では、説明のために、上記4つの機能に注目するものとする。
For example, when the selected character string is a character string “def aiueo” starting with an alphabet, four functions of a voice reproduction function, an S jump function, a reading function, and a marker function can be executed. Here, if the “sound reproduction function” is a function that is executed only for the alphabet, the effective character string that can be executed is determined to be “def”. In this case, “aiueo” in the selected character string is excluded from the valid character string.
Also, the effective character string that can be executed by the “marker function” is determined to be “def aiueo” as a whole.
Functions that can be executed in an electronic dictionary or the like are not limited to the above four functions, and there are many functions. However, in the following embodiments of the present invention, attention is paid to the above four functions for explanation.
機能取得部60は、文字種取得部40によって取得された文字種に基づいて、その文字種と対応づけられた実行可能な機能を取得する部分である。
たとえば、文字種として「アルファベット」が取得されたとすると、「音声再生」,「Sジャンプ」,「読み上げ」,「マーカー」の4つの機能が実行可能な機能として取得される。
また、「ひらがな」が文字種として取得された場合は、「Sジャンプ」と「マーカー」の2つの機能が実行可能な機能として取得され、「音声再生」と「読み上げ」の機能は取得されず、実行されない機能となる。
この機能の取得は、たとえば、図2に示すような文字種機能対応情報32を参照することにより行われる。また、機能の取得処理は、文字選択部によって文字列を選択させた後に行う。
The
For example, if “alphabet” is acquired as a character type, four functions of “voice reproduction”, “S jump”, “read out”, and “marker” are acquired as executable functions.
In addition, when “Hiragana” is acquired as a character type, two functions of “S jump” and “marker” are acquired as executable functions, and “sound playback” and “speech” functions are not acquired. The function is not executed.
The acquisition of this function is performed, for example, by referring to the character type
図2は、4つの機能について有効な文字種を示した文字種機能対応情報32の一実施例の説明図である。文字種機能対応情報とは、実行可能な機能と、その機能ごとに実行対象となる文字の文字種とを対応付けた情報である。
図2において、たとえば、有効な文字列として選択された部分の文字種が「英字(アルファベット)」である場合、取得可能な機能としては、音声再生機能,Sジャンプ機能,読み上げ機能,およびマーカー機能であることがわかる。
また、有効文字列の文字種が「カタカナ」である場合、取得可能な機能としては、Sジャンプ機能とマーカー機能の2つの機能である。
FIG. 2 is an explanatory diagram of an embodiment of the character type
In FIG. 2, for example, when the character type of the portion selected as a valid character string is “English (alphabet),” the acquirable functions include an audio playback function, an S jump function, a reading function, and a marker function. I know that there is.
Further, when the character type of the effective character string is “Katakana”, two functions that can be acquired are the S jump function and the marker function.
この発明において、「音声再生機能」とは、選択されたアルファベット(英字)のみからなる文字列であって1つの英単語の読みを音声で出力する機能である。
「Sジャンプ機能」とは、選択された英字のみからなる1つの単語、あるいは選択された日本語文字列(たとえば、漢字,ひらがな,カタカナを含む文字列)を見出し語として、搭載された国語辞典などからその見出し語に対応する情報を検索する機能である。
なお、選択される文字列は日本語の文字に限らず、表示している文字列であれば他の言語でも選択可能であり、その場合は、その言語に応じたコンテンツの情報を検索可能である。
In the present invention, the “voice reproduction function” is a function of outputting a single English word reading by voice, which is a character string composed only of a selected alphabet (English letter).
The “S jump function” is a national dictionary installed using one word consisting of only selected English letters or a selected Japanese character string (for example, a character string including kanji, hiragana, and katakana) as a headword. This is a function for searching information corresponding to the headword from the above.
Note that the selected character string is not limited to Japanese characters, and any other language can be selected as long as it is displayed. In that case, the content information corresponding to the language can be searched. is there.
「読み上げ機能」とは、選択された複数の英単語からなる文章を、合成音声で出力する機能である。
「マーカー機能」とは、選択されたすべての文字や記号の部分の背景を、その文字表示色とは異なる色で着色表示する機能である。
なお、電子辞書などで英語以外の言語(中国語など)の辞書を搭載している場合は、英単語や英文のみならず、他言語の単語や文章についても、実行可能な機能が予め決定されており、選択された文字列に対応して特定の機能を実行するものとする。
以下の実施例では、英字と日本語文字に注目して説明する。
The “reading function” is a function for outputting a text composed of a plurality of selected English words with synthesized speech.
The “marker function” is a function that displays the background of all selected characters and symbol parts in a color different from the character display color.
If a dictionary other than English (such as Chinese) is installed in an electronic dictionary, etc., executable functions are determined in advance for words and sentences in other languages as well as English words and English sentences. It is assumed that a specific function is executed corresponding to the selected character string.
In the following embodiments, explanation will be made by paying attention to English characters and Japanese characters.
機能選択部60で取得される機能は、1つの場合もあれば、複数の場合もある。たとえば、1つの機能の場合は、選択された文字列に対して実行可能な機能がその1つに決定されるので、その後に決定キーなどが押された場合は、すぐにその機能を実行してもよい。
There may be one or more functions acquired by the
一方、複数の機能が実行可能な場合は、利用者によって文字列が選択された直後に、自動的に、この複数の機能の項目名を含む機能選択画面102を表示部20に表示させる(図3(b)参照)。
この機能選択画面102を見た利用者は、自ら選択した文字列に対して、実行可能な機能がどれであるかがわかる。
その後、利用者が、表示された複数の機能のうち実行させたい機能の表示部分をペン等でタッチ入力すれば、そのタッチした機能を実行するようにする。
選択文字列に対して、実行できない機能がある場合は、その機能の項目を機能表示画面102に表示させないか、あるいは、図3(c)に示すように、選択できないことがわかるような表示(ぬりつぶし、あるいは薄字表示など)をすればよい。
On the other hand, when a plurality of functions can be executed, immediately after the character string is selected by the user, the
The user who sees the
Thereafter, when the user touches and inputs a display portion of a function to be executed among the displayed functions with a pen or the like, the touched function is executed.
When there is a function that cannot be executed with respect to the selected character string, the function item is not displayed on the
機能実行部70は、利用者によって選択された機能を実行する部分である。
具体的には、機能選択部によって選択された実行すべき機能を、有効文字列決定部によって決定されたその実行すべき機能の有効文字列に対して実行させる部分である。
たとえば、図3(b)に示された選択画面102の中で、「Sジャンプ」が利用者によって選択入力されたとすると、選択文字列のうち、Sジャンプ機能を実行できる有効文字列に対して、Sジャンプ機能を実行する。有効文字列が「abc」であったとすると、「abc」を見出し語として辞書検索が行われ、「abc」に対応して記憶されていた情報が表示される。
The
Specifically, this is a part for executing the function to be executed selected by the function selection unit on the effective character string of the function to be executed determined by the effective character string determination unit.
For example, assuming that “S jump” is selected and input by the user in the
記憶部30は、各種情報を記憶する部分であり、RAM,ROM,フラッシュメモリなどの半導体メモリ,ハードディスクなどの記憶装置,CD−Rなどの記憶媒体を用いることができる。
記憶部30には、たとえば、文字種機能対応情報32,選択文字列33,有効文字列34,先頭文字種35,機能選択解析情報36,およびコンテンツ情報37などが記憶される。
ここで、機能選択解析情報36とは、たとえば、図10に示したような情報であり、選択された文字列に対して実行可能な機能を取得し、有効文字列を決定するときに利用される情報である。コンテンツ情報37とは、国語辞典や英和辞書などに含まれている情報である。
また、記憶部30には、この情報処理装置の各機能ブロックを実現するように、コンピュータを機能させる制御プログラムが記憶される。この制御プログラムは、各種記憶装置や記憶媒体に記憶されて提供されるか、あるいはネットワークを介してダウンロードすることにより提供される。
The storage unit 30 is a part that stores various information, and a semiconductor memory such as a RAM, a ROM, and a flash memory, a storage device such as a hard disk, and a storage medium such as a CD-R can be used.
The storage unit 30 stores, for example, character type
Here, the function selection analysis information 36 is, for example, information as shown in FIG. 10, and is used when acquiring an executable function for a selected character string and determining an effective character string. Information. The
In addition, the storage unit 30 stores a control program that causes the computer to function so as to realize each functional block of the information processing apparatus. This control program is provided by being stored in various storage devices or storage media, or provided by downloading via a network.
<文字列および機能選択処理の概略説明>
図3に、この発明の文字列選択と機能選択の一実施例の概略説明図を示す。
図3(a)は、表示部20の表示画面101に、あるコンテンツ情報37の文字列「abc def あいうえお gh」が表示されている状態を示している。
この状態で利用者は、ペン等を用いて表示画面101上をなぞる操作(文字列選択操作)をすることにより、文字を選択する。選択された文字は、たとえば反転表示をすることにより、他の選択されなかった文字と区別して表示される。
図3(b),図3(c)は、このような文字列選択操作をすることにより、選択文字列を区別表示した例を示している。
図3(b)は、「abc def あいうえお」が選択された場合を示しており、図3(c)は、「あいうえお gh」が選択された場合を示している。
<Overview of character string and function selection processing>
FIG. 3 is a schematic explanatory diagram of one embodiment of character string selection and function selection according to the present invention.
FIG. 3A shows a state in which a character string “abc def aiou gh” of
In this state, the user selects a character by performing an operation (character string selection operation) of tracing on the
FIG. 3B and FIG. 3C show examples in which the selected character strings are distinguished and displayed by performing such a character string selection operation.
FIG. 3B shows a case where “abc def Aiueo” is selected, and FIG. 3C shows a case where “Aiueo gh” is selected.
図3(b)において、たとえば利用者が、表示画面をなぞって、「a」から「お」までの文字列を選択した後、ペンを画面上から離すと、文字列解析処理が行われる。このとき、選択された文字列の先頭の文字の文字種を識別して、有効文字列が決定され、実行可能な機能が取得され、機能選択画面102が表示される。
図3(b)の場合、選択文字列の先頭文字「a」がアルファベット(英字)であるので、図2に示した文字種機能対応情報32から実行可能な機能が4つあると判断され、この4つの機能の項目名(機能項目)を、機能選択画面102に表示させる。機能選択画面102は、たとえば表示画面101の中の選択文字列がかくれてしまわないように、別のウインドウとして他の表示領域に表示すればよい。
利用者が、この機能選択画面102を見て、4つの機能項目のうち実行したい機能の表示部分をペン等でタッチすると、そのタッチした機能が、有効文字列に対して実行される。
In FIG. 3B, for example, when the user traces the display screen and selects a character string from “a” to “O” and then releases the pen from the screen, a character string analysis process is performed. At this time, the character type of the first character of the selected character string is identified, an effective character string is determined, an executable function is acquired, and the
In the case of FIG. 3B, since the first character “a” of the selected character string is an alphabet (English letter), it is determined that there are four functions that can be executed from the character type
When the user looks at this
図3(b)の場合において、実行可能な機能が取得されたときに、その各機能についての有効文字列も決定されている。たとえば、「音声再生機能」が実行可能な機能として取得されたとき、この機能を実行する対象の有効文字列としては、選択文字列「abc def あいうえお」のうち、「abc」のみが有効であると決定されている。「Sジャンプ機能」も同様に、「abc」のみが有効文字列となる。
また、「読み上げ機能」が取得されたとき、この機能を実行する対象として、「abc def」が有効文字列となる。さらに、「マーカー機能」の場合は、選択された文字列全体「abc def あいうえお」が有効文字列となる。すなわち、実行可能な機能によって、実行対象となる決定有効文字列は異なる。
その後、ユーザによって実行すべき機能がタッチ入力で指示されたとき、その指示された機能に対応づけられた決定有効文字列に対して、その機能が実行される。
In the case of FIG. 3B, when an executable function is acquired, an effective character string for each function is also determined. For example, when the “voice playback function” is acquired as an executable function, only “abc” is valid among the selected character strings “abc def aiueo” as a target effective character string for executing this function. It has been determined. Similarly, for “S jump function”, only “abc” is a valid character string.
Further, when the “reading function” is acquired, “abc def” becomes an effective character string as a target for executing this function. Further, in the case of the “marker function”, the entire selected character string “abc def Aiueo” becomes an effective character string. In other words, the effective decision character string to be executed differs depending on the executable function.
Thereafter, when a function to be executed by the user is instructed by touch input, the function is executed for the determined effective character string associated with the instructed function.
図3(c)の場合は、選択文字列「あいうえお gh」に対して、先頭文字「あ」の文字種が「ひらがな」なので、文字種機能対応情報32を参照することにより、「Sジャンプ機能」と「マーカー機能」の2つの機能のみが実行可能な機能として取得される。
その後、機能選択画面102には、「Sジャンプ」と「マーカー」の2つの機能のみが選択できるように表示される。
また、実行可能な機能として取得された「Sジャンプ機能」では、実行対象となる有効文字列としては、選択文字列「あいうえお gh」のうち、「あいうえお」の部分が、有効文字列と決定される。
また、「マーカー機能」の場合は、選択文字列の全体「あいうえお gh」が、有効文字列と決定される。この場合、先頭位置にない「gh」のみが有効文字列として選択されることはなく、音声再生機能と読み上げ機能は選択できないようにされる。
In the case of FIG. 3C, since the character type of the first character “A” is “Hiragana” for the selected character string “Aiueo gh”, “S jump function” is obtained by referring to the character type
Thereafter, the
In addition, in the “S jump function” acquired as an executable function, the portion of “Aiueo” in the selected character string “Aiueo gh” is determined as a valid character string as a valid character string to be executed. The
In the case of the “marker function”, the entire selected character string “aiueo gh” is determined as an effective character string. In this case, only “gh” that is not at the head position is not selected as a valid character string, and the sound reproduction function and the reading function cannot be selected.
このように、この発明では、利用者が自らの意思で文字列を選択した後、その選択文字列に対して実行可能な機能が取得され、取得された機能項目が自動的に表示されるので、利用者の機能選択の操作が容易でわかりやすく、誤操作も低減できる。
また、選択した文字列の先頭文字の文字種により、実行可能な機能を取得し、その機能を実行すべき有効文字列を決定しているので、意図しない文字が含まれてしまった場合など利用者の文字列選択操作が不適切な場合でも、先頭文字が意図した文字種である限り、利用者の意図した適切な機能を選択することが可能となり、利用者の操作性を向上できる。
As described above, in the present invention, after the user selects a character string by his / her own intention, a function executable for the selected character string is acquired, and the acquired function item is automatically displayed. The function selection operation by the user is easy and easy to understand, and erroneous operations can be reduced.
In addition, since an executable function is acquired according to the character type of the first character of the selected character string, and an effective character string on which the function is to be executed is determined, a user who includes an unintended character, etc. Even if the character string selection operation is inappropriate, it is possible to select an appropriate function intended by the user as long as the first character is the intended character type, and the operability of the user can be improved.
<文字列選択および機能選択の実施例1>
図4に、この発明の情報処理装置の一実施例の全体フローチャートを示す。
図4において、利用者がすでに、利用したいコンテンツ情報37を選択し、そのコンテンツ情報37の所望の情報(たとえば文字列)が、表示画面101に表示されているものとする。
ステップS1において、文字列選択処理を実行する。
ここでは、たとえば図3(a)のような表示状態で、利用者がペン等の文字選択部11を用いて、表示された文字列のうち所望の文字列を選択すると、その文字列33が記憶部30に記憶され、文字列表示部21に区別表示(たとえば反転表示)される。
文字列選択後、利用者がペンを画面上から離したことが検出されると、ステップS2において、文字列解析処理を実行する。ここで、選択した文字列に対して文字種取得部40によって文字種が取得された後、その文字種に対応した機能が機能取得部60によって取得され、有効文字列決定部50によって有効文字列が決定される。
<Example 1 of character string selection and function selection>
FIG. 4 shows an overall flowchart of an embodiment of the information processing apparatus of the present invention.
In FIG. 4, it is assumed that the user has already selected
In step S1, a character string selection process is executed.
Here, for example, when the user selects a desired character string from the displayed character strings using the
When it is detected that the user has removed the pen from the screen after the character string is selected, a character string analysis process is executed in step S2. Here, after the character type is acquired by the character
次に、ステップS3において、機能選択画面表示処理を実行する。
ここでは、取得された機能の項目名(機能項目)をリスト化した機能選択画面102を表示させる。
この後、利用者が、機能選択画面に表示された機能項目の中から、実行させたい機能の表示領域の部分をペンでタッチ入力すると、ステップS4において、機能選択および実行処理を実行する。ここでは、タッチした部分の機能が選択され、機能実行部70により、選択文字列の中の有効文字列に対して、選択された機能が実行される。
以上が、この発明に関する処理の全体概略フローである。
Next, in step S3, a function selection screen display process is executed.
Here, a
Thereafter, when the user touch-inputs the part of the display area of the function to be executed from the function items displayed on the function selection screen with the pen, the function selection and execution process is executed in step S4. Here, the function of the touched part is selected, and the
The above is the overall schematic flow of the processing relating to the present invention.
図5に、ステップS1の文字列選択処理の一実施例のフローチャートを示す。
ステップS10において、表示画面101上で、利用者が選択したい文字の上にペンを置いたとする。このとき、入力部10の文字選択部11は、そのペンの入力座標を検出し、その入力座標を選択文字列の開始位置として、記憶部30に記憶する。
ステップS20において、利用者が、選択したい最後の文字までペンをなぞったとする。このとき、開始位置から最後の文字の終了位置の座標までの位置情報が記憶部30に記憶される。
FIG. 5 shows a flowchart of an embodiment of the character string selection process in step S1.
In step S10, it is assumed that the user places a pen on a character that the user wants to select on the
In step S20, it is assumed that the user traces the pen to the last character to be selected. At this time, position information from the start position to the coordinates of the end position of the last character is stored in the storage unit 30.
ステップS30において、記憶された位置情報から、その位置に表示されている文字を判断し、選択された文字列33を取得し、記憶部30に記憶する。
ステップS40において、利用者によって入力されたペンの開始位置,終了位置の文字に関する情報を、マーカー機能の情報として記憶する。この情報は、マーカー機能を実行するときに利用される。
その後、ペンが画面上から離されると、ステップS2の文字列解析処理へ進む。
In step S 30, the character displayed at the position is determined from the stored position information, and the selected character string 33 is acquired and stored in the storage unit 30.
In step S40, information on the characters at the pen start position and end position input by the user is stored as marker function information. This information is used when executing the marker function.
Thereafter, when the pen is released from the screen, the process proceeds to the character string analysis process in step S2.
図6に、図5のステップS10のペンで指示された文字の開始位置の取得処理の一実施例のフローチャートを示す。
ステップS11において、ペンの置かれた座標を検出する。この検出はたとえば、抵抗膜による座標検出や、タッチしている画面上の位置の絶対座標を算出する方法により行うことができる。
ステップS12において、検出された座標が、表示画面上に表示された文字の上か否か、チェックする。ここで、ペンの置かれた位置が文字の上でなければ、処理を終了する。
一方、文字の上にペンが置かれていた場合は、ステップS13へ進み、この位置に表示されている文字を、選択文字列33の先頭文字と決定し、記憶する。このとき、文字種取得部40によってその先頭文字の文字種(先頭文字種35)を、記憶してもよい。
また、文字が選択されたということを利用者に知らせるために、その文字を他の文字と区別する表示(たとえば、反転表示)をしてもよい。
この後、ステップS20へ進む。
FIG. 6 shows a flowchart of an embodiment of the process for acquiring the start position of the character designated by the pen in step S10 of FIG.
In step S11, the coordinates where the pen is placed are detected. This detection can be performed by, for example, coordinate detection using a resistive film or a method of calculating absolute coordinates of a touched position on the screen.
In step S12, it is checked whether or not the detected coordinate is on a character displayed on the display screen. If the position where the pen is placed is not on the character, the process is terminated.
On the other hand, if the pen is placed on the character, the process proceeds to step S13, and the character displayed at this position is determined as the first character of the selected character string 33 and stored. At this time, the character type of the first character (first character type 35) may be stored by the character
Further, in order to notify the user that a character has been selected, a display (for example, reverse display) that distinguishes the character from other characters may be performed.
Thereafter, the process proceeds to step S20.
図7に、図5のステップS20の文字をなぞった場合の処理の一実施例のフローチャートを示す。
ステップS21において、ペンが表示画面上から離れていないか否かチェックする。離れていた場合は、選択入力が終了したと判断し、ステップS26へ進む。
一方、まだ離れていない場合は、ステップS22へ進む。
FIG. 7 shows a flowchart of an embodiment of processing when the character in step S20 of FIG. 5 is traced.
In step S21, it is checked whether or not the pen is not separated from the display screen. If it is away, it is determined that the selection input has been completed, and the process proceeds to step S26.
On the other hand, if not yet separated, the process proceeds to step S22.
ステップS22において、ペンの位置が移動したか否か、チェックする。移動していない場合は、ステップS21へ戻る。移動している場合は、ステップS23へ進み、その移動後のペンの位置座標を検出する。
ステップS24において、検出されたペンの位置座標が、表示された文字の表示位置の上か否か、チェックする。文字の上でなければ、ステップS21へ戻る。文字の上であれば、ステップS25へ進み、先頭位置座標から、現在のペンの位置座標までに存在する文字の領域を、反転表示させ、ステップS21へ戻る。
In step S22, it is checked whether or not the pen position has moved. If not, the process returns to step S21. If it has moved, the process proceeds to step S23 to detect the position coordinates of the pen after the movement.
In step S24, it is checked whether or not the detected position coordinate of the pen is above the display position of the displayed character. If not on the character, the process returns to step S21. If it is above the character, the process proceeds to step S25, where the character area existing from the head position coordinate to the current pen position coordinate is highlighted, and the process returns to step S21.
一方、ペンが画面から離れた場合、ステップS26において、選択文字列33があるか否か、すなわち反転表示された文字列があるか否か、チェックする。
文字列がなければ処理を終了する。選択文字列33がある場合は、ステップS30の文字列取得および記憶処理へ進む。
ステップS1が終了し、ステップS26において、選択文字列33がある場合は、その文字列が記憶部30に記憶され、さらに、先頭文字の文字種35も記憶部30に記憶される。
On the other hand, when the pen leaves the screen, in step S26, it is checked whether or not there is a selected character string 33, that is, whether or not there is a highlighted character string.
If there is no character string, the process ends. If there is a selected character string 33, the process proceeds to a character string acquisition and storage process in step S30.
When step S1 is completed and the selected character string 33 is present in step S26, the character string is stored in the storage unit 30, and the
図8と図9に、この発明のステップS2に示した文字列解析処理の一実施例のフローチャートを示す。
この文字列解析処理では、主として、機能取得部60による実行可能な機能の取得と、有効文字列決定部50による取得された機能についての有効文字列の決定処理が行われる。この処理において、各機能ごとに設定された「有効フラグ」と「コピーフラグ」とが利用される。
ここで、有効フラグとは、その対応する機能が実行可能か否かを示すフラグであり、「オン(ON)」のときその機能が実行可能であるとし、「オフ(OFF)」のとき実行できないものとする。
コピーフラグとは、その対応する機能が実行されるときに、実行する対象である有効文字列を記憶することが可能かどうかを示すフラグである。「オン(ON)」のときは、有効文字列を記憶することが可能な状態であることを意味し、「オフ(OFF)」のときは、有効文字列を記憶することができない状態であることを意味する。
8 and 9 are flowcharts showing an embodiment of the character string analysis process shown in step S2 of the present invention.
In this character string analysis process, an executable function acquisition by the
Here, the valid flag is a flag indicating whether or not the corresponding function can be executed. When the flag is “ON”, the function is executable. When the flag is “OFF” It shall not be possible.
The copy flag is a flag indicating whether it is possible to store an effective character string to be executed when the corresponding function is executed. “On” means that a valid character string can be stored, and “Off” means that a valid character string cannot be stored. Means that.
図10に、これらのフラグを含む機能選択解析情報36の一実施例を示す。
ここでは、4つの機能に対して記憶される情報を示しており、1つの機能ごとに、有効フラグ,コピーフラグ,および有効文字列を記憶するデータ記憶領域とが含まれる。ここでは、有効文字列として、1つ記憶できるものとしている。ただし、有効文字列の個数は1つに限られるものではない。
また、図10において、すべての有効フラグの初期値を「ON」とし、すべてのコピーフラグの初期値は「ON」としている。
また、マーカー機能については、選択された文字列全体がその機能を実行する対象となるので、コピーフラグは設定されないが、選択文字列の先頭位置と終了位置の情報(たとえば、ある行の先頭位置からの文字の順序番号)が記憶される。
FIG. 10 shows an example of the function selection analysis information 36 including these flags.
Here, information stored for four functions is shown, and each function includes a valid flag, a copy flag, and a data storage area for storing a valid character string. Here, one effective character string can be stored. However, the number of valid character strings is not limited to one.
In FIG. 10, the initial values of all valid flags are “ON”, and the initial values of all copy flags are “ON”.
For the marker function, since the entire selected character string is the target for executing the function, the copy flag is not set, but information on the start position and end position of the selected character string (for example, the start position of a certain line) The sequence number of the character from).
図8において、文字列解析処理が開始されると、まず、ステップS51において、各機能の有効フラグを、すべてオン(ON)に初期設定する。
ステップS52において、現在利用しているコンテンツについて予め設定されている無効な機能の有効フラグを、オフ(OFF)にする。
たとえば、マーカー機能を無効にしているようなコンテンツの場合、マーカー機能は実行できないので、その機能の有効フラグを、オフ(OFF)に設定する。
In FIG. 8, when the character string analysis process is started, first, in step S51, all the valid flags of each function are initially set to ON.
In step S52, the invalid flag of the invalid function set in advance for the currently used content is turned off.
For example, in the case of content in which the marker function is disabled, the marker function cannot be executed, so the valid flag for that function is set to OFF.
ステップS53において、各機能のコピーフラグを、すべて「ON」に初期設定する。
ステップS54において、選択文字列33の中から、先頭文字を読み出す。このとき文字種取得部40により、先頭文字の文字種を取得する。
ただし、先頭に空白文字がある場合は、取得される文字種は空白であるので、その空白文字をスキップする。そして、その後方に最初に出現する空白文字以外の文字を読み出し、その空白でない文字の文字種を取得するようにする。これは、先頭に空白文字がある場合は、機能を実行する上で、その空白は有効な文字とはならず、利用者が選択ミスをした可能性があるからである。
In step S53, all the copy flags for each function are initially set to “ON”.
In step S54, the first character is read from the selected character string 33. At this time, the character
However, if there is a space character at the beginning, the acquired character type is a space, and the space character is skipped. Then, a character other than the blank character that first appears behind the character is read, and the character type of the character that is not the blank is acquired. This is because if there is a space character at the beginning, the space is not a valid character in executing the function, and the user may have made a selection error.
ステップS55において、取得された先頭文字が、音声再生機能が実行可能な有効文字であるか否かを、チェックする。有効文字であるか否かは、図2に示した文字種機能対応情報32を用い、先頭文字の文字種が音声再生機能に対応する有効な文字種であるか否かをチェックする。
音声再生機能が実行できる有効文字でない場合は、ステップS56へ進み、音声再生機能の有効フラグをオフ(OFF)とし、そのコピーフラグをオフ(OFF)にする。
ステップS56の後、あるいは音声再生機能が実行できる有効文字である場合は、ステップS57へ進む。
In step S55, it is checked whether or not the acquired first character is a valid character that can execute the sound reproduction function. Whether or not the character is a valid character is checked by using the character type
If it is not a valid character that can be executed by the voice reproduction function, the process proceeds to step S56, the voice reproduction function valid flag is turned off (OFF), and the copy flag is turned off (OFF).
After step S56, or if it is a valid character that can be executed by the voice reproduction function, the process proceeds to step S57.
ステップS57において、先頭文字が、Sジャンプ機能が実行できる有効文字であるか否かチェックする。ここでも、ステップS55と同様にして、文字種機能対応情報32を用いて、チェックする。有効な文字でない場合は、ステップS58へ進み、Sジャンプ機能の有効フラグとコピーフラグを、どちらもオフ(OFF)にする。
次に、ステップS59において、先頭文字が読み上げ機能が実行できる有効文字か否かチェックする。有効な文字でない場合は、ステップS60へ進み、読み上げ機能の有効フラグとコピーフラグを、どちらもオフ(OFF)にする。
In step S57, it is checked whether or not the first character is a valid character that can execute the S jump function. Here again, the check is performed using the character type
Next, in step S59, it is checked whether or not the first character is a valid character that can execute the reading function. If it is not a valid character, the process proceeds to step S60, and both the valid flag and copy flag of the reading function are turned off (OFF).
図3(a)において、たとえば選択文字列が「abc def あいうえ」であった場合、先頭文字「a」がアルファベットであるので、以上の処理が終了した時点では、機能選択解析情報36は、図10(a)に示すような状態となる。
また、選択文字列が「あいうえお gh」であった場合、先頭文字「あ」が「ひらがな」なので、機能選択解析情報36は、図10(b)に示すような状態となる。
図10(a)の場合は、すべての有効フラグがオン(ON)であり、4つの機能すべてが実行可能な機能として取得される。しかし図10(b)の場合は、有効フラグがオン(ON)となっている「Sジャンプ」と「マーカー」の2つの機能のみが実行可能な機能として取得される。
In FIG. 3A, for example, when the selected character string is “abc def aiue”, the first character “a” is alphabetic, so when the above processing ends, the function selection analysis information 36 is A state as shown in FIG.
When the selected character string is “Aiueo gh”, the first character “A” is “Hiragana”, and thus the function selection analysis information 36 is in a state as shown in FIG.
In the case of FIG. 10A, all valid flags are on (ON), and all four functions are acquired as executable functions. However, in the case of FIG. 10B, only two functions “S jump” and “marker” whose valid flag is on (ON) are acquired as executable functions.
図8のステップS59またはS60の後、図9のステップS61へ進む。
ステップS61において、音声再生機能のコピーフラグが「オン」か否か、チェックする。ここで、コピーフラグがオンの場合、ステップS62へ進み、現在読み出されている文字が、音声再生機能が有効な文字か否かチェックする。
音声再生機能が有効な文字でない場合は、ステップS64へ進み、音声再生機能に対応するコピーフラグをオフにする。
音声再生機能が有効な文字の場合は、ステップS63へ進み、現在読み出されている文字を、機能選択解析情報36の中の音声再生機能のデータ領域に記憶させる。たとえば、読み出された文字が「a」の場合、アルファベットであり音声再生機能が実行可能な文字であるので、「a」を音声再生機能のデータ記憶領域の中に記憶する。
After step S59 or S60 in FIG. 8, the process proceeds to step S61 in FIG.
In step S61, it is checked whether the copy flag of the audio reproduction function is “ON”. Here, if the copy flag is on, the process proceeds to step S62, and it is checked whether or not the currently read character is a character for which the sound reproduction function is valid.
If the voice playback function is not a valid character, the process proceeds to step S64, and the copy flag corresponding to the voice playback function is turned off.
If the voice reproduction function is valid, the process proceeds to step S 63, and the currently read character is stored in the data area of the voice reproduction function in the function selection analysis information 36. For example, if the read character is “a”, it is an alphabetic character that can execute the voice reproduction function, and therefore “a” is stored in the data storage area of the voice reproduction function.
次に、ステップS61,S63およびS64のいずれの処理をした場合も、ステップS65へ進む。
ステップS65において、Sジャンプ機能のコピーフラグが「オン」か否か、チェックする。コピーフラグがオンのときは、ステップS66へ進み、オンでないときはステップS69へ進む。
ステップS66において、現在読み出した文字が、Sジャンプ機能が有効な文字か否かチェックする。有効な文字の場合は、ステップS67へ進み、その文字をSジャンプ機能のデータ記憶領域に記憶させる。
一方、有効な文字でない場合は、Sジャンプ機能のコピーフラグをオフにする。
Next, when any of steps S61, S63, and S64 is performed, the process proceeds to step S65.
In step S65, it is checked whether or not the copy flag of the S jump function is “ON”. When the copy flag is on, the process proceeds to step S66, and when it is not on, the process proceeds to step S69.
In step S66, it is checked whether or not the currently read character is a character for which the S jump function is valid. If it is a valid character, the process proceeds to step S67, where the character is stored in the data storage area of the S jump function.
On the other hand, if it is not a valid character, the copy flag of the S jump function is turned off.
その後、ステップS69において、読み上げ機能のコピーフラグがオンか否か、チェックする。コピーフラグがオンの場合はステップS70へ進み、オンでない場合はステップS73へ進む。
ステップS70において、現在の読み出された文字が、読み上げ機能が実行できる文字である場合は、ステップS71へ進み、実行できない文字の場合は、ステップS72へ進む。
ステップS71においては、現在読み出された文字を読み上げ機能のデータ記憶領域に記憶させる。ステップS72においては、読み上げ機能のコピーフラグをオフに設定する。
Thereafter, in step S69, it is checked whether or not the copy flag of the reading function is on. If the copy flag is on, the process proceeds to step S70, and if not, the process proceeds to step S73.
If the currently read character is a character that can be read out in step S70, the process proceeds to step S71. If the character cannot be executed, the process proceeds to step S72.
In step S71, the currently read character is stored in the data storage area of the reading function. In step S72, the copy flag of the reading function is set to OFF.
ステップS69,S71,あるいはS72を実行した後、ステップS73において、読み出された文字が、選択文字列の中の最後の文字か否か、チェックする。
最後の文字であった場合は、処理を終了する。最後の文字でない場合は、ステップS74へ進み、選択文字列の中の次の文字を読み出し、ステップS61へ戻る。
このようにして、選択文字列の中のすべての文字について文字解析が行われると、実行可能な機能に対して実行対象となる有効文字列が、それぞれのデータ記憶領域に記憶される。たとえば、選択文字列が「abc def あいうえ」の場合は、図10(c)のように、情報36が決定される。
After executing step S69, S71, or S72, in step S73, it is checked whether or not the read character is the last character in the selected character string.
If it is the last character, the process is terminated. If it is not the last character, the process proceeds to step S74, the next character in the selected character string is read, and the process returns to step S61.
When character analysis is performed on all characters in the selected character string in this way, valid character strings to be executed for executable functions are stored in the respective data storage areas. For example, when the selected character string is “abc def aiue”, the information 36 is determined as shown in FIG.
ここで、Sジャンプ機能に注目すると、その機能の実行対象となる有効文字列として、「abc」が記憶される。音声再生機能に注目すると、「abc」が有効文字列とされる。
また、読み上げ機能の場合は、「abc def」という文字列が有効文字列として記憶される。
また、選択文字列が「あいうえお gh」の場合は、図10(d)に示すように、情報36が設定される。
Here, focusing on the S jump function, “abc” is stored as an effective character string to be executed by the function. When attention is paid to the voice reproduction function, “abc” is an effective character string.
In the case of the read-out function, a character string “abc def” is stored as an effective character string.
Further, when the selected character string is “Aiueo gh”, information 36 is set as shown in FIG.
また、図10(e)に示したマーカデータは、ステップS4を実行するときに設定される。図10(e)は、選択文字列が「abc def あいうえ」の場合を示している。
ここで、「WordNo」の「10」は、見出し語ごとに1対1に割り当てられた番号を意味し、この選択文字列の先頭文字の位置が「1」番目の文字であり、末尾文字の位置が「12」番目の文字であり、マーカーとして着色される背景色が「赤色」に設定されていることを示している。
Further, the marker data shown in FIG. 10E is set when step S4 is executed. FIG. 10E shows a case where the selected character string is “abc def aiue”.
Here, “10” of “WordNo” means a number assigned one-to-one for each headword, and the position of the first character of the selected character string is the “1” -th character, and the end character The position is the “12” th character, and the background color to be colored as the marker is set to “red”.
以上のような文字列解析処理(ステップS2)の後、ステップS3およびS4の処理が実行され、利用者が文字選択後に指示した機能が実行される。 After the character string analysis process (step S2) as described above, the processes of steps S3 and S4 are executed, and the function instructed by the user after selecting the character is executed.
図11に、機能選択画面表示処理(ステップS3)の一実施例のフローチャートを示す。
ステップS81において、音声再生機能が有効か否か、チェックする。ここで、情報36の音声再生機能の有効フラグがオン(ON)となっているか否か、チェックする。オンであれば、ステップS83へ進み、機能選択画面102の中の音声再生の機能項目を濃く表示させる。
一方、オンでない場合は、ステップS82へ進み、音声再生の機能項目を薄く表示させる。薄く表示させることにより、この機能は選択できないことを、利用者に知らせる。あるいは音声再生の機能項目そのものを表示しないようにしてもよく、あるいは選択できないことを示す他の区別表示をしてもよい。
FIG. 11 shows a flowchart of an embodiment of the function selection screen display process (step S3).
In step S81, it is checked whether the audio playback function is valid. Here, it is checked whether the valid flag of the audio reproduction function of the information 36 is on (ON). If it is on, the process proceeds to step S83, and the function item for audio reproduction in the
On the other hand, if it is not ON, the process proceeds to step S82, and the audio playback function item is displayed lightly. By making the display light, the user is informed that this function cannot be selected. Alternatively, the audio playback function item itself may not be displayed, or another distinction display indicating that the function item cannot be selected may be displayed.
次に、ステップS84において、Sジャンプ機能が有効か否か、チェックする。有効であれば、ステップS86へ進み、Sジャンプの機能項目を濃く表示させる。有効でなければ、ステップS85へ進み、Sジャンプの機能項目を薄く表示させる。
同様に、ステップS87およびS90において、それぞれ読み上げ機能およびマーカー機能が有効か否か、チェックする。そして、有効な場合は、それぞれステップS89およびステップS92へ進み、読み上げまたはマーカーの機能項目を濃く表示させる。
また、有効でない場合は、それぞれステップS88およびステップS91へ進み、それぞれの機能項目を薄く表示させる。これにより、図3(b)や(c)に示したような機能選択画面が表示される。その後、ステップS4へ進む。
Next, in step S84, it is checked whether or not the S jump function is valid. If it is valid, the process proceeds to step S86, and the function item of S jump is displayed darkly. If it is not valid, the process proceeds to step S85, and the S jump function item is displayed lightly.
Similarly, in steps S87 and S90, it is checked whether or not the reading function and the marker function are valid. If it is valid, the process proceeds to step S89 and step S92, respectively, and the reading or marker function item is displayed darkly.
If it is not valid, the process proceeds to step S88 and step S91, respectively, and the respective function items are displayed lightly. As a result, a function selection screen as shown in FIGS. 3B and 3C is displayed. Then, it progresses to step S4.
この発明では、利用者は文字列選択操作と、その後の機能選択操作が必要であるが、文字列選択操作をした後、図3(b)や図3(c)に示したように、自動的に機能選択画面102が表示され、かつその画面には、選択文字列の先頭文字の文字種に対応して実行可能な機能のみが、選択可能なように表示される。したがって所望の機能を実行させるまでの利用者の操作は容易であり、機能を先に選択する場合よりもわかりやすい。また、選択文字列について実行できない機能は選択できなくなるので、意図しない機能が実行されるのを防止し、利用者の誤操作を低減させることができる。
In this invention, the user needs a character string selection operation and a subsequent function selection operation. However, after performing the character string selection operation, as shown in FIG. 3B and FIG. The
<文字列選択と機能選択の実施例2>
図12と図13に、この発明の実施例2の概略説明図を示す。
ここでは、文字列選択処理は実施例1と同じであるが、選択文字列に対する文字列解析処理が異なる。具体的には、実施例1では、実行可能な機能に対して実行対象となる有効文字列は1つに限定していたが、実施例2では選択文字列の中に、空白文字で区切られた文字列が複数個ある場合は、先頭文字列だけでなく、その複数個の文字列も、有効文字列の対象とする。
<Example 2 of character string selection and function selection>
12 and 13 are schematic explanatory views of Embodiment 2 of the present invention.
Here, the character string selection process is the same as in the first embodiment, but the character string analysis process for the selected character string is different. Specifically, in the first embodiment, the number of valid character strings to be executed for executable functions is limited to one, but in the second embodiment, the selected character strings are separated by blank characters. If there are a plurality of character strings, not only the first character string but also the plurality of character strings are considered as valid character strings.
図12(a)のように、表示画面101に表示された文字列(abc def あいうえお gh)に対して、図12(b)のように、「abc def あいうえ」が選択されたとする。
このとき、先頭文字「a」はアルファベットであるので、実行可能な機能として4つの機能すべてが取得され、機能選択画面102に4つの機能項目が表示される。
Assume that “abc def aiou” is selected as shown in FIG. 12B for the character string (abc def aiou gh) displayed on the
At this time, since the first character “a” is an alphabet, all four functions are acquired as executable functions, and four function items are displayed on the
また、選択文字列の中において、「abc」と、「def」と、「あいうえ」とは、空白文字で区切られた独立した文字列と考えられるので、これらの文字列それぞれを、有効文字列の候補とすることもできる。
そこで、実施例2では、図12(c)に示したように、機能ごとに、複数個の有効文字列をデータ記憶領域に記憶できるようにする。
In addition, in the selected character string, “abc”, “def”, and “Aiue” are considered to be independent character strings separated by a space character, and therefore each of these character strings is regarded as a valid character. Can also be a candidate column.
Therefore, in the second embodiment, as shown in FIG. 12C, a plurality of valid character strings can be stored in the data storage area for each function.
たとえば、図12(c)の音声再生機能については、アルファベットで始まる文字列「abc」と「def」を、有効文字列に設定する。
また、Sジャンプ機能については、ひらがなで始まる文字列「あいうえ」も含めた3つの文字列を、有効文字列に設定する。読み上げ機能については、1つの文字列「abc def」を、有効文字列とする。
さらに、マーカー機能は、1つの文字列「abc def あいうえ」を、有効文字列とする。
For example, for the audio reproduction function of FIG. 12C, character strings “abc” and “def” starting with alphabets are set as valid character strings.
For the S jump function, three character strings including the character string “Aiue” starting with hiragana are set as valid character strings. For the reading function, one character string “abc def” is set as an effective character string.
Further, the marker function sets one character string “abc def aiue” as an effective character string.
図12(b)の状態で、利用者が、「音声再生機能」をペンで選択入力したとする。
この場合、図12(c)に示すように、「音声再生機能」を実行する対象である有効文字列としては、「abc」と「def」の2つの文字列が存在する。そこで、図12(d)に示すように、どちらの有効文字列に対して、「音声再生機能」を実行すべきかを利用者に選択してもらうために、音声再生機能の有効文字列選択画面103を、さらに表示させる。
この有効文字列選択画面103を表示した後、利用者が、「abc」と「def」の表示領域のどちらかを、ペンで選択すると、音声再生機能を実行させる有効文字列が決定される。そして、決定された有効文字列について、音声再生機能を実行する。
これによれば、選択画面103を表示して利用者に選択してもらう操作が増えるが、すでに選択された文字列の中から有効文字列を選ぶので、再度選択文字列を選択し直すよりも、一連の操作は利用者にとってわかりやすく容易であると考えられる。
Assume that the user selects and inputs the “voice reproduction function” with a pen in the state of FIG.
In this case, as shown in FIG. 12C, there are two character strings “abc” and “def” as valid character strings that are targets for executing the “voice reproduction function”. Therefore, as shown in FIG. 12D, in order to allow the user to select which of the effective character strings the “sound reproduction function” should be executed, the effective character string selection screen for the sound reproduction function. 103 is further displayed.
After the effective character
According to this, although the operation of displaying the
図13は、選択文字列として、「あいうえお gh」を選択した場合を示している。この場合、図13(b)に示すように、図3(c)と同様に、機能選択画面102に、4つの機能が選択できるように表示される。
しかし、この実施例2では、図13(c)に示すように、各機能ごとに、有効文字列が決定される。たとえば、Sジャンプ機能については、「あいうえお」と「gh」の2つの文字列が、有効文字列となる。
したがって、表示画面102で、Sジャンプ機能が選択されると、さらに「あいうえお」と「gh」のどちらかの有効文字列を選択するための画面が表示される。
FIG. 13 shows a case where “Aiueo gh” is selected as the selected character string. In this case, as shown in FIG. 13B, as in FIG. 3C, the
However, in the second embodiment, as shown in FIG. 13C, an effective character string is determined for each function. For example, for the S jump function, two character strings “aiueo” and “gh” are effective character strings.
Therefore, when the S jump function is selected on the
図14と図15に、この発明の実施例2の文字列解析処理(S2)のフローチャートを示す。
ステップS101とS102は、それぞれ図8のステップS51とS52と同じ処理である。
ステップS103において、各機能のコピーフラグを、「1」に初期設定する。この実施例2では、コピーフラグを単にオンとオフに設定するのではなく、有効文字列をコピー可能なデータ記憶領域の位置を示すフラグとして利用する。
14 and 15 are flowcharts of the character string analysis process (S2) according to the second embodiment of the present invention.
Steps S101 and S102 are the same processes as steps S51 and S52 of FIG. 8, respectively.
In step S103, the copy flag of each function is initially set to “1”. In the second embodiment, the copy flag is not simply set to ON and OFF, but the valid character string is used as a flag indicating the position of the data storage area where copying is possible.
図16に、この発明の実施例2の機能選択解析情報36の一実施例を示す。
図16(a)は、ステップS103の後の状態を示している。
ここで、有効文字列を記憶するデータ記憶領域数を5とし、機能ごとに有効文字列を5つまで記憶できるものとする。ただし、データ記憶領域数は5つに限るものではなく、2つでもよく、あるいは6つ以上でもよく、記憶容量によって変更してもよい。
したがって、たとえば、コピーフラグが「1」の場合、次に記憶すべき有効文字列は1番目のデータ記憶領域に記憶されることを意味する。
FIG. 16 shows an embodiment of the function selection analysis information 36 according to Embodiment 2 of the present invention.
FIG. 16A shows a state after step S103.
Here, the number of data storage areas for storing valid character strings is five, and up to five valid character strings can be stored for each function. However, the number of data storage areas is not limited to five, but may be two, six or more, and may be changed depending on the storage capacity.
Therefore, for example, when the copy flag is “1”, it means that the next valid character string to be stored is stored in the first data storage area.
ステップS104は、ステップS54と同様に、先頭文字を読み出し、その文字種を取得する。
また、先頭が空白文字の場合は読み飛ばし、その後選択文字列の中で、最初に出現する空白でない文字を読み出し、その文字種を取得する。
ステップS105において、音声再生機能のコピーフラグがオフか否かチェックする。コピーフラグがオフでなければ、ステップS106へ進み、オフの場合は、ステップS111へ進む。
In step S104, as in step S54, the first character is read and its character type is acquired.
If the first character is a blank character, it is skipped, and then the first non-blank character that appears in the selected character string is read out and its character type is acquired.
In step S105, it is checked whether or not the copy flag of the audio reproduction function is off. If the copy flag is not off, the process proceeds to step S106, and if it is off, the process proceeds to step S111.
ステップS106において、現在読み出された文字が、音声再生機能が有効な文字か否か、チェックする。ここでも、文字種機能対応情報32を用いて、読み出された文字の文字種をチェックする。
有効な文字の場合、ステップS107へ進み、現在読み出されている文字を、有効文字として、情報36の中の音声再生機能のデータ記憶領域に記憶する。ここで、記憶するデータ領域の位置は、コピーフラグに設定されている数値の位置である。
In step S106, it is checked whether or not the currently read character is a character for which the voice reproduction function is valid. Again, the character type of the read character is checked using the character type
If it is a valid character, the process proceeds to step S107, and the currently read character is stored as a valid character in the data storage area of the voice reproduction function in the information 36. Here, the position of the data area to be stored is a numerical position set in the copy flag.
有効でない文字の場合、ステップS108へ進み、現在の音声再生機能のコピーフラグの値がデータ記憶領域数以下かどうか、チェックする。
以下の場合は、ステップS109へ進み、コピーフラグに、1を加算する。以下でない場合は、ステップS110へ進み、音声再生機能のコピーフラグをオフとし、音声再生機能については、データ記憶領域へのコピーを行わないようにする。
ステップS107,S109およびS110のいずれかを実行した後、あるいはステップS105で、コピーフラグがオフであった場合、ステップS111へ進む。
If the character is not valid, the process advances to step S108 to check whether the value of the copy flag of the current audio reproduction function is equal to or less than the number of data storage areas.
In the following cases, the process proceeds to step S109, and 1 is added to the copy flag. If not, the process proceeds to step S110, where the copy flag of the sound reproduction function is turned off, and the sound reproduction function is not copied to the data storage area.
After executing any of steps S107, S109, and S110, or when the copy flag is OFF in step S105, the process proceeds to step S111.
ステップS111において、Sジャンプ機能のコピーフラグがオフでないか、チェックする。このコピーフラグがオフでない場合、ステップS112へ進み、オフの場合、ステップS117へ進む。
ステップS112からS116までの処理は、音声再生機能におけるステップS106からS110までの処理と同様であり、音声再生機能を、Sジャンプ機能に読みかえればよい。
ここで、読み出された文字が有効文字であれば、その文字は、Sジャンプ機能のデータ記憶領域に記憶される。
ステップS113,S115およびS116のいずれかを実行した後、ステップS117へ進む。
ステップS117において、読み上げ機能のコピーフラグがオフでないかチェックする。
In step S111, it is checked whether the copy flag of the S jump function is off. If the copy flag is not off, the process proceeds to step S112. If the copy flag is off, the process proceeds to step S117.
The processing from step S112 to S116 is the same as the processing from step S106 to S110 in the audio reproduction function, and the audio reproduction function may be replaced with the S jump function.
If the read character is a valid character, the character is stored in the data storage area of the S jump function.
After executing any of steps S113, S115, and S116, the process proceeds to step S117.
In step S117, it is checked whether the copy flag of the reading function is off.
このコピーフラグがオフでない場合、ステップS118へ進み、そうでない場合ステップS123へ進む。
ステップS118からS122までの処理は、上記したステップS106からS110までの処理と同様であり、音声再生機能を読み上げ機能に読みかえればよい。
ここで、読み出された文字が有効文字であれば、その文字は、読み上げ機能のデータ記憶領域に記憶される。
ステップS119,S121,およびS122のいずれかを実行した後、ステップS123へ進む。
If this copy flag is not OFF, the process proceeds to step S118, and if not, the process proceeds to step S123.
The processing from step S118 to S122 is the same as the processing from step S106 to S110 described above, and the sound reproduction function may be replaced with the reading function.
If the read character is a valid character, the character is stored in the data storage area of the reading function.
After executing any of steps S119, S121, and S122, the process proceeds to step S123.
ステップS123において、現在読み出された文字が最後の文字か否か、チェックする。最後の文字でない場合は、ステップS130へ進み、選択文字列の中の次の文字を読み出し、ステップS105へ戻る。最後の文字であった場合は、図15のステップS124へ進む。
ステップS107,S113,S119において、有効文字を記憶するとき、すでに文字が記憶されているときは、上書きしてしまうのではなく、すでに記憶されている文字に連続して追加するように記憶する。
選択文字列の最後の文字まで、ステップS105からS123までの処理を行ったとき、有効文字列があれば、対応する機能ごとのデータ記憶領域に、その有効文字列が記憶されている。
In step S123, it is checked whether or not the currently read character is the last character. If it is not the last character, the process proceeds to step S130, the next character in the selected character string is read, and the process returns to step S105. If it is the last character, the process proceeds to step S124 in FIG.
In steps S107, S113, and S119, when valid characters are stored, if characters are already stored, they are not overwritten but stored so as to be added continuously to the already stored characters.
When the processes from step S105 to S123 are performed up to the last character of the selected character string, if there is an effective character string, the effective character string is stored in the data storage area for each corresponding function.
ステップS124において、情報36の中に、音声再生機能の有効文字列が記憶されていないかどうか、チェックする。音声再生機能のデータ記憶領域に有効文字列が記憶されていない場合は、ステップS125へ進み、音声再生機能の有効フラグをオフに設定する。
ステップS124において有効文字列が記憶されている場合、あるいはステップS125の処理後において、ステップS126へ進む。
In step S124, it is checked whether or not a valid character string of the voice reproduction function is stored in the information 36. If a valid character string is not stored in the data storage area of the voice reproduction function, the process proceeds to step S125, and the voice reproduction function valid flag is set to OFF.
When a valid character string is stored in step S124, or after the process of step S125, the process proceeds to step S126.
ステップS126において、Sジャンプ機能の有効文字列が記憶されていないかどうか、チェックする。記憶されていない場合はステップS127へ進み、記憶されている場合はステップS128へ進む。
ステップS127において、Sジャンプ機能の有効フラグをオフに設定する。
ステップS128において、読み上げ機能の有効文字列が記憶されていないかどうか、チェックする。記憶されていない場合は、ステップS129へ進み、読み上げ機能の有効フラグをオフに設定する。記憶されている場合、あるいはステップS129の処理をした後、文字列解析処理を終了する。
In step S126, it is checked whether or not a valid character string of the S jump function is stored. If not stored, the process proceeds to step S127. If stored, the process proceeds to step S128.
In step S127, the S jump function valid flag is set to OFF.
In step S128, it is checked whether or not an effective character string for the reading function is stored. If not stored, the process proceeds to step S129, and the valid flag of the reading function is set to OFF. If stored, or after the processing of step S129, the character string analysis processing is terminated.
図16(a)は、選択文字列が「abc def あいうえ」の場合、図16(b)は選択文字列が「あいうえお gh」の場合の機能選択解析情報36を示している。これらは、ステップS103を実行した後の状態を示している。
図16(c)は、選択文字「abc def あいうえ」に対して、図14および図15の処理をすべて実行した後の情報36の状態を示している。
図16(c)において、たとえば音声再生機能は実行可能な機能であり、実行対象となる有効文字列として、2つの文字列「abc」と「def」とが記憶されている。
また、Sジャンプ機能では3つの文字列、読み上げ機能では1つの文字列「abc def」が、有効文字列として記憶されている。
16A shows the function selection analysis information 36 when the selected character string is “abc def Aiue”, and FIG. 16B shows the function selection analysis information 36 when the selected character string is “Aiueo gh”. These show the state after step S103 is executed.
FIG. 16C shows the state of the information 36 after the processing of FIGS. 14 and 15 has been executed for the selected character “abc def Aiue”.
In FIG. 16C, for example, the voice reproduction function is an executable function, and two character strings “abc” and “def” are stored as effective character strings to be executed.
In the S jump function, three character strings are stored as effective character strings, and in the reading function, one character string “abc def” is stored.
図16(d)は、選択文字列「あいうえお gh」の場合の情報36を示している。ここで、たとえば、Sジャンプ機能では、2つの文字列「あいうえお」と「gh」とが、有効文字列として記憶されている。
図16(e)のマーカーデータは、図10(e)と同一である。
FIG. 16D shows information 36 in the case of the selected character string “Aiueo gh”. Here, for example, in the S jump function, two character strings “aiueo” and “gh” are stored as valid character strings.
The marker data in FIG. 16 (e) is the same as in FIG. 10 (e).
図17に、この発明の実施例2の機能選択画面表示のフローチャートを示す。
まず、図11に示したステップS81からS92までの処理と同一の機能選択画面表示処理を行う。これにより、図12(b)に示したような機能選択画面102が表示される。
ステップS93において、機能選択処理を実行する。
ここでは、利用者に、機能選択画面に表示された機能項目のうち、いずれかの機能項目をタッチ入力してもらい、タッチ入力された機能項目の機能が、実行すべき機能として選択される。
次に、ステップS94において選択された機能について、記憶された有効文字列が複数個あるか否か、チェックする。有効文字列が複数でない場合、すなわち1つの場合は、処理を終了する。
FIG. 17 shows a flowchart of the function selection screen display according to the second embodiment of the present invention.
First, the same function selection screen display processing as the processing from steps S81 to S92 shown in FIG. 11 is performed. Thereby, the
In step S93, a function selection process is executed.
Here, the user is allowed to touch-input any one of the function items displayed on the function selection screen, and the function of the touch-input function item is selected as a function to be executed.
Next, it is checked whether or not there are a plurality of stored effective character strings for the function selected in step S94. When there are not a plurality of valid character strings, that is, when there is one valid character string, the process is terminated.
有効文字列が複数個ある場合は、ステップS95へ進み、有効文字列を選択させるための画面(たとえば図12(d)の有効文字列選択画面103)を表示させる処理をする。この画面103を見て、利用者は、実行させる対象の文字列が複数個あることを知ることができるので、どの文字列を実行対象とするかを、ペンでタッチ入力する。
ステップS96において、利用者によって実行すべき有効文字列のタッチ入力が行われた場合、そのタッチ入力された有効文字列を選択する処理が行われる。
この後、ステップS4の機能選択実行処理が実行される。ステップS4では、ステップS96で選択された有効文字列について、ステップS93で選択された機能が実行される。
If there are a plurality of valid character strings, the process advances to step S95 to display a screen for selecting a valid character string (for example, a valid character
In step S96, when a touch input of an effective character string to be executed by the user is performed, a process of selecting the touched effective character string is performed.
Thereafter, the function selection execution process of step S4 is executed. In step S4, the function selected in step S93 is executed for the valid character string selected in step S96.
以上のように実施例2では、利用者は機能選択画面を用いた機能選択操作と、有効文字列の選択画面を用いた有効文字列選択操作をする必要がある。しかし、利用者は最初に選択する選択文字列がどのような機能が実行可能であるかを意識して、文字列選択操作をする必要はなく、誤って先頭に空白文字を含めた文字選択をしても所望の機能を実行させることができ、利用者の操作は容易かつわかりやすい。また、選択文字列の中に、複数の有効文字列が含まれている場合、先頭の文字列のみならず、後方の他の文字列も有効文字列の候補として選択可能となるので、文字列を改めて選択し直す場合に比べて、利用者の操作は容易で、わかりやすいものとなる。 As described above, in the second embodiment, the user needs to perform a function selection operation using the function selection screen and an effective character string selection operation using the effective character string selection screen. However, the user need not be aware of what functions can be performed on the first selected character string, and does not need to perform a character string selection operation. Even so, the desired function can be executed, and the user's operation is easy and easy to understand. In addition, when the selected character string includes a plurality of valid character strings, not only the first character string but also other character strings behind can be selected as valid character string candidates. Compared with the case of selecting again, the user's operation is easier and easier to understand.
10 入力部
11 文字選択部
12 機能選択部
20 表示部
21 文字列表示部
22 機能選択画面表示部
30 記憶部
32 文字種機能対応情報
33 選択文字列
34 有効文字列
35 先頭文字種
36 機能選択解析情報
37 コンテンツ情報
40 文字種取得部
50 有効文字列決定部
60 機能取得部
70 機能実行部
DESCRIPTION OF
Claims (12)
実行可能な機能と、その機能ごとに実行対象となる文字の文字種とを対応付けた文字種機能対応情報を記憶した記憶部と、
前記文字列表示部に表示されたコンテンツ情報の中で、所望の文字列を選択させる文字選択部と、
前記選択された文字列の先頭の文字の文字種を取得する文字種取得部と、
前記文字選択部によって文字列を選択させた後、前記取得された文字種と対応付けられた実行可能な機能を、前記文字種機能対応情報から取得する機能取得部と、
前記取得された実行可能な機能ごとに、前記文字選択部によって選択された選択文字列の中から、その機能を実行する有効文字列を決定する有効文字列決定部と、
前記取得された実行可能な機能のうち、実行すべき機能を選択させる機能選択部とを備えた情報処理装置。 A character string display section for displaying content information including character strings;
A storage unit storing character type function correspondence information in which an executable function is associated with a character type of a character to be executed for each function;
A character selection unit for selecting a desired character string from the content information displayed on the character string display unit;
A character type acquisition unit for acquiring the character type of the first character of the selected character string;
A function acquisition unit that acquires an executable function associated with the acquired character type from the character type function correspondence information after selecting a character string by the character selection unit;
For each of the acquired executable functions, an effective character string determination unit that determines an effective character string for executing the function from among the selected character strings selected by the character selection unit;
An information processing apparatus comprising: a function selection unit that selects a function to be executed among the acquired executable functions.
実行可能な機能と、その機能ごとに実行対象となる文字の文字種とを対応付けた文字種機能対応情報を記憶した記憶手段と、
前記文字列表示手段に表示されたコンテンツ情報の中で、所望の文字列を選択させる文字選択手段と、
前記選択された文字列の先頭の文字の文字種を取得する文字種取得手段と、
前記文字選択手段によって文字列を選択させた後、前記取得された文字種と対応付けられた実行可能な機能を、前記文字種機能対応情報から取得する機能取得手段と、
前記取得された実行可能な機能ごとに、前記文字選択手段によって選択された選択文字列の中から、その機能を実行する有効文字列を決定する有効文字列決定手段と、
前記取得された実行可能な機能のうち、実行すべき機能を選択させる機能選択手段として、コンピュータを機能させるための情報処理装置のプログラム。 A character string display means for displaying content information including the character string;
Storage means for storing character type function correspondence information in which an executable function and a character type of a character to be executed for each function are associated with each other;
Character selection means for selecting a desired character string from the content information displayed on the character string display means;
Character type acquisition means for acquiring the character type of the first character of the selected character string;
A function acquisition unit that acquires an executable function associated with the acquired character type from the character type function correspondence information after selecting a character string by the character selection unit;
Effective character string determining means for determining an effective character string for executing the function from among the selected character strings selected by the character selecting means for each of the acquired executable functions;
A program for an information processing apparatus for causing a computer to function as function selection means for selecting a function to be executed among the obtained executable functions.
前記文字選択部が、前記文字列表示部に表示されたコンテンツ情報の中で、所望の文字列を選択し、
前記文字種取得部が、前記選択された文字列の先頭の文字の文字種を取得し、
前記文字選択部が文字列を選択した後、前記取得された文字種と対応付けられた実行可能な機能を、前記機能取得部が、前記文字種機能対応情報から取得し、
前記有効文字列決定部が、前記取得された実行可能な機能ごとに、前記選択された選択文字列の中から、その機能を実行する有効文字列を決定し、
前記機能選択部が、前記取得された実行可能な機能のうち、実行すべき機能を選択することを特徴とする情報処理装置の文字列および機能の選択方法。 A character string display unit that displays content information including a character string, a storage unit that stores character type function correspondence information in which a function and a character type of a character to be executed for each function are associated, a character selection unit, and a character A method for selecting a character string and a function of an information processing apparatus including an acquisition unit, a function acquisition unit, an effective character string determination unit, and a function execution unit,
The character selection unit selects a desired character string from the content information displayed on the character string display unit,
The character type acquisition unit acquires the character type of the first character of the selected character string,
After the character selection unit selects a character string, the function acquisition unit acquires an executable function associated with the acquired character type from the character type function correspondence information,
The effective character string determination unit determines an effective character string for executing the function from the selected selection character string for each of the acquired executable functions,
The method for selecting a character string and a function of an information processing apparatus, wherein the function selection unit selects a function to be executed among the acquired executable functions.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008294472A JP5202242B2 (en) | 2008-11-18 | 2008-11-18 | Information processing device |
| US13/129,752 US8823713B2 (en) | 2008-11-18 | 2009-11-16 | Information processing apparatus |
| PCT/JP2009/069447 WO2010058757A1 (en) | 2008-11-18 | 2009-11-16 | Information processing device |
| CN200980154729.1A CN102301366B (en) | 2008-11-18 | 2009-11-16 | Information processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008294472A JP5202242B2 (en) | 2008-11-18 | 2008-11-18 | Information processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010122799A JP2010122799A (en) | 2010-06-03 |
| JP5202242B2 true JP5202242B2 (en) | 2013-06-05 |
Family
ID=42324104
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008294472A Active JP5202242B2 (en) | 2008-11-18 | 2008-11-18 | Information processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5202242B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4766135B2 (en) | 2009-03-17 | 2011-09-07 | コニカミノルタビジネステクノロジーズ株式会社 | Information providing apparatus, information providing method, and information providing program |
| JP2015060513A (en) * | 2013-09-20 | 2015-03-30 | シャープ株式会社 | Electronic dictionary device |
| JP7243109B2 (en) | 2018-10-02 | 2023-03-22 | カシオ計算機株式会社 | ELECTRONIC DEVICE, CONTROL METHOD AND PROGRAM FOR ELECTRONIC DEVICE |
Family Cites Families (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63289667A (en) * | 1987-05-21 | 1988-11-28 | Matsushita Electric Ind Co Ltd | Japanese document editor |
| JPH02297127A (en) * | 1989-02-16 | 1990-12-07 | Ricoh Co Ltd | Information processor |
| JPH0628136A (en) * | 1992-07-09 | 1994-02-04 | Hitachi Ltd | Function selection system of information processor |
| JPH06110884A (en) * | 1992-09-25 | 1994-04-22 | Omron Corp | Editing device |
| JPH08137651A (en) * | 1994-11-14 | 1996-05-31 | Canon Inc | Information processing apparatus and method thereof |
| JPH09190430A (en) * | 1996-01-12 | 1997-07-22 | Toshiba Corp | Information processing device and function / range designation method |
| JPH09282318A (en) * | 1996-04-12 | 1997-10-31 | Sharp Corp | Information processing device |
| JP2001290811A (en) * | 2000-04-10 | 2001-10-19 | Just Syst Corp | Document processing apparatus, document processing method, and recording medium |
| JP2005063064A (en) * | 2003-08-08 | 2005-03-10 | Casio Comput Co Ltd | Electronic dictionary search device and program |
| JP4341514B2 (en) * | 2004-09-21 | 2009-10-07 | カシオ計算機株式会社 | Dictionary information display control device and dictionary information display control program |
-
2008
- 2008-11-18 JP JP2008294472A patent/JP5202242B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010122799A (en) | 2010-06-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101529494B (en) | Systems and methods for text editing and menu selection user interfaces | |
| US9983788B2 (en) | Input device enhanced interface | |
| US9703474B2 (en) | Gesture based document editor | |
| KR101711110B1 (en) | Glyph entry on computing device | |
| JP5892244B2 (en) | Character input prompt method and electronic device | |
| JP5254619B2 (en) | Item highlights for search results | |
| US20170185644A1 (en) | Command searching enhancements | |
| CN103026318A (en) | Input method editor | |
| US9996522B2 (en) | Dictionary device for determining a search method based on a type of a detected touch operation | |
| KR20120006503A (en) | Improved text input | |
| JP2007133884A5 (en) | ||
| CN102301366B (en) | Information processing device | |
| KR20110035204A (en) | Input character indicator display device and method | |
| JP5202242B2 (en) | Information processing device | |
| CN103135786B (en) | For the method to electronic equipment input text | |
| CN103135787A (en) | Method used for inputting text into electronic device | |
| JP4161768B2 (en) | Electronic device and program with dictionary function | |
| JP5202243B2 (en) | Information processing device | |
| US20200319788A1 (en) | Interactive virtual keyboard configured for gesture based word selection and having a plurality of keys arranged approximately radially about at least one center point | |
| JP2010211441A (en) | Electronic equipment and information display program | |
| KR102869440B1 (en) | Character input device implemented in software | |
| KR102869439B1 (en) | Character input device implemented in software | |
| JP2003337816A (en) | Dictionary display device and dictionary display method | |
| KR100900564B1 (en) | Mobile terminal and display method of character stroke order using same | |
| JP2007087146A (en) | Information display control device, electronic dictionary device, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20111027 |
|
| 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: 20130115 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130212 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5202242 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160222 Year of fee payment: 3 |