JP5471126B2 - Electronic device and program - Google Patents

Electronic device and program Download PDF

Info

Publication number
JP5471126B2
JP5471126B2 JP2009178685A JP2009178685A JP5471126B2 JP 5471126 B2 JP5471126 B2 JP 5471126B2 JP 2009178685 A JP2009178685 A JP 2009178685A JP 2009178685 A JP2009178685 A JP 2009178685A JP 5471126 B2 JP5471126 B2 JP 5471126B2
Authority
JP
Japan
Prior art keywords
display
mathematical expression
character
means
designated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009178685A
Other languages
Japanese (ja)
Other versions
JP2011034263A (en
Inventor
博明 吉澤
Original Assignee
カシオ計算機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by カシオ計算機株式会社 filed Critical カシオ計算機株式会社
Priority to JP2009178685A priority Critical patent/JP5471126B2/en
Publication of JP2011034263A publication Critical patent/JP2011034263A/en
Application granted granted Critical
Publication of JP5471126B2 publication Critical patent/JP5471126B2/en
Application status is Active legal-status Critical
Anticipated expiration legal-status Critical

Links

Images

Description

  The present invention relates to an electronic device and a program.

  2. Description of the Related Art Conventionally, scientific calculators are known as electronic devices that execute calculations of various input mathematical expressions and display the calculation results.

  In such scientific calculators, in recent years, the types of functions that can be handled are increasing, and it is possible to perform complex operations such as integration. However, in order to input mathematical expressions such as integrals by operating the input key group, it is necessary to input the upper and lower limit values and the operand function in a predetermined order. Thus, a technique has been developed in which a mathematical expression is input by handwriting using a touch panel and the inputted mathematical expression is recognized (see, for example, Patent Document 1).

JP 2007-72718 A

  However, the handwriting input speed and input speed are different for each individual user, so when recognizing a mathematical expression by handwriting, for example, even if the recognized character is correct, it is recognized in the mathematical expression. It is conceivable that the position will shift.

In such a case, in order to correct the position of the character, it may be possible for the user to re-enter the mathematical formula, but it takes time, and misrecognition of the character or misalignment of the recognition position occurs even when re-input. It is not easy to use.
Therefore, in recent years, there has been a growing demand for a technique that can easily correct the character position in a mathematical expression input by handwriting.

  An object of the present invention is to make it possible to easily correct a character position in a mathematical expression input by handwriting.

In order to solve the above problems, the invention according to claim 1 is an electronic device.
Display means having a touch panel;
Recognizing a mathematical expression input by handwriting on the touch panel, and displaying the recognized mathematical expression on the display means;
Position change instruction means for receiving a character position change instruction from the user for any of the character parts in the mathematical expression displayed on the display means;
Among the character parts in the mathematical expression displayed on the display means, a designated character part designated by the position change instruction means and a forward character part located before the designated character part are detected, and Candidate display control means for causing the display means to display a plurality of change destination candidates whose positional relationship of the designated character portion with respect to the front character portion is different from each other, and for allowing the user to select any change destination candidate;
Updating means for changing the position of the designated character portion relative to the forward character portion according to the change destination candidate selected by the user, and updating the display content of the display means;
It is characterized by providing.

The invention according to claim 2 is the electronic device according to claim 1,
The handwritten mathematical expression recognition means includes:
Data generation means for generating respective formula data in a display data format for displaying the recognized formula on the display means in a natural display format and a calculation data format for calculating the recognized formula is provided. And
The candidate display control means includes
The plurality of change destination candidates are generated based on mathematical expression data in the display data format.

The invention described in claim 3 is the electronic device according to claim 2,
The candidate display control means is at least
A change destination candidate in which the front character portion and the designated character portion are arranged in this order with the same size;
A change destination candidate having the designated character portion as an index of the forward character portion is generated.

According to a fourth aspect of the present invention, in the program,
A computer of an electronic device provided with display means having a touch panel,
Recognizing a mathematical expression input by handwriting on the touch panel, and displaying the recognized mathematical expression on the display means;
Position change instruction means for receiving a character position change instruction from the user for any of the character parts in the mathematical expression displayed on the display means;
Among the character parts in the mathematical expression displayed on the display means, a designated character part designated by the position change instruction means and a forward character part located before the designated character part are detected, and Candidate display control means for causing the display means to display a plurality of change destination candidates whose positional relationship of the designated character portion with respect to the front character portion is different from each other, and for selecting any of the change destination candidates,
Updating means for changing the position of the designated character portion relative to the forward character portion according to the change destination candidate selected by the user, and updating the display content of the display means;
It is made to function as.

According to the first and fourth aspects of the invention, when the user gives an instruction to change the character position for any of the character parts in the displayed mathematical expression, the designation is made among the character parts in the displayed mathematical expression. The designated character part and the front character part located before the designated character part are detected, and a plurality of change destination candidates having different positional relationships of the designated character part with respect to the front character part are displayed. When the user selects a change destination candidate, the position of the designated character portion relative to the forward character portion is changed according to the selected change destination candidate, and the display content is updated, so that the recognized character matches and is recognized in the formula. Even if the position is misaligned, the character position in the mathematical formula can be corrected by simply instructing the character position change and selecting the change destination candidate. Therefore, the character position in the mathematical expression input by handwriting can be easily corrected as compared with the case of re-inputting the mathematical expression.

It is a top view which shows schematic structure of a scientific calculator. It is a block diagram which shows the function structure of a scientific calculator. It is a figure which shows the data structure of numerical formula display data. It is a figure which shows the data structure of numerical formula text data. It is a figure which shows the data structure of numerical formula text data. It is a flowchart which shows the flow of a handwriting input process. It is a flowchart which shows the flow of recognition and a display process. It is a figure for demonstrating handwriting input processing. It is a figure for demonstrating handwriting input processing. It is a figure which shows the structure of a function component buffer. It is a figure which shows the structure of a function component buffer. It is a flowchart which shows the flow of an automatic correction process. It is a figure for demonstrating handwriting input processing.

  Hereinafter, an example of an embodiment according to the present invention will be described in detail with reference to the accompanying drawings. However, the scope of the invention is not limited to the illustrated examples.

(First embodiment)
First, a first embodiment according to the present invention will be described with reference to FIGS.
[1.1 External configuration]
FIG. 1 is a plan view showing a schematic configuration of a scientific calculator 1 to which an electronic apparatus according to the present invention is applied.
As shown in the figure, the scientific calculator 1 includes an input key group 2 having various key groups and a display 3.

  The input key group 2 is a key for receiving an input operation of a mathematical expression component such as a numerical value, an operation symbol, etc. (hereinafter collectively referred to as “character”) or an instruction operation of various processes from the user. A group is provided with a plurality of keys each assigned a unique function. In the present embodiment, the input key group 2 has an EXE key 20 for instructing calculation of a mathematical expression, a correction key 21 for instructing correction of the contents of the mathematical expression, and the like.

  The display 3 is composed of an LCD (Liquid Crystal Display), an ELD (Electronic Luminescent Display), etc. In addition to characters, symbols, mathematical formulas, calculation results, etc. according to the operation of the input key group 2, the scientific calculator 1 Various data necessary for use is displayed. The display 3 is integrally provided with a touch panel 30 (see FIG. 2) as position change instruction means in the present invention over the entire display screen.

  The touch panel 30 detects a contact position of an input pen (not shown) with respect to the display screen of the display 3. Specifically, the touch panel 30 is provided, for example, on the entire display screen or on the inner side of the display screen, and the XY coordinates of the contact position on the display screen by an electromagnetic induction method, a magnetostriction method, a pressure sensitive method, or the like. Is detected.

[1.2 Functional configuration]
Next, the functional configuration of the scientific calculator 1 will be described.
FIG. 2 is a block diagram illustrating a schematic functional configuration of the scientific calculator 1.

  As shown in this figure, the scientific calculator 1 includes a key input unit 14, a display unit 15 as display means in the present invention, a RAM (Random Access Memory) 12, a storage unit 13, and handwritten mathematical expression recognition in the present invention. A CPU (Central Processing Unit) 11 as means, candidate display control means, update means, and data generation means.

  The key input unit 14 includes the input key group 2 described above, and outputs an operation signal corresponding to the pressed key to the CPU 11.

  The display unit 15 includes the display 3 described above, and displays various types of information on the display 3 in accordance with display signals from the CPU 11. Further, the display unit 15 includes a touch panel 30 provided integrally with the display 3, and outputs contact position information of the input pen with respect to the display screen to the CPU 11.

  The RAM 12 is a volatile memory that temporarily stores information, and has a plurality of work areas that store various programs to be executed and data related to these various programs. Specifically, the display bitmap data 120, the input coordinate data 121, the input image data 122, the formula display data 123, and the formula text data 124 are stored in the RAM 12 in the present embodiment. It has become.

Among these, the display bitmap data 120 is bitmap data of an image displayed on the display 3.
The input coordinate data 121 is data indicating a coordinate position (coordinate position at the time of pen touch input) that has been pen touch input (handwritten input) to the touch panel 30.
The input image data 122 is data indicating a coordinate sequence of data input by pen touch on the touch panel 30.

  The mathematical expression display data 123 is data for displaying the recognized mathematical expression on the display 3 in a natural display format, and is expressed in a display data format. More specifically, as shown in an example in FIG. 3, the mathematical expression display data 123 is configured by a set of a code C indicating a display position and size and a character to be displayed by the code C. FIG. 3 shows formula display data 123 for the formula of the integral function shown in FIG. 8C described later, and the contents of each code C are shown in a simplified manner. As shown in this figure, codes C1 to C7 include an integral symbol “∫”, an integral variable upper limit value “2”, a lower limit value “1”, an integrand character “x”, “2”, and an integrand. For the end symbol “d” and the integral variable “x”, the position and size of the display are shown.

  The mathematical formula text data 124 is data for computing the recognized mathematical formula, and is expressed in a data format for computation. More specifically, as shown in FIG. 4 and FIG. 5, the formula text data 124 is described in a so-called one-line display format.

The storage unit 13 is a non-volatile memory composed of a ROM (Read Only Memory) or the like, and stores various programs and various data. Specifically, the storage unit 13 stores a handwriting input program 130 as a program according to the present invention.
The handwriting input program 130 is a program for causing the CPU 11 to execute handwriting input processing (see FIGS. 6 to 7) described later.

  The CPU 11 centrally controls each part of the scientific calculator 1. Specifically, the CPU 11 expands a program specified from the system program and various application programs stored in the storage unit 13 in the RAM 12 and performs various processes in cooperation with the program expanded in the RAM 12. Run.

[1.3 Operation of scientific calculator]
Next, the operation of the scientific calculator 1 will be described.
6 to 7 are flowcharts for explaining the operation of the handwriting input process. In the handwriting input process, when a user inputs an instruction to execute the handwriting input process via the touch panel 30 or the key input unit 14, a handwriting input program is read from the storage unit 13 and appropriately expanded in the RAM 12. As a result, the handwriting input program 130 and the CPU 11 are executed in cooperation. At the start of the process, it is assumed that the mathematical formula is not input by pen touch and nothing is displayed on the display 3.

  In this handwriting input process, first, as shown in FIG. 6, the CPU 11 determines whether or not the correction key 21 is operated (step S1), and when it is determined that the correction key 21 is not operated (step S1; No). Then, it is determined whether or not a pen touch operation is performed on the touch panel 30 (step S2). Specifically, the determination in step S <b> 2 is performed based on whether the CPU 11 has received a signal indicating that a pen touch input has been performed from the touch panel 30.

  If it is determined in step S2 that the pen touch operation is not performed (step S2; No), the CPU 11 proceeds to step S1 described above, and if it is determined that the pen touch operation is performed (step S2; Yes), the touch panel. A mathematical expression handwritten input for 30 is received, and the input content is displayed on the display 3 (step S3). Specifically, when input coordinate data 121 indicating a coordinate position input by pen touch is transmitted from the touch panel 30 to the CPU 11, the CPU 11 stores the input coordinate data 121 in the RAM 12. In addition, the CPU 11 generates input image data 122 corresponding to the input coordinate data 121 and stores the input image data 122 in the RAM 12, and displays the input image data 122 on the display unit 15 as a pen touch locus.

  Next, the CPU 11 determines whether or not the pen is separated from the touch panel 30 (step S4). When it is determined that the pen is not separated (step S4; No), the CPU 11 proceeds to the above step S3. Specifically, in this step S4, the CPU 11 determines whether or not a predetermined time has passed since the pen separation. In other words, it is necessary to prevent the recognition process from being started due to the separation of the pen in the middle of the input of characters composed of a plurality of strokes or the input of a plurality of characters. It is determined whether or not there is. The predetermined time is a time set in advance by the user and is stored in the storage unit 13 or the like.

  On the other hand, when it is determined in step S4 that the pen has been removed from the touch panel 30 for a predetermined time (step S4; Yes), the CPU 11 determines whether the mathematical expression can be recognized based on the input image data 122 (step S4). S5).

  If it is determined in step S5 that it cannot be recognized (step S5; No), the CPU 11 returns to step S1 via step S7 described later and waits for the next pen input.

  On the other hand, if it is determined in step S5 that recognition is possible (step S5; Yes), the CPU 11 performs recognition / display processing (step S6).

  Specifically, as shown in FIG. 7, first, the CPU 11 recognizes the input shape based on the input image data 122 (step T1), and recognizes its size and position (step T2).

  Next, the CPU 11 recognizes the mathematical formula input by handwriting based on the recognition results in steps T1 and T2, and generates mathematical formula display data 123 and mathematical formula text data 124, and stores them in the RAM 12 (steps T3 and T4). ).

  Then, the CPU 11 displays the recognized mathematical expression on the display 3 as natural display text based on the mathematical expression display data 123 (step T5), and ends the recognition / display processing. In step T <b> 5, the CPU 11 displays the bitmap of the mathematical formula input by handwriting on the display 3 based on the input image data 122.

  When the above recognition / display processing is completed, as shown in FIG. 6, the CPU 11 determines whether or not the EXE key 20 is operated by the user (step S7), and determines that it is not operated (step S7; No) shifts to the above-mentioned step S1.

  On the other hand, if it is determined in step S7 that the EXE key 20 has been operated (step S7; Yes), the CPU 11 executes the calculation of the recognized mathematical expression based on the mathematical expression text data 124, and displays the calculation result on the display 3. (Step S8), and the handwriting input process is terminated.

  If it is determined in step S1 that the correction key 21 has been operated (step S1; Yes), the CPU 11 determines whether the text portion of the mathematical expression displayed on the display 3 is touched with a pen. (Step S11).

  If it is determined in step S11 that the text portion is not touched with a pen (step S11; No), the CPU 11 proceeds to another process.

  On the other hand, if it is determined in step S11 that the text part has been touched with a pen (step S11; Yes), the CPU 11 designates a character part designated by pen touch based on the mathematical expression display data 123 (hereinafter referred to as a designated character part). Then, the front character portion positioned before (on the left side of) the designated character portion is detected, and a plurality of change destination candidates having different positional relationships of the designated character portion with respect to the front character portion are generated (step S12). More specifically, in this step S12, the CPU 11 determines a change destination candidate in which the forward character portion and the designated character portion are arranged in this order in the same size, a change destination candidate having the designated character portion as an index of the forward character portion, At least two candidates are generated.

  Next, the CPU 11 displays a list of the generated conversion destination candidates on the display 3 (step S13), and determines whether any conversion destination candidate is selected by the user (step S14).

  If it is determined in step S14 that no conversion destination candidate is selected (step S14; No), the CPU 11 repeats the process of step S14 until selection is performed.

  On the other hand, if it is determined in step S14 that any conversion destination candidate has been selected (step S14; Yes), the position of the designated character portion with respect to the forward character portion is changed according to the selected conversion destination candidate, and the mathematical expression display data 123 and the contents of the formula text data 124 and the display contents of the display 3 are updated (step S15), and then the process proceeds to the above-described step S7.

[1.4 Operation example]
Next, among the above handwriting input processes, the processes of steps S11 to S15 will be specifically described.

(Operation example 1)
First, when the user manually inputs a mathematical expression as shown in the center of FIG. 8A (step S3), the mathematical expression as shown in the upper left part of the figure is recognized and displayed as text in a natural display format ( Step S6). In the mathematical formula recognized here, the recognition position in the mathematical formula is shifted with respect to the character “x” input by handwriting as an integration variable by the user.

Next, when the user operates the correction key 21 (step S1; Yes) and designates the portion of the character “x” whose recognition position is shifted by the pen touch (step S11; Yes), as shown in FIG. 8B. Then, the designated character part “x” and the immediately preceding character part “d” are detected, and the first conversion destination candidate “1:” with the designated character part “x” as an index of the forward character part “d” is detected. d x ”, the second conversion destination candidate“ 2: dx ”in which the front character portion“ d ”and the designated character portion“ x ”are arranged in the same size, and the designated character portion“ x ” The third conversion destination candidate “3: d x ” as a subscript of the part “d” is displayed (step S13).

  When the user selects the second conversion destination candidate “2: dx” (step S14; Yes), as shown in FIG. 8C and FIG. 4, the forward character portion “d” is selected according to the conversion destination candidate. The position of the designated character part “x” is changed, and the contents of the mathematical expression display data 123 and mathematical expression text data 124 and the display contents of the display 3 are updated (step S15).

(Operation example 2)
First, when the user inputs a mathematical expression as shown in the center of FIG. 9A by handwriting (step S3), the mathematical expression as shown in the upper left part of the figure is recognized and displayed as text in a natural display format ( Step S6). In the mathematical expression recognized here, the recognition position in the mathematical expression is shifted with respect to the character “2” handwritten and input by the user as the index of “x”.

Next, when the user operates the correction key 21 (step S1; Yes) and designates the portion of the character “2” whose recognition position is shifted by the pen touch (step S11; Yes), as shown in FIG. 9B. Then, the designated character part “2” and the immediately preceding character part “x” are detected, and the first conversion destination candidate “1:” with the designated character part “2” as an index of the forward character part “x” is detected. x 2 ”and the second conversion destination candidate“ 2: x2 ”in which the front character portion“ x ”and the designated character portion“ 2 ”are arranged in the same size are displayed (step S13).

When the user selects the first conversion destination candidate “1: x 2 ” (step S14; Yes), as shown in FIG. 9C and FIG. 5, the forward character portion “x” is displayed according to the conversion destination candidate. The position of the designated character part “2” with respect to is changed, and the contents of the mathematical expression display data 123 and mathematical expression text data 124 and the display contents of the display 3 are updated (step S15).

  As described above, according to the present embodiment, as shown in steps S11 to S15 of FIG. 6, FIG. 8, FIG. When the user performs, after the designated character portion designated and the forward character portion positioned before the designated character portion are detected, the designated character portion for the forward character portion is detected. A plurality of change destination candidates having different positional relationships are displayed, and when the user selects one of the change destination candidates, the position of the designated character portion with respect to the front character portion is changed according to the selected change destination candidate, and the display content is Since it is updated, even if the recognized character is correct and the recognition position in the equation is misaligned, just change the character position and select the change destination candidate. Correct character position Rukoto can. Therefore, the character position in the mathematical expression input by handwriting can be easily corrected as compared with the case of re-inputting the mathematical expression.

(Second Embodiment)
Subsequently, a second embodiment of the electronic apparatus according to the invention will be described. In addition, when the part corresponding mutually with the said 1st Embodiment is comprised similarly, the same code | symbol is attached | subjected and the description is abbreviate | omitted.

[2.1 Configuration]
The storage unit 13A of the scientific calculator 1A according to the present embodiment includes a handwriting input program 130A as shown in FIG.
This handwriting input program 130A is a program for causing the CPU 11 to execute handwriting input processing (see FIGS. 6 and 12) described later.

  Further, the RAM 12A of the scientific calculator 1A has a functional component buffer 125 as shown in FIGS. In FIG. 2, the functional component buffer 125 is not shown for convenience of illustration.

  In the function component buffer 125, a buffer B is formed for each type of component of the function based on the type of function recognized in the above recognition / display processing, and the contents (display target) of each component are stored. It is to be stored.

  For example, when the recognized function is an integral function, as shown in FIG. 10, the function component buffer 125 includes a buffer B1 for storing an integral symbol, a buffer B2 for storing an integrand, Buffers B3 and B4 for storing the upper limit value and the lower limit value, a buffer B5 for storing the end symbol of the integrand, and a buffer B6 for storing the integration variable are formed. Each of the buffers B1 to B6 includes its constituent elements. The display target for is stored. In this figure, the type of the component stored in each buffer B is shown in the left column in the figure, and the display target for each component is shown in the right column in the drawing.

  When the recognized function is a differential function, the function component buffer 125 includes a buffer B1 for storing a differential symbol, a buffer B2 for storing a differential variable, and a differential as shown in the left column of FIG. A buffer B3 for storing the equation and a buffer B4 for storing the differential point are formed, and each buffer B1 to B4 stores a display target for the component.

  If the recognized function is a summation function, as shown in the right column of FIG. 11, the function component buffer 125 includes a buffer B1 for storing a summation symbol, a buffer B2 for storing a variable, Buffers B3 and B4 for storing the start point and end point and a buffer B5 for storing the function to be summed (general term) are formed. In each of the buffers B1 to B5, display objects for the constituent elements are stored.

[2.2 Operation of scientific calculator]
Next, the operation of the scientific calculator 1A will be described. In the scientific calculator 1A according to the second embodiment, the following automatic correction process is performed instead of steps S11 to S15 (see FIG. 6) in the handwriting input process according to the first embodiment. .

  FIG. 12 is a flowchart for explaining the operation of the automatic correction process in the handwriting input process that the CPU 11 reads out and executes the handwriting input program 130 </ b> A from the storage unit 13.

  As shown in this figure, when it is determined that the correction key 21 is operated in step S1 (see FIG. 6) of the handwriting input process in the first embodiment (step S1; Yes), the CPU 11 starts from the RAM 12. After reading the mathematical expression display data 123 (step U1), it is determined based on the mathematical expression display data 123 whether or not the mathematical expression inputted by hand has a predetermined function (step U2). In the present embodiment, an integral function, a differential coefficient, a summation function, or the like is used as the predetermined function.

  When it is determined in step U2 that the mathematical expression does not have a predetermined function (step U2; No), the CPU 11 displays a message on the display 3 that automatic correction of the mathematical expression is impossible (step U10). .

  Next, the CPU 11 returns the display content of the display 3 to the stage of step U1, corrects the mathematical expression by a manual operation by the user (step U9), ends the automatic correction process, and performs the above-described step S7 ( (See FIG. 6). Note that the correction of the mathematical expression by manual operation specifically means that the mathematical expression is corrected by the processes of steps S11 to S15 in the handwriting input process of the first embodiment.

  On the other hand, when it is determined in the above-described step U2 that the mathematical expression has a predetermined function (step U2; Yes), the CPU 11 determines the type of the function and the content of the mathematical expression display data 123 (particularly, information on the display position). Based on the above, after the buffer B for each type of component of this function is formed in the function component buffer 125, the display target for each component is stored in the corresponding buffer B (step U3).

  Next, the CPU 11 determines whether or not the buffer B in which information is not stored is present in the function component buffer 125 (step U4). If it is determined that the buffer B is not stored (step U4; No), the above-described step U10 is performed. Migrate to

  On the other hand, if it is determined in step U4 that there is a buffer B in which no information is stored (step U4; Yes), that is, if it is determined that the display target is unrecognized for any component in the function, The CPU 11 displays characters that are displayed in the vicinity of the display position of the component whose display target is unrecognized among the characters in the mathematical expression display data 123 and are not yet displayed as any component. Detected and input to the buffer B where no information is stored (step U5). As a result, the contents of the buffer B in which no information is stored, that is, the display target for the unrecognized component is set as a character that has not yet been set as the display target of any component.

  If there are a plurality of buffers B in which no information is stored in step U5, that is, if the display targets of a plurality of components in the function are unrecognized, the CPU 11 does not store any information. One buffer B is selected and the type of the component corresponding to this buffer B (hereinafter referred to as selection buffer B) is displayed on the display 3, and any component among the characters in the mathematical expression display data 123 is not yet displayed. Are detected and displayed as a list on the display 3 as input candidates, and the character selected by the user is input to the selection buffer B. And CPU11 repeats such a process about each component with which the display object is unrecognized. However, by repeating this process, when there is only one component whose display target is unrecognized, as in the normal step U5, among the characters in the mathematical expression display data 123, A character which is displayed in the vicinity of the display position of a component whose display target is unrecognized and which is not yet displayed as a display target of any component is detected and stored in a buffer B in which no information is stored. It is good also as inputting automatically.

  Next, the CPU 11 updates the contents of the formula display data 123 and the formula text data 124 and the display contents of the display 3 based on the contents of the function component buffer 125 (step U7).

  Next, the CPU 11 causes the user to select whether the content of the updated mathematical expression is correct or incorrect (step U8), and if it is selected as incorrect (step U8; No), the process proceeds to the above-described step U9. If it is selected as correct (step U8; Yes), the automatic correction process is terminated, and the process proceeds to the above-described step S7 (see FIG. 6).

[2.3 Example of operation]
Next, the automatic correction process will be specifically described with reference to FIG. In FIG. 13, the mathematical formula input by handwriting by the user is not shown.

First, when a mathematical formula is input by handwriting by the user (step S3) and a mathematical formula of an integral function as shown in the upper left part of FIG. 13A is recognized (step T1, T2), this mathematical formula is in a natural display format. It is displayed as text (step S6). In the mathematical expression recognized here, the recognition position in the mathematical expression is shifted between the character “x 2 ” input by handwriting as an integrand and the character “x” input by handwriting as an integration variable.

  When the correction key 21 is operated from this state (step S1; Yes), it is determined that the integration function is included in the equation represented by the equation display data 123 (step U2; Yes). A buffer B1 for storing integration symbols, a buffer B2 for storing integrands, buffers B3 and B4 for storing upper and lower limits of integration variables, and a buffer B5 for storing termination symbols for integrands; A buffer B6 for storing integration variables is formed, and the contents shown in the right part of the figure are stored in the buffers B1 to B6 (step U3). At this time, no information is stored in the buffers B2 and B4 that store the integrand and the integration variable, and the display target is unrecognized.

Next, as shown in FIG. 13B, after it is determined that a plurality of buffers B2 and B4 in which no information is stored are in the function component buffer 125 (step U4; Yes), a configuration corresponding to the buffer B2 The element type “integrated function” is displayed, and among the characters in the mathematical expression display data 123, the characters “x 2 ” and “x” that have not yet been displayed as any constituent elements are listed on the display 3. Is displayed. Then, when the character "x 2" by the user is selected, the character "x 2" is input to the buffer B2.

  Further, as shown in FIG. 13C, the component type “integration variable” corresponding to the buffer B4 in which no information is stored is displayed, and any of the characters in the formula display data 123 is not yet configured. Characters “x” that are not displayed as elements are listed on the display 3. When the character “x” is selected by the user, the character “x” is input to the buffer B4.

  Based on the contents of the function component buffer 125, the contents of the formula display data 123 and the formula text data 124 and the display contents of the display 3 are updated (step U7).

  As described above, according to the present embodiment, as shown in steps U1 to U7 of FIG. 12, FIG. 13 and the like, the mathematical expression inputted by hand has a predetermined function, and in the predetermined function If the display target is unrecognized for any of the multiple components, the display target for this component is still the display target for any component of the characters in the mathematical expression entered by handwriting The display content is updated as a character that has not been changed, so even if the recognized character is correct and the position in the formula is not recognized, the character position in the formula can be corrected It becomes. Therefore, the character position in the mathematical expression input by handwriting can be easily corrected as compared with the case of re-inputting the mathematical expression.

  In addition, it is needless to say that the detailed configuration and detailed operation of each component of the scientific calculator 1, 1A in the above embodiment can be appropriately changed without departing from the gist of the present invention.

  For example, although described above as an operation of a scientific calculator, a program for performing the operation described in the above embodiment is installed in an electronic device having a display unit with a touch panel, and the present invention is executed by a computer of the electronic device. May be realized.

1, 1A Scientific calculator 2 Input key group 3 Display 11 CPU
12 RAM
13, 13A Storage unit 14 Key input unit 15 Display unit 30 Touch panel 130, 130A Handwritten input program

Claims (4)

  1. Display means having a touch panel;
    Recognizing a mathematical expression input by handwriting on the touch panel, and displaying the recognized mathematical expression on the display means;
    Position change instruction means for receiving a character position change instruction from the user for any of the character parts in the mathematical expression displayed on the display means;
    Among the character parts in the mathematical expression displayed on the display means, a designated character part designated by the position change instruction means and a forward character part located before the designated character part are detected, and Candidate display control means for causing the display means to display a plurality of change destination candidates whose positional relationship of the designated character portion with respect to the front character portion is different from each other, and for allowing the user to select any change destination candidate;
    Updating means for changing the position of the designated character portion relative to the forward character portion according to the change destination candidate selected by the user, and updating the display content of the display means;
    An electronic device comprising:
  2. The handwritten mathematical expression recognition means includes:
    Data generation means for generating respective formula data in a display data format for displaying the recognized formula on the display means in a natural display format and a calculation data format for calculating the recognized formula is provided. And
    The candidate display control means includes
    2. The electronic apparatus according to claim 1, wherein the plurality of change destination candidates are generated based on mathematical expression data in the display data format.
  3. The candidate display control means is at least
    A change destination candidate in which the front character portion and the designated character portion are arranged in this order with the same size;
    The electronic device according to claim 2, wherein a change destination candidate is generated using the designated character portion as an index of the forward character portion.
  4. A computer of an electronic device provided with display means having a touch panel,
    Recognizing a mathematical expression input by handwriting on the touch panel, and displaying the recognized mathematical expression on the display means;
    Position change instruction means for receiving a character position change instruction from the user for any of the character parts in the mathematical expression displayed on the display means;
    Among the character parts in the mathematical expression displayed on the display means, a designated character part designated by the position change instruction means and a forward character part located before the designated character part are detected, and Candidate display control means for causing the display means to display a plurality of change destination candidates whose positional relationship of the designated character portion with respect to the front character portion is different from each other, and for selecting any of the change destination candidates,
    Updating means for changing the position of the designated character portion relative to the forward character portion according to the change destination candidate selected by the user, and updating the display content of the display means;
    A program characterized by functioning as
JP2009178685A 2009-07-31 2009-07-31 Electronic device and program Active JP5471126B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009178685A JP5471126B2 (en) 2009-07-31 2009-07-31 Electronic device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009178685A JP5471126B2 (en) 2009-07-31 2009-07-31 Electronic device and program

Publications (2)

Publication Number Publication Date
JP2011034263A JP2011034263A (en) 2011-02-17
JP5471126B2 true JP5471126B2 (en) 2014-04-16

Family

ID=43763287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009178685A Active JP5471126B2 (en) 2009-07-31 2009-07-31 Electronic device and program

Country Status (1)

Country Link
JP (1) JP5471126B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257810B (en) * 2012-02-17 2016-03-02 汉王科技股份有限公司 Hand-written method for identifying mathematical formula and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3068895B2 (en) * 1991-06-28 2000-07-24 株式会社リコー Character recognition result correction system
JP4181310B2 (en) * 2001-03-07 2008-11-12 東芝ソリューション株式会社 Formula recognition apparatus and formula recognition method
JP4181328B2 (en) * 2002-03-06 2008-11-12 株式会社東芝 Formula recognition apparatus and formula recognition method

Also Published As

Publication number Publication date
JP2011034263A (en) 2011-02-17

Similar Documents

Publication Publication Date Title
JP2015041845A (en) Character input device and program
JP4560062B2 (en) Handwriting determination apparatus, method, and program
EP2045699A2 (en) Gesture determination apparatus and method
US7764837B2 (en) System, method, and apparatus for continuous character recognition
US20120306767A1 (en) Method for editing an electronic image on a touch screen display
JP4742132B2 (en) Input device, image processing program, and computer-readable recording medium
EP0302498B1 (en) Numerical expression recognizing apparatus
US20070120822A1 (en) Information processing apparatus and change-over method
US20150123928A1 (en) Multi-touch text input
US7502017B1 (en) Handwriting recognizer user interface methods
JP5494483B2 (en) Gesture input operation device, method, program, and portable device
JP4798268B2 (en) Electronic equipment and programs
US20140119659A1 (en) Electronic apparatus and handwritten document processing method
JP2003067135A (en) Touch panel input method and device
JPH09222846A (en) Learning device
JP5267546B2 (en) Electronic computer and program with handwritten mathematical expression recognition function
JP4661654B2 (en) Formula display control apparatus and formula display control program
US20150143234A1 (en) Ergonomic micro user interface display and editing
US9019308B2 (en) Display apparatus and computer-readable medium
US8817027B2 (en) Graph display apparatus, recording medium on which program is recorded and graph display method
JP2010137009A (en) Calibration program and coordinate detection device
US10275152B2 (en) Advanced methods and systems for text input error correction
KR20080029028A (en) Method for inputting character in terminal having touch screen
JP5731281B2 (en) Character input device and program
EP2369578A2 (en) Graph display apparatus, recording medium on which program is recorded, and graph display method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120723

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130917

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131113

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: 20140107

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140120

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150