[go: up one dir, main page]

WO2012152097A1 - Method for updating lexicon of input method, character input method, and terminal - Google Patents

Method for updating lexicon of input method, character input method, and terminal Download PDF

Info

Publication number
WO2012152097A1
WO2012152097A1 PCT/CN2012/070937 CN2012070937W WO2012152097A1 WO 2012152097 A1 WO2012152097 A1 WO 2012152097A1 CN 2012070937 W CN2012070937 W CN 2012070937W WO 2012152097 A1 WO2012152097 A1 WO 2012152097A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
input method
current location
vocabulary
module
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.)
Ceased
Application number
PCT/CN2012/070937
Other languages
French (fr)
Chinese (zh)
Inventor
王露莎
张原�
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2012152097A1 publication Critical patent/WO2012152097A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools
    • G06F40/242Dictionaries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Definitions

  • the present invention relates to the field of input method technologies, and in particular, to a method for updating an input method vocabulary, a character input method, and a terminal. Background technique
  • the commonly used input method generally has the association function, that is, when the user inputs one or several characters, the input method automatically lists the candidate words with the highest or higher frequency for the user to select, so that the user does not need to input more characters.
  • the input method in order to achieve the purpose of fast input, such as Sogou input method, Baidu input method and so on.
  • the invention provides an update method of an input method vocabulary, a character input method and a terminal, and the input method vocabulary is updated according to the current location information of the terminal, and a targeted vocabulary update mode is provided to improve the user experience.
  • the present invention adopts the following technical solutions:
  • the invention provides a method for updating an input method vocabulary, the method comprising:
  • the updating the input method vocabulary according to the keyword includes: saving the keyword into a preset temporary folder; and when the current location information of the terminal changes, updating according to the newly acquired keyword The temporary folder.
  • the obtaining, according to the current location information of the terminal, the keyword pool of the current location of the terminal includes: receiving a vocabulary type set by the user; and acquiring a key of the current location of the terminal according to the current location information of the terminal and the set vocabulary type. vocabulary.
  • the keyword sink includes: one or more of a road, a restaurant, a hotel, and a name of a spot in the current area of the terminal.
  • the location information is: one of latitude and longitude information or an address name of a current location of the terminal.
  • the present invention provides a character input method. After the above-mentioned update input method vocabulary is used, the method includes:
  • the selection information input by the user is received, and the specified candidate words are output.
  • the method further includes: updating, as the primary candidate word, the keyword sink in the corresponding candidate word according to the current location information of the terminal to the input method dictionary.
  • the present invention also provides a terminal, the terminal comprising: a character input module, a positioning module, and an input method module;
  • a character input module configured to receive character information and selection information input by the user when the input method is started, and send the character information and the selection information to the input method module;
  • a positioning module configured to acquire current location information of the terminal, and send the obtained location information to the input method module;
  • the input method module is configured to obtain, according to the current location information of the terminal sent by the positioning module, a keyword sink of the current location of the terminal; and update the input method vocabulary according to the keyword; And selecting, according to the character information sent by the character input module, the corresponding candidate word in the input method vocabulary; and receiving the selection information sent by the character input module, and outputting the specified candidate word.
  • the character input module is further configured to receive a vocabulary type set by a user, and send the vocabulary type to an input method module;
  • the input method module is specifically configured to obtain, according to the current location information of the terminal and the vocabulary type sent by the character input module, the current terminal location in the process of obtaining the keyword sink of the current location of the terminal according to the current location information of the terminal. Key words in the region.
  • the input method module is specifically configured to save the keyword into a preset temporary folder during the process of updating the input method vocabulary according to the keyword, when the current location information of the terminal changes. After that, the temporary folder is updated according to the newly obtained keyword.
  • the input method module is further configured to use, as a primary candidate word, a vocabulary in the corresponding candidate word that is updated into the input method vocabulary according to the current location information of the terminal.
  • the invention provides a method for updating an input method vocabulary, a character input method and a terminal, and updating an input method vocabulary according to current position information of the terminal, thereby providing a targeted vocabulary update method.
  • the search is performed in the input method vocabulary updated according to the current position information of the terminal, and the corresponding candidate words are obtained, thereby improving the user experience.
  • FIG. 1 is a flowchart of a method for updating an input method vocabulary according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for updating an input method vocabulary according to another embodiment of the present invention
  • FIG. 3 is a flowchart of a character input method according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of a terminal according to an embodiment of the present invention. detailed description
  • FIG. 1 is a flowchart of a method for updating an input method vocabulary according to an embodiment of the present invention, including the following Steps:
  • Step S11 obtaining current location information of the terminal
  • Step S12 Acquire a keyword sink of the current location of the terminal according to the current location information of the terminal;
  • Step S13 Update the input method vocabulary according to the keyword.
  • FIG. 2 is a flowchart of a method for updating an input method vocabulary according to another embodiment of the present invention, including the following steps:
  • Step S21 Open the positioning module of the terminal.
  • Step S22 The positioning module acquires current latitude and longitude information of the terminal.
  • Step S23 The terminal input method module acquires a corresponding address name according to the latitude and longitude information acquired by the positioning module.
  • the obtaining the corresponding address name may be: the terminal acquires an address name corresponding to the current latitude and longitude information from the existing map server by using an existing Web (Internet) server.
  • Step S24 Acquire a keyword pool of the area according to the address name where the terminal is currently located.
  • the keyword pool for obtaining the area may be:
  • the terminal may obtain the road, the restaurant, the hotel, the name of the attraction, and the like of the area from the existing thesaurus server through the existing web server.
  • Step S25 The input method module updates the input method vocabulary according to the obtained keyword.
  • the user can also set the vocabulary type of interest, input the set vocabulary type in the character input module of the terminal, and the input method module obtains the current location of the terminal according to the current location information of the terminal and the set vocabulary type.
  • the input method module For the key words of the area, if the vocabulary type set by the user is a road, the input method module only needs to obtain the road name of the current area according to the current location information of the terminal.
  • the action of obtaining the current location information of the terminal may be triggered by the positioning module of the terminal, or may be triggered by the input method module by using the open positioning module.
  • the updating the input method vocabulary may include: storing the keywords into a preset temporary folder, and updating the temporary folder according to the newly acquired keyword after the current location information of the terminal changes.
  • the user carries a mobile phone to play in front of the Oriental Pearl of Shanghai attraction.
  • the positioning module of the mobile phone can obtain the latitude and longitude information of the current mobile phone;
  • the input method module obtains the address name corresponding to the current latitude and longitude information from the map server according to the latitude and longitude information, the Oriental Pearl, the input method
  • the module obtains the names of roads, restaurants, hotels, scenic spots, etc. near the Oriental Pearl from the thesaurus through the web server, such as Wang Xiangyuan, Xiduo Seafood Buffet, Oriental Pearl, Jinmao Tower, etc.
  • the input method module stores these words into the Enter a temporary folder in the French vocabulary;
  • the positioning module After the positioning module detects that the user leaves the Oriental Pearl, the above keyword pool saved in the temporary folder can be emptied, and the temporary folder is updated according to the newly obtained keyword, so that the temporary folder is generated according to the latest location information of the terminal, It is convenient for users to use, and saves the memory space of the terminal.
  • FIG. 3 is a flowchart of a character input method according to an embodiment of the present invention, which includes the following steps:
  • Step S31 When the input method is started, the user inputs character information in the terminal character input module.
  • Step S33 The user selects one of the candidate words in the terminal character input module.
  • Step S34 The input method module receives the selection information input by the user, and outputs the specified candidate word.
  • the input method module may use, as a primary candidate, a vocabulary in the corresponding candidate word that is updated into the input lexicon according to the current location information of the terminal, based on the foregoing embodiment of updating the input lexicon according to the location information of the Oriental Pearl, if Users use the mobile phone to compile Weibo. Just input the word "East” or the corresponding pinyin. "Oriental Pearl" will appear as the first candidate, so the user input is very convenient and fast.
  • the present invention also includes a terminal, as shown in FIG. 4, the terminal includes: a character input module 41, a positioning module 42 and an input method module 43;
  • the character input module 41 is configured to receive character information and selection information input by the user when the input method is started, and send the character information and the selection information to the input method module 43;
  • the positioning module 42 is configured to obtain the current location information of the terminal, and send the obtained location information to the input method module 43;
  • the input method module 43 is configured to obtain a keyword sink of the current location of the terminal according to the current location information of the terminal sent by the positioning module 42; update the input method vocabulary according to the obtained keyword; used for sending according to the character input module 41
  • the character information is used to retrieve the corresponding candidate word in the input method vocabulary; and is further configured to receive the selection information sent by the character input module 41 and output the specified candidate word.
  • the character input module 41 is further configured to receive a vocabulary type set by the user, and send the vocabulary type to the input method module 43.
  • the input method module 43 is specifically configured to be based on the current terminal. In the process of obtaining the keyword pool of the current location of the terminal, the location information is obtained according to the current location information of the terminal and the vocabulary type sent by the character input module 41.
  • the input method module 43 is specifically configured to save the keyword into the preset temporary folder during the process of updating the input method vocabulary according to the keyword, and when the current location information of the terminal changes, according to the new The obtained keyword will update the temporary folder.
  • the input method module 43 is further configured to use, as a primary candidate word, a vocabulary in the corresponding candidate word that is updated into the input lexicon according to the current location information of the terminal.
  • the current location information of the terminal of the present invention may be the current latitude and longitude information, the address name, and the like of the terminal.
  • the terminal of the present invention may be various electronic devices such as a personal computer, a mobile phone, a PDA, etc.
  • a GPS Global Positioning System, global
  • Positioning System Positioning System
  • LBS Location Based Services
  • the invention can update the input method vocabulary according to the current location information of the terminal, and provide a needle The way to update the vocabulary of sex.
  • different candidate words can be provided according to different positions of the terminal, the flexibility of the input method candidate words can be improved, the user can quickly input, and the user experience is improved.

Landscapes

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

Abstract

Disclosed is a method for updating a lexicon of an input method, comprising: acquiring current location information of a terminal; acquiring, according to the current location information of the terminal, a key vocabulary of an area where the terminal is currently located; and updating a lexicon of an input method according to the key vocabulary. Also disclosed is a character input method and a terminal. Through the present invention, according to current location information of a terminal, a lexicon of an input method can be updated, and a targeted lexicon updating manner can be provided, thereby improving the degree of user experience.

Description

输入法词库的更新方法、 字符输入方法及终端 技术领域  Method for updating input method vocabulary, character input method and terminal

本发明涉及输入法技术领域, 尤其涉及一种输入法词库的更新方法、 字符输入方法及终端。 背景技术  The present invention relates to the field of input method technologies, and in particular, to a method for updating an input method vocabulary, a character input method, and a terminal. Background technique

随着电子技术的发展, 个人电脑、 手机、 PDA等各种终端设备越来越 普及, 功能也越来越多样化, 相应地, 终端输入法的功能也越来越强大。 目前常用的输入法普遍具有联想功能, 即当用户输入一个或几个字符时, 输入法会自动列出使用频率最高或较高的候选词供用户选择, 这样用户就 无需再输入更多的字符, 从而达到快速输入的目的, 如搜狗输入法、 百度 输入法等。 这些输入法通过提供候选词的方式受到了越来越多人的喜爱。  With the development of electronic technology, various terminal devices such as personal computers, mobile phones, and PDAs are becoming more and more popular, and functions are becoming more and more diverse. Accordingly, the functions of the terminal input method are becoming more and more powerful. At present, the commonly used input method generally has the association function, that is, when the user inputs one or several characters, the input method automatically lists the candidate words with the highest or higher frequency for the user to select, so that the user does not need to input more characters. , in order to achieve the purpose of fast input, such as Sogou input method, Baidu input method and so on. These input methods have been loved by more and more people by providing candidate words.

然而, 现有技术中, 对输入法词库的升级更新操作不是很完善, 如用 户出门在外地时, 可能更希望获得与所在区域相关的候选词, 如道路、 景 点、 酒店等类候选词。 因此, 如何根据终端当前的位置信息更新输入法词 库, 提供优质候选词是目前需要解决的技术问题。 发明内容  However, in the prior art, the upgrade and update operation of the input method vocabulary is not perfect. For example, when the user goes out in the field, it may be more desirable to obtain candidate words related to the region, such as road, scene, hotel, and the like. Therefore, how to update the input method vocabulary according to the current location information of the terminal, providing quality candidate words is a technical problem that needs to be solved currently. Summary of the invention

本发明提供一种输入法词库的更新方法、 字符输入方法及终端, 根据 终端当前的位置信息更新输入法词库, 提供有针对性的词库更新方式, 提 升用户的体验度。  The invention provides an update method of an input method vocabulary, a character input method and a terminal, and the input method vocabulary is updated according to the current location information of the terminal, and a targeted vocabulary update mode is provided to improve the user experience.

为解决上述技术问题, 本发明采用以下技术方案:  In order to solve the above technical problems, the present invention adopts the following technical solutions:

本发明提供了一种输入法词库的更新方法, 该方法包括:  The invention provides a method for updating an input method vocabulary, the method comprising:

获取终端当前的位置信息; 根据终端当前的位置信息获取终端当前所 在区域的关键词汇; 根据所述关键词汇更新输入法词库。 上述方案中, 所述根据所述关键词汇更新输入法词库, 包括: 将所述 关键词汇存入预设的临时文件夹; 当终端当前的位置信息发生变化后, 根 据新获取的关键词汇更新所述临时文件夹。 Obtaining the current location information of the terminal; acquiring the keyword sink of the current location of the terminal according to the current location information of the terminal; updating the input method vocabulary according to the keyword. In the above solution, the updating the input method vocabulary according to the keyword includes: saving the keyword into a preset temporary folder; and when the current location information of the terminal changes, updating according to the newly acquired keyword The temporary folder.

上述方案中, 所述根据终端当前的位置信息获取终端当前所在区域的 关键词汇, 包括: 接收用户设定的词汇类型; 根据终端当前的位置信息和 设定的词汇类型获取终端当前所在区域的关键词汇。  In the above solution, the obtaining, according to the current location information of the terminal, the keyword pool of the current location of the terminal, includes: receiving a vocabulary type set by the user; and acquiring a key of the current location of the terminal according to the current location information of the terminal and the set vocabulary type. vocabulary.

上述方案中, 所述关键词汇包括: 终端当前所在区域的道路、 餐馆、 酒店、 景点名称中的一种或多种。  In the above solution, the keyword sink includes: one or more of a road, a restaurant, a hotel, and a name of a spot in the current area of the terminal.

上述方案中, 所述位置信息为: 终端当前位置的经纬度信息或地址名 称中的一种。  In the above solution, the location information is: one of latitude and longitude information or an address name of a current location of the terminal.

本发明提供了一种字符输入方法, 采用上述更新输入法词库后, 该方 法包括:  The present invention provides a character input method. After the above-mentioned update input method vocabulary is used, the method includes:

在输入法启动时, 根据用户输入的字符信息, 在更新后的输入法词库 中检索出相应候选词;  When the input method is started, according to the character information input by the user, the corresponding candidate words are retrieved in the updated input method vocabulary;

接收用户输入的选择信息, 输出指定的候选词。  The selection information input by the user is received, and the specified candidate words are output.

上述方案中, 该方法还包括: 将所述相应候选词中根据终端当前的位 置信息更新到输入法词库中的关键词汇作为首要候选词。  In the above solution, the method further includes: updating, as the primary candidate word, the keyword sink in the corresponding candidate word according to the current location information of the terminal to the input method dictionary.

本发明还提供了一种终端, 该终端包括: 字符输入模块、 定位模块和 输入法模块; 其中,  The present invention also provides a terminal, the terminal comprising: a character input module, a positioning module, and an input method module;

字符输入模块, 用于在输入法启动时, 接收用户输入的字符信息和选 择信息 , 将该字符信息和选择信息发送给输入法模块;  a character input module, configured to receive character information and selection information input by the user when the input method is started, and send the character information and the selection information to the input method module;

定位模块, 用于获取终端当前的位置信息 , 将获取的位置信息发送给 输入法模块;  a positioning module, configured to acquire current location information of the terminal, and send the obtained location information to the input method module;

输入法模块, 用于根据所述定位模块发来的终端当前的位置信息获取 终端当前所在区域的关键词汇; 根据所述关键词汇更新输入法词库; 用于 根据字符输入模块发来的字符信息, 在所述输入法词库中检索出相应候选 词; 还用于接收字符输入模块发来的选择信息, 输出指定的候选词。 The input method module is configured to obtain, according to the current location information of the terminal sent by the positioning module, a keyword sink of the current location of the terminal; and update the input method vocabulary according to the keyword; And selecting, according to the character information sent by the character input module, the corresponding candidate word in the input method vocabulary; and receiving the selection information sent by the character input module, and outputting the specified candidate word.

上述方案中, 所述字符输入模块, 还用于接收用户设定的词汇类型, 将所述词汇类型发送给输入法模块;  In the above solution, the character input module is further configured to receive a vocabulary type set by a user, and send the vocabulary type to an input method module;

相应的, 所述输入法模块, 具体用于在根据终端当前的位置信息获取 终端当前所在区域的关键词汇的过程中, 根据终端当前的位置信息、 和字 符输入模块发来的词汇类型获取终端当前所在区域的关键词汇。  Correspondingly, the input method module is specifically configured to obtain, according to the current location information of the terminal and the vocabulary type sent by the character input module, the current terminal location in the process of obtaining the keyword sink of the current location of the terminal according to the current location information of the terminal. Key words in the region.

上述方案中, 所述输入法模块, 具体用于在根据所述关键词汇更新输 入法词库的过程中, 将所述关键词汇存入预设的临时文件夹, 当终端当前 的位置信息发生变化后, 根据新获取的关键词汇更新所述临时文件夹。  In the above solution, the input method module is specifically configured to save the keyword into a preset temporary folder during the process of updating the input method vocabulary according to the keyword, when the current location information of the terminal changes. After that, the temporary folder is updated according to the newly obtained keyword.

上述方案中, 所述输入法模块, 还用于将相应候选词中根据终端当前 的位置信息更新到输入法词库中的词汇作为首要候选词。  In the above solution, the input method module is further configured to use, as a primary candidate word, a vocabulary in the corresponding candidate word that is updated into the input method vocabulary according to the current location information of the terminal.

本发明提供一种输入法词库的更新方法、 字符输入方法及终端, 根据 终端当前的位置信息更新输入法词库, 提供一种有针对性的词库更新方式。 另外, 在输入法启动时, 根据用户输入的字符信息, 在根据终端当前的位 置信息更新后的输入法词库中进行检索, 得到相应的候选词, 提升用户的 体验度。 附图说明  The invention provides a method for updating an input method vocabulary, a character input method and a terminal, and updating an input method vocabulary according to current position information of the terminal, thereby providing a targeted vocabulary update method. In addition, when the input method is started, according to the character information input by the user, the search is performed in the input method vocabulary updated according to the current position information of the terminal, and the corresponding candidate words are obtained, thereby improving the user experience. DRAWINGS

图 1为本发明实施例一种输入法词库的更新方法的流程图;  1 is a flowchart of a method for updating an input method vocabulary according to an embodiment of the present invention;

图 2为本发明另一实施例一种输入法词库的更新方法的流程图; 图 3为本发明实施例一种字符输入方法的流程图;  2 is a flowchart of a method for updating an input method vocabulary according to another embodiment of the present invention; FIG. 3 is a flowchart of a character input method according to an embodiment of the present invention;

图 4为本发明实施例一种终端的示意图。 具体实施方式  FIG. 4 is a schematic diagram of a terminal according to an embodiment of the present invention. detailed description

图 1为本发明实施例一种输入法词库的更新方法的流程图, 包括以下 步驟: FIG. 1 is a flowchart of a method for updating an input method vocabulary according to an embodiment of the present invention, including the following Steps:

步驟 Sll : 获取终端当前的位置信息;  Step S11: obtaining current location information of the terminal;

步驟 S12: 根据终端当前的位置信息获取终端当前所在区域的关键词 汇;  Step S12: Acquire a keyword sink of the current location of the terminal according to the current location information of the terminal;

步驟 S13: 根据所述关键词汇更新输入法词库。  Step S13: Update the input method vocabulary according to the keyword.

下面通过具体实施方式结合附图对本发明作进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.

图 2为本发明另一实施例一种输入法词库的更新方法的流程图, 包括 以下步驟:  FIG. 2 is a flowchart of a method for updating an input method vocabulary according to another embodiment of the present invention, including the following steps:

步驟 S21 : 开启终端的定位模块。  Step S21: Open the positioning module of the terminal.

步驟 S22: 定位模块获取终端当前的经纬度信息。  Step S22: The positioning module acquires current latitude and longitude information of the terminal.

步驟 S23: 终端输入法模块根据定位模块获取的经纬度信息,获取对应 的地址名称。  Step S23: The terminal input method module acquires a corresponding address name according to the latitude and longitude information acquired by the positioning module.

这里, 所述获取对应的地址名称可以为: 终端通过现有 Web (互联网) 服务器, 从现有地图服务器中获取当前经纬度信息对应的地址名称。  Here, the obtaining the corresponding address name may be: the terminal acquires an address name corresponding to the current latitude and longitude information from the existing map server by using an existing Web (Internet) server.

步驟 S24: 根据终端当前所在的地址名称获取该区域的关键词汇。  Step S24: Acquire a keyword pool of the area according to the address name where the terminal is currently located.

这里, 所述获取该区域的关键词汇可以为: 终端可以通过现有 Web服 务器从现有词库服务器中获取该区域的道路、 餐馆、 酒店、 景点名称等。  Here, the keyword pool for obtaining the area may be: The terminal may obtain the road, the restaurant, the hotel, the name of the attraction, and the like of the area from the existing thesaurus server through the existing web server.

步驟 S25: 输入法模块根据获取的关键词汇更新输入法词库。  Step S25: The input method module updates the input method vocabulary according to the obtained keyword.

本实施例中, 用户还可以对感兴趣的词汇类型进行设置, 在终端的字 符输入模块中输入设定的词汇类型, 输入法模块根据终端当前的位置信息 和设定的词汇类型获取终端当前所在区域的关键词汇, 如用户设定的词汇 类型是道路, 则输入法模块只需要根据终端当前的位置信息获取当前所在 区域的道路名称。  In this embodiment, the user can also set the vocabulary type of interest, input the set vocabulary type in the character input module of the terminal, and the input method module obtains the current location of the terminal according to the current location information of the terminal and the set vocabulary type. For the key words of the area, if the vocabulary type set by the user is a road, the input method module only needs to obtain the road name of the current area according to the current location information of the terminal.

获取终端当前位置信息的动作可以由终端的定位模块主动触发, 也可 以由输入法模块提示用开启定位模块来触发。 上述步驟 S25 中, 所述更新输入法词库可以包括: 将关键词汇存入预 设的临时文件夹, 当终端当前的位置信息发生变化后, 根据新获取的关键 词汇更新该临时文件夹。 The action of obtaining the current location information of the terminal may be triggered by the positioning module of the terminal, or may be triggered by the input method module by using the open positioning module. In the above step S25, the updating the input method vocabulary may include: storing the keywords into a preset temporary folder, and updating the temporary folder according to the newly acquired keyword after the current location information of the terminal changes.

比如: 用户携带手机在上海景点东方明珠前游玩, 手机的定位模块可 以获取手机当前所在的经纬度信息; 输入法模块根据该经纬度信息, 从地 图服务器中获取当前经纬度信息对应的地址名称为东方明珠, 输入法模块 通过 Web服务器从词库服务器中获取东方明珠附近的道路、 餐馆、 酒店、 景点名称等, 如望湘园、 喜多屋海鲜自助、 东方明珠、 金茂大厦等名称, 输入法模块将这些词汇存入到输入法词库中的临时文件夹;  For example: The user carries a mobile phone to play in front of the Oriental Pearl of Shanghai attraction. The positioning module of the mobile phone can obtain the latitude and longitude information of the current mobile phone; the input method module obtains the address name corresponding to the current latitude and longitude information from the map server according to the latitude and longitude information, the Oriental Pearl, the input method The module obtains the names of roads, restaurants, hotels, scenic spots, etc. near the Oriental Pearl from the thesaurus through the web server, such as Wang Xiangyuan, Xiduo Seafood Buffet, Oriental Pearl, Jinmao Tower, etc. The input method module stores these words into the Enter a temporary folder in the French vocabulary;

当定位模块检测到用户离开东方明珠后, 可以清空临时文件夹中保 存的上述关键词汇, 根据新获取的关键词汇更新该临时文件夹, 这样可 以保证临时文件夹是根据终端最新位置信息生成的, 既方便了用户使用, 又节省了终端的内存空间。  After the positioning module detects that the user leaves the Oriental Pearl, the above keyword pool saved in the temporary folder can be emptied, and the temporary folder is updated according to the newly obtained keyword, so that the temporary folder is generated according to the latest location information of the terminal, It is convenient for users to use, and saves the memory space of the terminal.

本发明还包括基于该实施例提供的输入法词库, 进行字符输入的过程, 图 3为本发明实施例一种字符输入方法的流程图, 包括以下步驟:  The present invention also includes a process of inputting characters based on the input method vocabulary provided by the embodiment, and FIG. 3 is a flowchart of a character input method according to an embodiment of the present invention, which includes the following steps:

步驟 S31 : 在输入法启动时, 用户在终端字符输入模块输入字符信息; 步驟 S32: 终端输入法模块根据用户输入的字符信息, 在按照上述实 施例更新后的输入法词库中检索出相应候选词;  Step S31: When the input method is started, the user inputs character information in the terminal character input module. Step S32: The terminal input method module retrieves the corresponding candidate in the input method lexicon updated according to the above embodiment according to the character information input by the user. Word

步驟 S33: 用户在终端字符输入模块选择其中一个候选词; 步驟 S34:输入法模块接收用户输入的选择信息,输出指定的候选词。 优选的,输入法模块可以将相应候选词中根据终端当前的位置信息更 新到输入法词库中的词汇作为首要候选词, 基于上述根据东方明珠这一位 置信息更新输入法词库的实施例, 如果用户使用手机编译微博, 只要输入 "东"字或对应的拼音, "东方明珠"就会作为首要候选词出现, 这样用户输入 时就非常方便快捷。 本发明还包括一种终端, 如图 4所示, 该终端包括: 字符输入模块 41、 定位模块 42和输入法模块 43; 其中, Step S33: The user selects one of the candidate words in the terminal character input module. Step S34: The input method module receives the selection information input by the user, and outputs the specified candidate word. Preferably, the input method module may use, as a primary candidate, a vocabulary in the corresponding candidate word that is updated into the input lexicon according to the current location information of the terminal, based on the foregoing embodiment of updating the input lexicon according to the location information of the Oriental Pearl, if Users use the mobile phone to compile Weibo. Just input the word "East" or the corresponding pinyin. "Oriental Pearl" will appear as the first candidate, so the user input is very convenient and fast. The present invention also includes a terminal, as shown in FIG. 4, the terminal includes: a character input module 41, a positioning module 42 and an input method module 43;

字符输入模块 41 , 用于在输入法启动时, 接收用户输入的字符信息和 选择信息, 将该字符信息和选择信息发送给输入法模块 43;  The character input module 41 is configured to receive character information and selection information input by the user when the input method is started, and send the character information and the selection information to the input method module 43;

定位模块 42, 用于获取终端当前的位置信息, 将获取的位置信息发送 给输入法模块 43;  The positioning module 42 is configured to obtain the current location information of the terminal, and send the obtained location information to the input method module 43;

输入法模块 43,用于根据定位模块 42发来的终端当前的位置信息获取 终端当前所在区域的关键词汇; 根据获取的关键词汇更新输入法词库; 用 于根据字符输入模块 41发来的的字符信息, 在该输入法词库中检索出相应 候选词;还用于接收字符输入模块 41发来的选择信息,输出指定的候选词。  The input method module 43 is configured to obtain a keyword sink of the current location of the terminal according to the current location information of the terminal sent by the positioning module 42; update the input method vocabulary according to the obtained keyword; used for sending according to the character input module 41 The character information is used to retrieve the corresponding candidate word in the input method vocabulary; and is further configured to receive the selection information sent by the character input module 41 and output the specified candidate word.

进一步, 所述字符输入模块 41 , 还用于接收用户设定的词汇类型, 将 所述词汇类型发送给输入法模块 43; 相应的, 所述输入法模块 43 , 具体用 于在根据终端当前的位置信息获取终端当前所在区域的关键词汇的过程 中, 根据终端当前的位置信息和、 和字符输入模块 41发来的词汇类型获取 终端当前所在区域的关键词汇。  Further, the character input module 41 is further configured to receive a vocabulary type set by the user, and send the vocabulary type to the input method module 43. Correspondingly, the input method module 43 is specifically configured to be based on the current terminal. In the process of obtaining the keyword pool of the current location of the terminal, the location information is obtained according to the current location information of the terminal and the vocabulary type sent by the character input module 41.

进一步, 所述输入法模块 43 , 具体用于根据该关键词汇更新输入法词 库的过程中, 将该关键词汇存入预设的临时文件夹, 当终端当前的位置信 息发生变化后, 根据新获取的关键词汇更新该临时文件夹。  Further, the input method module 43 is specifically configured to save the keyword into the preset temporary folder during the process of updating the input method vocabulary according to the keyword, and when the current location information of the terminal changes, according to the new The obtained keyword will update the temporary folder.

进一步, 所述输入法模块 43 , 还用于将相应候选词中根据终端当前的 位置信息更新到输入法词库中的词汇作为首要候选词。  Further, the input method module 43 is further configured to use, as a primary candidate word, a vocabulary in the corresponding candidate word that is updated into the input lexicon according to the current location information of the terminal.

本发明终端当前的位置信息可以是终端当前的经纬度信息、 地址名称 等, 本发明的终端可以是个人电脑、 手机、 PDA等各种电子设备, 对于移 动终端, 可以结合 GPS ( Global Positioning System, 全球定位系统)和 LBS ( Location Based Services, 位置服务 ) 即时更新输入法词库。  The current location information of the terminal of the present invention may be the current latitude and longitude information, the address name, and the like of the terminal. The terminal of the present invention may be various electronic devices such as a personal computer, a mobile phone, a PDA, etc. For the mobile terminal, a GPS (Global Positioning System, global) may be combined. Positioning System) and LBS (Location Based Services) Instantly update the input lexicon.

本发明可以根据终端当前的位置信息更新输入法词库, 提供一种有针 对性的词库更新方式。 另外, 还可以实现根据终端的不同位置, 提供不同 的候选词, 提高输入法候选词的灵活性, 实现用户地快速输入, 同时提升 了用户体验度。 能认定本发明的具体实施只局限于这些说明。 对于本发明所属技术领域的 普通技术人员来说, 在不脱离本发明构思的前提下, 还可以做出若干简单 推演或替换, 都应当视为属于本发明的保护范围。 The invention can update the input method vocabulary according to the current location information of the terminal, and provide a needle The way to update the vocabulary of sex. In addition, different candidate words can be provided according to different positions of the terminal, the flexibility of the input method candidate words can be improved, the user can quickly input, and the user experience is improved. It is to be understood that the specific embodiments of the invention are limited only by the description. It will be apparent to those skilled in the art that the present invention may be made without departing from the spirit and scope of the invention.

Claims

权利要求书 Claim 1、 一种输入法词库的更新方法, 其特征在于, 该方法包括:  A method for updating an input method vocabulary, the method comprising: 获取终端当前的位置信息;  Obtaining current location information of the terminal; 根据终端当前的位置信息获取终端当前所在区域的关键词汇; 根据所述关键词汇更新输入法词库。  Obtaining a keyword pool of the current location of the terminal according to the current location information of the terminal; updating the input method vocabulary according to the keyword. 2、 如权利要求 1所述的方法, 其特征在于, 所述根据关键词汇更新输 入法词库, 包括: 将所述关键词汇存入预设的临时文件夹, 当终端当前的 位置信息发生变化后, 根据新获取的关键词汇更新所述临时文件夹。  2. The method according to claim 1, wherein the updating the input method vocabulary according to the keyword remittance comprises: saving the keyword into a preset temporary folder, when the current location information of the terminal changes. After that, the temporary folder is updated according to the newly obtained keyword. 3、 如权利要求 1所述的方法, 其特征在于, 所述根据终端当前的位置 信息获取终端当前所在区域的关键词汇, 包括:  The method according to claim 1, wherein the obtaining, according to the current location information of the terminal, the keyword pool of the current location of the terminal includes: 接收用户设定的词汇类型;  Receiving a vocabulary type set by the user; 根据终端当前的位置信息和设定的词汇类型获取终端当前所在区域的 关键词汇。  The keyword pool of the current location of the terminal is obtained according to the current location information of the terminal and the set vocabulary type. 4、 如权利要求 1至 3任一项所述的方法, 其特征在于, 所述关键词汇 包括: 终端当前所在区域的道路、 餐馆、 酒店、 景点名称中的一种或多种。  The method according to any one of claims 1 to 3, wherein the keyword includes: one or more of a road, a restaurant, a hotel, and a name of a spot in a region where the terminal is currently located. 5、 如权利要求 1至 3任一项所述的方法, 其特征在于, 所述位置信息 为: 终端当前位置的经纬度信息或地址名称中的一种。  The method according to any one of claims 1 to 3, wherein the location information is: one of latitude and longitude information or an address name of a current location of the terminal. 6、 一种字符输入方法, 其特征在于, 采用权利要求 1至 5任一项所述 的方法更新输入法词库后, 该方法包括:  A character input method, characterized in that, after updating the input method vocabulary by the method according to any one of claims 1 to 5, the method comprises: 在输入法启动时, 根据用户输入的字符信息, 在更新后的输入法词库 中检索出相应候选词;  When the input method is started, according to the character information input by the user, the corresponding candidate words are retrieved in the updated input method vocabulary; 接收用户输入的选择信息, 输出指定的候选词。  The selection information input by the user is received, and the specified candidate words are output. 7、 如权利要求 6所述的方法, 其特征在于, 该方法还包括: 将所述相 应候选词中根据终端当前的位置信息更新到输入法词库中的关键词汇作为 首要候选词。 The method according to claim 6, wherein the method further comprises: updating, as the primary candidate word, the keyword sink updated in the input method vocabulary according to the current location information of the terminal in the corresponding candidate word. 8、 一种终端, 其特征在于, 该终端包括: 字符输入模块、 定位模块和 输入法模块; 其中, A terminal, comprising: a character input module, a positioning module, and an input method module; wherein 字符输入模块, 用于在输入法启动时, 接收用户输入的字符信息和选 择信息 , 将该字符信息和选择信息发送给输入法模块;  a character input module, configured to receive character information and selection information input by the user when the input method is started, and send the character information and the selection information to the input method module; 定位模块, 用于获取终端当前的位置信息, 将获取的位置信息发送给 输入法模块;  a positioning module, configured to acquire current location information of the terminal, and send the obtained location information to the input method module; 输入法模块, 用于根据所述定位模块发来的终端当前的位置信息获取 终端当前所在区域的关键词汇; 根据所述关键词汇更新输入法词库; 用于 根据字符输入模块发来的的字符信息, 在所述输入法词库中检索出相应候 选词; 还用于接收字符输入模块发来的选择信息, 输出指定的候选词。  The input method module is configured to obtain, according to the current location information of the terminal sent by the positioning module, a keyword sink of the current location of the terminal; update the input method vocabulary according to the keyword; and use the character sent according to the character input module The information is used to retrieve the corresponding candidate words in the input method vocabulary; and is further configured to receive the selection information sent by the character input module, and output the specified candidate words. 9、 如权利要求 8所述的终端, 其特征在于,  9. The terminal of claim 8 wherein: 所述字符输入模块, 还用于接收用户设定的词汇类型, 将所述词汇类 型发送给输入法模块;  The character input module is further configured to receive a vocabulary type set by the user, and send the vocabulary type to the input method module; 相应的, 所述输入法模块, 具体用于在根据终端当前的位置信息获取 终端当前所在区域的关键词汇的过程中, 根据终端当前的位置信息、 和字 符输入模块发来的词汇类型获取终端当前所在区域的关键词汇。  Correspondingly, the input method module is specifically configured to obtain, according to the current location information of the terminal and the vocabulary type sent by the character input module, the current terminal location in the process of obtaining the keyword sink of the current location of the terminal according to the current location information of the terminal. Key words in the region. 10、 如权利要求 8所述的终端, 其特征在于,  10. The terminal of claim 8 wherein: 所述输入法模块, 具体用于在根据所述关键词汇更新输入法词库的过 程中, 将所述关键词汇存入预设的临时文件夹, 当终端当前的位置信息发 生变化后, 根据新获取的关键词汇更新所述临时文件夹。  The input method module is specifically configured to save the keyword into a preset temporary folder in a process of updating an input method vocabulary according to the keyword, and when the current location information of the terminal changes, according to the new The obtained keyword summary updates the temporary folder. 11、 如权利要求 8至 10任一项所述的终端, 其特征在于,  The terminal according to any one of claims 8 to 10, characterized in that 所述输入法模块, 还用于将相应候选词中根据终端当前的位置信息更 新到输入法词库中的词汇作为首要候选词。  The input method module is further configured to use, as a primary candidate word, a vocabulary in the corresponding candidate word that is updated according to the current location information of the terminal into the input lexicon.
PCT/CN2012/070937 2011-11-09 2012-02-07 Method for updating lexicon of input method, character input method, and terminal Ceased WO2012152097A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110351768XA CN102508903A (en) 2011-11-09 2011-11-09 Updating method for word bank of input method, character input method and terminal
CN201110351768.X 2011-11-09

Publications (1)

Publication Number Publication Date
WO2012152097A1 true WO2012152097A1 (en) 2012-11-15

Family

ID=46220989

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/070937 Ceased WO2012152097A1 (en) 2011-11-09 2012-02-07 Method for updating lexicon of input method, character input method, and terminal

Country Status (2)

Country Link
CN (1) CN102508903A (en)
WO (1) WO2012152097A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078913A (en) * 2012-12-27 2013-05-01 北京百度网讯科技有限公司 Word bank updating method and system for input method application
CN107832035A (en) * 2017-11-13 2018-03-23 赵桂银 A kind of pronunciation inputting method of intelligent terminal

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843476B (en) * 2012-09-12 2015-04-15 惠州Tcl移动通信有限公司 Mobile terminal and input method management method thereof
CN102955569B (en) * 2012-10-18 2016-03-23 北京天宇朗通通信设备股份有限公司 The method of Text Input and device
CN102945121A (en) * 2012-10-18 2013-02-27 北京天宇朗通通信设备股份有限公司 Method and device for inputting text
CN103020125A (en) * 2012-11-19 2013-04-03 百度国际科技(深圳)有限公司 Method for providing service resource, input method, server and electronic equipment
CN104050168B (en) * 2013-03-12 2017-11-28 联想(北京)有限公司 Information processing method, electronic equipment and dictionary server
CN103399947A (en) * 2013-08-16 2013-11-20 北京播思无线技术有限公司 Position based input method thesaurus management system and method
CN103455167A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method, client and system for adjusting input method editor (IME) corpus based on geographical region information
CN105718071A (en) * 2016-01-19 2016-06-29 努比亚技术有限公司 Terminal and method for recommending associational words in input method
CN105760521A (en) * 2016-02-29 2016-07-13 百度在线网络技术(北京)有限公司 Information input method and device
CN105867649B (en) * 2016-03-29 2019-03-05 维沃移动通信有限公司 A device information-based input method and mobile terminal
CN106021527B (en) * 2016-05-24 2019-06-28 努比亚技术有限公司 A kind of data processing method and search server, sync server
CN109669550B (en) * 2017-10-17 2023-05-16 北京搜狗科技发展有限公司 Method and device for obtaining user word stock
CN112052302B (en) * 2020-09-02 2023-06-30 平安科技(深圳)有限公司 Method, system, device and storage medium for dynamically generating position word stock

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330916A (en) * 2002-05-15 2003-11-21 Nec Corp Regional proper noun dictionary receiving system and portable terminal device
CN101847159A (en) * 2010-05-11 2010-09-29 中兴通讯股份有限公司 Terminal equipment and method for updating word stock thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003330916A (en) * 2002-05-15 2003-11-21 Nec Corp Regional proper noun dictionary receiving system and portable terminal device
CN101847159A (en) * 2010-05-11 2010-09-29 中兴通讯股份有限公司 Terminal equipment and method for updating word stock thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078913A (en) * 2012-12-27 2013-05-01 北京百度网讯科技有限公司 Word bank updating method and system for input method application
CN103078913B (en) * 2012-12-27 2015-11-25 北京百度网讯科技有限公司 The Word library updating method and system of input method application program
CN107832035A (en) * 2017-11-13 2018-03-23 赵桂银 A kind of pronunciation inputting method of intelligent terminal
CN107832035B (en) * 2017-11-13 2021-03-12 深圳市矽昊智能科技有限公司 Voice input method of intelligent terminal

Also Published As

Publication number Publication date
CN102508903A (en) 2012-06-20

Similar Documents

Publication Publication Date Title
WO2012152097A1 (en) Method for updating lexicon of input method, character input method, and terminal
US10270862B1 (en) Identifying non-search actions based on a search query
WO2013163857A1 (en) Mobile terminal with location and navigation functions and method for quick location and navigation
AU2010214793B2 (en) Multi-dimensional disambiguation of voice commands
AU2015282365B2 (en) Navigation queries
CN103595868B (en) Language extension method and system based on geographic position and applied to handheld device
CN103455160B (en) A method and device for recommending candidate words based on geographic location
CN103035240B (en) Method and system for speech recognition repair using contextual information
CN105489220B (en) Speech recognition method and device
EP2518642A1 (en) Method and terminal device for updating word stock
CN101790002A (en) Method, system and device for managing images and geographic position data of mobile device
JP2020537198A (en) Identify music as a particular song
CN106462597A (en) Perform searches and access search results from different devices
WO2020249091A1 (en) Voice interaction method, apparatus, and system
CN102326444A (en) Method and terminal for travel assistance
CN102289512A (en) System and method for dynamically adjusting candidate words based on geographic location on portable device
WO2015000430A1 (en) Intelligent word selection method and device
CN102063194A (en) Method, equipment, server and system for inputting characters by user
CN106095848A (en) The method of text association, terminal unit and corresponding server unit
JP2015060391A (en) Server device, terminal device, program, system, and method for providing information in response to input of data by user
US10769182B2 (en) System and method of highlighting terms
AU2012261393B2 (en) Method and system for inputting information to mobile terminal as well as mobile terminal
WO2014169731A1 (en) Information query method and terminal device
JP2006074376A (en) Mobile phone device with broadcast receiving function, program, and recording medium
CN103685670A (en) Method and equipment for automatically saving telephone numbers

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12782329

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12782329

Country of ref document: EP

Kind code of ref document: A1