CN103473313B - Establishment method and device for name dictionary of input method - Google Patents

Establishment method and device for name dictionary of input method Download PDF

Info

Publication number
CN103473313B
CN103473313B CN201310412654.0A CN201310412654A CN103473313B CN 103473313 B CN103473313 B CN 103473313B CN 201310412654 A CN201310412654 A CN 201310412654A CN 103473313 B CN103473313 B CN 103473313B
Authority
CN
China
Prior art keywords
information
name
pronunciation
user
name information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310412654.0A
Other languages
Chinese (zh)
Other versions
CN103473313A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310412654.0A priority Critical patent/CN103473313B/en
Publication of CN103473313A publication Critical patent/CN103473313A/en
Application granted granted Critical
Publication of CN103473313B publication Critical patent/CN103473313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Machine Translation (AREA)

Abstract

The invention provides an establishment method and a device for a name dictionary of an input method. The establishment method for the name dictionary of the input method comprises obtaining user personal information in social networks according to user identity information; analyzing the user personal information to obtain a plurality of name information in the personal information; performing pronunciation annotation on the plurality of name information to generate a plurality of corresponding pronunciation information; generating the name dictionary according to the plurality of name information and the plurality of pronunciation information. The establishment method for the name dictionary of the input method obtains names such as personal names and geographical names from the social networks and has the advantages of solving the problem of name input requirements for individuation, enlarging the word bank of names, improving the name inputting efficiency and improving the user experience.

Description

Method and device for establishing name dictionary in input method
Technical Field
The invention relates to the technical field of electronics, in particular to a method and a device for establishing a name dictionary in an input method.
Background
For example, when a user inputs a small administrative area or cell name, such as "hong rui home", the user may obtain a result of "what countryside" is input in spite of the fact that the user inputs the home, and "swellfish wrong" is displayed as a result, but the user may rely on a huge word stock to realize or intelligently group words, and the user is difficult to take care of the whole of the week and has poor feasibility compared with more and more personalized names.
At present, a name input model is based on a general input method, and the name input is an input word class with extremely high personalized requirements, so that the general input model cannot meet the personalized requirements of users, and the user experience is poor.
Disclosure of Invention
The present invention is directed to solving at least one of the above problems.
Therefore, the first purpose of the invention is to provide a method for establishing a name dictionary in an input method. The method solves the problem of individual requirements of name input, such as name, place name and the like, enlarges a name word bank, improves the name input efficiency and improves the user experience.
The second purpose of the invention is to provide a device for establishing a name dictionary in an input method.
In order to achieve the above object, a method for creating a name dictionary in an input method according to an embodiment of the first aspect of the present invention includes the following steps: acquiring personal information of a social network of a user according to the identity information of the user; analyzing the personal information of the user to acquire a plurality of name information in the personal information; performing pronunciation annotation on the plurality of name information to generate a plurality of corresponding pronunciation information; and generating a name dictionary according to the plurality of name information and the plurality of pronunciation information.
According to the method for establishing the name dictionary in the input method, the name information is obtained from the social network site, the pronunciation of the name information is labeled to generate the corresponding pronunciation information, and the name dictionary is generated according to the name information and the pronunciation information, so that the name lexicon such as names of people, place names and the like is expanded, the name input efficiency is improved, the name is obtained from the social network site, the problem of personalized requirement of name input is solved, and the user experience is improved.
In order to achieve the above object, an apparatus for creating a name dictionary in an input method according to an embodiment of the second aspect of the present invention includes: the personal information acquisition module is used for acquiring the personal information of the social network of the user according to the identity information of the user; the analysis module is used for analyzing the personal information of the user to acquire a plurality of name information in the personal information; the pronunciation information generating module is used for carrying out pronunciation marking on the plurality of name information to generate a plurality of corresponding pronunciation information; and a name dictionary generating module for generating a name dictionary according to the plurality of name information and the plurality of pronunciation information.
According to the device for establishing the name dictionary in the input method, the personal information of the social network of the user is analyzed through the analysis module to obtain the name information in the personal information, the pronunciation information generation module carries out pronunciation labeling on the name information to generate corresponding pronunciation information, and the name dictionary generation module generates the name dictionary according to the name information and the pronunciation information, so that a name lexicon is enlarged, such as a name, a place name and the like, the name input efficiency is improved, the name is obtained from the social network site, the problem of personalized requirement of name input is solved, and the user experience is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which,
FIG. 1 is a flow diagram of a method for building a name dictionary in an input method according to one embodiment of the present invention;
FIG. 2 is a flow diagram of a method for building a name dictionary in an input method according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for building a name dictionary in an input method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for creating a name dictionary in an input method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an apparatus for creating a name dictionary in an input method according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus for creating a name dictionary in an input method according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present invention, it is to be noted that, unless otherwise explicitly specified or limited, the terms "connected" and "connected" are to be interpreted broadly, e.g., as being fixed or detachable or integrally connected; can be mechanically or electrically connected; may be directly connected or indirectly connected through an intermediate. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The invention provides a method and a device for establishing a name dictionary in an input method, aiming at solving the problems that the name input efficiency is low and the name input cannot meet the individual requirements of a user. A method and apparatus for creating a name dictionary in an input method according to an embodiment of the present invention will be described below with reference to the accompanying drawings.
A method for establishing a name dictionary in an input method comprises the following steps: acquiring personal information of a social network of a user according to the identity information of the user; analyzing the personal information of the user to acquire a plurality of name information in the personal information; performing pronunciation annotation on the plurality of name information to generate a plurality of corresponding pronunciation information; and generating a name dictionary according to the plurality of name information and the plurality of pronunciation information.
Fig. 1 is a flowchart of a method for creating a name dictionary in an input method according to an embodiment of the present invention.
As shown in fig. 1, the method for establishing a name dictionary in an input method includes:
s101, acquiring personal information of the social network of the user according to the identity information of the user.
The identity information may include a user name, a password, and the like, a Social Network Site (SNS) website may be obtained according to the identity information of the user, and the number of the Social websites obtained according to the identity information of the user may be multiple, for example, a human Network, a microblog, a happy Network, a Facebook (a Social Network service website created in the united states), and the like.
Specifically, a user logs in a social network site through identity information such as an input user name and a password, and then obtains personal information of the user in the social network site through an open platform of the social network site, wherein the personal information may include address list information, check-in information and the like. For example, the people link is a further extension of a people network open platform, allows a user to log in various third-party websites by using a people network account, shares wonderful content, and deeply interacts with friends, and provides detailed identity information, complete personal information, multiple propagation channels and the like of the user.
S102, analyzing the personal information of the user to acquire a plurality of name information in the personal information.
The name information may include, for example, person name information and place name information. For example, analyzing the address book information of the user may obtain a plurality of person name information, and analyzing the check-in information may obtain a plurality of place name information, and the like.
S103, performing pronunciation marking on the plurality of name information to generate a plurality of corresponding pronunciation information.
Specifically, since the names in the name information acquired through the social network have no pronunciation information, and pronunciation information is required for the input method program, the acquired names need to be subjected to pronunciation labeling, and the names in each acquired name information can be subjected to pronunciation labeling through the pronunciation labeling program to generate corresponding pronunciation information.
And S104, generating a name dictionary according to the plurality of name information and the plurality of pronunciation information.
Specifically, the name model may be trained by an input method lexicon training program according to each name information and pronunciation information corresponding to each name information to generate a name dictionary.
For example, the name information is place name information, a place name model is trained according to pronunciation information corresponding to the place name information, entries in an input method are recalled in the training, and the place name information is sorted according to the occurrence frequency of place names in the entries and the tone of pinyin, so that a name dictionary is generated. The same method can be used to establish a corresponding dictionary for the name information.
According to the method for establishing the name dictionary in the input method, the name information is obtained from the social network site, the pronunciation of the name information is labeled to generate the corresponding pronunciation information, and the name dictionary is generated according to the name information and the pronunciation information, so that the name lexicon is enlarged, such as the name of a person, the name of a place and the like, the name input efficiency is improved, the name is obtained from the social network site, the problem of personalized requirement of name input is solved, and the user experience is improved.
It should be understood that the above-described creation of a name dictionary may be applied to the generation of any name class vocabulary. The vocabulary corresponding to the place name information is a recall type vocabulary as long as the aim of recalling can be achieved. However, the name dictionary corresponding to the name information also needs to be weighted and sorted accordingly.
Fig. 2 is a flowchart of a method for creating a name dictionary in an input method according to an embodiment of the present invention.
In this embodiment, when the personal information is address book information and the name information is name information, weight information corresponding to the name information in the address book information needs to be acquired. Specifically, as shown in fig. 2, the method for establishing a name dictionary in an input method includes:
s201, address list information of the social network of the user is obtained according to the identity information of the user.
The identity information may include a user name, a password, and the like, the social network is an SNS website, and a plurality of social websites may be acquired according to the identity information of the user, for example, a human network, a microblog, a happy network, a Facebook, and the like.
Specifically, a user logs in a social network site through identity information such as an input user name and a password, and then address book information of the user in the social network site is obtained through an open platform of the social network site. For example, the people link is a further extension of a people network open platform, allows a user to log in various third-party websites by using a people network account, shares wonderful content, and deeply interacts with friends, and provides detailed identity information, complete address book information, multiple propagation channels and the like of the user.
S202, analyzing the address book information of the user to obtain a plurality of name information in the address book information.
In one embodiment of the invention, the name information may include one or more of a corresponding social networking site, a belonging category, a name of a person, and the like. The category may include classmates, colleagues, relatives, strangers, etc. For example, the address book information of the user may be analyzed to obtain the name, the category, and the corresponding social network site of each contact in the address book information.
S203, analyzing the address book information of the user to obtain a plurality of weight information corresponding to a plurality of name information in the address book information.
Specifically, the frequency of entries containing names in the input method and social network site sources corresponding to the entries may be counted, where the corresponding social network site sources are used as coefficients k, and a weight value corresponding to each name is obtained through the following formula:
cost=freq1*k1+freq2*k2+……+freqn*kn
wherein, cost is a weight value, freq1, freq2, … and freqn are frequency of the vocabulary entry, and k1, k2, … and kn are number of social network site sources corresponding to the frequency.
For example, different social networking sites are differentiated according to the degree of closeness, and a wechat user is considered to be a relatively private social networking site, so that the weight information corresponding to the name information of the source is improved, and for example, a general user in the same social networking site can be classified differently according to the relationship with friends, for example, friends in categories of classmates, colleagues, relatives and the like are important social relationships, the weight information corresponding to the name information of the general user is higher, while the weight information corresponding to strangers is not important social relationships, and the weight information corresponding to the name information of the general user is lower.
It should be understood that those skilled in the art can easily make various modifications according to the above weight calculation formula, for example, adding different coefficients, etc., or non-linear calculation formula, etc., as long as the weight information of the name information is objectively represented.
And S204, performing pronunciation annotation on the plurality of name information to generate a plurality of corresponding pronunciation information.
Specifically, since the names in the name information acquired through the social network have no pronunciation information, and the input method program requires pronunciation information, the acquired names need to be subjected to pronunciation labeling, and the names in each acquired name information can be subjected to pronunciation labeling through the pronunciation labeling program to generate corresponding pronunciation information.
And S205, generating a name dictionary according to the plurality of person name information, the plurality of weight information corresponding to the plurality of person name information and the plurality of pronunciation information.
Specifically, the training of the name model may be performed by an input method lexicon training program according to each name information and pronunciation information corresponding to each name information, and each name information in the training may be ranked according to weight information corresponding to each name information, e.g., ranking the corresponding name information with a higher weight in front to generate a name dictionary.
According to the method for establishing the name dictionary in the input method, the address book information of the user is analyzed to obtain the weight information corresponding to the name information in the address book information, the training of the name model is carried out through the input method word bank training program according to the name information and the pronunciation information corresponding to the name information, the name information in the training is sequenced according to the weight information corresponding to the name information, and if the name information with the large weight is sequenced in front, the name dictionary is more convenient for the user to frequently use and input the name, so that the name input efficiency is further improved, and the user experience is improved.
Fig. 3 is a flowchart of a method for creating a name dictionary in an input method according to another embodiment of the present invention.
In this embodiment, when the personal information is address book information and the name information is name information, the weight information corresponding to the name information needs to be adjusted. Specifically, as shown in fig. 3, the method for establishing a name dictionary in an input method includes:
s301, address book information of the social network of the user is obtained according to the identity information of the user.
The identity information may include a user name, a password, and the like, the social network is an SNS website, and a plurality of social websites may be acquired according to the identity information of the user, for example, a human network, a microblog, a happy network, a Facebook, and the like.
Specifically, a user logs in a social network site through identity information such as an input user name and a password, and then address book information of the user in the social network site is obtained through an open platform of the social network site. For example, the people link is a further extension of a people network open platform, allows a user to log in various third-party websites by using a people network account, shares wonderful content, and deeply interacts with friends, and provides detailed identity information, complete address book information, multiple propagation channels and the like of the user.
S302, analyzing the address book information of the user to obtain a plurality of name information in the address book information.
In one embodiment of the invention, the name information may include one or more of a corresponding social networking site, a belonging category, a name of a person, and the like. The category may include classmates, colleagues, relatives, strangers, etc. For example, the address book information of the user may be analyzed to obtain the name, the category, and the corresponding social network site of each contact in the address book information.
S303, analyzing the address book information of the user to obtain a plurality of weight information corresponding to a plurality of name information in the address book information.
Specifically, the frequency of entries containing names in the input method and social network site sources corresponding to the entries may be counted, where the corresponding social network site sources are used as coefficients k, and a weight value corresponding to each name is obtained through the following formula:
cost=freq1*k1+freq2*k2+……+freqn*kn
wherein, cost is a weight value, freq1, freq2, … and freqn are frequency of the vocabulary entry, and k1, k2, … and kn are number of social network site sources corresponding to the frequency.
For example, different social networking sites are differentiated according to the degree of closeness, and a wechat user is considered to be a relatively private social networking site, so that the weight information corresponding to the name information of the source is improved, and for example, a general user in the same social networking site can be classified differently according to the relationship with friends, for example, friends in categories of classmates, colleagues, relatives and the like are important social relationships, the weight information corresponding to the name information of the general user is higher, while the weight information corresponding to strangers is not important social relationships, and the weight information corresponding to the name information of the general user is lower.
It should be understood that those skilled in the art can easily make various modifications according to the above weight calculation formula, for example, adding different coefficients, etc., or non-linear calculation formula, etc., as long as the weight information of the name information is objectively represented.
S304, performing pronunciation annotation on the plurality of name information to generate a plurality of corresponding pronunciation information.
Specifically, since the names in the name information acquired through the social network have no pronunciation information, and the input method program requires pronunciation information, the acquired names need to be subjected to pronunciation labeling, and the names in each acquired name information can be subjected to pronunciation labeling through the pronunciation labeling program to generate corresponding pronunciation information.
S305, adjusting the plurality of weight information according to the plurality of pronunciation information corresponding to the plurality of name information.
Specifically, training of name input can be performed according to each name information and pronunciation information corresponding to each name information, different weights are provided for names, in the training, the names in the name information belong to a classification, corresponding social network sites and pronunciation information of the names are used as characteristics, frequency estimation and weight calculation are performed according to an input method word bank training program, and in weight statistics, the weight information corresponding to the name information is adjusted according to the characteristics, so that the ranking order of the names frequently used and input by a user is advanced.
And S306, generating a name dictionary according to the plurality of person name information, the plurality of weight information corresponding to the plurality of person name information and the plurality of pronunciation information.
Specifically, the training of the name model may be performed by an input method lexicon training program according to each name information and pronunciation information corresponding to each name information, and each name information in the training may be ranked according to weight information corresponding to each name information, e.g., ranking the corresponding name information with a higher weight in front to generate a name dictionary.
According to the method for establishing the name dictionary in the input method, the weight information is adjusted according to the pronunciation information corresponding to the name information, so that the sequence of names frequently used and input by a user is advanced, the names can be conveniently input by the user, and the user experience is further improved.
In order to implement the above embodiment, the present invention further provides a device for establishing a name dictionary in an input method.
An apparatus for creating a name dictionary in an input method, comprising: the personal information acquisition module is used for acquiring the personal information of the social network of the user according to the identity information of the user; the analysis module is used for analyzing the personal information of the user to acquire a plurality of name information in the personal information; the pronunciation information generating module is used for carrying out pronunciation marking on the plurality of name information to generate a plurality of corresponding pronunciation information; and the noun dictionary generating module is used for generating a name dictionary according to the plurality of name information and the plurality of pronunciation information.
Fig. 4 is a schematic structural diagram of an apparatus for creating a name dictionary in an input method according to an embodiment of the present invention.
As shown in fig. 4, the apparatus for creating a name dictionary in an input method includes: a personal information acquisition module 100, an analysis module 200, a pronunciation information generation module 300, and a name dictionary generation module 400.
Specifically, the personal information obtaining module 100 is configured to obtain the personal information of the social network of the user according to the identity information of the user. The identity information may include a user name, a password, and the like, the social network is an SNS website, and a plurality of social websites may be acquired according to the identity information of the user, for example, a human network, a microblog, a happy network, a Facebook, and the like. More specifically, the user logs in to the social network site through the input identity information such as a user name and a password, and then the personal information obtaining module 100 may obtain the personal information of the user in the social network site through an open platform of the social network site, where the personal information may include address book information, check-in information, and the like. For example, the people link is a further extension of a people network open platform, allows a user to log in various third-party websites by using a people network account, shares wonderful content, and deeply interacts with friends, and provides detailed identity information, complete personal information, multiple propagation channels and the like of the user.
The analysis module 200 is used for analyzing the personal information of the user to obtain a plurality of name information in the personal information. The name information may include, for example, person name information and place name information. For example, the personal information is address book information, the name information is name information, and the analysis module 200 may analyze the address book information of the user to obtain a name, a category to which the contact belongs, a corresponding social network site, and the like of each contact in the address book information.
The pronunciation information generating module 300 is configured to perform pronunciation tagging on the plurality of name information to generate a plurality of corresponding pronunciation information. More specifically, since the names in the name information acquired through the social network do not have pronunciation information, and pronunciation information is needed for the input method program, pronunciation tagging needs to be performed on the acquired names, and the pronunciation information generation module 300 may perform pronunciation tagging on the name in each acquired name information through a pronunciation tagging program to generate corresponding pronunciation information.
The name dictionary generating module 400 is configured to generate a name dictionary according to the plurality of name information and the plurality of pronunciation information. More specifically, the name model may be trained by an input method lexicon training program based on each name information and the pronunciation information corresponding to each name information to generate a name dictionary. For example, the name information is place name information, a place name model is trained according to pronunciation information corresponding to the place name information, entries in an input method are recalled in the training, and the place name information is sorted according to the occurrence frequency of place names in the entries and the tone of pinyin, so that a name dictionary is generated.
According to the device for establishing the name dictionary in the input method, the personal information of the social network of the user is analyzed through the analysis module to obtain the name information in the personal information, the pronunciation information generation module carries out pronunciation labeling on the name information to generate corresponding pronunciation information, and the name dictionary generation module generates the name dictionary according to the name information and the pronunciation information corresponding to the name information, so that a name lexicon such as a name, a place name and the like is enlarged, the name input efficiency is improved, the name is obtained from the social network, the problem of personalized requirement of name input is solved, and the user experience is improved.
Fig. 5 is a schematic structural diagram of an apparatus for creating a name dictionary in an input method according to an embodiment of the present invention.
As shown in fig. 5, in this embodiment, when the personal information is address book information and the name information is name information, the apparatus for creating a name dictionary in an input method further includes a weight information obtaining module 500 based on the embodiment shown in fig. 4.
Specifically, the weight information obtaining module 500 is configured to analyze the address book information of the user to obtain a plurality of weight information corresponding to a plurality of name information in the address book information. The name dictionary generating module 400 is further configured to generate a name dictionary according to the plurality of person name information, the plurality of weight information corresponding to the plurality of person name information, and the plurality of pronunciation information. The name information may include one or more of a corresponding social network site, a category of the name, and a name of the person, and the category of the name may include a classmate, a colleague, a relative, a stranger, and the like.
More specifically, the weight information obtaining module 500 may count the frequency of entries containing names in the input method and social network sources corresponding to the entries, where the corresponding social network sources are used as a coefficient k, and obtain the weight value corresponding to each name according to the following formula:
cost=freq1*k1+freq2*k2+……+freqn*kn
wherein, cost is a weight value, freq1, freq2, … and freqn are frequency of the vocabulary entry, and k1, k2, … and kn are number of social network site sources corresponding to the frequency.
For example, different social networking sites are differentiated according to their intimacy degree, and a wechat user is considered to be a relatively private social networking site, so that the weight information corresponding to the name information of the source is increased, and for example, a general user in the same social networking site can be classified differently according to the relationship with friends, for example, friends in categories of classmates, colleagues, relatives, and the like are important social relationships, the weight information corresponding to the name information of the general user is increased, while those in strangers are non-important social relationships, and the weight information corresponding to the name information of the general user is lower. The name dictionary generating module 400 performs training of name input according to each name information and pronunciation information corresponding to each name information, performs different weighting on names, performs frequency estimation and weight calculation according to an input method lexicon training program by taking the name category in the name information, the corresponding social network site and the pronunciation information of the name as characteristics in the training, and adjusts the weight information corresponding to the name information according to the characteristics during weight statistics so that the ranking order of the names frequently used and input by the user is advanced.
According to the device for establishing the name dictionary in the input method, the address book information of the user is analyzed to obtain the weight information corresponding to the name information in the address book information, the name model is trained through the input method word bank training program according to the pronunciation information corresponding to the name information which the name system wants to use, and the name information in the training is sequenced according to the weight information corresponding to the name information.
Fig. 6 is a schematic structural diagram of an apparatus for creating a name dictionary in an input method according to another embodiment of the present invention.
As shown in fig. 6, in this embodiment, when the personal information is address book information and the name information is name information, the apparatus for creating a name dictionary in an input method further includes an adjusting module 600 based on the embodiment shown in fig. 5.
Specifically, the adjusting module 600 is configured to adjust the weighting information according to the pronunciation information corresponding to the name information. More specifically, the adjusting module 600 may perform training of a name input model according to each name information and pronunciation information corresponding to each name information, perform different weighting on names, perform frequency estimation and weight calculation according to an input method lexicon training program by using the names in the name information as features, the corresponding social network sites and the pronunciation information of the names in the training, and adjust the weight information corresponding to the name information according to the features during weight statistics, so that the ranking order of the names frequently used and input by the user is advanced.
According to the device for establishing the name dictionary in the input method, the weight information is adjusted through the adjusting module according to the pronunciation information corresponding to the name information, so that the sequence of names frequently used and input by a user is forward, the name can be conveniently input by the user, and the user experience is further improved.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (4)

1. A method for establishing a name dictionary in an input method is characterized by comprising the following steps:
acquiring personal information of a social network of a user according to the identity information of the user;
analyzing the personal information of the user to acquire a plurality of name information in the personal information;
performing pronunciation annotation on the plurality of name information to generate a plurality of corresponding pronunciation information; and
generating a name dictionary according to the plurality of name information and the plurality of pronunciation information;
the social network sites are multiple, the personal information comprises address book information and sign-in information, the name information comprises name information and place name information, and the name information comprises one or more of the corresponding social network sites, the affiliated classifications and names of people;
when the personal information is the address book information and the name information is the name information, the method further comprises the following steps:
analyzing the address book information of the user to acquire a plurality of weight information corresponding to a plurality of name information in the address book information;
and generating a name dictionary according to the plurality of person name information, the plurality of weight information corresponding to the plurality of person name information and the plurality of pronunciation information.
2. The method according to claim 1, wherein when the name information is the person name information, after performing pronunciation tagging on the plurality of name information to generate a corresponding plurality of pronunciation information, the method further comprises:
and adjusting the plurality of weight information according to the plurality of pronunciation information corresponding to the plurality of name information.
3. An apparatus for creating a name dictionary in an input method, comprising:
the personal information acquisition module is used for acquiring the personal information of the social network of the user according to the identity information of the user;
the analysis module is used for analyzing the personal information of the user to acquire a plurality of name information in the personal information;
the pronunciation information generating module is used for carrying out pronunciation marking on the plurality of name information to generate a plurality of corresponding pronunciation information; and
the name dictionary generating module is used for generating a name dictionary according to the plurality of name information and the plurality of pronunciation information;
the social network sites are multiple, the personal information comprises address book information and sign-in information, the name information comprises name information and place name information, and the name information comprises one or more of the corresponding social network sites, the affiliated classifications and names of people;
when the personal information is the address book information and the name information is the name information, the method further comprises the following steps:
the weight information acquisition module is used for analyzing the address book information of the user to acquire a plurality of weight information corresponding to a plurality of name information in the address book information; wherein,
the name dictionary generating module is further used for generating a name dictionary according to the plurality of person name information, the plurality of weight information corresponding to the plurality of person name information and the plurality of pronunciation information.
4. The apparatus according to claim 3, wherein when the name information is the person name information, further comprising:
and the adjusting module is used for adjusting the plurality of weight information according to the plurality of pronunciation information corresponding to the plurality of name information.
CN201310412654.0A 2013-09-11 2013-09-11 Establishment method and device for name dictionary of input method Active CN103473313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310412654.0A CN103473313B (en) 2013-09-11 2013-09-11 Establishment method and device for name dictionary of input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310412654.0A CN103473313B (en) 2013-09-11 2013-09-11 Establishment method and device for name dictionary of input method

Publications (2)

Publication Number Publication Date
CN103473313A CN103473313A (en) 2013-12-25
CN103473313B true CN103473313B (en) 2017-01-18

Family

ID=49798161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310412654.0A Active CN103473313B (en) 2013-09-11 2013-09-11 Establishment method and device for name dictionary of input method

Country Status (1)

Country Link
CN (1) CN103473313B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927299A (en) * 2014-04-25 2014-07-16 百度在线网络技术(北京)有限公司 Method for providing candidate sentences in input method and method and device for recommending input content
CN104573076B (en) * 2015-01-27 2017-11-03 南京烽火星空通信发展有限公司 A kind of Chinese remark names system recommendation method of social network sites user
CN106227364A (en) * 2016-07-28 2016-12-14 百度在线网络技术(北京)有限公司 For determining the method and apparatus representing order of name result

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1752960A (en) * 2004-09-20 2006-03-29 微软公司 Method, system, and apparatus for creating knowledge interchange profile
CN101051323A (en) * 2007-05-22 2007-10-10 北京搜狗科技发展有限公司 Character input method, input method system and method for updating word stock
CN101334774A (en) * 2007-06-29 2008-12-31 北京搜狗科技发展有限公司 Character input method and input method system
KR20130125418A (en) * 2012-05-09 2013-11-19 주식회사 미쉬팟 A method for searching shortest path

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1752960A (en) * 2004-09-20 2006-03-29 微软公司 Method, system, and apparatus for creating knowledge interchange profile
CN101051323A (en) * 2007-05-22 2007-10-10 北京搜狗科技发展有限公司 Character input method, input method system and method for updating word stock
CN101334774A (en) * 2007-06-29 2008-12-31 北京搜狗科技发展有限公司 Character input method and input method system
KR20130125418A (en) * 2012-05-09 2013-11-19 주식회사 미쉬팟 A method for searching shortest path

Also Published As

Publication number Publication date
CN103473313A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
Armenta et al. The new digital divide: the confluence of broadband penetration, sustainable development, technology adoption and community participation
Morrison et al. INTERPOL survey of the use of speaker identification by law enforcement agencies
Diakopoulos et al. Finding and assessing social media information sources in the context of journalism
US20130262320A1 (en) Systems and methods for customer relationship management
US9146943B1 (en) Determining user content classifications within an online community
US11182447B2 (en) Customized display of emotionally filtered social media content
CN103473313B (en) Establishment method and device for name dictionary of input method
Mtingwi et al. The state of e-government and m-government readiness in Malawi
Banjanin et al. Adaptive Modeling of Prediction of Telecommunications Network Throughput Performances in the Domain of Motorway Coverage
CN112000803B (en) Text classification method and device, electronic equipment and computer readable storage medium
Głąbowski et al. On increasing the accuracy of modeling multi-service overflow systems with Erlang-Engset-Pascal streams
Stoica et al. A novel model for E-business and E-government processes on social media
Miller et al. Conceptualizing adoptive parent support groups: A mixed-method process
JP6680663B2 (en) Information processing apparatus, information processing method, prediction model generation apparatus, prediction model generation method, and program
US20180204125A1 (en) Predicting user posting behavior in social media applications
US10558822B2 (en) Enforcing anonymity in the auditing of electronic documents
KR102576358B1 (en) Learning data generating device for sign language translation and method of operation thereof
Glista et al. Connected hearing healthcare: shifting from theory to practice
CN115132353A (en) Method, device and equipment for generating psychological question automatic response model
Kozić et al. Performance analysis of wirelessly powered cognitive radio network with statistical CSI and random mobility
Hussain et al. Modeling subjective metrics for mobile evaluation
Alizadeh Noughabi et al. Tests of fit for the Gumbel distribution: EDF-based tests against entropy-based tests
KR101338213B1 (en) Device and method for providing social learning service
Habibi et al. Statistical evidence in experiments and in record values
CN113051379A (en) Knowledge point recommendation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant