CN102411665B - Analyze the method and apparatus of name - Google Patents

Analyze the method and apparatus of name Download PDF

Info

Publication number
CN102411665B
CN102411665B CN201010291497.9A CN201010291497A CN102411665B CN 102411665 B CN102411665 B CN 102411665B CN 201010291497 A CN201010291497 A CN 201010291497A CN 102411665 B CN102411665 B CN 102411665B
Authority
CN
China
Prior art keywords
measured
name
word
corpus
frequency
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
CN201010291497.9A
Other languages
Chinese (zh)
Other versions
CN102411665A (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.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201010291497.9A priority Critical patent/CN102411665B/en
Publication of CN102411665A publication Critical patent/CN102411665A/en
Application granted granted Critical
Publication of CN102411665B publication Critical patent/CN102411665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and apparatus analyzing name, belong to computer realm.Described method comprises: the name to be measured and the test index that receive user's input; According to described test index and default test order, described name to be measured is tested; According to test result, described name to be measured is analyzed.Described device comprises: receiver module, test module and analysis module.The present invention, by receiving name to be measured and the test index of user's input, according to test index and default test order, tests name to be measured, and analyzes name to be measured according to test result, ensure that objectivity and the accuracy of analysis.

Description

Analyze the method and apparatus of name
Technical field
The present invention relates to computer realm, particularly a kind of method and apparatus analyzing name.
Background technology
Name is everyone label in society, and good name has active influence to the work of a people and life.Therefore, the quality analyzing name extremely important objective and accurately.
At present, main judge the quality of name or whether suitable by people with subjective experience, but because different people has larger otherness in fields such as knowledge background, personality, kens, identical name is In the view of the people of different knowledge background, different characters, different ken, analysis result may differ widely, and is therefore difficult to the objectivity and the accuracy that ensure judgement.
Such as, judge whether the name of a people meets with the sex of this people, and analyst according to the knowledge background of oneself and ken, draw and substantially meet or substantially do not meet conclusion fuzzy like this, and neither one objectively can only analyze foundation.
Comprehensively above-mentioned, prior art can only analyze name according to the subjective experience of people, and analysis result because of people easily, is difficult to the objectivity and the accuracy that ensure analysis.
Summary of the invention
In order to the subjectivity problem existed when solving in prior art and analyze name, embodiments provide a kind of method and apparatus analyzing name.Described technical scheme is as follows:
Analyze a method for name, described method comprises:
Receive name to be measured and the test index of user's input;
According to described test index and default test order, described name to be measured is tested;
According to test result, described name to be measured is analyzed;
Wherein, described name to be measured comprises: name to be measured;
If described test index is the sex degree of conformity of name, described according to described test index and default test order, described name to be measured is tested, comprise: according to the number of the to be measured middle word of name to be measured, the frequency of occurrences of each middle word to be measured middle word of other name of homogeneity in corpus in name to be measured, the frequency of occurrences of each middle word to be measured other name end word of homogeneity in corpus, the frequency of occurrences of each end to be measured word middle word of other name of homogeneity in corpus in name to be measured, and the frequency of occurrences of each end to be measured word other name end word of homogeneity in corpus, calculate other tendency weight of described homogeneity of name to be measured, the sex degree of conformity of name to be measured according to the tendency weight calculation of different sexes,
If described index to be measured is the general degree of name, described according to described test index and default test order, described name to be measured is tested, comprise: according to the number of middle word to be measured in name to be measured, the frequency of each middle word to be measured appearance of word in the middle of other name of homogeneity in corpus in name to be measured, and the frequency of occurrences of end word other name end word of homogeneity in corpus in name to be measured, calculate the general degree of name to be measured;
If described index to be measured is the degree of conformity that name and user expect, described according to described test index and default test order, described name to be measured is tested, comprise: calculate each word frequency expecting word and reverse file word frequency, expect word for each, what calculate this expectation word and each word in name to be measured according to the word frequency of this expectation word and reverse file word frequency mates weight; The degree of conformity that weight calculation name to be measured and user expect is mated according to all expectation words and each word in name to be measured;
If described index to be measured is the cultural connotation of name, described according to described test index and default test order, described name to be measured is tested, comprising: according to the search rate of well-known phrase in corpus, determine the weight w of the well-known phrase k that name to be measured occurs at corpus k; The mean value of number of words of being separated by described well-known phrase k according to each word of described name to be measured, determines the distance d of described name to be measured in described well-known phrase k k(n); According to w kand d kn () calculates the cultural connotation of name to be measured.
If described test index is the sex degree of conformity of described name to be measured, according to described test index and default test order, described name to be measured is tested, specifically comprises:
According to
W m = 1 n Σ i = 1 n [ αA 1 m ( i ) + ( 1 - α ) A 2 m ( i ) ] + γ [ ( 1 - β ) A 1 l + βA 2 l ] ,
The male sex calculating described name to be measured is inclined to weights W m;
Wherein, described name to be measured comprises: middle word to be measured and end to be measured word, and n represents the number of middle word to be measured, and i represents each middle word to be measured, A 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured male name in corpus, A 2mi () represents the frequency of occurrences of i-th middle word to be measured male name end word in corpus, A 1lrepresent the frequency of occurrences of the middle word of end to be measured word male name in corpus, A 2lrepresent the frequency of occurrences of end to be measured word male name end word in corpus, α represents middle word to be measured and corpus man's name or the award factor of female's name intermediate character when closing, β represents end to be measured word and corpus man's name or the award factor of female's name end character when closing, and γ represents the decision weight of end to be measured word for gender tendency;
According to
W f = 1 n Σ i = 1 n [ αB 1 m ( i ) + ( 1 - α ) B 2 m ( i ) ] + γ [ ( 1 - β ) B 1 l + βB 2 l ] ,
The women calculating described name to be measured is inclined to weights W f;
Wherein, B 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured female's name in corpus, B 2mi () represents the frequency of occurrences of i-th middle word to be measured female's name end word in corpus, B 1lrepresent the frequency of occurrences of the middle word of end to be measured word female's name in corpus, B 2lrepresent the frequency of occurrences of end to be measured word female's name end word in corpus;
According to
W = g × log ( W m W f ) ,
Calculate the sex degree of conformity W of described name to be measured;
Wherein, g represents the value that the male sex is other or women is not corresponding that described user inputs.
If described test index is the general degree of described name to be measured, according to described test index and default test order, described name to be measured is tested, specifically comprises:
When the sex of described user is man, according to
F m = [ ( Π i = 1 n - 1 A 1 m ( i ) ) × ( q × A 2 l ) ] 1 n ,
Calculate the general degree of described name to be measured;
Wherein, F mrepresent the general degree of the name described to be measured of the other user of the male sex, described name to be measured comprises: middle word to be measured and end to be measured word, and n represents the number of middle word to be measured, and i represents each middle word to be measured, A 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured male name in corpus, A 2lrepresent the frequency of occurrences of end to be measured word male name end word in corpus, q represents the contribution weight of end to be measured word for the general degree of name;
When the sex of described user is female, according to
F f = [ ( Π i = 1 n - 1 B 1 m ( i ) ) × ( q × B 2 l ) ] 1 n ,
Calculate the general degree of described name to be measured;
Wherein, F frepresent the general degree of the name described to be measured of the other user of women, B 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured female's name in corpus, B 2lrepresent the frequency of occurrences of end to be measured word female's name end word in corpus.
If described test index is the degree of conformity that described name to be measured and user expect, according to described test index and default test order, described name to be measured is tested, specifically comprises:
According to calculate word frequency tf ej;
Wherein, tf ejrepresent and expect the explanation document d of word e at Chinese character j jthe frequency of middle appearance, n ejrepresent and expect the explanation document d of word e at Chinese character j jthe number of times of middle appearance, | w ∈ d j| represent and explain document d jin the number of all word w;
According to calculate reverse document-frequency idf e;
Wherein, idf ethe logarithm of the business of the number representing all explanation documents in dictionary and the number comprising the explanation document expecting word e, | D| represents the number of all explanation documents in dictionary, | d:e ∈ d| represents the number comprising the explanation document d expecting word e;
According to
w(e,j)=tf ej×idf e
Calculation expectation word e mates weight w (e, j) with the Chinese character j's in described name N to be measured;
According to
W E = Σ j ∈ N Σ e ∈ E ∩ D j w ( e , j ) ,
Calculate the degree of conformity W that described name N to be measured and user expect E e;
Wherein, E represents that user expects, is the set expecting word e, D jrepresent the set of w (e, j) >0.
If described test index is the cultural connotation of described name to be measured, according to described test index and default test order, described name to be measured is tested, specifically comprises:
According to the search rate of well-known phrase in corpus, determine the weight w of the well-known phrase k that described name to be measured occurs at corpus k;
The mean value of number of words of being separated by described well-known phrase k according to each word of described name to be measured, determines the distance d of described name to be measured in described well-known phrase k k(n);
According to
W c = Σ k w k × 1 d k ( n ) + 1 ,
Calculate the cultural connotation W of described name to be measured c.
Analyze a device for name, described device comprises:
Receiver module, for receiving name to be measured and the test index of user's input;
Test module, for according to described test index and default test order, tests described name to be measured;
Analysis module, for analyzing described name to be measured according to test result;
Wherein, described name to be measured comprises name to be measured;
Described test module specifically for,
If described test index is the sex degree of conformity of name, according to the number of the to be measured middle word of name to be measured, the frequency of occurrences of each middle word to be measured middle word of other name of homogeneity in corpus in name to be measured, the frequency of occurrences of each middle word to be measured other name end word of homogeneity in corpus, the frequency of occurrences of each end to be measured word middle word of other name of homogeneity in corpus in name to be measured, and the frequency of occurrences of each end to be measured word other name end word of homogeneity in corpus, calculate other tendency weight of described homogeneity of name to be measured, the sex degree of conformity of name to be measured according to the tendency weight calculation of different sexes,
If described index to be measured is the general degree of name, according to the number of middle word to be measured in name to be measured, the frequency of each middle word to be measured appearance of word in the middle of other name of homogeneity in corpus in name to be measured, and the frequency of occurrences of end word other name end word of homogeneity in corpus in name to be measured, calculate the general degree of name to be measured;
If described index to be measured is the degree of conformity that name and user expect, word is expected for each, calculates the frequency tf that this expectation word occurs in the explanation document of each word of name to be measured ej, and the number of all explanation documents and the logarithm idf of business of number of explanation document comprising this expectation word in Dictionary of Computing e; According to tf ejwith institute idf ewhat calculate this expectation word and each word in name to be measured mates weight; The degree of conformity that weight calculation name to be measured and user expect is mated according to all expectation words and each word in name to be measured;
If described index to be measured is the cultural connotation of name, according to the search rate of well-known phrase in corpus, determine the weight w of the well-known phrase k that name to be measured occurs at corpus k; The mean value of number of words of being separated by described well-known phrase k according to each word of described name to be measured, determines the distance d of described name to be measured in described well-known phrase k k(n); According to w kand d kn () calculates the cultural connotation of name to be measured.
If described test index is the sex degree of conformity of described name to be measured,
Described test module comprises sex degree of conformity unit, for basis
W m = 1 n Σ i = 1 n [ αA 1 m ( i ) + ( 1 - α ) A 2 m ( i ) ] + γ [ ( 1 - β ) A 1 l + βA 21 ] ,
The male sex calculating described name to be measured is inclined to weights W m;
Wherein, described name to be measured comprises: middle word to be measured and end to be measured word, and n represents the number of middle word to be measured, and i represents each middle word to be measured, A 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured male name in corpus, A 2mi () represents the frequency of occurrences of i-th middle word to be measured male name end word in corpus, A 1lrepresent the frequency of occurrences of the middle word of end to be measured word male name in corpus, A 2lrepresent the frequency of occurrences of end to be measured word male name end word in corpus, α represents middle word to be measured and corpus man's name or the award factor of female's name intermediate character when closing, β represents end to be measured word and corpus man's name or the award factor of female's name end character when closing, and γ represents the decision weight of end to be measured word for gender tendency;
According to
W f = 1 n Σ i = 1 n [ αB 1 m ( i ) + ( 1 - α ) B 2 m ( i ) ] + γ [ ( 1 - β ) B 1 l + βB 2 l ] ,
The women calculating described name to be measured is inclined to weights W f;
Wherein, B 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured female's name in corpus, B 2mi () represents the frequency of occurrences of i-th middle word to be measured female's name end word in corpus, B 1lrepresent the frequency of occurrences of the middle word of end to be measured word female's name in corpus, B 2lrepresent the frequency of occurrences of end to be measured word female's name end word in corpus;
According to
W = g × l o g ( W m W f ) ,
Calculate the sex degree of conformity W of described name to be measured;
Wherein, g represents the value that the male sex is other or women is not corresponding that described user inputs.
If described test index is the general degree of described name to be measured;
Described test module comprises general degree unit, during for being man when the sex of described user, according to
F m = [ ( Π i = 1 n - 1 A 1 m ( i ) ) × ( q × A 2 l ) ] 1 n ,
Calculate the general degree of described name to be measured;
Wherein, F mrepresent the general degree of the name described to be measured of the other user of the male sex, described name to be measured comprises: middle word to be measured and end to be measured word, and n represents the number of middle word to be measured, and i represents each middle word to be measured, A 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured male name in corpus, A 2lrepresent the frequency of occurrences of end to be measured word male name end word in corpus, q represents the contribution weight of end to be measured word for the general degree of name;
When the sex of described user is female, according to
F f = [ ( Π i = 1 n - 1 B 1 m ( i ) ) × ( q × B 2 l ) ] 1 n ,
Calculate the general degree of described name to be measured;
Wherein, F frepresent the general degree of the name described to be measured of the other user of women, B 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured female's name in corpus, B 2lrepresent the frequency of occurrences of end to be measured word female's name end word in corpus.
If described test index is the degree of conformity that described name to be measured and user expect,
Described test module comprises expects degree of conformity unit, for
According to calculate word frequency tf ej;
Wherein, word frequency tf ejrepresent and expect the explanation document d of word e at Chinese character j jthe frequency of middle appearance, n ejrepresent and expect the explanation document d of word e at Chinese character j jthe number of times of middle appearance, | w ∈ d j| represent and explain document d jin the number of all word w;
According to calculate reverse document-frequency idf e;
Wherein, reverse document-frequency idf ethe logarithm of the business of the number representing all explanation documents in dictionary and the number comprising the explanation document expecting word e, | D| represents the number of all explanation documents in dictionary, | d:e ∈ d| represents the number comprising the explanation document d expecting word e;
According to
w(e,j)=tf ej×idf e
Calculation expectation word e mates weight w (e, j) with the Chinese character j's in described name N to be measured;
According to
W E = Σ j ∈ N Σ e ∈ E ∩ D j w ( e , j ) ,
Calculate the degree of conformity W that described name N to be measured and user expect E e;
Wherein, E represents that user expects, is the set expecting word e, D jrepresent the set of w (e, j) >0.
If described test index is the cultural connotation of described name to be measured,
Described test module comprises cultural connotation unit, for the search rate according to well-known phrase in corpus, determines the weight w of the well-known phrase k that described name to be measured occurs at corpus k;
The mean value of number of words of being separated by described well-known phrase k according to each word of described name to be measured, determines the distance d of described name to be measured in described well-known phrase k k(n);
According to
W c = Σ k w k × 1 d k ( n ) + 1 ,
Calculate the cultural connotation W of described name to be measured c.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By receiving name to be measured and the test index of user's input, according to test index and default test order, name to be measured being tested, and according to test result, name to be measured is analyzed, ensure that objectivity and the accuracy of analysis.
Accompanying drawing explanation
Fig. 1 is the method flow diagram of the analysis name provided in the embodiment of the present invention 1;
Fig. 2 is the apparatus structure schematic diagram of the analysis name provided in the embodiment of the present invention 2;
Fig. 3 is another structural representation of device of the analysis name provided in the embodiment of the present invention 2.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment 1
See Fig. 1, present embodiments provide a kind of method analyzing name, comprising:
101: the name to be measured and the test index that receive user's input;
102: according to test index and default test order, name to be measured is tested;
103: according to test result, name to be measured is analyzed.
The method that the present embodiment provides, by receiving name to be measured and the test index of user's input, according to test index and default test order, name to be measured is tested, and according to test result, name to be measured is analyzed, ensure that objectivity and the accuracy of analysis.
In the present embodiment, name comprises: surname and name, and name to be measured comprises surname to be measured and name to be measured.Name comprises: end word and middle word.Wherein, end word is named the last character of word, and middle word is named other words in word except the word of end, can have 0 or multiple.Such as, " Wang little Yan ", " king " is surname, and " little Yan " is name, and " swallow " is end word, and " little " is middle word.
Test index comprises: whether the degree of conformity that the general degree of sex degree of conformity, name, name musical note, name and user expect, the cultural connotation of name and name comprise derogatory sense, introduce for different test indexs below respectively, analyzes the method for name.
(1) when test index is sex degree of conformity, analytical approach comprises:
S11: the male sex according to following formulae discovery name to be measured is inclined to weight;
W m = 1 n Σ i = 1 n [ αA 1 m ( i ) + ( 1 - α ) A 2 m ( i ) ] + γ [ ( 1 - β ) A 1 l + βA 2 l ]
Wherein, W mrepresent that the male sex of name to be measured is inclined to weight, name to be measured comprises: middle word to be measured and end to be measured word, and n represents the number of middle word to be measured, and i represents each middle word to be measured, A 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured male name in corpus, A 2mi () represents the frequency of occurrences of i-th middle word to be measured male name end word in corpus, A 1lrepresent the frequency of occurrences of the middle word of end to be measured word male name in corpus, A 2lrepresent the frequency of occurrences of end to be measured word male name end word in corpus, α represents middle word to be measured and corpus man's name or the award factor of female's name intermediate character when closing, β represents end to be measured word and corpus man's name or the award factor of female's name end character when closing, and γ represents the decision weight of end to be measured word for gender tendency.Wherein, α, β, γ can indirect assignment, such as α=0.2 in advance, and β=0.8, γ=2.0, also can be trained corpus by the mode of machine learning, draw best value for different corpus.
S12: the women according to following formulae discovery name to be measured is inclined to weight;
W f = 1 n Σ i = 1 n [ αB 1 m ( i ) + ( 1 - α ) B 2 m ( i ) ] + γ [ ( 1 - β ) B 1 l + βB 2 l ]
Wherein, W frepresent that the women of name to be measured is inclined to weight, B 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured female's name in corpus, B 2mi () represents the frequency of occurrences of i-th middle word to be measured female's name end word in corpus, B 1lrepresent the frequency of occurrences of the middle word of end to be measured word female's name in corpus, B 2lrepresent the frequency of occurrences of end to be measured word female's name end word in corpus.
S13: according to the sex degree of conformity of following formulae discovery name to be measured;
W = g × l o g ( W m W f )
Wherein, g represents the value that the gender of input is corresponding, such as, when being 1 for g during the male sex, when being-1 for g during women.
S14: sex degree of conformity is larger, name to be measured and sex more meet.
(2) when test index is the general degree of name, analytical approach comprises:
S21: when user's sex is man, according to the general degree of following formulae discovery name to be measured;
F m = ( Π i = 1 n - 1 A 1 m ( i ) ) × ( q × A 2 l ) = [ ( Π i = 1 n - 1 A 1 m ( i ) ) × ( q × A 2 l ) ] 1 n
Wherein, n, i, A 1m(i), A 2lidentical with symbol implication in aforementioned (), repeat no more here.Q represents the contribution weight of end to be measured word for the general degree of name.Q can preset, when middle word to be measured and end to be measured word of equal importance for the general degree of name when q=1, the q > 1 when end to be measured word is more important for the general degree of name than middle word to be measured, as established q=2.
Convenience of calculation in the implementation, above formula can equivalently be got log and be expressed as:
f m = logF m = 1 n [ Σ i = 1 n - 1 l o g ( A 1 m ( i ) ) + l o g ( q × A 2 l ) ]
Wherein, F mand f mall represent the general degree of other name to be measured of the male sex.
S22: when user's sex is female, according to the general degree of following formulae discovery name to be measured;
F f = ( Π i = 1 n - 1 B 1 m ( i ) ) × ( q × B 2 l ) n = [ ( Π i = 1 n - 1 B 1 m ( i ) ) × ( q × B 2 l ) ] 1 n
Wherein, n, i, B 1m(i), B 2lidentical with aforementioned (one) symbol implication, repeat no more here.Q and the male sex not in implication identical.
Convenience of calculation in the implementation, above formula can equivalently be got log and be expressed as:
f f = logF f = 1 n [ Σ i = 1 n - 1 l o g ( B 1 m ( i ) ) + l o g ( q × B 2 l ) ]
Wherein, F fand f fall represent the general degree of other name to be measured of women.
On the whole, the general degree of name is the mean value of the general degree of each word in name to be measured.
S23: the general degree of name, name to be measured is more general.
(3) when test index is name musical note, name musical note is divided into two parts: tone and phonetic, and analytical approach comprises:
S31: the number of times determining the tone change of name to be measured, number of times is more, and tone scoring is higher;
Such as, " Ma Mama " tone is unchanged, then score 0, and " Liu Shusheng " tone change twice, then obtain 2 points.
S32: according to the difference of the initial consonant points of articulation, divides into groups initial consonant;
Such as, according to the difference of the initial consonant points of articulation, initial consonant can be divided into following four groups:
Labial: bpmf
Apical: dtnl
Velar: gkh
Lingual surface sound, blade-palatal, dental: jqxzhchshrzcs
S33: according to the difference of simple or compound vowel of a Chinese syllable pronunciation nozzle type, simple or compound vowel of a Chinese syllable is divided into groups;
Such as, according to the difference of simple or compound vowel of a Chinese syllable pronunciation nozzle type, simple or compound vowel of a Chinese syllable is divided into following five groups:
Start with " a ": aaiaoanang
Start with " e ": eereieneng
Start with " o ": oouong
Start with " i ": iiaieiaoiouianiniangingiongvueuanun
Start with " u ": uuauouaiueiuanuenuangueng
S34: determine the initial consonant place initial consonant grouping of two words of arbitrary neighborhood in name to be measured and the type of simple or compound vowel of a Chinese syllable place simple or compound vowel of a Chinese syllable grouping, be that the grouping of initial consonant place initial consonant and the grouping of simple or compound vowel of a Chinese syllable place simple or compound vowel of a Chinese syllable of two words of arbitrary neighborhood all belongs to same group, only has one to belong to same group, all do not belong to the order of same group according to type, phonetic is marked and is increased progressively successively;
Such as, if the initial consonant place initial consonant grouping of two words of arbitrary neighborhood and the grouping of simple or compound vowel of a Chinese syllable place simple or compound vowel of a Chinese syllable all belong to same group, then not bonus point, if the initial consonant place initial consonant grouping of two words of arbitrary neighborhood and the grouping of simple or compound vowel of a Chinese syllable place simple or compound vowel of a Chinese syllable only have (arbitrarily) one to belong to same group, then add default low point, as 1 point, if the initial consonant place initial consonant grouping of two words of arbitrary neighborhood and the grouping of simple or compound vowel of a Chinese syllable place simple or compound vowel of a Chinese syllable all do not belong to same group, then add default high score, as 2 points.
S35: the summation of tone scoring and phonetic scoring is marked as musical note;
S36: musical note scoring is higher, and name is more pleasing to the ear, otherwise name is more unpleasant to hear.
(4) when test index be name and user expect degree of conformity time, analytical approach comprises:
S41: according to following formulae discovery word frequency tf ejwith reverse document-frequency idf e;
tf e j = n e j | w ∈ d j | ,
Wherein, tf ejfor word frequency, represent and expect the explanation document d of word e at Chinese character j jthe frequency of middle appearance, n ejrepresent and expect the explanation document d of word e at Chinese character j jthe number of times of middle appearance, | w ∈ d j| represent and explain document d jin the number of all word w;
idf e = l o g ( | D | | d : e ∈ d | ) ,
Wherein, idf efor reverse document-frequency, the logarithm of the business of the number representing all explanation documents in dictionary and the number comprising the explanation document expecting word e, | D| represents the number of all explanation documents in dictionary, also be the number of word in dictionary (not comprising the word explained in document), | d:e ∈ d| represents the number comprising the explanation document d expecting word e.Idf efor making the word that frequency of utilization in dictionary is high, as " ", " " etc., the coupling weight for certain Chinese character j reduces, and makes word maximally related with the meaning of Chinese character j, as " intelligent " word for explain word " clever " coupling weight increase.
S42: expect that word e and the Chinese character j's in name N to be measured mates weight w (e, j) according to following formulae discovery;
w(e,j)=tf ej×idf e
Wherein, w (e, j) represents and expects that word e and the Chinese character j's in name N to be measured mates weight.
S43: the degree of conformity W expecting E according to following formulae discovery name N to be measured and user e;
W E = Σ j ∈ N Σ e ∈ E ∪ D j w ( e , j ) ,
Wherein, E represents that user expects, is the set expecting word e, D jrepresent the set of w (e, j) >0.
S44: degree of conformity is higher, name to be measured and user expect more to meet.
(5) when test index is the cultural connotation of name, analytical approach comprises:
S51: according to the search rate of well-known phrase in corpus, determines the weight w of the well-known phrase k that name to be measured occurs at corpus k;
Such as: " great Lin temple peach blossom " Pai Chu-yi
To the greatest extent, temple, mountain peach blossom begins in full bloom human world fragrance in April.(w k=0.81)
The long hatred spring returns without looking for place, does not know to proceed to this.(w k=0.75)
As can be seen here, the search rate of well-known phrase is higher, and weight is larger.
S52: the mean value of number of words of being separated by this well-known phrase k according to each word of name to be measured, determines the distance d of name to be measured in this well-known phrase k k(n);
Concrete, when name to be measured is a word, this distance is a preset constant, and when name to be measured is multiple word, this distance is that each word is separated by the mean value of number of words in the well-known phrase of appearance.
Such as, " Wang Yuefei ", name to be measured is " moon is luxuriant and rich with fragrance ", appears in " to the greatest extent, temple, mountain peach blossom begins in full bloom human world fragrance in April ", d k(n)=1.
S53: according to w kand d kn () calculates the cultural connotation W of name to be measured c, concrete computing formula is as follows:
W c = Σ k w k × 1 d k ( n ) + 1
Thus, when more, in well-known phrase the distances of name to be measured occurrence number in different well-known phrases are nearer, its cultural connotation is darker.
S54: cultural connotation W cvalue larger, the cultural connotation of name is darker.
(6) when test index be name whether comprise derogatory sense time, analytical approach comprises:
S61: the relation table setting up derogatory term and its phonetic or partials;
Following table is an instantiation of relation table:
Phonetic/partials Derogatory term
Siwang (phonetic) Dead
Shiwang (partials) Dead
Siwan (partials) Dead
Shiwan (partials) Dead
Linse (phonetic) Stingy
Lingse (partials) Stingy
...... ......
S62: according to phonetic and the relation table of name to be measured, determines whether name to be measured comprises derogatory sense.
Concrete, when the phonetic in relation table or partials comprise the phonetic of name to be measured, name to be measured comprises derogatory sense, otherwise does not comprise derogatory sense.
Such as, " Chen Shiwang ", the phonetic of name to be measured " poem is prosperous " is Shiwang, and identical with the partials of " death " in relation table, therefore, " poem is prosperous " comprises derogatory sense.
The method that the present embodiment provides, by receiving name to be measured and the test index of user's input, according to test index and default test order, name to be measured is tested, and according to test result, name to be measured is analyzed, ensure that objectivity and the accuracy of analysis.
Embodiment 2
See Fig. 2, present embodiments provide a kind of device analyzing name, comprising:
Receiver module 201, for receiving name to be measured and the test index of user's input;
Test module 202, for according to test index and default test order, tests name to be measured;
Analysis module 203, for analyzing name to be measured according to test result.
Name to be measured comprises: surname to be measured and name to be measured.
(1) test index is the sex degree of conformity of name to be measured;
Test module 202 comprises sex degree of conformity unit 2021, for basis
W m = 1 n Σ i = 1 n [ αA 1 m ( i ) + ( 1 - α ) A 2 m ( i ) ] + γ [ ( 1 - β ) A 1 l + βA 2 l ] ,
The male sex calculating name to be measured is inclined to weights W m;
Wherein, name to be measured comprises: middle word to be measured and end to be measured word, and n represents the number of middle word to be measured, and i represents each middle word to be measured, A 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured male name in corpus, A 2mi () represents the frequency of occurrences of i-th middle word to be measured male name end word in corpus, A 1lrepresent the frequency of occurrences of the middle word of end to be measured word male name in corpus, A 2lrepresent the frequency of occurrences of end to be measured word male name end word in corpus, α represents middle word to be measured and corpus man's name or the award factor of female's name intermediate character when closing, β represents end to be measured word and corpus man's name or the award factor of female's name end character when closing, and γ represents the decision weight of end to be measured word for gender tendency;
According to
W f = 1 n Σ i = 1 n [ αB 1 m ( i ) + ( 1 - α ) B 2 m ( i ) ] + γ [ ( 1 - β ) B 1 l + βB 2 l ] ,
The women calculating name to be measured is inclined to weights W f;
Wherein, B 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured female's name in corpus, B 2mi () represents the frequency of occurrences of i-th middle word to be measured female's name end word in corpus, B 1lrepresent the frequency of occurrences of the middle word of end to be measured word female's name in corpus, B 2lrepresent the frequency of occurrences of end to be measured word female's name end word in corpus;
According to
W = g × l o g ( W m W f ) ,
Calculate the sex degree of conformity W of name to be measured;
Wherein, g represents the value that the male sex is other or women is not corresponding that user inputs.
(2) test index is the general degree of name to be measured;
Test module 202 comprises general degree unit 2022, during for being man when the sex of user, according to
F m = [ ( Π i = 1 n - 1 A 1 m ( i ) ) × ( q × A 2 l ) ] 1 n ,
Calculate the general degree of name to be measured;
Wherein, F mrepresent the general degree of the name to be measured of the other user of the male sex, name to be measured comprises: middle word to be measured and end to be measured word, and n represents the number of middle word to be measured, and i represents each middle word to be measured, A 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured male name in corpus, A 2lrepresent the frequency of occurrences of end to be measured word male name end word in corpus, q represents the contribution weight of end to be measured word for the general degree of name;
When the sex of user is female, according to
F f = [ ( Π i = 1 n - 1 B 1 m ( i ) ) × ( q × B 2 l ) ] 1 n ,
Calculate the general degree of name to be measured;
Wherein, F frepresent the general degree of the name to be measured of the other user of women, B 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured female's name in corpus, B 2lrepresent the frequency of occurrences of end to be measured word female's name end word in corpus.
(3) test index is the musical note scoring of name to be measured;
Test module 202 comprises musical note unit 2023, and for determining the number of times of the tone change of name to be measured, number of times is more, and tone scoring is higher;
According to the difference of the initial consonant points of articulation, initial consonant is divided into groups;
According to the difference of simple or compound vowel of a Chinese syllable pronunciation nozzle type, simple or compound vowel of a Chinese syllable is divided into groups;
Determine the initial consonant place initial consonant grouping of two words of arbitrary neighborhood in name to be measured and the type of simple or compound vowel of a Chinese syllable place simple or compound vowel of a Chinese syllable grouping, be that the grouping of initial consonant place initial consonant and the grouping of simple or compound vowel of a Chinese syllable place simple or compound vowel of a Chinese syllable of two words of arbitrary neighborhood all belongs to same group, only has one to belong to same group, all do not belong to the order of same group according to type, phonetic is marked and is increased progressively;
The summation of tone scoring and phonetic scoring is marked as the musical note of name to be measured.
(4) test index is the degree of conformity that name to be measured and user expect;
Test module 202 comprises expects degree of conformity unit 2024, for
According to calculate word frequency tf ej;
Wherein, tf ejrepresent and expect the explanation document d of word e at Chinese character j jthe frequency of middle appearance, n ejrepresent and expect the explanation document d of word e at Chinese character j jthe number of times of middle appearance, | w ∈ d j| represent and explain document d jin the number of all word w;
According to calculate reverse document-frequency idf e;
Wherein, idf ethe logarithm of the business of the number representing all explanation documents in dictionary and the number comprising the explanation document expecting word e, | D| represents the number of all explanation documents in dictionary, | d:e ∈ d| represents the number comprising the explanation document d expecting word e;
According to
w(e,j)=tf ej×idf e
Calculation expectation word e mates weight w (e, j) with the Chinese character j's in name N to be measured;
According to
W E = Σ j ∈ N Σ e ∈ E ∩ D j w ( e , j ) ,
Calculate the degree of conformity W that name N to be measured and user expect E e;
Wherein, E represents that user expects, is the set expecting word e, D jrepresent the set of w (e, j) >0.
(5) test index is the cultural connotation of name to be measured;
Test module 202 comprises cultural connotation unit 2025, for the search rate according to well-known phrase in corpus, determines the weight w of the well-known phrase k that name to be measured occurs at corpus k;
The mean value of number of words of being separated by well-known phrase k according to each word of name to be measured, determines the distance d of name to be measured in well-known phrase k k(n);
According to
W c = Σ k w k × 1 d k ( n ) + 1 ,
Calculate the cultural connotation W of name to be measured c.
(6) test index is whether name to be measured comprises derogatory sense;
Test module 202 comprises derogatory sense judging unit 2026, for
Set up the relation table of derogatory term and its phonetic or partials;
When the phonetic in relation table or partials comprise the phonetic of name to be measured, name to be measured comprises derogatory sense, otherwise does not comprise derogatory sense.
The device that the present embodiment provides, belongs to same design with embodiment of the method, and its specific implementation process refers to embodiment of the method, repeats no more here.
The device that the present embodiment provides, by receiving name to be measured and the test index of user's input, according to test index and default test order, name to be measured is tested, and according to test result, name to be measured is analyzed, ensure that objectivity and the accuracy of analysis.
All or part of content in the technical scheme that above embodiment provides can be realized by software programming, and its software program is stored in the storage medium that can read, storage medium such as: the hard disk in computing machine, CD or floppy disk.

Claims (10)

1. analyze a method for name, it is characterized in that, described method comprises:
Receive name to be measured and the test index of user's input;
According to described test index and default test order, described name to be measured is tested;
According to test result, described name to be measured is analyzed;
Wherein, described name to be measured comprises name to be measured;
If described test index is the sex degree of conformity of name, described according to described test index and default test order, described name to be measured is tested, comprise: according to the number of the to be measured middle word of name to be measured, the frequency of occurrences of each middle word to be measured middle word of other name of homogeneity in corpus in name to be measured, the frequency of occurrences of each middle word to be measured other name end word of homogeneity in corpus, the frequency of occurrences of each end to be measured word middle word of other name of homogeneity in corpus in name to be measured, and the frequency of occurrences of each end to be measured word other name end word of homogeneity in corpus, calculate other tendency weight of described homogeneity of name to be measured, the sex degree of conformity of name to be measured according to the tendency weight calculation of different sexes,
If described index to be measured is the general degree of name, described according to described test index and default test order, described name to be measured is tested, comprise: according to the number of middle word to be measured in name to be measured, the frequency of each middle word to be measured appearance of word in the middle of other name of homogeneity in corpus in name to be measured, and the frequency of occurrences of end word other name end word of homogeneity in corpus in name to be measured, calculate the general degree of name to be measured;
If described index to be measured is the degree of conformity that name and user expect, described according to described test index and default test order, described name to be measured is tested, comprise: calculate each word frequency expecting word and reverse file word frequency, expect word for each, what calculate this expectation word and each word in name to be measured according to the word frequency of this expectation word and reverse file word frequency mates weight; The degree of conformity that weight calculation name to be measured and user expect is mated according to all expectation words and each word in name to be measured;
If described index to be measured is the cultural connotation of name, described according to described test index and default test order, described name to be measured is tested, comprising: according to the search rate of well-known phrase in corpus, determine the weight w of the well-known phrase k that name to be measured occurs at corpus k; The mean value of number of words of being separated by described well-known phrase k according to each word of described name to be measured, determines the distance d of described name to be measured in described well-known phrase k k(n); According to w kand d kn () calculates the cultural connotation of name to be measured.
2. the method for claim 1, is characterized in that, if described test index is the sex degree of conformity of described name to be measured,
According to described test index and default test order, described name to be measured is tested, comprising:
According to
W m = 1 n Σ i = 1 n [ αA 1 m ( i ) + ( 1 - α ) A 2 m ( i ) ] + γ [ ( 1 - β ) A 1 l + βA 2 l ] ,
The male sex calculating described name to be measured is inclined to weights W m;
Wherein, described name to be measured comprises: middle word to be measured and end to be measured word, and n represents the number of middle word to be measured, and i represents each middle word to be measured, A 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured male name in corpus, A 2mi () represents the frequency of occurrences of i-th middle word to be measured male name end word in corpus, A 1lrepresent the frequency of occurrences of the middle word of end to be measured word male name in corpus, A 2lrepresent the frequency of occurrences of end to be measured word male name end word in corpus, α represents middle word to be measured and corpus man's name or the award factor of female's name intermediate character when closing, β represents end to be measured word and corpus man's name or the award factor of female's name end character when closing, and γ represents the decision weight of end to be measured word for gender tendency;
According to
W f = 1 n Σ i = 1 n [ αB 1 m ( i ) + ( 1 - α ) B 2 m ( i ) ] + γ ( 1 - β ) B 1 l + βB 2 l ] ,
The women calculating described name to be measured is inclined to weights W f;
Wherein, B 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured female's name in corpus, B 2mi () represents the frequency of occurrences of i-th middle word to be measured female's name end word in corpus, B 1lrepresent the frequency of occurrences of the middle word of end to be measured word female's name in corpus, B 2lrepresent the frequency of occurrences of end to be measured word female's name end word in corpus;
According to
W = g × l o g ( W m W f ) ,
Calculate the sex degree of conformity W of described name to be measured;
Wherein, g represents the value that the male sex is other or women is not corresponding that described user inputs.
3. the method for claim 1, is characterized in that, if described test index is the general degree of described name to be measured,
According to described test index and default test order, described name to be measured is tested, comprising:
When the sex of described user is man, according to
F m = [ ( Π i = 1 n - 1 A 1 m ( i ) ) × ( q × A 2 l ) ] 1 n ,
Calculate the general degree of described name to be measured;
Wherein, F mrepresent the general degree of the name described to be measured of the other user of the male sex, described name to be measured comprises: middle word to be measured and end to be measured word, and n represents the number of middle word to be measured, and i represents each middle word to be measured, A 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured male name in corpus, A 2lrepresent the frequency of occurrences of end to be measured word male name end word in corpus, q represents the contribution weight of end to be measured word for the general degree of name;
When the sex of described user is female, according to
F f = [ ( Π i = 1 n - 1 B 1 m ( i ) ) × ( q × B 2 l ) ] 1 n ,
Calculate the general degree of described name to be measured;
Wherein, F frepresent the general degree of the name described to be measured of the other user of women, B 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured female's name in corpus, B 2lrepresent the frequency of occurrences of end to be measured word female's name end word in corpus.
4. the method for claim 1, is characterized in that, if described test index is the degree of conformity that described name to be measured and user expect,
According to described test index and default test order, described name to be measured is tested, comprising:
According to calculate word frequency tf ej;
Wherein, word frequency tf ejrepresent and expect the explanation document d of word e at Chinese character j jthe frequency of middle appearance, n ejrepresent and expect the explanation document d of word e at Chinese character j jthe number of times of middle appearance, | w ∈ d j| represent and explain document d jin the number of all word w;
According to calculate reverse document-frequency idf e;
Wherein, reverse document-frequency idf ethe logarithm of the business of the number representing all explanation documents in dictionary and the number comprising the explanation document expecting word e, | D| represents the number of all explanation documents in dictionary, | d:e ∈ d| represents the number comprising the explanation document d expecting word e;
According to
w(e,j)=tf ej×idf e
Calculation expectation word e mates weight w (e, j) with the Chinese character j's in described name N to be measured;
According to
W E = Σ j ∈ N Σ e ∈ E ∩ D j w ( e , j ) ,
Calculate the degree of conformity W that described name N to be measured and user expect E e;
Wherein, E represents that user expects, is the set expecting word e, D jrepresent the set of w (e, j) >0.
5. the method for claim 1, is characterized in that, if described test index is the cultural connotation of described name to be measured,
According to described test index and default test order, described name to be measured is tested, comprising:
According to the search rate of well-known phrase in corpus, determine the weight w of the well-known phrase k that described name to be measured occurs at corpus k;
The mean value of number of words of being separated by described well-known phrase k according to each word of described name to be measured, determines the distance d of described name to be measured in described well-known phrase k k(n);
According to
W c = Σ k w k × 1 d k ( n ) + 1 ,
Calculate the cultural connotation W of described name to be measured c.
6. analyze a device for name, it is characterized in that, described device comprises:
Receiver module, for receiving name to be measured and the test index of user's input;
Test module, for according to described test index and default test order, tests described name to be measured;
Analysis module, for analyzing described name to be measured according to test result;
Wherein, described name to be measured comprises name to be measured;
Described test module specifically for,
If described test index is the sex degree of conformity of name, according to the number of the to be measured middle word of name to be measured, the frequency of occurrences of each middle word to be measured middle word of other name of homogeneity in corpus in name to be measured, the frequency of occurrences of each middle word to be measured other name end word of homogeneity in corpus, the frequency of occurrences of each end to be measured word middle word of other name of homogeneity in corpus in name to be measured, and the frequency of occurrences of each end to be measured word other name end word of homogeneity in corpus, calculate other tendency weight of described homogeneity of name to be measured, the sex degree of conformity of name to be measured according to the tendency weight calculation of different sexes,
If described index to be measured is the general degree of name, according to the number of middle word to be measured in name to be measured, the frequency of each middle word to be measured appearance of word in the middle of other name of homogeneity in corpus in name to be measured, and the frequency of occurrences of end word other name end word of homogeneity in corpus in name to be measured, calculate the general degree of name to be measured;
If described index to be measured is the degree of conformity that name and user expect, word is expected for each, calculates the frequency tf that this expectation word occurs in the explanation document of each word of name to be measured ej, and the number of all explanation documents and the logarithm idf of business of number of explanation document comprising this expectation word in Dictionary of Computing e; According to tf ejwith institute idf ewhat calculate this expectation word and each word in name to be measured mates weight; The degree of conformity that weight calculation name to be measured and user expect is mated according to all expectation words and each word in name to be measured;
If described index to be measured is the cultural connotation of name, according to the search rate of well-known phrase in corpus, determine the weight w of the well-known phrase k that name to be measured occurs at corpus k; The mean value of number of words of being separated by described well-known phrase k according to each word of described name to be measured, determines the distance d of described name to be measured in described well-known phrase k k(n); According to w kand d kn () calculates the cultural connotation of name to be measured.
7. device as claimed in claim 6, is characterized in that, if described test index is the sex degree of conformity of described name to be measured,
Described test module comprises sex degree of conformity unit, for basis
W m = 1 n Σ i = 1 n [ αA 1 m ( i ) + ( 1 - α ) A 2 m ( i ) ] + γ [ ( 1 - β ) A 1 l + βA 2 l ] ,
The male sex calculating described name to be measured is inclined to weights W m;
Wherein, described name to be measured comprises: middle word to be measured and end to be measured word, and n represents the number of middle word to be measured, and i represents each middle word to be measured, A 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured male name in corpus, A 2mi () represents the frequency of occurrences of i-th middle word to be measured male name end word in corpus, A 1lrepresent the frequency of occurrences of the middle word of end to be measured word male name in corpus, A 2lrepresent the frequency of occurrences of end to be measured word male name end word in corpus, α represents middle word to be measured and corpus man's name or the award factor of female's name intermediate character when closing, β represents end to be measured word and corpus man's name or the award factor of female's name end character when closing, and γ represents the decision weight of end to be measured word for gender tendency;
According to
W f = 1 n Σ i = 1 n [ αB 1 m ( i ) + ( 1 - α ) B 2 m ( i ) ] + γ ( 1 - β ) B 1 l + βB 2 l ] ,
The women calculating described name to be measured is inclined to weights W f;
Wherein, B 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured female's name in corpus, B 2mi () represents the frequency of occurrences of i-th middle word to be measured female's name end word in corpus, B 1lrepresent the frequency of occurrences of the middle word of end to be measured word female's name in corpus, B 2lrepresent the frequency of occurrences of end to be measured word female's name end word in corpus;
According to
W = g × l o g ( W m W f ) ,
Calculate the sex degree of conformity W of described name to be measured;
Wherein, g represents the value that the male sex is other or women is not corresponding that described user inputs.
8. device as claimed in claim 6, is characterized in that, if described test index is the general degree of described name to be measured,
Described test module comprises general degree unit, during for being man when the sex of described user, according to
F m = [ ( Π i = 1 n - 1 A 1 m ( i ) ) × ( q × A 2 l ) ] 1 n ,
Calculate the general degree of described name to be measured;
Wherein, F mrepresent the general degree of the name described to be measured of the other user of the male sex, described name to be measured comprises: middle word to be measured and end to be measured word, and n represents the number of middle word to be measured, and i represents each middle word to be measured, A 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured male name in corpus, A 2lrepresent the frequency of occurrences of end to be measured word male name end word in corpus, q represents the contribution weight of end to be measured word for the general degree of name;
When the sex of described user is female, according to
F f = [ ( Π i = 1 n - 1 B 1 m ( i ) ) × ( q × B 2 l ) ] 1 n ,
Calculate the general degree of described name to be measured;
Wherein, F frepresent the general degree of the name described to be measured of the other user of women, B 1mi () represents the frequency of occurrences of the middle word of i-th middle word to be measured female's name in corpus, B 2lrepresent the frequency of occurrences of end to be measured word female's name end word in corpus.
9. device as claimed in claim 6, is characterized in that, if described test index is the degree of conformity that described name to be measured and user expect,
Described test module comprises expects degree of conformity unit, for
According to calculate word frequency tf ej;
Wherein, word frequency tf ejrepresent and expect the explanation document d of word e at Chinese character j jthe frequency of middle appearance, n ejrepresent and expect the explanation document d of word e at Chinese character j jthe number of times of middle appearance, | w ∈ d j| represent and explain document d jin the number of all word w;
According to calculate reverse document-frequency idf e;
Wherein, reverse document-frequency idf ethe logarithm of the business of the number representing all explanation documents in dictionary and the number comprising the explanation document expecting word e, | D| represents the number of all explanation documents in dictionary, | d:e ∈ d| represents the number comprising the explanation document d expecting word e;
According to
w(e,j)=tf ej×idf e
Calculation expectation word e mates weight w (e, j) with the Chinese character j's in described name N to be measured;
According to
W E = Σ j ∈ N Σ e ∈ E ∩ D j w ( e , j ) ,
Calculate the degree of conformity W that described name N to be measured and user expect E e;
Wherein, E represents that user expects, is the set expecting word e, D jrepresent the set of w (e, j) >0.
10. device as claimed in claim 8, is characterized in that, if described test index is the cultural connotation of described name to be measured,
Described test module comprises cultural connotation unit, for the search rate according to well-known phrase in corpus, determines the weight w of the well-known phrase k that described name to be measured occurs at corpus k;
The mean value of number of words of being separated by described well-known phrase k according to each word of described name to be measured, determines the distance d of described name to be measured in described well-known phrase k k(n);
According to
W c = Σ k w k × 1 d k ( n ) + 1 ,
Calculate the cultural connotation W of described name to be measured c.
CN201010291497.9A 2010-09-21 2010-09-21 Analyze the method and apparatus of name Active CN102411665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010291497.9A CN102411665B (en) 2010-09-21 2010-09-21 Analyze the method and apparatus of name

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010291497.9A CN102411665B (en) 2010-09-21 2010-09-21 Analyze the method and apparatus of name

Publications (2)

Publication Number Publication Date
CN102411665A CN102411665A (en) 2012-04-11
CN102411665B true CN102411665B (en) 2015-12-09

Family

ID=45913736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010291497.9A Active CN102411665B (en) 2010-09-21 2010-09-21 Analyze the method and apparatus of name

Country Status (1)

Country Link
CN (1) CN102411665B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200387993A1 (en) * 2019-06-07 2020-12-10 Didi Research America, Llc Analyzing passenger gender on a ridesharing platform
CN111309913A (en) * 2020-02-26 2020-06-19 北京慧博科技有限公司 Method for analyzing gender by name

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1375787A (en) * 2001-03-20 2002-10-23 非常网科技股份有限公司 Full name inputting method for full name analysis in internet or radio communication network
CN101556574A (en) * 2008-04-09 2009-10-14 北京美名腾网络技术有限公司 Computer intelligent naming based on client wish

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1375787A (en) * 2001-03-20 2002-10-23 非常网科技股份有限公司 Full name inputting method for full name analysis in internet or radio communication network
CN101556574A (en) * 2008-04-09 2009-10-14 北京美名腾网络技术有限公司 Computer intelligent naming based on client wish

Also Published As

Publication number Publication date
CN102411665A (en) 2012-04-11

Similar Documents

Publication Publication Date Title
Elvin et al. Dynamic acoustic properties of monophthongs and diphthongs in Western Sydney Australian English
CN109785698B (en) Method, device, electronic equipment and medium for oral language level evaluation
CN108628833B (en) Method and device for determining summary of original content and method and device for recommending original content
CN104732977A (en) On-line spoken language pronunciation quality evaluation method and system
CN110164447A (en) A kind of spoken language methods of marking and device
Castañeda‐Jiménez et al. Exploring lexical diversity in second language Spanish
CN106856095A (en) The voice quality evaluating system that a kind of phonetic is combined into syllables
Harel et al. Finding the experts in the crowd: Validity and reliability of crowdsourced measures of children’s gradient speech contrasts
Tibblin et al. There are more women in joggeur· euses than in joggeurs: On the effects of gender-fair forms on perceived gender ratios in French role nouns
CN102411665B (en) Analyze the method and apparatus of name
Ströbel et al. Text Genre Classification Based on Linguistic Complexity Contours Using A Recurrent Neural Network.
Schötz et al. A study of acoustic correlates of speaker age
Abe Frequency change patterns across proficiency levels in Japanese EFL learner speech
Brown Y-ACCDIST: An automatic accent recognition system for forensic applications
Holmes-Elliott et al. Dressing down up north: DRESS-lowering and/l/allophony in a Scottish dialect
Gendrot et al. Deep learning and voice comparison: phonetically-motivated vs. automatically-learned features
Petinou et al. Phonological process occurrence in typically developing toddlers
Cox et al. Broadness variation in Australian English speaking females
Sharbawi et al. Reevaluating rhoticity in Brunei English: the case of the Kedayan
Zhang et al. Perceptual clustering of high-pitched vowels in Chinese Yue Opera
Nguyen et al. Acoustic-Prosodic, Lexical and Demographic Cues to Persuasiveness in Competitive Debate Speeches.
Qu et al. Preliminary study on lyrics intelligibility at different pitches in Chinese vocal music
Geraldine et al. Emergent features of young Singaporean speech: an investigatory study of the labiodental/r/in Singapore English
Kaminskaïa et al. Approaches to analyzing prosodic rhythm in language contact: French in Ontario
Huang et al. An Experimental Study on Declarative and Interrogative Sentences in Shanghai Chinese

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160226

Address after: The South Road in Guangdong province Shenzhen city Fiyta building 518031 floor 5-10 Nanshan District high tech Zone

Patentee after: Shenzhen Tencent Computer System Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Futian District SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.