US7231610B2 - Text editing assistor - Google Patents

Text editing assistor Download PDF

Info

Publication number
US7231610B2
US7231610B2 US10/721,192 US72119203A US7231610B2 US 7231610 B2 US7231610 B2 US 7231610B2 US 72119203 A US72119203 A US 72119203A US 7231610 B2 US7231610 B2 US 7231610B2
Authority
US
United States
Prior art keywords
character sequence
section
candidate
input
user
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, expires
Application number
US10/721,192
Other versions
US20040139404A1 (en
Inventor
Takashi Kawashima
Takashi Asano
Hisamori Inukai
Hidehiko Shin
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Panasonic Intellectual Property Corp of America
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Assigned to MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD. reassignment MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ASANO, TAKASHI, INUKAI, HISAMORI, KAWASHIMA, TAKASHI, SHIN, HIDEHIKO
Publication of US20040139404A1 publication Critical patent/US20040139404A1/en
Application granted granted Critical
Publication of US7231610B2 publication Critical patent/US7231610B2/en
Assigned to PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA reassignment PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: PANASONIC CORPORATION
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/274Converting codes to words; Guess-ahead of partial word inputs

Definitions

  • the present invention relates to a text editing assistor, and more particularly to a text editing assistor which displays a prospective character sequence based on a character sequence which is input by a user.
  • a typical example of conventional techniques for enhancing the efficiency and ease of text input operations is presenting prospective character sequences based on a character sequence which is input by a user. For example, for a given character sequence which is input by the user (composed of hiragana, katakana, or the English alphabet (Romaji)), a text editing assistor may present to the user a list of “conversion candidates” (i.e., words or fractions of words as spelt in Chinese characters), the list being presented in an estimated order of frequency.
  • conversion candidates i.e., words or fractions of words as spelt in Chinese characters
  • a text editing assistor may predict the rest of the word and present the result of the prediction as a “prediction candidate” (e.g., “ohayo”, or ‘good morning’).
  • a “prediction candidate” e.g., “ohayo”, or ‘good morning’.
  • One specific example is a technique of presenting to the user a curtailed list of candidates, from which unlikely or impossible candidates are omitted.
  • automatic predictions are made in the middle of the user's inputting operation of a character sequence. Then, based on consistency with any previously-finalized sequence of Chinese characters, hiragana, and/or katakana, or user instructions as to which conversion candidates are adopted or dismissed, a curtailed list of candidates from which unnecessary prospective character sequences are omitted is presented to the user.
  • the burden of the user's input operations is reduced.
  • Another specific example is a technique in which prospective character sequences to be presented to the user are “learned” based on input character sequences and finalized character sequences (final character sequences).
  • a prospective character sequence which is selected as a final character sequence for a given input character sequence will be presented as a most prospective character sequence the next time the same character sequence is input.
  • a further modification to a text editing assistor having such a learning function is a technique in which, if a once-finalized character sequence is corrected, the correction is reflected in the learning. This technique works in such a manner that, if a user has inadvertently selected the wrong final character sequence, this wrong final character sequence is prevented from being presented as the most prospective character sequence.
  • the purpose of using a text editing assistor may vary. For example, the same user may use a text editing assistor to write a text for business purposes or use it in a more private situation. Since the frequency which a given character sequence is used varies depending on the purpose and/or environment associated with the text editing assistor, the character sequence to be presented as the most prospective character sequence should also vary depending on the purpose and/or environment associated with the text editing assistor. For example, a sentence like “to whom it may concern” is often used in business situations, and therefore, it would be convenient if such a sentence is presented as a prediction candidate when the user has input a character sequence “to”. On the other hand, such a sentence is less often used in private situations, so that it may detract from the user's convenience if the above sentence is presented as a prediction candidate in private situations.
  • prospective character sequence which are presented on a conventional text editing assistor do not reflect the purpose or state for/in which the text editing assistor is used.
  • a conventional text editing assistor will always present the same prospective character sequence in response to a given input sequence, irrespective of the purpose or state. Therefore, depending on the purpose for which the text editing assistor is used, the function of presenting prospective character sequences may not provide much convenience to the user.
  • an object of the present invention is to provide a text editing assistor which is capable of presenting a prospective character sequence that is suitable to the purpose for which the text editing assistor is used.
  • a first aspect of the present invention is directed to a text editing assistor for displaying a prospective character sequence based on a character sequence which is input by a user.
  • the text editing assistor comprises a table storing section, a candidate displaying section, a character sequence finalization section, an environment information acquisition section, a determination section, and a first updating section.
  • the table storing section stores a candidate table which associates one or more prospective character sequences with a given character sequence.
  • the candidate displaying section displays, in response to a character sequence which is input by the user, at least one prospective character sequence which is associated by the candidate table with the character sequence which has been input by the user.
  • the character sequence finalization section allows the user to select one of the at least one prospective character sequence displayed by the candidate displaying section as a final character sequence.
  • the environment information acquisition section acquires environment information concerning the text editing assistor or an environment thereof.
  • the determination section determines whether or not to update the candidate table based on the environment information.
  • the first updating section updates the candidate table based on an association between the final character sequence selected by means of the character sequence finalization section and the character sequence which has been input by the user, the update being made only when the determination section determines that the candidate table is to be updated.
  • a second aspect of the present invention is directed to a text editing assistor for displaying a prospective character sequence based on a character sequence which is input by a user.
  • the text editing assistor comprises a table storing section, an environment information acquisition section, a table determination section, a candidate displaying section, a character sequence finalization section, and a first updating section.
  • the table storing section stores a plurality of candidate tables each of which associates one or more prospective character sequences with a given character sequence, each candidate table containing a different set of such associations.
  • the environment information acquisition section acquires environment information concerning the document editing assistor or an environment thereof.
  • the table determination section determines one of the plurality of candidate tables stored in the table storing section based on the environment information acquired by the environment information acquisition section.
  • the candidate displaying section displays, in response to a character sequence which is input by the user, at least one prospective character sequence which is associated by the candidate table determined by the table determination section with the character sequence which has been input by the user.
  • the character sequence finalization section allows the user to select one of the at least one prospective character sequence displayed by the candidate displaying section as a final character sequence.
  • the first updating section updates the candidate table determined by the table determination section based on an association between the final character sequence selected by means of the character sequence finalization section and the character sequence which has been input by the user.
  • the environment information acquisition section may acquire: information indicating a current time; information indicating a current position of the document editing assistor; information indicating a type of application which accepts an inputting of a character sequence; or information indicating a state of an application which accepts an inputting of a character sequence.
  • the text editing assistor may further comprise an input accepting section and a second updating section.
  • the input accepting section accepts at least two kinds of input methods for inputting a selection of a final character sequence by means of the character sequence finalization section.
  • the second updating section is operable to update the candidate table based on the association between the final character sequence selected by means of the character sequence finalization section and the character sequence which has been input by the user when the input accepting section accepts a selection of the final character sequence by the first input method, and not update the candidate table when the input accepting section accepts a selection of the final character sequence by a second input method which is different from the first input method.
  • the text editing assistor may further comprise: a designation section for allowing the user to designate an association between a character sequence and a prospective character sequence in the candidate table, and a deletion section for deleting from the candidate table the association between the character sequence and the prospective character sequence designated by means of the designation section.
  • the candidate table may associate a plurality of prospective character sequences, in an order of being displayed by the candidate displaying section, with a given character sequence.
  • the text editing assistor further comprises a changing section for changing the order of the prospective character sequences associated by the candidate table with the given character sequence.
  • the present invention can be implemented as a program. By recording such a program on a recording medium, it becomes possible to practice the present invention on a separate computer system.
  • whether or not to perform learning i.e., updating of the candidate table
  • learning i.e., updating of the candidate table
  • updating of the candidate table is performed only when updating is determined as necessary in light of the environment concerning the text editing assistor itself.
  • the candidate table to be used for presenting prospective character sequences is switched depending on the environment information.
  • candidate tables which are adapted to as many different environments as there are candidate tables can be generated.
  • FIG. 1 is a block diagram illustrating the hardware structure of a text editing assistor according to Embodiment 1 of the present invention
  • FIG. 2 is a functional block diagram illustrating the text editing assistor according to Embodiment 1;
  • FIG. 3 shows an exemplary candidate table stored in a table storing section 102 ;
  • FIG. 4 is a diagram illustrating an exemplary image displayed by the text editing assistor according to Embodiment 1;
  • FIG. 5 is a flowchart illustrating a flow of processes performed by the text editing assistor according to Embodiment 1;
  • FIG. 6 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 5 are performed;
  • FIG. 7 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 5 are performed;
  • FIG. 8 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 5 are performed;
  • FIG. 9 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 5 are performed.
  • FIG. 10 is a flowchart illustrating a flow of processes performed during an editing of the content of a candidate table
  • FIG. 11 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 10 are performed;
  • FIG. 12 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 10 are performed;
  • FIG. 13 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 10 are performed;
  • FIG. 14 is a functional block diagram illustrating the text editing assistor according to Embodiment 2.
  • FIG. 15 shows an exemplary second candidate table stored in a table storing section 202 ;
  • FIG. 16 is a flowchart illustrating a flow of processes performed by the text editing assistor according to Embodiment 2;
  • FIG. 17 is a diagram illustrating an exemplary image of prospective character sequences displayed in the case where the first candidate table is used
  • FIG. 18 is a diagram illustrating an exemplary image of prospective character sequences displayed in the case where the second candidate table is used.
  • FIG. 19 shows an exemplary candidate table which associates input character sequences and prediction candidate character sequences.
  • FIG. 1 is a block diagram illustrating the hardware structure of a text editing assistor according to Embodiment 1 of the present invention.
  • the text editing assistor comprises a central processing unit (CPU) 1 , an input section 2 , an output section 3 , a storage section 4 , and a transmission/reception device 7 . These elements are interconnected via a system bus 8 .
  • the text editing assistor shown in FIG. 1 may be implemented as, for example, a cellular phone or a PDA (Personal Digital Assistant). However, the text editing assistor may also be implemented as a desk-top type personal computer, instead of a mobile terminal.
  • the CPU 1 executes a predetermined program, which is stored in the storage section 4 , to perform the program processes (described later).
  • the input section 2 which may be composed of a keyboard, buttons, a mouse, a microphone, or the like, accepts text or instructions which are input by a user.
  • the output section 3 which may be composed of a display device (e.g., a computer display) and/or an audio output device (e.g., a loudspeaker), functions to display images or output audio representing the data which is output from the CPU 1 .
  • the storage section 4 which may be composed of a RAM 5 , a ROM 6 , or the like, is used for the predetermined program processes performed by the CPU 1 , and also for storing a candidate table (described later) and optionally a dictionary table.
  • the storage section 4 may comprise a hard disk or any recording medium which is removable from the text editing assistor, e.g., a CD-ROM.
  • the transmission/reception device 7 performs data communications with an external device (not shown) in wireless fashion or via a transmission path.
  • the CPU 1 performs data exchange with the external device by means of the transmission/reception device 7 .
  • FIG. 2 is a functional block diagram illustrating the text editing assistor according to Embodiment 1.
  • the text editing assistor comprises a character sequence conversion section 101 , a table storing section 102 , a text editing section 103 , a determination section 104 , and an environment information acquisition section 105 .
  • the table storing section 102 is implemented by the RAM 5 shown in FIG. 1 .
  • the other elements shown in FIG. 2 are implemented as predetermined programs (described later with reference to FIG. 5 ) performed by the CPU 1 shown in FIG. 1 .
  • the text editing section 103 accepts text input operations by the user, and causes the display device of the output section 3 to display a screen on which to allow the user to input text. Specifically, when the input section 2 is operated by the user, the text editing section 103 receives input information representing the operation performed by the user from the input section 2 . Furthermore, based on the input information, the text editing section 103 generates a character sequence, and causes the display device of the output section 3 to display the generated character sequence. Thus, the character sequence which has been input by the user is displayed.
  • the character sequence which has been input by the user is referred to as an “input character sequence”.
  • the input character sequence is typically a character sequence composed of hiragana, katakana, and/or the English alphabet (Romaji).
  • the input character sequence which has been generated by the text editing section 103 is passed to the character sequence conversion section 110 . The input character sequence is displayed on the display device.
  • the text editing section 103 also causes the display device of the output section 3 to display prospective character sequences which is received from the character sequence conversion section 101 .
  • a “prospective character sequence” is a notion encompassing both a conversion candidate character sequence and a prediction candidate character sequence.
  • a “conversion candidate character sequence” is a character sequence composed of Chinese characters corresponding to an input character sequence. For example, conversion character sequences “ (a)”, “ (a)”, “ (a)”, and the like correspond to the input character sequence “ (a)”. Note that the present specification assumes that a “character sequence” may be composed of a single character, or contain a plurality of characters.
  • a “prediction candidate character sequence” is a character sequence that begins with the input character sequence.
  • Examples of prediction candidate character sequences corresponding to the input character sequence “ (ai)” are character sequences such as “ ) (aisatsu)” and “ ) (aida)”. In Embodiment 1, it is assumed that the prospective character sequences are conversion candidate character sequences.
  • the text editing section 103 After displaying the conversion candidate character sequence, the text editing section 103 waits for the user's operation of selecting a final character sequence. Specifically, the user employs the input section 2 to select a desired character sequence among those displayed as conversion candidate character sequences. The conversion candidate character sequence which has been thus selected by the user is the final character sequence. The selection of the final character sequence marks accomplishment of the inputting of the text. The text editing section 103 passes the final character sequence to the character sequence conversion section 101 .
  • the text editing section 103 displays an image on which to perform editing of the candidate table (described later), or awaits user's instructions. Furthermore, the text editing section 103 instructs the determination section 104 whether or not to perform learning (i.e., updating of the candidate table), in accordance with the user's instruction.
  • the character sequence conversion section 101 receives from the text editing section 103 the character sequence which has been input by the user (input character sequence). From within the candidate table stored in the table storing section 102 , the character sequence conversion section 101 retrieves, if any, a prospective character sequence corresponding to the input character sequence received from the text editing section 103 .
  • the “candidate table” is a table which associates input character sequences with prospective character sequences. The candidate table is used, when an input character sequence is provided, to provide corresponding prospective character sequences as conversion candidates. If any prospective character sequence is found within the candidate table as a result of the search, the character sequence conversion section 101 passes the prospective character sequence(s) in the candidate table to the text editing section 103 .
  • the character sequence conversion section 101 Upon receiving the final character sequence from the text editing section 103 , the character sequence conversion section 101 inquires to the determination section 104 as to whether or not to perform learning, i.e., whether or not to update the candidate table. If the result of the inquiry indicates that learning is to be performed, the candidate table is updated based on the correspondence between the received final character sequence and the input character sequence. Furthermore, in the case where editing of the candidate table is to be performed by the text editing section 103 , the character sequence conversion section 101 updates the content of the candidate table in accordance with instructions from the text editing section 103 .
  • the table storing section 102 stores the candidate table.
  • FIG. 3 shows an exemplary candidate table stored in a table storing section 102 .
  • input character sequences are associated with prospective character sequences.
  • the example shown in FIG. 3 assumes that the prospective character sequences are conversion candidate character sequences. It will be seen that one or more prospective character sequences are associated with each input character sequence.
  • the prospective character sequences are assigned with numbers indicating the order in which they are to be displayed as candidates. For example, for the input character sequence “ (a)”, character sequences “ (a)”, “ (a)”, and “ (a)” are associated as the first, second, and third prospective character sequences, respectively.
  • FIG. 4 is a diagram illustrating an exemplary image displayed by the text editing assistor according to Embodiment 1, in the case where the content of the candidate table is as shown in FIG. 3 .
  • a displayed screen 401 includes an editing area 402 in which the accomplished text and the input character sequence are displayed, and a candidate area 403 in which prospective character sequences are displayed.
  • a cursor 404 which is used to select a final character sequence. If the prospective character sequences corresponding to the input character sequence “ (a)” are as shown in FIG. 3 , these prospective character sequences are to be shown in the candidate area 403 in the order of “ (a)”, “ (a)”, and “ (a)” from the top, as shown in FIG.
  • the cursor 404 is shown at the first prospective character sequence “ (a)”.
  • the candidate table is updated so that a prospective character sequence that was most recently selected as a final character sequence comes in the first place.
  • the determination section 104 determines whether or not to update the candidate table when the final character sequence is selected. Specifically, having received the final character sequence from the text editing section 103 , the character sequence conversion section 101 inquires to the determination section 104 as to whether or not to perform learning. In response to this inquiry, the determination section 104 determines whether or not to update the candidate table. This determination is to be made based on environment information which is acquired by the environment information acquisition section 105 . Rules for making determinations on the basis of the environment information are previously set in the determination section 104 .
  • a mode indicating whether or not to perform learning is set in the text editing assistor: a learning mode (i.e., learning is to be performed) or a non-learning mode (i.e., learning is not to be performed).
  • the determination section 104 sets either the learning mode or the non-learning mode based on the result of the above determination.
  • the environment information acquisition section 105 acquires environment information concerning an environment which the text editing assistor is in.
  • environment information is a notion encompassing, for example, time information indicating a current time, position information indicating a current position of the text editing assistor, application information indicating an application which is being executed in the text editing assistor to handle text editing, and state information indicating a state of the application which handles text editing.
  • the environment information acquisition section 105 passes the acquired environment information to the determination section 104 .
  • the method of acquiring the environment information may comprise acquiring environment information within the device itself through the use of a GPS or timer means, or externally acquiring environment information by utilizing a BluetoothTM or infrared-based communications function or a wireless LAN-based communications function.
  • the text editing assistor according to Embodiment 1 is able to determine whether or not to perform learning (i.e., updating of the candidate table) based on the environment information. As a result, the text editing assistor updates the candidate table only when updating is determined as necessary in light of the environment concerning the text editing assistor itself.
  • FIG. 5 is a flowchart illustrating a flow of processes performed by the text editing assistor according to Embodiment 1.
  • a program for causing the CPU 1 to perform the processes shown in FIG. 5 is stored in the ROM 6 of the text editing assistor.
  • a mode is set in step S 1 .
  • the text editing section 103 instructs the determination section 104 to set a mode.
  • the determination section 104 instructs the environment information acquisition section 105 to acquire environment information.
  • the environment information acquisition section 105 acquires environment information, and passes it to the determination section 104 .
  • the determination section 104 determines whether or not to update the candidate table, and either a learning mode or a non-learning mode is set accordingly. At the time when step S 1 is performed, a screen on which to allow the user to input text (see FIG. 4 ) is displayed on the output section 3 .
  • the text editing section 103 causes the input character sequence to be displayed on the output section 3 .
  • the text editing section 103 generates an input character sequence based on the text input operations which were performed after a previous run of step S 2 and before the current run of step S 2 , and causes the output section 3 to display the generated input character sequence.
  • the generated input character sequence is passed to the character sequence conversion section 101 .
  • step S 3 the character sequence conversion section 101 searches for pairs consisting of the input character sequence received from the text editing section 103 and prospective character sequences corresponding thereto.
  • step S 4 based on the search result, the character sequence conversion section 101 determines whether there exists any prospective character sequence corresponding to the input character sequence received from the text editing section 103 .
  • step S 4 finds that there exists any prospective character sequence that corresponds to the input character sequence (step S 4 ; YES), the process of step S 5 is performed.
  • the character sequence conversion section 101 passes the prospective character sequence(s) acquired from the candidate table in the table storing section 102 to the text editing section 103 .
  • the text editing section 103 causes the output section 3 to display the received prospective character sequence(s).
  • step S 4 finds that no prospective character sequence exists that corresponds to the input character sequence (S 4 ; NO)
  • the process of step S 5 is skipped, and the process of step S 6 is performed instead.
  • the text editing section 103 determines whether the text input has been finalized. Specifically, the text editing section 103 first waits for the user's operation of selecting a final character sequence. If such a selection operation is made, the text editing section 103 determines that the text inputting has been finalized. At this time, the text editing section 103 passes the final character sequence to the character sequence conversion section 101 . Thereafter, the process of step S 7 is performed. On the other hand, if no such selection operation is made, but a further inputting of a character sequence is made instead, the text editing section 103 determines that the text inputting has not been finalized yet, and the process of step S 2 is again performed.
  • the character sequence conversion section 101 determines whether or not to perform learning. This determination is made based on the mode which was set in step S 1 . In other words, the character sequence conversion section 101 determines that learning is to be performed if the learning mode has been set, and determines that learning is not to be performed if the non-learning mode has been set.
  • step S 7 finds that learning is not to be performed (S 7 ; NO)
  • control returns to step S 2 ; in this case, no change is made to the candidate table.
  • step S 7 finds that learning is to be performed (S 7 ; YES)
  • the character sequence conversion section 101 updates the candidate table in accordance with the correspondence between the input character sequence and final character sequence. Specifically, the candidate table is updated so that, when prospective character sequences with respect to the current input character sequence are to be displayed the next time, the currently-selected final character sequence will be displayed as the most prospective character sequence (i.e., so as to be displayed in the first place).
  • FIG. 6 to FIG. 9 are diagrams illustrating exemplary images displayed when the processes shown in the flowchart of FIG. 5 are performed.
  • the candidate table has the content as shown in FIG. 3 at the start of the processing, and that the user inputs an input character sequence “ (ai)”.
  • the displayed screen 401 will be a shown in FIG. 4 .
  • the input character sequence “ (ai)” and prospective character sequences corresponding thereto are displayed, resulting in a displayed screen 401 as shown in FIG. 6 .
  • “ (a1)” and “ (ai)” are displayed in the first and second places, respectively, in accordance with the order described in the candidate table. It can be seen that the cursor 404 is pointing to “ (ai)” in FIG. 6 .
  • the displayed screen 401 will appear as shown in FIG. 7 .
  • the displayed screen will appear as shown in FIG. 8 . It is herein assumed that the input character sequence is underlined, whereas the final character sequence (i.e., accomplished text) is not accompanied by an underline. It is further assumed that the candidate area 403 is not displayed unless an input character sequence is input. If the learning mode has been set prior to performing the operations illustrated in FIG. 6 to FIG. 8 , the candidate table is updated when the user selects “ (ai)” as the final character sequence. In other words, “ (ai)” and “ (a1)”, respectively, now become the first and second prospective character sequences corresponding to the input character sequence “ (ai)”.
  • the displayed screen will appear as shown in FIG. 9 .
  • the candidate table is not updated; therefore, when the input character sequence “ (ai)” is generated next time, the displayed screen will remain the same as it was in the previous time, i.e., as shown in FIG. 6 .
  • Embodiment 1 whether or not to perform learning (i.e., updating of the candidate table) can be determined based on environment information. Therefore, according to Embodiment 1, updating of the candidate table is performed only when updating is determined as necessary in light of the environment concerning the text editing assistor itself.
  • rules may be set in the determination section 104 such that updating of the candidate table is to be performed if the current time is in the daytime, but not to be performed if the current time is in the nighttime, for example.
  • character sequences which are selected as final character sequences in the daytime will be displayed as highly prospective character sequences.
  • character sequences which are selected as final character sequences in the nighttime will not affect the order in which prospective character sequences are displayed.
  • the candidate table will only reflect text editing which is performed during the daytime.
  • the candidate table will only reflect text editing which is performed for business purposes. As a result, the efficiency of text input operations which are performed for business purposes can be enhanced.
  • rules may be set in the determination section 104 such that updating of the candidate table is to be performed if the current position is in the neighborhood of the user's workplace, but not to be performed if the current position is in the neighborhood of user's home, for example. This will also make it possible to determine whether or not to update the candidate table depending on whether the text editing assistor is being used for business purposes or for private purposes, so that similar effects to those obtained in the case where the environment information is a current time can be obtained.
  • the environment information is application information indicating an application which is being executed by the text editing assistor for handling text editing
  • the environment information maybe state information indicating a state of an application which handles text editing.
  • state information may be, for example, information indicating a particular text editing function of an application having a plurality of functions. More specifically, state information may be information indicating either function of an application having a mail function and a schedule function. For example, rules may be set in the determination section 104 such that updating of the candidate table is to be performed if the state information as environment information indicates the mail function, but not to be performed if the state information indicates the schedule function. As a result, it becomes possible to generate a candidate table which only reflects text editing which is performed using the mail function.
  • the state information may be information indicating an addressee of mail.
  • the user can edit the content of the candidate table. Specifically, the user can delete a pair of an input character sequence and a prospective character sequence, or change the priority order of prospective character sequences in the candidate table.
  • the processes which are performed by the text editing assistor during an editing of the content of the candidate table will be described.
  • FIG. 10 is a flowchart illustrating a flow of processes performed during an editing of the content of the candidate table.
  • the process shown in FIG. 10 may begin in response to, for example, an instruction from the user to edit the content of the candidate table (hereinafter an “editing instruction”). It is assumed that the processing shown in FIG. 10 is ended when the user instructs ending of the editing.
  • the processes of steps S 11 to S 14 are similar to the processes of steps S 2 to S 5 shown in FIG. 4 , and any detailed description thereof is omitted.
  • the text editing section 103 determines whether the user has given an editing instruction or not. Specifically, the text editing section 103 waits for an inputting of an editing instruction from the user. If such an input is made, the text editing section 103 determines that an editing instruction has been given; thereafter, the process of step S 16 is performed. On the other hand, if no such instruction is input, but a character sequence is input instead, the text editing section 103 determines that an editing instruction is not being given; thereafter, the process of step S 11 is performed.
  • the text editing section 103 determines whether the editing instruction given at step S 15 is a deletion instruction or not (note that Embodiment 1 assumes two types of editing instructions: a deletion instruction and an order change instruction). If the editing instruction given at step S 15 is a deletion instruction, the text editing section 103 deletes from the displayed screen 401 a prospective character sequence specified by the user at step S 17 . At this time, the prospective character sequence is also deleted from the candidate table. The user can designate a prospective character sequence to be deleted by moving the cursor 404 shown in FIG. 4 and the like. After S 17 , the process of step S 11 is performed.
  • the text editing section 103 changes the priority order of the prospective character sequences designated by the user at step S 18 .
  • the user can designate a prospective character sequence whose priority ranking is to be changed by moving the cursor 404 shown in FIG. 4 and the like. Furthermore, the user gives an instruction to move up the priority ranking of the designated prospective character sequence or an instruction to move down the priority ranking of the designated prospective character sequence, thereby changing the priority order of the prospective character sequences. At this time, the priority ranking of the prospective character sequence as stored in the candidate table is also changed.
  • step S 11 the process of step S 11 is performed.
  • FIG. 11 to FIG. 13 are diagrams illustrating exemplary images displayed when the processes shown in the flowchart of FIG. 10 are performed. In the following descriptions of FIG. 11 to FIG. 13 , it is assumed that the candidate table has the content as shown in FIG. 3 at the start of the processing.
  • FIG. 11 shows an exemplary displayed screen displayed when the user has input an input character sequence “ (a)” (step S 14 in FIG. 10 ).
  • three prospective character sequences corresponding to the input character sequence “ (a)” are displayed.
  • “ (a)”, “ (a)”, and “ (a)” are displayed in the first, second, and third places, respectively.
  • the user has given a deletion instruction to delete the prospective character sequence “ (a)”.
  • the user operates the cursor 404 (which will not need to be moved in the exemplary image shown in FIG. 11 ), and makes an input to give a deletion instruction with the cursor 404 pointing to “ (a)”.
  • the prospective character sequence “ (a)” is deleted from the candidate table.
  • the prospective character sequence “ (a)” is also deleted from the displayed screen 401 .
  • the user has given an order change instruction for the prospective character sequence “ (a)”.
  • the user moves the cursor 404 , and makes an input to give an order change instruction with the cursor 404 pointing to “ (a)”.
  • the user gives an instruction to move up the priority ranking of the designated prospective character sequence, thereby changing the priority order of the prospective character sequences.
  • the priority ranking of this prospective character sequence as stored in the candidate table is also changed. Consequently, as shown in FIG. 13 , the prospective character sequence “ (a)” is displayed in the first place in the displayed screen 401 .
  • the user is allowed to edit the candidate table, which makes it possible to generate a candidate table which reflects the desire of the user.
  • the text editing assistor according to Embodiment 2 includes a plurality of candidate tables, and employs different candidate tables in accordance with the environment information.
  • FIG. 14 is a functional block diagram illustrating the text editing assistor according to Embodiment 2.
  • FIG. 14 is identical to FIG. 2 except that two candidate tables, i.e., first and second candidate tables, are stored in the table storing section 202 .
  • the hardware structure of the text editing assistor according to Embodiment 2 is the same as that according to Embodiment 1, and the descriptions thereof are omitted.
  • FIG. 14 it is assumed that the first candidate table has the content as shown in FIG. 3 .
  • FIG. 15 shows an exemplary second candidate table stored in the table storing section 202 . As seen from FIG. 3 and FIG. 15 , associations between input character sequences and prospective character sequences are made differently between the first candidate table and the second candidate table. One of the two candidate tables is used depending on the content of the environment information.
  • FIG. 16 is a flowchart illustrating a flow of processes performed by the text editing assistor according to Embodiment 2.
  • a program for causing the CPU 1 to perform the processes shown in FIG. 16 is stored in the ROM 6 of the text editing assistor.
  • the processing shown in FIG. 16 will be described with respect to differences from the processing shown in FIG. 5 .
  • a candidate table to be used for presenting prospective character sequences for an input character sequence is determined. Since there are two candidate tables in Embodiment 2, the determination section 104 selects either one of the first and second candidate tables. Specifically, the text editing section 103 first instructs the determination section 104 to determine a candidate table. Having received this instruction from the text editing section 103 , the determination section 104 instructs the environment information acquisition section 105 to acquire environment information. In response to the instruction from the determination section 104 , the environment information acquisition section 105 acquires environment information, and passes it to the determination section 104 .
  • the determination section 104 determines a candidate table to be used for presenting prospective character sequences. At the time when step S 1 is performed, a screen on which to allow the user to input text (see FIG. 4 ) is displayed on the output section 3 .
  • steps S 22 to S 28 are similar to the processes of steps S 2 to S 8 shown in FIG. 5 , except that the candidate table to be searched at step S 23 and the candidate table to be updated at S 28 are the candidate table determined at step S 21 .
  • the candidate table to be used for presenting prospective character sequences is switched depending on the environment information.
  • candidate tables which are adapted to as many different environments as there are candidate tables can be generated.
  • FIG. 17 is a diagram illustrating an exemplary image of prospective character sequences displayed in the case where the first candidate table is used.
  • FIG. 18 is a diagram illustrating an exemplary image of prospective character sequences displayed in the case where the second candidate table is used. Between FIG. 17 and FIG. 18 , different prospective character sequences are displayed for the same input character sequence “ (ai)”.
  • it is possible to generate candidate tables adapted to a plurality of environments by using a plurality of candidate tables. This improves the efficiency of text input operations performed by the user in the case where a plurality of environments exist.
  • the candidate table may be switched depending on whether the current time falls in the daytime or the nighttime. Mores specifically, a candidate table reflecting work-related character conversions may be used if the current time falls in the daytime, whereas a candidate table reflecting non-work-related character conversions may be used if the current time falls in the nighttime.
  • one of the candidate tables is customized so as to suit business purposes, whereas the other candidate table is customized so as to suit private purposes. Therefore, the efficiency of text input operations can be improved both in the case of using the text editing assistor for business purposes and in the case of using it for private purposes.
  • the environment information may be position information, application information, or state information, instead of time information, as is the case with Embodiment 1.
  • Embodiment 2 illustrates an example where there are two candidate tables, three or more candidate tables may be employed. Therefore, in the case where the environment information is application information, candidate tables which are adapted for the respective applications can be generated by preparing as many candidate tables as there are applications.
  • the determination as to whether or not to perform learning at steps S 7 and S 27 is made based only on environment information.
  • the determination concerning learning may be made also in accordance with the method of selecting a final character sequence.
  • two kinds of methods for selecting a final character sequence may be provided, e.g., if the input section 2 includes a plurality of buttons, first and second buttons may be assigned to respectively different methods of selecting a final character sequence.
  • Such a structure will enable the user to manually make the determination as to whether or not to update the candidate table, which is illustrated as being automatically made in Embodiments 1 and 2.
  • the determination as to whether or not to update the candidate table may be made based solely on the aforementioned two kinds of methods for selecting a final character sequence, without relying on the environment information.
  • the switching between updating and not updating the candidate table can be made more easily than in the case where either a learning mode and a non-learning mode must be set in advance. In other words, such switching can be performed by the user each time a final character sequence is selected.
  • FIG. 19 shows an exemplary candidate table which associates input character sequences and prediction candidate character sequences.
  • the first character of a given input character sequence is associated with character sequences which begin with that character. For example, if the input character sequence “ (a)” is input, the prospective character sequences which are associated with “ (a)” in the candidate table are presented in the order as indicated by their numbers.
  • the present invention is indifferent as to whether the prospective character sequences are conversion candidate character sequences or prediction candidate character sequences. Moreover, the present invention is indifferent as to the data structure of the candidate table or the method of presenting prospective character sequences.
  • the text editing assistor may comprise a dictionary table in addition to the candidate table.
  • a dictionary table is a table which is referred to when an input character sequence is not found in the candidate table. It is commonplace to internalize such a dictionary table in a text editing assistor.
  • the text editing assistor may comprise an inhibited sequence table in addition to the candidate table.
  • An inhibited sequence table is a table associating each input character sequence with “inhibited character sequences”, i.e., character sequences which are not to be presented as prospective character sequences for that input character sequence. Specifically, when the character sequence conversion section 101 searches the candidate table at steps S 3 and S 4 shown in FIG. 5 , it pretends that any association between the input character sequence and an inhibited character sequence stored in the inhibited sequence table is not contained in the candidate table.
  • any pair of an input character sequence and a prospective character sequence contained in the candidate table that is also contained in the inhibited sequence table is excluded from the prospective character sequences to be presented.
  • an inhibited sequence table an effect similar to deleting an association between the input character sequence and the prospective character sequence from the candidate table can be obtained.
  • the inhibited sequence table may be editable by the user.
  • the inhibited sequence table is preferably protected so that it cannot be viewed by any other user.
  • the candidate table and inhibited sequence table may be acquired from outside of the text editing assistor, e.g., via the Internet.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Document Processing Apparatus (AREA)
  • Machine Translation (AREA)

Abstract

A text editing assistor comprises a table storing section storing a candidate table, a candidate displaying section, a character sequence finalization section, an environment information acquisition section, a determination section, and a first updating section. The candidate displaying section displays at least one prospective character sequence in response to a character sequence which is input by the user. The character sequence finalization section allows the user to select one of the at least one prospective character sequence displayed by the candidate displaying section as a final character sequence. The environment information acquisition section acquires environment information. When a final character sequence is selected by means of the character sequence finalization section, the determination section determines whether or not to update the candidate table based on the environment information. The first updating section updates the candidate table only when the determination section determines that the candidate table is to be updated.

Description

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a text editing assistor, and more particularly to a text editing assistor which displays a prospective character sequence based on a character sequence which is input by a user.
2. Description of the Background Art
The rapid prevalence of cellular phone-based e-mail services in recent years has resulted in much increased opportunities for users to input text via key operations. Under such circumstances, various proposals have been made for realizing text editing assistors which enhance the efficiency and ease of text input operations performed by the user. Behind such needs is the fact that written Japanese consists of different sets of alphabets (hiragana, katakana, etc.), with which further types of characters (Chinese characters, or the English alphabet) may be mixedly used. Furthermore, when a Japanese sentence is typed on a keyboard (as in the case of a computer), it is commonplace to employ the English alphabet system (known as Romaji) to first phonetically type up the Japanese sentence as heard to obtain an input character sequence spelt in hiragana, and then convert portions of the input character sequence to other types of characters such as katakana or Chinese characters. Throughout the present specification, such conversion will be referred to as “finalization”, and the entire sequence obtained after the finalization will be referred to as a “final character sequence”. Note, however, that a final character sequence is not irrevocably “final”, but maybe subjected to further editing by the user, e.g., deletion and/or addition.
A typical example of conventional techniques for enhancing the efficiency and ease of text input operations is presenting prospective character sequences based on a character sequence which is input by a user. For example, for a given character sequence which is input by the user (composed of hiragana, katakana, or the English alphabet (Romaji)), a text editing assistor may present to the user a list of “conversion candidates” (i.e., words or fractions of words as spelt in Chinese characters), the list being presented in an estimated order of frequency. On the other hand, for a given character sequence which is input by the user (e.g., a character sequence “oha”), a text editing assistor may predict the rest of the word and present the result of the prediction as a “prediction candidate” (e.g., “ohayo”, or ‘good morning’). Hereinafter, more specific instances of such techniques will be described.
One specific example is a technique of presenting to the user a curtailed list of candidates, from which unlikely or impossible candidates are omitted. In this technique, automatic predictions are made in the middle of the user's inputting operation of a character sequence. Then, based on consistency with any previously-finalized sequence of Chinese characters, hiragana, and/or katakana, or user instructions as to which conversion candidates are adopted or dismissed, a curtailed list of candidates from which unnecessary prospective character sequences are omitted is presented to the user. Thus, the burden of the user's input operations is reduced.
Another specific example is a technique in which prospective character sequences to be presented to the user are “learned” based on input character sequences and finalized character sequences (final character sequences). According to this technique, a prospective character sequence which is selected as a final character sequence for a given input character sequence will be presented as a most prospective character sequence the next time the same character sequence is input. A further modification to a text editing assistor having such a learning function is a technique in which, if a once-finalized character sequence is corrected, the correction is reflected in the learning. This technique works in such a manner that, if a user has inadvertently selected the wrong final character sequence, this wrong final character sequence is prevented from being presented as the most prospective character sequence.
The purpose of using a text editing assistor, or the environment in which it is used, may vary. For example, the same user may use a text editing assistor to write a text for business purposes or use it in a more private situation. Since the frequency which a given character sequence is used varies depending on the purpose and/or environment associated with the text editing assistor, the character sequence to be presented as the most prospective character sequence should also vary depending on the purpose and/or environment associated with the text editing assistor. For example, a sentence like “to whom it may concern” is often used in business situations, and therefore, it would be convenient if such a sentence is presented as a prediction candidate when the user has input a character sequence “to”. On the other hand, such a sentence is less often used in private situations, so that it may detract from the user's convenience if the above sentence is presented as a prediction candidate in private situations.
As described above, prospective character sequence which are presented on a conventional text editing assistor do not reflect the purpose or state for/in which the text editing assistor is used. In other words, a conventional text editing assistor will always present the same prospective character sequence in response to a given input sequence, irrespective of the purpose or state. Therefore, depending on the purpose for which the text editing assistor is used, the function of presenting prospective character sequences may not provide much convenience to the user.
SUMMARY OF THE INVENTION
Therefore, an object of the present invention is to provide a text editing assistor which is capable of presenting a prospective character sequence that is suitable to the purpose for which the text editing assistor is used.
The present invention has the following features to attain the object mentioned above. A first aspect of the present invention is directed to a text editing assistor for displaying a prospective character sequence based on a character sequence which is input by a user. The text editing assistor comprises a table storing section, a candidate displaying section, a character sequence finalization section, an environment information acquisition section, a determination section, and a first updating section. The table storing section stores a candidate table which associates one or more prospective character sequences with a given character sequence. The candidate displaying section displays, in response to a character sequence which is input by the user, at least one prospective character sequence which is associated by the candidate table with the character sequence which has been input by the user. The character sequence finalization section allows the user to select one of the at least one prospective character sequence displayed by the candidate displaying section as a final character sequence. The environment information acquisition section acquires environment information concerning the text editing assistor or an environment thereof. When a final character sequence is selected by means of the character sequence finalization section, the determination section determines whether or not to update the candidate table based on the environment information. The first updating section updates the candidate table based on an association between the final character sequence selected by means of the character sequence finalization section and the character sequence which has been input by the user, the update being made only when the determination section determines that the candidate table is to be updated.
A second aspect of the present invention is directed to a text editing assistor for displaying a prospective character sequence based on a character sequence which is input by a user. The text editing assistor comprises a table storing section, an environment information acquisition section, a table determination section, a candidate displaying section, a character sequence finalization section, and a first updating section. The table storing section stores a plurality of candidate tables each of which associates one or more prospective character sequences with a given character sequence, each candidate table containing a different set of such associations. The environment information acquisition section acquires environment information concerning the document editing assistor or an environment thereof. The table determination section determines one of the plurality of candidate tables stored in the table storing section based on the environment information acquired by the environment information acquisition section. The candidate displaying section displays, in response to a character sequence which is input by the user, at least one prospective character sequence which is associated by the candidate table determined by the table determination section with the character sequence which has been input by the user. The character sequence finalization section allows the user to select one of the at least one prospective character sequence displayed by the candidate displaying section as a final character sequence. The first updating section updates the candidate table determined by the table determination section based on an association between the final character sequence selected by means of the character sequence finalization section and the character sequence which has been input by the user.
As the environment information, the environment information acquisition section may acquire: information indicating a current time; information indicating a current position of the document editing assistor; information indicating a type of application which accepts an inputting of a character sequence; or information indicating a state of an application which accepts an inputting of a character sequence.
The text editing assistor may further comprise an input accepting section and a second updating section. The input accepting section accepts at least two kinds of input methods for inputting a selection of a final character sequence by means of the character sequence finalization section. The second updating section is operable to update the candidate table based on the association between the final character sequence selected by means of the character sequence finalization section and the character sequence which has been input by the user when the input accepting section accepts a selection of the final character sequence by the first input method, and not update the candidate table when the input accepting section accepts a selection of the final character sequence by a second input method which is different from the first input method.
The text editing assistor may further comprise: a designation section for allowing the user to designate an association between a character sequence and a prospective character sequence in the candidate table, and a deletion section for deleting from the candidate table the association between the character sequence and the prospective character sequence designated by means of the designation section.
The candidate table may associate a plurality of prospective character sequences, in an order of being displayed by the candidate displaying section, with a given character sequence. In this case, the text editing assistor further comprises a changing section for changing the order of the prospective character sequences associated by the candidate table with the given character sequence.
The present invention can be implemented as a program. By recording such a program on a recording medium, it becomes possible to practice the present invention on a separate computer system.
Thus, according to the first aspect, whether or not to perform learning (i.e., updating of the candidate table) can be determined based on environment information. Therefore, updating of the candidate table is performed only when updating is determined as necessary in light of the environment concerning the text editing assistor itself. In other words, according to the present invention, it is possible to present prospective character sequences which are suitable for the purpose for which the text editing assistor is used.
Thus, according to the second aspect, the candidate table to be used for presenting prospective character sequences is switched depending on the environment information. As a result, candidate tables which are adapted to as many different environments as there are candidate tables can be generated. In other words, according to the present aspect, it is possible to present prospective character sequences which are suitable for the purpose for which the text editing assistor is used. Since different candidate tables are used depending on the purpose for which the user uses the text editing assistor, it becomes possible to vary the prospective character sequences to be presented.
These and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram illustrating the hardware structure of a text editing assistor according to Embodiment 1 of the present invention;
FIG. 2 is a functional block diagram illustrating the text editing assistor according to Embodiment 1;
FIG. 3 shows an exemplary candidate table stored in a table storing section 102;
FIG. 4 is a diagram illustrating an exemplary image displayed by the text editing assistor according to Embodiment 1;
FIG. 5 is a flowchart illustrating a flow of processes performed by the text editing assistor according to Embodiment 1;
FIG. 6 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 5 are performed;
FIG. 7 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 5 are performed;
FIG. 8 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 5 are performed;
FIG. 9 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 5 are performed;
FIG. 10 is a flowchart illustrating a flow of processes performed during an editing of the content of a candidate table;
FIG. 11 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 10 are performed;
FIG. 12 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 10 are performed;
FIG. 13 is a diagram illustrating an exemplary image displayed when the processes shown in the flowchart of FIG. 10 are performed;
FIG. 14 is a functional block diagram illustrating the text editing assistor according to Embodiment 2;
FIG. 15 shows an exemplary second candidate table stored in a table storing section 202;
FIG. 16 is a flowchart illustrating a flow of processes performed by the text editing assistor according to Embodiment 2;
FIG. 17 is a diagram illustrating an exemplary image of prospective character sequences displayed in the case where the first candidate table is used;
FIG. 18 is a diagram illustrating an exemplary image of prospective character sequences displayed in the case where the second candidate table is used; and
FIG. 19 shows an exemplary candidate table which associates input character sequences and prediction candidate character sequences.
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1
FIG. 1 is a block diagram illustrating the hardware structure of a text editing assistor according to Embodiment 1 of the present invention. In FIG. 1, the text editing assistor comprises a central processing unit (CPU) 1, an input section 2, an output section 3, a storage section 4, and a transmission/reception device 7. These elements are interconnected via a system bus 8. The text editing assistor shown in FIG. 1 may be implemented as, for example, a cellular phone or a PDA (Personal Digital Assistant). However, the text editing assistor may also be implemented as a desk-top type personal computer, instead of a mobile terminal.
The CPU 1 executes a predetermined program, which is stored in the storage section 4, to perform the program processes (described later). The input section 2, which may be composed of a keyboard, buttons, a mouse, a microphone, or the like, accepts text or instructions which are input by a user. The output section 3, which may be composed of a display device (e.g., a computer display) and/or an audio output device (e.g., a loudspeaker), functions to display images or output audio representing the data which is output from the CPU 1. The storage section 4, which may be composed of a RAM 5, a ROM 6, or the like, is used for the predetermined program processes performed by the CPU 1, and also for storing a candidate table (described later) and optionally a dictionary table. The storage section 4 may comprise a hard disk or any recording medium which is removable from the text editing assistor, e.g., a CD-ROM. The transmission/reception device 7 performs data communications with an external device (not shown) in wireless fashion or via a transmission path. The CPU 1 performs data exchange with the external device by means of the transmission/reception device 7.
FIG. 2 is a functional block diagram illustrating the text editing assistor according to Embodiment 1. As shown in FIG. 2, the text editing assistor comprises a character sequence conversion section 101, a table storing section 102, a text editing section 103, a determination section 104, and an environment information acquisition section 105. The table storing section 102 is implemented by the RAM 5 shown in FIG. 1. The other elements shown in FIG. 2 are implemented as predetermined programs (described later with reference to FIG. 5) performed by the CPU 1 shown in FIG. 1.
The text editing section 103 accepts text input operations by the user, and causes the display device of the output section 3 to display a screen on which to allow the user to input text. Specifically, when the input section 2 is operated by the user, the text editing section 103 receives input information representing the operation performed by the user from the input section 2. Furthermore, based on the input information, the text editing section 103 generates a character sequence, and causes the display device of the output section 3 to display the generated character sequence. Thus, the character sequence which has been input by the user is displayed. The character sequence which has been input by the user is referred to as an “input character sequence”. The input character sequence is typically a character sequence composed of hiragana, katakana, and/or the English alphabet (Romaji). The input character sequence which has been generated by the text editing section 103 is passed to the character sequence conversion section 110. The input character sequence is displayed on the display device.
The text editing section 103 also causes the display device of the output section 3 to display prospective character sequences which is received from the character sequence conversion section 101. As used herein, a “prospective character sequence” is a notion encompassing both a conversion candidate character sequence and a prediction candidate character sequence. A “conversion candidate character sequence” is a character sequence composed of Chinese characters corresponding to an input character sequence. For example, conversion character sequences “
Figure US07231610-20070612-P00001
(a)”, “
Figure US07231610-20070612-P00002
(a)”, “
Figure US07231610-20070612-P00003
(a)”, and the like correspond to the input character sequence “
Figure US07231610-20070612-P00004
(a)”. Note that the present specification assumes that a “character sequence” may be composed of a single character, or contain a plurality of characters. A “prediction candidate character sequence” is a character sequence that begins with the input character sequence. Examples of prediction candidate character sequences corresponding to the input character sequence “
Figure US07231610-20070612-P00005
(ai)” are character sequences such as “
Figure US07231610-20070612-P00006
) (aisatsu)” and “
Figure US07231610-20070612-P00007
) (aida)”. In Embodiment 1, it is assumed that the prospective character sequences are conversion candidate character sequences.
After displaying the conversion candidate character sequence, the text editing section 103 waits for the user's operation of selecting a final character sequence. Specifically, the user employs the input section 2 to select a desired character sequence among those displayed as conversion candidate character sequences. The conversion candidate character sequence which has been thus selected by the user is the final character sequence. The selection of the final character sequence marks accomplishment of the inputting of the text. The text editing section 103 passes the final character sequence to the character sequence conversion section 101.
Other than that, the text editing section 103 displays an image on which to perform editing of the candidate table (described later), or awaits user's instructions. Furthermore, the text editing section 103 instructs the determination section 104 whether or not to perform learning (i.e., updating of the candidate table), in accordance with the user's instruction.
The character sequence conversion section 101 receives from the text editing section 103 the character sequence which has been input by the user (input character sequence). From within the candidate table stored in the table storing section 102, the character sequence conversion section 101 retrieves, if any, a prospective character sequence corresponding to the input character sequence received from the text editing section 103. As used herein, the “candidate table” is a table which associates input character sequences with prospective character sequences. The candidate table is used, when an input character sequence is provided, to provide corresponding prospective character sequences as conversion candidates. If any prospective character sequence is found within the candidate table as a result of the search, the character sequence conversion section 101 passes the prospective character sequence(s) in the candidate table to the text editing section 103.
Upon receiving the final character sequence from the text editing section 103, the character sequence conversion section 101 inquires to the determination section 104 as to whether or not to perform learning, i.e., whether or not to update the candidate table. If the result of the inquiry indicates that learning is to be performed, the candidate table is updated based on the correspondence between the received final character sequence and the input character sequence. Furthermore, in the case where editing of the candidate table is to be performed by the text editing section 103, the character sequence conversion section 101 updates the content of the candidate table in accordance with instructions from the text editing section 103.
The table storing section 102 stores the candidate table. FIG. 3 shows an exemplary candidate table stored in a table storing section 102. As shown in FIG. 3, in the candidate table, input character sequences are associated with prospective character sequences. The example shown in FIG. 3 assumes that the prospective character sequences are conversion candidate character sequences. It will be seen that one or more prospective character sequences are associated with each input character sequence. The prospective character sequences are assigned with numbers indicating the order in which they are to be displayed as candidates. For example, for the input character sequence “
Figure US07231610-20070612-P00008
(a)”, character sequences “
Figure US07231610-20070612-P00009
(a)”, “
Figure US07231610-20070612-P00010
(a)”, and “
Figure US07231610-20070612-P00011
(a)” are associated as the first, second, and third prospective character sequences, respectively.
FIG. 4 is a diagram illustrating an exemplary image displayed by the text editing assistor according to Embodiment 1, in the case where the content of the candidate table is as shown in FIG. 3. In FIG. 4, a displayed screen 401 includes an editing area 402 in which the accomplished text and the input character sequence are displayed, and a candidate area 403 in which prospective character sequences are displayed. Also shown in the candidate area 403 is a cursor 404 which is used to select a final character sequence. If the prospective character sequences corresponding to the input character sequence “
Figure US07231610-20070612-P00012
(a)” are as shown in FIG. 3, these prospective character sequences are to be shown in the candidate area 403 in the order of “
Figure US07231610-20070612-P00013
(a)”, “
Figure US07231610-20070612-P00014
(a)”, and “
Figure US07231610-20070612-P00015
(a)” from the top, as shown in FIG. 4. By default, the cursor 404 is shown at the first prospective character sequence “
Figure US07231610-20070612-P00016
(a)”. Thus, it is preferable to give the earliest number to the prospective character sequence which is most likely to be selected as final character sequence, so that the first prospective character sequence “
Figure US07231610-20070612-P00017
(a)” can be immediately designated when the user selects a final character sequence from among the prospective character sequence. Therefore, in the learning process of the candidate table according to Embodiment 1, the candidate table is updated so that a prospective character sequence that was most recently selected as a final character sequence comes in the first place.
The determination section 104 determines whether or not to update the candidate table when the final character sequence is selected. Specifically, having received the final character sequence from the text editing section 103, the character sequence conversion section 101 inquires to the determination section 104 as to whether or not to perform learning. In response to this inquiry, the determination section 104 determines whether or not to update the candidate table. This determination is to be made based on environment information which is acquired by the environment information acquisition section 105. Rules for making determinations on the basis of the environment information are previously set in the determination section 104. In Embodiment 1, a mode indicating whether or not to perform learning is set in the text editing assistor: a learning mode (i.e., learning is to be performed) or a non-learning mode (i.e., learning is not to be performed). The determination section 104 sets either the learning mode or the non-learning mode based on the result of the above determination.
The environment information acquisition section 105 acquires environment information concerning an environment which the text editing assistor is in. As used herein, “environment information” is a notion encompassing, for example, time information indicating a current time, position information indicating a current position of the text editing assistor, application information indicating an application which is being executed in the text editing assistor to handle text editing, and state information indicating a state of the application which handles text editing. The environment information acquisition section 105 passes the acquired environment information to the determination section 104. The method of acquiring the environment information may comprise acquiring environment information within the device itself through the use of a GPS or timer means, or externally acquiring environment information by utilizing a Bluetooth™ or infrared-based communications function or a wireless LAN-based communications function.
In accordance with the structure described above with reference to FIG. 2, the text editing assistor according to Embodiment 1 is able to determine whether or not to perform learning (i.e., updating of the candidate table) based on the environment information. As a result, the text editing assistor updates the candidate table only when updating is determined as necessary in light of the environment concerning the text editing assistor itself.
Next, a flow of processes performed by the text editing assistor according to Embodiment 1 will be described. FIG. 5 is a flowchart illustrating a flow of processes performed by the text editing assistor according to Embodiment 1. A program for causing the CPU 1 to perform the processes shown in FIG. 5 is stored in the ROM 6 of the text editing assistor.
The flow of processes shown in FIG. 5 may begin in response to, for example, activation of an application which handles text editing, or turning-on of the power of the text editing assistor. First, a mode is set in step S1. Specifically, the text editing section 103 instructs the determination section 104 to set a mode. Having received this instruction from the text editing section 103, the determination section 104 instructs the environment information acquisition section 105 to acquire environment information. In response to the instruction from the determination section 104, the environment information acquisition section 105 acquires environment information, and passes it to the determination section 104. Based on the environment information received from the environment information acquisition section 105, the determination section 104 determines whether or not to update the candidate table, and either a learning mode or a non-learning mode is set accordingly. At the time when step S1 is performed, a screen on which to allow the user to input text (see FIG. 4) is displayed on the output section 3.
Next, at step S2, the text editing section 103 causes the input character sequence to be displayed on the output section 3. Specifically, the text editing section 103 generates an input character sequence based on the text input operations which were performed after a previous run of step S2 and before the current run of step S2, and causes the output section 3 to display the generated input character sequence. The generated input character sequence is passed to the character sequence conversion section 101.
Next to step S2, at step S3, the character sequence conversion section 101 searches for pairs consisting of the input character sequence received from the text editing section 103 and prospective character sequences corresponding thereto. At step S4, based on the search result, the character sequence conversion section 101 determines whether there exists any prospective character sequence corresponding to the input character sequence received from the text editing section 103.
If step S4 finds that there exists any prospective character sequence that corresponds to the input character sequence (step S4; YES), the process of step S5 is performed. At step S5, the character sequence conversion section 101 passes the prospective character sequence(s) acquired from the candidate table in the table storing section 102 to the text editing section 103. The text editing section 103 causes the output section 3 to display the received prospective character sequence(s). On the other hand, if step S4 finds that no prospective character sequence exists that corresponds to the input character sequence (S4; NO), the process of step S5 is skipped, and the process of step S6 is performed instead.
At step S6, the text editing section 103 determines whether the text input has been finalized. Specifically, the text editing section 103 first waits for the user's operation of selecting a final character sequence. If such a selection operation is made, the text editing section 103 determines that the text inputting has been finalized. At this time, the text editing section 103 passes the final character sequence to the character sequence conversion section 101. Thereafter, the process of step S7 is performed. On the other hand, if no such selection operation is made, but a further inputting of a character sequence is made instead, the text editing section 103 determines that the text inputting has not been finalized yet, and the process of step S2 is again performed.
At step S7, the character sequence conversion section 101 determines whether or not to perform learning. This determination is made based on the mode which was set in step S1. In other words, the character sequence conversion section 101 determines that learning is to be performed if the learning mode has been set, and determines that learning is not to be performed if the non-learning mode has been set.
If step S7 finds that learning is not to be performed (S7; NO), control returns to step S2; in this case, no change is made to the candidate table. On the other hand, if step S7 finds that learning is to be performed (S7; YES), the character sequence conversion section 101 updates the candidate table in accordance with the correspondence between the input character sequence and final character sequence. Specifically, the candidate table is updated so that, when prospective character sequences with respect to the current input character sequence are to be displayed the next time, the currently-selected final character sequence will be displayed as the most prospective character sequence (i.e., so as to be displayed in the first place).
Now, a specific instance of the progress of the processing shown in FIG. 5 will be described while illustrating how the displayed screen may transition. FIG. 6 to FIG. 9 are diagrams illustrating exemplary images displayed when the processes shown in the flowchart of FIG. 5 are performed. In the following descriptions of FIG. 6 to FIG. 9, it is assumed that the candidate table has the content as shown in FIG. 3 at the start of the processing, and that the user inputs an input character sequence “
Figure US07231610-20070612-P00018
(ai)”.
First, when the user inputs “
Figure US07231610-20070612-P00019
(a)”, the displayed screen 401 will be a shown in FIG. 4. When the user subsequently inputs “
Figure US07231610-20070612-P00020
(i)”, the input character sequence “
Figure US07231610-20070612-P00021
(ai)” and prospective character sequences corresponding thereto are displayed, resulting in a displayed screen 401 as shown in FIG. 6. In FIG. 6, “
Figure US07231610-20070612-P00022
(a1)” and “
Figure US07231610-20070612-P00023
(ai)” are displayed in the first and second places, respectively, in accordance with the order described in the candidate table. It can be seen that the cursor 404 is pointing to “
Figure US07231610-20070612-P00024
(ai)” in FIG. 6. Next, when the user moves the cursor 404 to “
Figure US07231610-20070612-P00025
(ai)”, the displayed screen 401 will appear as shown in FIG. 7. Furthermore, if the user selects “
Figure US07231610-20070612-P00026
(ai)” as the final character sequence, the displayed screen will appear as shown in FIG. 8. It is herein assumed that the input character sequence is underlined, whereas the final character sequence (i.e., accomplished text) is not accompanied by an underline. It is further assumed that the candidate area 403 is not displayed unless an input character sequence is input. If the learning mode has been set prior to performing the operations illustrated in FIG. 6 to FIG. 8, the candidate table is updated when the user selects “
Figure US07231610-20070612-P00027
(ai)” as the final character sequence. In other words, “
Figure US07231610-20070612-P00028
(ai)” and “
Figure US07231610-20070612-P00029
(a1)”, respectively, now become the first and second prospective character sequences corresponding to the input character sequence “
Figure US07231610-20070612-P00030
(ai)”. Accordingly, when the input character sequence “
Figure US07231610-20070612-P00031
(ai)” is generated next time, the displayed screen will appear as shown in FIG. 9. On the other hand, if the non-learning mode has been set prior to performing the operations illustrated in FIG. 6 to FIG. 9, the candidate table is not updated; therefore, when the input character sequence “
Figure US07231610-20070612-P00032
(ai)” is generated next time, the displayed screen will remain the same as it was in the previous time, i.e., as shown in FIG. 6.
Thus, according to Embodiment 1, whether or not to perform learning (i.e., updating of the candidate table) can be determined based on environment information. Therefore, according to Embodiment 1, updating of the candidate table is performed only when updating is determined as necessary in light of the environment concerning the text editing assistor itself.
Specifically, in the case where the environment information is time information indicating a current time, rules may be set in the determination section 104 such that updating of the candidate table is to be performed if the current time is in the daytime, but not to be performed if the current time is in the nighttime, for example. As a result, character sequences which are selected as final character sequences in the daytime will be displayed as highly prospective character sequences. On the other hand, character sequences which are selected as final character sequences in the nighttime will not affect the order in which prospective character sequences are displayed. Thus, the candidate table will only reflect text editing which is performed during the daytime. In the case where the user is likely to use the text editing assistor for business purposes in the day time but for private purposes in the nighttime, for example, the candidate table will only reflect text editing which is performed for business purposes. As a result, the efficiency of text input operations which are performed for business purposes can be enhanced.
In the case where the environment information is position information indicating a current position, rules may be set in the determination section 104 such that updating of the candidate table is to be performed if the current position is in the neighborhood of the user's workplace, but not to be performed if the current position is in the neighborhood of user's home, for example. This will also make it possible to determine whether or not to update the candidate table depending on whether the text editing assistor is being used for business purposes or for private purposes, so that similar effects to those obtained in the case where the environment information is a current time can be obtained.
In the case where the environment information is application information indicating an application which is being executed by the text editing assistor for handling text editing, it becomes possible to generate a candidate table which reflects text editing which is performed only on a predetermined application.
Alternatively, the environment information maybe state information indicating a state of an application which handles text editing. As used herein, “state information” may be, for example, information indicating a particular text editing function of an application having a plurality of functions. More specifically, state information may be information indicating either function of an application having a mail function and a schedule function. For example, rules may be set in the determination section 104 such that updating of the candidate table is to be performed if the state information as environment information indicates the mail function, but not to be performed if the state information indicates the schedule function. As a result, it becomes possible to generate a candidate table which only reflects text editing which is performed using the mail function.
In the case where the application is a mailer, the state information may be information indicating an addressee of mail. As a result, it becomes possible to generate a candidate table which only reflects editing of mail that is directed to a particular person (addressee).
Furthermore, according to Embodiment 1, the user can edit the content of the candidate table. Specifically, the user can delete a pair of an input character sequence and a prospective character sequence, or change the priority order of prospective character sequences in the candidate table. Hereinafter, the processes which are performed by the text editing assistor during an editing of the content of the candidate table will be described.
FIG. 10 is a flowchart illustrating a flow of processes performed during an editing of the content of the candidate table. The process shown in FIG. 10 may begin in response to, for example, an instruction from the user to edit the content of the candidate table (hereinafter an “editing instruction”). It is assumed that the processing shown in FIG. 10 is ended when the user instructs ending of the editing. In FIG. 10, the processes of steps S11 to S14 are similar to the processes of steps S2 to S5 shown in FIG. 4, and any detailed description thereof is omitted.
At step S15, the text editing section 103 determines whether the user has given an editing instruction or not. Specifically, the text editing section 103 waits for an inputting of an editing instruction from the user. If such an input is made, the text editing section 103 determines that an editing instruction has been given; thereafter, the process of step S16 is performed. On the other hand, if no such instruction is input, but a character sequence is input instead, the text editing section 103 determines that an editing instruction is not being given; thereafter, the process of step S11 is performed.
At step S16, the text editing section 103 determines whether the editing instruction given at step S15 is a deletion instruction or not (note that Embodiment 1 assumes two types of editing instructions: a deletion instruction and an order change instruction). If the editing instruction given at step S15 is a deletion instruction, the text editing section 103 deletes from the displayed screen 401 a prospective character sequence specified by the user at step S17. At this time, the prospective character sequence is also deleted from the candidate table. The user can designate a prospective character sequence to be deleted by moving the cursor 404 shown in FIG. 4 and the like. After S17, the process of step S11 is performed.
On the other hand, if the editing instruction given at step S15 is an order change instruction, the text editing section 103 changes the priority order of the prospective character sequences designated by the user at step S18. The user can designate a prospective character sequence whose priority ranking is to be changed by moving the cursor 404 shown in FIG. 4 and the like. Furthermore, the user gives an instruction to move up the priority ranking of the designated prospective character sequence or an instruction to move down the priority ranking of the designated prospective character sequence, thereby changing the priority order of the prospective character sequences. At this time, the priority ranking of the prospective character sequence as stored in the candidate table is also changed. After S18, the process of step S11 is performed.
Now, a specific instance of the progress of the processing shown in FIG. 10 will be described while illustrating how the displayed screen may transition. FIG. 11 to FIG. 13 are diagrams illustrating exemplary images displayed when the processes shown in the flowchart of FIG. 10 are performed. In the following descriptions of FIG. 11 to FIG. 13, it is assumed that the candidate table has the content as shown in FIG. 3 at the start of the processing.
FIG. 11 shows an exemplary displayed screen displayed when the user has input an input character sequence “
Figure US07231610-20070612-P00033
(a)” (step S14 in FIG. 10). As shown in FIG. 11, three prospective character sequences corresponding to the input character sequence “
Figure US07231610-20070612-P00034
(a)” are displayed. In FIG. 11, in accordance with the content of the candidate table as shown in FIG. 3, “
Figure US07231610-20070612-P00035
(a)”, “
Figure US07231610-20070612-P00036
(a)”, and “
Figure US07231610-20070612-P00037
(a)” are displayed in the first, second, and third places, respectively.
First, it is assumed that the user has given a deletion instruction to delete the prospective character sequence “
Figure US07231610-20070612-P00038
(a)”. The user operates the cursor 404 (which will not need to be moved in the exemplary image shown in FIG. 11), and makes an input to give a deletion instruction with the cursor 404 pointing to “
Figure US07231610-20070612-P00039
(a)”. Thus, the prospective character sequence “
Figure US07231610-20070612-P00040
(a)” is deleted from the candidate table. As shown in FIG. 12, the prospective character sequence “
Figure US07231610-20070612-P00041
(a)” is also deleted from the displayed screen 401.
Next, it is assumed that the user has given an order change instruction for the prospective character sequence “
Figure US07231610-20070612-P00042
(a)”. The user moves the cursor 404, and makes an input to give an order change instruction with the cursor 404 pointing to “
Figure US07231610-20070612-P00043
(a)”. Furthermore, the user gives an instruction to move up the priority ranking of the designated prospective character sequence, thereby changing the priority order of the prospective character sequences. As a result, the priority ranking of this prospective character sequence as stored in the candidate table is also changed. Consequently, as shown in FIG. 13, the prospective character sequence “
Figure US07231610-20070612-P00044
(a)” is displayed in the first place in the displayed screen 401.
Thus, according to Embodiment 1, the user is allowed to edit the candidate table, which makes it possible to generate a candidate table which reflects the desire of the user.
Embodiment 2
Next, a text editing assistor according to Embodiment 2 will be described. The text editing assistor according to Embodiment 2 includes a plurality of candidate tables, and employs different candidate tables in accordance with the environment information.
FIG. 14 is a functional block diagram illustrating the text editing assistor according to Embodiment 2. FIG. 14 is identical to FIG. 2 except that two candidate tables, i.e., first and second candidate tables, are stored in the table storing section 202. The hardware structure of the text editing assistor according to Embodiment 2 is the same as that according to Embodiment 1, and the descriptions thereof are omitted.
In FIG. 14, it is assumed that the first candidate table has the content as shown in FIG. 3. FIG. 15 shows an exemplary second candidate table stored in the table storing section 202. As seen from FIG. 3 and FIG. 15, associations between input character sequences and prospective character sequences are made differently between the first candidate table and the second candidate table. One of the two candidate tables is used depending on the content of the environment information.
Next, a flow of processes performed by the text editing assistor according to Embodiment 2 will be described. FIG. 16 is a flowchart illustrating a flow of processes performed by the text editing assistor according to Embodiment 2. A program for causing the CPU 1 to perform the processes shown in FIG. 16 is stored in the ROM 6 of the text editing assistor. Hereinafter, the processing shown in FIG. 16 will be described with respect to differences from the processing shown in FIG. 5.
The timing of beginning the processing shown in FIG. 16 is similar to that for the processing shown in FIG. 5. First, at step S21, a candidate table to be used for presenting prospective character sequences for an input character sequence is determined. Since there are two candidate tables in Embodiment 2, the determination section 104 selects either one of the first and second candidate tables. Specifically, the text editing section 103 first instructs the determination section 104 to determine a candidate table. Having received this instruction from the text editing section 103, the determination section 104 instructs the environment information acquisition section 105 to acquire environment information. In response to the instruction from the determination section 104, the environment information acquisition section 105 acquires environment information, and passes it to the determination section 104. Based on the environment information received from the environment information acquisition section 105, the determination section 104 determines a candidate table to be used for presenting prospective character sequences. At the time when step S1 is performed, a screen on which to allow the user to input text (see FIG. 4) is displayed on the output section 3.
The process of steps S22 to S28 are similar to the processes of steps S2 to S8 shown in FIG. 5, except that the candidate table to be searched at step S23 and the candidate table to be updated at S28 are the candidate table determined at step S21.
Thus, according to Embodiment 2, the candidate table to be used for presenting prospective character sequences is switched depending on the environment information. As a result, candidate tables which are adapted to as many different environments as there are candidate tables can be generated.
FIG. 17 is a diagram illustrating an exemplary image of prospective character sequences displayed in the case where the first candidate table is used. FIG. 18 is a diagram illustrating an exemplary image of prospective character sequences displayed in the case where the second candidate table is used. Between FIG. 17 and FIG. 18, different prospective character sequences are displayed for the same input character sequence “
Figure US07231610-20070612-P00045
(ai)”. Thus, according to Embodiment 2, it is possible to generate candidate tables adapted to a plurality of environments by using a plurality of candidate tables. This improves the efficiency of text input operations performed by the user in the case where a plurality of environments exist.
For example, in the case where the environment information is the aforementioned time information, the candidate table may be switched depending on whether the current time falls in the daytime or the nighttime. Mores specifically, a candidate table reflecting work-related character conversions may be used if the current time falls in the daytime, whereas a candidate table reflecting non-work-related character conversions may be used if the current time falls in the nighttime. As a result, one of the candidate tables is customized so as to suit business purposes, whereas the other candidate table is customized so as to suit private purposes. Therefore, the efficiency of text input operations can be improved both in the case of using the text editing assistor for business purposes and in the case of using it for private purposes.
In Embodiment 2, the environment information may be position information, application information, or state information, instead of time information, as is the case with Embodiment 1. Although Embodiment 2 illustrates an example where there are two candidate tables, three or more candidate tables may be employed. Therefore, in the case where the environment information is application information, candidate tables which are adapted for the respective applications can be generated by preparing as many candidate tables as there are applications.
In Embodiments 1 and 2, the determination as to whether or not to perform learning at steps S7 and S27 is made based only on environment information. In other embodiments, the determination concerning learning may be made also in accordance with the method of selecting a final character sequence. Specifically, two kinds of methods for selecting a final character sequence may be provided, e.g., if the input section 2 includes a plurality of buttons, first and second buttons may be assigned to respectively different methods of selecting a final character sequence. In this case, it may be ensured that the candidate table is updated if the selection of a final character sequence is made by means of the first button, but not if the selection of a final character sequence is made by means of the second button. Such a structure will enable the user to manually make the determination as to whether or not to update the candidate table, which is illustrated as being automatically made in Embodiments 1 and 2.
In other embodiments, the determination as to whether or not to update the candidate table may be made based solely on the aforementioned two kinds of methods for selecting a final character sequence, without relying on the environment information. As a result, the switching between updating and not updating the candidate table can be made more easily than in the case where either a learning mode and a non-learning mode must be set in advance. In other words, such switching can be performed by the user each time a final character sequence is selected.
Although Embodiments 1 and 2 illustrate examples where the prospective character sequences are conversion candidate character sequences, the present invention is also applicable to the case where the prospective character sequences are prediction candidate character sequences. FIG. 19 shows an exemplary candidate table which associates input character sequences and prediction candidate character sequences. In each row of FIG. 19, the first character of a given input character sequence is associated with character sequences which begin with that character. For example, if the input character sequence “
Figure US07231610-20070612-P00046
(a)” is input, the prospective character sequences which are associated with “
Figure US07231610-20070612-P00047
(a)” in the candidate table are presented in the order as indicated by their numbers. Furthermore, if the input character sequence grows into “
Figure US07231610-20070612-P00048
(ai)”, only those character sequences whose first two characters are “
Figure US07231610-20070612-P00049
(ai)” are selected from among the prospective character sequences associated with “
Figure US07231610-20070612-P00050
(a)” in the candidate table, so as to be presented as prospective character sequences in the order of priority as indicated by their numbers. Thus, the present invention is indifferent as to whether the prospective character sequences are conversion candidate character sequences or prediction candidate character sequences. Moreover, the present invention is indifferent as to the data structure of the candidate table or the method of presenting prospective character sequences.
In Embodiments 1 and 2, the text editing assistor may comprise a dictionary table in addition to the candidate table. A dictionary table is a table which is referred to when an input character sequence is not found in the candidate table. It is commonplace to internalize such a dictionary table in a text editing assistor.
Furthermore, in Embodiments 1 and 2 above, the text editing assistor may comprise an inhibited sequence table in addition to the candidate table. An inhibited sequence table is a table associating each input character sequence with “inhibited character sequences”, i.e., character sequences which are not to be presented as prospective character sequences for that input character sequence. Specifically, when the character sequence conversion section 101 searches the candidate table at steps S3 and S4 shown in FIG. 5, it pretends that any association between the input character sequence and an inhibited character sequence stored in the inhibited sequence table is not contained in the candidate table. Therefore, at step S5, any pair of an input character sequence and a prospective character sequence contained in the candidate table that is also contained in the inhibited sequence table is excluded from the prospective character sequences to be presented. Thus, by providing an inhibited sequence table, an effect similar to deleting an association between the input character sequence and the prospective character sequence from the candidate table can be obtained. By providing an inhibited sequence table, it becomes possible to prevent the displaying of character sequences which would be inconvenient for the user if displayed as prospective character sequences. Note that the inhibited sequence table may be editable by the user. The inhibited sequence table is preferably protected so that it cannot be viewed by any other user. Furthermore, the candidate table and inhibited sequence table may be acquired from outside of the text editing assistor, e.g., via the Internet.
While the invention has been described in detail, the foregoing description is in all aspects illustrative and not restrictive. It is understood that numerous other modifications and variations can be devised without departing from the scope of the invention.

Claims (20)

1. A text editing assistor for displaying a prospective character sequence based on a character sequence which is input by a user, comprising:
a table storing section for storing a candidate table which associates one or more prospective character sequences with a given character sequence;
a candidate displaying section for displaying, in response to a character sequence which is input by the user, at least one prospective character sequence which is associated by the candidate table with the character sequence which has been input by the user;
a character sequence finalization section for allowing the user to select one of the at least one prospective character sequence displayed by the candidate displaying section as a final character sequence;
an environment information acquisition section for acquiring environment information concerning the text editing assistor or an environment thereof;
a determination section for, when a final character sequence is selected by means of the character sequence finalization section, determining whether or not to update the candidate table based on the environment information; and
a first updating section for updating the candidate table based on an association between the final character sequence selected by means of the character sequence finalization section and the character sequence which has been input by the user, the update being made only when the determination section determines that the candidate table is to be updated.
2. The text editing assistor according to claim 1, wherein,
the environment information acquisition section acquires information indicating a current time as the environment information, and
the determination section determines whether or not to update the candidate table based on the information indicating the current time.
3. The text editing assistor according to claim 1, wherein,
the environment information acquisition section acquires information indicating a current position of the text editing assistor as the environment information, and
the determination section determines whether or not to update the candidate table based on the information indicating the current position.
4. The text editing assistor according to claim 1, wherein,
the environment information acquisition section acquires information indicating a type of application which accepts an inputting of a character sequence as the environment information, and
the determination section determines whether or not to update the candidate table based on the information indicating the type of the application.
5. The text editing assistor according to claim 1, wherein the environment information acquisition section acquires information indicating a state of an application which accepts an inputting of a character sequence as the environment information, and
the determination section determines whether or not to update the candidate table based on the information indicating the state of the application.
6. The text editing assistor according to claim 1, further comprising:
an input accepting section which accepts at least two kinds of input methods for inputting a selection of a final character sequence by means of the character sequence finalization section; and
a second updating section operable to update the candidate table based on the association between the final character sequence selected by means of the character sequence finalization section and the character sequence which has been input by the user when the input accepting section accepts a selection of the final character sequence by the first input method, and not update the candidate table when the input accepting section accepts a selection of the final character sequence by a second input method which is different from the first input method.
7. The text editing assistor according to claim 1 further comprising:
a designation section for allowing the user to designate an association between a character sequence and a prospective character sequence in the candidate table, and
a deletion section for deleting from the candidate table the association between the character sequence and the prospective character sequence designated by means of the designation section.
8. The text editing assistor according to claim 1, wherein,
the candidate table associates a plurality of prospective character sequences, in an order of being displayed by the candidate displaying section, with a given character sequence,
the text editing assistor further comprising:
a changing section for changing the order of the prospective character sequences associated by the candidate table with the given character sequence.
9. The text editing assistor according to claim 1, wherein,
the table storing section further stores an inhibited sequence table which associates one or more inhibited character sequences with a given character sequence, the inhibited character sequences being inhibited from being displayed as prospective character sequences, and
the candidate displaying section displays, in response to the character sequence which is input by the user, at least one prospective character sequence which is associated by the candidate table with the character sequence which has been input by the user, excluding the inhibited character sequence(s) associated by the inhibited sequence table with the character sequence which has been input by the user.
10. A text editing assistor for displaying a prospective character sequence based on a character sequence which is input by a user, comprising:
a table storing section for storing a plurality of candidate tables each of which associates one or more prospective character sequences with a given character sequence, each candidate table containing a different set of such associations;
an environment information acquisition section for acquiring environment information concerning the text editing assistor or an environment thereof;
a table determination section for determining one of the plurality of candidate tables stored in the table storing section based on the environment information acquired by the environment information acquisition section;
a candidate displaying section for displaying, in response to a character sequence which is input by the user, at least one prospective character sequence which is associated by the candidate table determined by the table determination section with the character sequence which has been input by the user;
a character sequence finalization section for allowing the user to select one of the at least one prospective character sequence displayed by the candidate displaying section as a final character sequence; and
a first updating section for updating the candidate table determined by the table determination section based on an association between the final character sequence selected by means of the character sequence finalization section and the character sequence which has been input by the user.
11. The text editing assistor according to claim 10, wherein,
the environment information acquisition section acquires information indicating a current time as the environment information, and
the table determination section determines one of the plurality of candidate tables stored in the table storing section based on the information indicating the current time.
12. The text editing assistor according to claim 10, wherein,
the environment information acquisition section acquires information indicating a current position of the text editing assistor as the environment information, and
the table determination section determines one of the plurality of candidate tables stored in the table storing section based on the information indicating the current position.
13. The text editing assistor according to claim 10, wherein,
the environment information acquisition section acquires information indicating a type of application which accepts an inputting of a character sequence as the environment information, and
the table determination section determines one of the plurality of candidate tables stored in the table storing section based on the information indicating the type of the application.
14. The text editing assistor according to claim 10, wherein the environment information acquisition section acquires information indicating a state of an application which accepts an inputting of a character sequence as the environment information, and
the table determination section determines one of the plurality of candidate tables stored in the table storing section based on the information indicating the state of the application.
15. The text editing assistor according to claim 10, further comprising:
an input accepting section which accepts at least two kinds of input methods for inputting a selection of a final character sequence by means of the character sequence finalization section; and
a second updating section operable to update the candidate table determined by the table determination section based on the association between the final character sequence selected by means of the character sequence finalization section and the character sequence which has been input by the user when the input accepting section accepts a selection of the final character sequence by the first input method, and not update the candidate table when the input accepting section accepts a selection of the final character sequence by a second input method which is different from the first input method.
16. The text editing assistor according to claim 10, wherein,
the table storing section further stores an inhibited sequence table which associates one or more inhibited character sequences with a given character sequence, the inhibited character sequences being inhibited from being displayed as prospective character sequences, and
the candidate displaying section displays, in response to the character sequence which is input by the user, at least one prospective character sequence which is associated by the candidate table with the character sequence which has been input by the user, excluding the inhibited character sequence(s) associated by the inhibited sequence table with the character sequence which has been input by the user.
17. A computer storage medium have stored therein a program to be executed by a computer in a text editing assistor for displaying a prospective character sequence based on a character sequence which is input by a user, the text editing assistor comprising a table storing section for storing a candidate table which associates one or more prospective character sequences with a given character sequence,
wherein the program causes the computer to execute:
a candidate displaying step of displaying, in response to a character sequence which is input by the user, at least one prospective character sequence which is associated by the candidate table with the character sequence which has been input by the user;
a character sequence finalization step of allowing the user to select one of the at least one prospective character sequence displayed in the candidate displaying step as a final character sequence;
an environment information acquisition step of acquiring environment information concerning the text editing assistor or an environment thereof;
a determination step for, when a final character sequence is selected in the character sequence finalization step, determining whether or not to update the candidate table based on the environment information; and
a first updating step of updating the candidate table based on an association between the final character sequence selected in the character sequence finalization step and the character sequence which has been input by the user, the update being made only when the determination step determines that the candidate table is to be updated.
18. A computer storage medium have stored therein a program to be executed by a computer in a text editing assistor for displaying a prospective character sequence based on a character sequence which is input by a user, the text editing assistor comprising a table storing section for storing a plurality of candidate tables each of which associates one or more prospective character sequences with a given character sequence, each candidate table containing a different set of such associations,
wherein the program causes the computer to execute:
an environment information acquisition step of acquiring environment information concerning the text editing assistor or an environment thereof;
a table determination step of determining one of the plurality of candidate tables stored in the table storing section based on the environment information acquired in the environment information acquisition step;
a candidate displaying step of displaying, in response to a character sequence which is input by the user, at least one prospective character sequence which is associated by the candidate table determined in the table determination step with the character sequence which has been input by the user;
a character sequence finalization step of allowing the user to select one of the at least one prospective character sequence displayed in the candidate displaying step as a final character sequence; and
a first updating step of updating the candidate table determined in the table determination step based on an association between the final character sequence selected in the character sequence finalization step and the character sequence which has been input by the user.
19. A method for use with a text editing assistor for displaying a prospective character sequence based on a character sequence which is input by a user, the text editing assistor comprising a table storing section for storing a candidate table which associates one or more prospective character sequences with a given character sequence,
wherein the method comprises:
a candidate displaying step of displaying, in response to a character sequence which is input by the user, at least one prospective character sequence which is associated by the candidate table with the character sequence which has been input by the user;
a character sequence finalization step of allowing the user to select one of the at least one prospective character sequence displayed in the candidate displaying step as a final character sequence;
an environment information acquisition step of acquiring environment information concerning the text editing assistor or an environment thereof;
a determination step for, when a final character sequence is selected in the character sequence finalization step, determining whether or not to update the candidate table based on the environment information; and
a first updating step of updating the candidate table based on an association between the final character sequence selected in the character sequence finalization step and the character sequence which has been input by the user, the update being made only when the determination step determines that the candidate table is to be updated.
20. A method for use with a text editing assistor for displaying a prospective character sequence based on a character sequence which is input by a user, the text editing assistor comprising a table storing section for storing a plurality of candidate tables each of which associates one or more prospective character sequences with a given character sequence, each candidate table containing a different set of such associations,
wherein the method comprises:
an environment information acquisition step of acquiring environment information concerning the text editing assistor or an environment thereof;
a table determination step of determining one of the plurality of candidate tables stored in the table storing section based on the environment information acquired in the environment information acquisition step;
a candidate displaying step of displaying, in response to a character sequence which is input by the user, at least one prospective character sequence which is associated by the candidate table determined in the table determination step with the character sequence which has been input by the user;
a character sequence finalization step of allowing the user to select one of the at least one prospective character sequence displayed in the candidate displaying step as a final character sequence; and
a first updating step of updating the candidate table determined in the table determination step based on an association between the final character sequence selected in the character sequence finalization step and the character sequence which has been input by the user.
US10/721,192 2002-11-29 2003-11-26 Text editing assistor Active 2026-01-24 US7231610B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002-347184 2002-11-29
JP2002347184 2002-11-29

Publications (2)

Publication Number Publication Date
US20040139404A1 US20040139404A1 (en) 2004-07-15
US7231610B2 true US7231610B2 (en) 2007-06-12

Family

ID=32707868

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/721,192 Active 2026-01-24 US7231610B2 (en) 2002-11-29 2003-11-26 Text editing assistor

Country Status (2)

Country Link
US (1) US7231610B2 (en)
CN (1) CN100380371C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060112349A1 (en) * 2004-11-19 2006-05-25 Microsoft Corporation Systems and methods for processing input data before, during, and/or after an input focus change event
US20060158459A1 (en) * 2004-07-20 2006-07-20 Ferguson Stuart H Systems and methods for creating user interfaces
US20070168945A1 (en) * 2005-12-15 2007-07-19 Diego Kaplan Inserting objects using a text editor that supports scalable fonts
US20090063136A1 (en) * 2007-08-31 2009-03-05 Ricoh Company, Ltd. Information processing apparatus, information processing method, and information processing program

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7817140B2 (en) * 2004-08-31 2010-10-19 Research In Motion Limited Handheld electronic device with text disambiguation
US8004495B2 (en) * 2004-08-31 2011-08-23 Research In Motion Limited Handheld electronic device and associated method employing a multiple-axis input device and outputting a currently selected variant at a text input location during text disambiguation
EP1630651B8 (en) * 2004-08-31 2017-07-05 BlackBerry Limited Handheld electronic device with text disambiguation
EP1703361A1 (en) * 2005-03-16 2006-09-20 Research In Motion Limited Handheld electronic device with reduced keyboard and associated method of providing improved disambiguation
US8290765B2 (en) 2005-03-16 2012-10-16 Research In Motion Limited Handheld electronic device with reduced keyboard and associated method of providing improved disambiguation
JP5035677B2 (en) 2007-07-09 2012-09-26 ブラザー工業株式会社 Document editing apparatus, document printing character conversion processing method, and document printing character conversion processing program
US8629874B2 (en) * 2007-10-30 2014-01-14 Kyocera Corporation Mobile display device and method of controlling display of conversion candidates of input characters on the mobile display device
EP2211336B1 (en) * 2009-01-23 2014-10-08 Harman Becker Automotive Systems GmbH Improved speech input using navigation information
JP4985689B2 (en) * 2009-03-30 2012-07-25 ブラザー工業株式会社 Printing device
CN103123566B (en) * 2011-11-21 2016-03-30 联想(北京)有限公司 Electronic equipment and character input method thereof
CN105793883A (en) * 2013-12-13 2016-07-20 富士通株式会社 Equipment inspection work assistance program, equipment inspection work assistance method, and equipment inspection work assistance device
CN104699265A (en) * 2015-03-20 2015-06-10 上海触乐信息科技有限公司 Text input method and text input device
JP6825199B2 (en) * 2015-07-16 2021-02-03 富士ゼロックス株式会社 Display control device and program
CN106896932B (en) * 2016-06-07 2019-10-15 阿里巴巴集团控股有限公司 A kind of candidate's words recommending method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000048019A (en) 1998-07-27 2000-02-18 Toshiba Corp Input prediction device, its method and recording medium recording input prediction program
JP2000259617A (en) 1999-03-12 2000-09-22 Omron Corp Document editor, its edition method and recording medium storing document edition program
US20020019731A1 (en) * 2000-05-12 2002-02-14 Toshiyuki Masui Portable terminal, method for inputting the information, method and apparatus for dictionary retrieval and medium
US20030023426A1 (en) * 2001-06-22 2003-01-30 Zi Technology Corporation Ltd. Japanese language entry mechanism for small keypads
US20030104839A1 (en) * 2001-11-27 2003-06-05 Christian Kraft Communication terminal having a text editor application with a word completion feature

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69530135T2 (en) * 1994-12-07 2003-09-11 King Jim Co Ltd Character information processor for printing characters
US7685507B2 (en) * 2001-01-22 2010-03-23 Oracle International Corporation System for editing query conditions, calculations, formulas and equations

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000048019A (en) 1998-07-27 2000-02-18 Toshiba Corp Input prediction device, its method and recording medium recording input prediction program
JP2000259617A (en) 1999-03-12 2000-09-22 Omron Corp Document editor, its edition method and recording medium storing document edition program
US20020019731A1 (en) * 2000-05-12 2002-02-14 Toshiyuki Masui Portable terminal, method for inputting the information, method and apparatus for dictionary retrieval and medium
US20030023426A1 (en) * 2001-06-22 2003-01-30 Zi Technology Corporation Ltd. Japanese language entry mechanism for small keypads
US20030104839A1 (en) * 2001-11-27 2003-06-05 Christian Kraft Communication terminal having a text editor application with a word completion feature

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060158459A1 (en) * 2004-07-20 2006-07-20 Ferguson Stuart H Systems and methods for creating user interfaces
US20060112349A1 (en) * 2004-11-19 2006-05-25 Microsoft Corporation Systems and methods for processing input data before, during, and/or after an input focus change event
US7461348B2 (en) * 2004-11-19 2008-12-02 Microsoft Corporation Systems and methods for processing input data before, during, and/or after an input focus change event
US20070168945A1 (en) * 2005-12-15 2007-07-19 Diego Kaplan Inserting objects using a text editor that supports scalable fonts
US7913165B2 (en) * 2005-12-15 2011-03-22 Kyocera Corporation Inserting objects using a text editor that supports scalable fonts
US20090063136A1 (en) * 2007-08-31 2009-03-05 Ricoh Company, Ltd. Information processing apparatus, information processing method, and information processing program
US8510102B2 (en) * 2007-08-31 2013-08-13 Ricoh Company, Ltd. Information processing apparatus, information processing method, and information processing program

Also Published As

Publication number Publication date
CN100380371C (en) 2008-04-09
CN1504924A (en) 2004-06-16
US20040139404A1 (en) 2004-07-15

Similar Documents

Publication Publication Date Title
US7231610B2 (en) Text editing assistor
US7385531B2 (en) Entering text into an electronic communications device
US7380724B2 (en) Entering text into an electronic communication device
US8166418B2 (en) Device and method of conveying meaning
US10146404B2 (en) String prediction
US8280911B2 (en) Handheld electronic device with assisted text entry using existing message thread, and associated method
US7873903B2 (en) Method for entering text
US20080243736A1 (en) Club dictionaries
US20100122164A1 (en) Contextual prediction of user words and user actions
US20080182599A1 (en) Method and apparatus for user input
US10176162B2 (en) System and method for improved address entry
KR20050025147A (en) Entering text into an electronic communications device
US5007019A (en) Electronic thesaurus with access history list
EP1347362B1 (en) Entering text into an electronic communications device
CA2692964C (en) System and method for improved address entry
EP2202612B1 (en) Automatic language selection for improving text accuracy
JP2005234742A (en) Text creating device and input word predicting method
EP1378817A1 (en) Entering text into an electronic communications device
CA2588526C (en) Handheld electronic device with assisted text entry using existing message thread, and associated method
JP2007310504A (en) Portable information terminal
KR100834279B1 (en) Method for processing message input and mobile terminal for performing the same
JP2000305702A (en) Character input system for electronics
US12026464B2 (en) System and method for improved address entry
JP5694795B2 (en) Mobile terminal device
JP2004192635A (en) Text editing support device

Legal Events

Date Code Title Description
AS Assignment

Owner name: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD., JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KAWASHIMA, TAKASHI;ASANO, TAKASHI;INUKAI, HISAMORI;AND OTHERS;REEL/FRAME:015161/0023

Effective date: 20031202

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

AS Assignment

Owner name: PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AMERICA, CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:PANASONIC CORPORATION;REEL/FRAME:033033/0163

Effective date: 20140527

Owner name: PANASONIC INTELLECTUAL PROPERTY CORPORATION OF AME

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:PANASONIC CORPORATION;REEL/FRAME:033033/0163

Effective date: 20140527

FPAY Fee payment

Year of fee payment: 8

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 12