Keyword extraction method, apparatus and server
AssigneeTencent Technology (Shenzhen) Company Limited
InventorXiao Bao
Life of this patent
Estimating the term…
Abstract
A keyword extraction method is provided. A candidate keyword from target text is extracted by a server. For each candidate keyword, each effective feature corresponding to the candidate keyword is obtained by the server. Calculation is performed by the server according to each effective feature corresponding to the candidate keyword and a weighting coefficient respectively corresponding to each effective feature, to obtain a probability that the candidate keyword belongs to a target keyword, and the candidate keyword is determined as the target keyword of the target text based on the probability.
Claims20
A keyword extraction method, comprising:
- extracting, by a server, a candidate keyword from target text;
- obtaining, by the server for each candidate keyword, each effective feature corresponding to the candidate keyword;
- and
- obtaining, by the server, a probability that the candidate keyword belongs to a target keyword according to each effective feature corresponding to the candidate keyword and a weighting coefficient respectively corresponding to each effective feature, and determining the candidate keyword as the target keyword of the target text based on the probability.
A keyword extraction apparatus, comprising:
- at least one memory configured to store computer program code;
- and
- at least one processor configured to access the at least one memory and operate according to the computer program code, the computer program code including:
- extraction code configured to cause the at least one processor to extract a candidate keyword from target text;
- first obtaining code configured to cause the at least one processor to obtain, for each candidate keyword, each effective feature corresponding to the candidate keyword;
- and
- first determining code configured to cause the at least one processor to obtain a probability that the candidate keyword belongs to a target keyword according to each effective feature corresponding to the candidate keyword and a weighting coefficient respectively corresponding to each effective feature, and determine the candidate keyword as the target keyword of the target text based on the probability.
A non-transitory computer readable media, storing a plurality of instructions, the plurality of instructions, when executed by one or more processors in a server, cause the one or more processors to perform:
- extracting a candidate keyword from target text;
- obtaining, for each candidate keyword, each effective feature corresponding to the candidate keyword;
- and
- performing calculation according to each effective feature corresponding to the candidate keyword and a weighting coefficient respectively corresponding to each effective feature, to obtain a probability that the candidate keyword belongs to a target keyword, and determining the candidate keyword as the target keyword of the target text based on the probability.
Dependencies are inferred from the claim text.