IP Library Granted Patent US 12,724,964
Granted Patent B2
US 12,724,964 · App. 18/073,519 · Granted Sep 1, 2026

Text mining method based on artificial intelligence, related apparatus and device

Inventors: Jie Jiang (Shenzhen, CN); Guanglei Du (Shenzhen, CN); Zhilin Shi (Shenzhen, CN); Changwang Zhang (Shenzhen, CN); Jihong Zhang (Shenzhen, CN)
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
G06F40/279G06F16/26G06F40/166G06F40/30
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,724,964
App. No.
18/073,519
Granted
Sep 1, 2026
Kind
B2
Abstract

This application discloses a text mining method based on artificial intelligence performed by a computer device. This application includes: obtaining domain candidate term features corresponding to domain candidate terms; obtaining term quality scores corresponding to the domain candidate terms according to the domain candidate term features; determining a new term from the domain candidate terms according to the term quality scores corresponding to the domain candidate terms; obtaining an associated text according to the new term; and determining a domain seed term as a domain new term in response to determining according to the associated text that the domain seed term satisfies a domain new term mining condition. By this application, new terms can be automatically selected from domain candidate terms based on a machine learning algorithm, thereby reducing manpower costs and well adapting to the rapid emergence of special new terms in the Internet era.

Claims (103)

1 . A text mining method based on artificial intelligence performed by a computer device, the method comprising:

obtaining a plurality of training domain candidate terms;

constructing a positive sample pool and a negative sample pool by classifying the plurality of training domain candidate terms based on a general vocabulary database, including, for each respective training domain candidate term of the plurality of training domain candidate terms:

adding the respective training domain candidate term to the positive sample pool in response to a determination that the respective training domain candidate term belongs to the general vocabulary database; and

adding the respective training domain candidate term to the negative sample pool in response to a determination that the respective training domain candidate term does not belong to the general vocabulary database;

training a random forest model including a plurality of decision trees, including:

constructing a plurality of groups of domain candidate term samples, wherein each group of domain candidate term samples includes a positive domain candidate term sample selected from the positive sample pool and a negative domain candidate term sample selected from the negative sample pool; and

training each of the plurality of decision trees in the random forest model using a different group of the plurality of groups of domain candidate term samples;

obtaining domain candidate term features corresponding to domain candidate terms;

obtaining term quality scores corresponding to the domain candidate terms according to the domain candidate term features, including:

obtaining sub-scores corresponding to the domain candidate term features based on the domain candidate term features by using each of the plurality of decision trees in the random forest model; and

obtaining the term quality scores corresponding to the domain candidate terms according to the sub-scores corresponding to the domain candidate term features;

determining a new term from the domain candidate terms according to the term quality scores corresponding to the domain candidate terms;

obtaining an associated text according to the new term; and

determining a domain seed term as a domain new term in response to determining according to the associated text that the domain seed term satisfies a domain new term mining condition.

2 . The method according to claim 1 , further comprising:

obtaining sentences from a domain corpus;

performing term segmentation processing on each of the sentences to obtain a text sequence; and

obtaining the domain candidate terms according to the text sequence.

3 . The method according to claim 1 , wherein the determining a new term according to the term quality scores corresponding to the domain candidate terms comprises:

determining that a domain candidate term is a new term in response to the term quality score corresponding to the domain candidate term being greater than or equal to a quality score threshold; and

determining that a domain candidate term is not a new term in response to the term quality score corresponding to the domain candidate term being less than the quality score threshold.

4 . The method according to claim 1 , wherein the determining a new term according to the term quality scores corresponding to the domain candidate terms comprises:

obtaining term frequencies corresponding to the domain candidate terms;

determining that a domain candidate term is a new term in response to the term quality score corresponding to the domain candidate term being greater than or equal to a quality score threshold and a term frequency corresponding to the domain candidate term being greater than or equal to a first term frequency threshold; and

determining that a domain candidate term is not a new term in response to the term quality score corresponding to the domain candidate term being less than the quality score threshold and the term frequency corresponding to the domain candidate term being less than the first term frequency threshold.

5 . The method according to claim 1 , wherein the obtaining an associated text according to the new term comprises:

obtaining a search feedback result corresponding to the new term through a search engine, the search feedback result comprising at least one search result; and

determining, according to the search feedback result corresponding to the new term, first R search results with highest degrees of relevance from the at least one search result as the associated text corresponding to the new term, R being an integer greater than or equal to 1.

6 . The method according to claim 1 , further comprising:

obtaining the domain seed term;

determining an average term frequency of the domain seed term according to the associated text; and

determining that the domain seed term satisfies the domain new term mining condition in response to the average term frequency being greater than or equal to a second term frequency threshold.

7 . The method according to claim 1 , further comprising:

obtaining the domain seed term;

determining a maximum term frequency of the domain seed term according to the associated text; and

determining that the domain seed term satisfies the domain new term mining condition in response to the maximum term frequency being greater than or equal to a second term frequency threshold.

8 . A computer device, comprising: a memory, a processor, and a bus system, the bus system being configured to connect the memory and the processor to enable the memory and the processor to communicate with each other,

the memory being configured to store a program,

the processor being configured to execute the program in the memory and causing the computer device to perform a text mining method based on artificial intelligence including:

obtaining a plurality of training domain candidate terms;

constructing a positive sample pool and a negative sample pool by classifying the plurality of training domain candidate terms based on a general vocabulary database, including, for each respective training domain candidate term of the plurality of training domain candidate terms:

adding the respective training domain candidate term to the positive sample pool in response to a determination that the respective training domain candidate term belongs to the general vocabulary database; and

adding the respective training domain candidate term to the negative sample pool in response to a determination that the respective training domain candidate term does not belong to the general vocabulary database;

training a random forest model including a plurality of decision trees, including:

constructing a plurality of groups of domain candidate term samples, wherein each group of domain candidate term samples includes a positive domain candidate term sample selected from the positive sample pool and a negative domain candidate term sample selected from the negative sample pool; and

training each of the plurality of decision trees in the random forest model using a different group of the plurality of groups of domain candidate term samples;

obtaining domain candidate term features corresponding to domain candidate terms;

obtaining term quality scores corresponding to the domain candidate terms according to the domain candidate term features, including:

obtaining sub-scores corresponding to the domain candidate term features based on the domain candidate term features by using each of the plurality of decision trees in the random forest model; and

obtaining the term quality scores corresponding to the domain candidate terms according to the sub-scores corresponding to the domain candidate term features;

determining a new term from the domain candidate terms according to the term quality scores corresponding to the domain candidate terms;

obtaining an associated text according to the new term; and

determining a domain seed term as a domain new term in response to determining according to the associated text that the domain seed term satisfies a domain new term mining condition.

9 . The computer device according to claim 8 , wherein the method further comprises:

obtaining sentences from a domain corpus;

performing term segmentation processing on each of the sentences to obtain a text sequence; and

obtaining the domain candidate terms according to the text sequence.

10 . The computer device according to claim 8 , wherein the determining a new term according to the term quality scores corresponding to the domain candidate terms comprises:

determining that a domain candidate term is a new term in response to the term quality score corresponding to the domain candidate term being greater than or equal to a quality score threshold; and

determining that a domain candidate term is not a new term in response to the term quality score corresponding to the domain candidate term being less than the quality score threshold.

11 . The computer device according to claim 8 , wherein the determining a new term according to the term quality scores corresponding to the domain candidate terms comprises:

obtaining term frequencies corresponding to the domain candidate terms;

determining that a domain candidate term is a new term in response to the term quality score corresponding to the domain candidate term being greater than or equal to a quality score threshold and a term frequency corresponding to the domain candidate term being greater than or equal to a first term frequency threshold; and

determining that a domain candidate term is not a new term in response to the term quality score corresponding to the domain candidate term being less than the quality score threshold and the term frequency corresponding to the domain candidate term being less than the first term frequency threshold.

12 . The computer device according to claim 8 , wherein the obtaining an associated text according to the new term comprises:

obtaining a search feedback result corresponding to the new term through a search engine, the search feedback result comprising at least one search result; and

determining, according to the search feedback result corresponding to the new term, first R search results with highest degrees of relevance from the at least one search result as the associated text corresponding to the new term, R being an integer greater than or equal to 1.

13 . The computer device according to claim 8 , wherein the method further comprises:

obtaining the domain seed term;

determining an average term frequency of the domain seed term according to the associated text; and

determining that the domain seed term satisfies the domain new term mining condition in response to the average term frequency being greater than or equal to a second term frequency threshold.

14 . The computer device according to claim 8 , wherein the method further comprises:

obtaining the domain seed term;

determining a maximum term frequency of the domain seed term according to the associated text; and

determining that the domain seed term satisfies the domain new term mining condition in response to the maximum term frequency being greater than or equal to a second term frequency threshold.

15 . A non-transitory computer-readable storage medium, storing a computer program that, when executed by a processor of a computer device, causes the computer device to perform a text mining method based on artificial intelligence including:

obtaining a plurality of training domain candidate terms;

constructing a positive sample pool and a negative sample pool by classifying the plurality of training domain candidate terms based on a general vocabulary database, including, for each respective training domain candidate term of the plurality of training domain candidate terms:

adding the respective training domain candidate term to the positive sample pool in response to a determination that the respective training domain candidate term belongs to the general vocabulary database; and

adding the respective training domain candidate term to the negative sample pool in response to a determination that the respective training domain candidate term does not belong to the general vocabulary database;

training a random forest model including a plurality of decision trees, including:

constructing a plurality of groups of domain candidate term samples, wherein each group of domain candidate term samples includes a positive domain candidate term sample selected from the positive sample pool and a negative domain candidate term sample selected from the negative sample pool; and

training each of the plurality of decision trees in the random forest model using a different group of the plurality of groups of domain candidate term samples;

obtaining domain candidate term features corresponding to domain candidate terms;

obtaining term quality scores corresponding to the domain candidate terms according to the domain candidate term features, including:

obtaining sub-scores corresponding to the domain candidate term features based on the domain candidate term features by using each of the plurality of decision trees in the random forest model; and

obtaining the term quality scores corresponding to the domain candidate terms according to the sub-scores corresponding to the domain candidate term features;

determining a new term from the domain candidate terms according to the term quality scores corresponding to the domain candidate terms;

obtaining an associated text according to the new term; and

determining a domain seed term as a domain new term in response to determining according to the associated text that the domain seed term satisfies a domain new term mining condition.

16 . The non-transitory computer-readable storage medium according to claim 15 , wherein the method further comprises:

obtaining sentences from a domain corpus;

performing term segmentation processing on each of the sentences to obtain a text sequence; and

obtaining the domain candidate terms according to the text sequence.

17 . The non-transitory computer-readable storage medium according to claim 15 , wherein the method further comprises:

obtaining the domain seed term;

determining an average term frequency of the domain seed term according to the associated text; and

determining that the domain seed term satisfies the domain new term mining condition in response to the average term frequency being greater than or equal to a second term frequency threshold.

18 . The non-transitory computer-readable storage medium according to claim 15 , wherein the method further comprises:

obtaining the domain seed term;

determining a maximum term frequency of the domain seed term according to the associated text; and

determining that the domain seed term satisfies the domain new term mining condition in response to the maximum term frequency being greater than or equal to a second term frequency threshold.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 10, 2026
From: JIANG, JIE; SHI, ZHILIN; ZHANG, JIHONG
To: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Reel/Frame 075235/0630 →
Priority Claims (1)
CN 202011001027.4 · Sep 22, 2020 · national
Continuity (2)
Continuation PCTCN2021102745 · Jun 28, 2021
Related Publication 20230111582A1 · Apr 13, 2023
References Cited (20)
US 10453117B1 · Reavely · 2019 [cited by examiner]
US 10586174B2 · Lev · 2020 [cited by examiner]
US 10657332B2 · Zhang et al. · 2020 [cited by applicant]
US 11334608B2 · Mahata · 2022 [cited by examiner]
US 20090299998A1 · Kim · 2009 [cited by examiner]
US 20100217591A1 · Shpigel · 2010 [cited by applicant]
US 20160117313A1 · Ajmera · 2016 [cited by examiner]
CN 106033462A · 2016 [cited by applicant]
CN 106970904A · 2017 [cited by applicant]
CN 106970919A · 2017 [cited by applicant]
CN 107391486A · 2017 [cited by applicant]
CN 110110322A · 2019 [cited by applicant]
CN 110457708A · 2019 [cited by applicant]
CN 111026861A · 2020 [cited by applicant]
CN 111325018A · 2020 [cited by applicant]
CN 111931501A · 2020 [cited by applicant]
WO WO2015029241A1 · 2015 [cited by applicant]
Tencent Technology, WO, PCT/CN2021/102745, Sep. 15, 2021, 5 pgs. [cited by applicant]
Tencent Technology, IPRP, PCT/CN2021/102745, Mar. 28, 2023, 6 pgs. [cited by applicant]
Tencent Technology, ISR, PCT/CN2021/102745, Sep. 15, 2021, 2 pgs. [cited by applicant]