Method and device for updating input method word stock

An input method and thesaurus technology, applied in the computer field, can solve problems such as waste of resources and huge

Active Publication Date: 2011-05-25
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, the client’s lexicon will become larger and larger, and a large number of seldom-used

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for updating input method word stock
  • Method and device for updating input method word stock
  • Method and device for updating input method word stock

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0087] figure 1 The server-side method flow chart provided by Embodiment 1 of the present invention, on the server side, configure a basic version number for the released input method program, only the update of the dictionary will not cause the change of the basic version number, only cause the sub-version number Change, the base version number to which it belongs can be known from the subversion number. That is, when the thesaurus of the input method program is adjusted, a sub-version number is assigned to the version of the thesaurus formed after a certain period of time or after the thesaurus is adjusted to a certain extent. For example, the basic version number of the released input method program is 1.0.0.0. When the thesaurus in the input method program is adjusted, if the update cycle is reached, or the degree of update of the thesaurus meets the preset requirements, the adjustment information of the thesaurus is used to form a Thesaurus sub-version, the sub-version n...

Embodiment 2

[0119] figure 2 The flow chart of the client method provided by Embodiment 2 of the present invention, such as figure 2 As shown, the method includes the following steps:

[0120] Step 201: Send a thesaurus upgrade request including the thesaurus version number of the client to the server.

[0121] In the embodiment of the present invention, the situation where the client sends a thesaurus upgrade request to the server may include but not limited to the following:

[0122] The first case: the client can proactively send a thesaurus upgrade request including the client's thesaurus version number to the server when the update cycle of the thesaurus is reached.

[0123] The second case: after the client detects that the server has an updated thesaurus version, it actively sends a thesaurus upgrade request including the client's thesaurus version number to the server.

[0124] The third case: after the server end generates a new thesaurus version, it triggers the client to se...

Embodiment 3

[0136] image 3 A schematic diagram of an upgrading device for an input method lexicon provided on the server side provided in Embodiment 3 of the present invention, as shown in image 3 As shown, the apparatus may include: an adjustment information maintenance unit 300 , a client-side interaction unit 310 and an upgrade information determination unit 320 .

[0137] The adjustment information maintenance unit 300 is used to record the thesaurus adjustment information based on the previous thesaurus version on the server side in the current thesaurus version on the server side. The thesaurus adjustment information includes: the word frequency change status of each term for the last thesaurus version And the word update status determined based on the word frequency change status.

[0138] The client-side interaction unit 310 is configured to obtain the client's thesaurus version number, and send the word update information obtained by the upgrade information determining unit an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and device for updating an input method word stock. The method comprises the following steps: recording word stock regulating information based on the last word stock version on a server into the current word stock version at the server, wherein the word stock regulating information comprises word updating states aiming at the word frequency changing state of the words in the last word stock version and based on the word frequency changing state; obtaining the number of the word stock of the client; and gathering all the word stock regulating information on theversion of the word stock of the client and the version of the word stock of the current server, and sending the gathered word updating information and the version number of the word stock of the current server to the client. The client can add the words needing to be added into the input method word stock on the client according to the word updating information and delete the words needing to bedeleted from the input method word stock on the client, and update the version number of the current word stock version on the client.

Description

【Technical field】 [0001] The invention relates to the field of computer technology, in particular to a method and device for upgrading an input method lexicon. 【Background technique】 [0002] With the popularization and development of computer technology and Internet technology, and people's information exchanges become more frequent, more and more new words are produced and used by people, such as some new popular words, professional field words or well-known In order to meet the needs of users for using new vocabulary, such as personal names and company names, it is necessary to upgrade the input method lexicon. [0003] There are mainly two ways to upgrade the input method lexicon: [0004] The first upgrade method: upgrade the thesaurus included in the input method program by updating the input method program. Obviously, when using this upgrade method, the entire input method program needs to be updated jointly, the upgrade process is complicated, and the upgrade effic...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/445G06F17/30
Inventor 彭立志徐新意秦添
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products