IP Library Granted Patent US 10,387,470
Granted Patent B2
US 10,387,470 · App. 15/051,051 · Granted Aug 20, 2019

Method, apparatus, and computer program product for classification and tagging of textual data

Inventor: Nick Pendar (San Ramon, CA)
Assignee: GROUPON, INC.
G06F16/35G06F16/328G06F16/338G06F16/93
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 10,387,470
App. No.
15/051,051
Granted
Aug 20, 2019
Kind
B2
Abstract

Provided herein are systems, methods and computer readable media for classification and tagging of textual data. An example method may include accessing a corpus comprising a plurality of documents, each document having one or more labels indicative of services offered by a merchant, generating a query based on extracted features and the documents, generating a precision score for at least a portion of the generated query and selecting a subset of the generated queries based on an assigned precision score satisfying a precision score threshold, the selected subset of the generated queries configured to provide an indication of one or more labels to be applied to machine readable text. A second example method, utilized for tagging machine readable text with unknown labels, may include assigning a label to textual portions of the machine readable text based on results of the application of the queries.

Claims (72)

1. A method for labeling machine readable text as pertaining to one or more services in a service taxonomy, enabling merchant classification into a predefined hierarchical structure that links text from a merchant, about the merchant or related to the merchant to a known service or services offered by the merchant, the method comprising:

accessing the machine readable text, wherein at least a portion of the machine readable text is accessed from a merchant website;

applying one or more queries to the machine readable text, wherein the one or more queries are generated by:

accessing a corpus comprising a plurality of documents, each of one or more documents of the corpus having one or more labels indicative of one or more services offered by a merchant;

generating one or more queries based on one or more extracted features and the one or more documents;

assigning, using a processor, a first label to textual portions of the machine readable text based on results of the application of the subset of queries to the machine readable text;

utilizing the service taxonomy, which comprises the predefined hierarchical structure, to further identify and assign at least a second label to textual portions of the machine readable text; and

classifying the merchant based on the first label and the second label.

2. The method according to claim 1 , wherein generation of the queries:

generating a precision score for at least a portion of the generated one or more queries; and

selecting a subset of queries from the generated one or more queries that satisfy a precision score threshold.

3. The method according to claim 2 , wherein the method further comprises:

calculating the precision score based on a number of true positive documents returned by a query of the one or more queries divided by a total number of documents returned.

4. The method according to claim 2 , wherein generating the query further comprises:

generating an array of feature index pairs, the array of feature index pairs comprising one or more features and a position of the one or more features in a sentence;

generating the one or more queries as a function of one or more combinations of feature index pairs based on the array of feature index pairs; and

outputting the one or more queries.

5. The method according to claim 4 , wherein generating the query further comprises:

calculating a distance between a first feature in a query and a second feature in the query; and

generating a distance measure for the query.

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

rounding the distance between the first feature and the second feature to a next highest multiple of a predetermined number.

7. The method according to claim 1 , wherein assigning a label to textual portions of the machine readable text based on results of the application of the queries to the machine readable text further comprises:

generating a score for the machine readable text, wherein the score is a function of the precision score of a query divided by a normalization factor, the normalization score being a function of a subset of one or more precision scores; and generating at least one label for the machine readable text.

8. An apparatus for labeling machine readable text as pertaining to one or more services, the machine readable text recovered from one or more electronic sources, enabling merchant classification into a predefined hierarchical structure that links text from a merchant, about the merchant or related to the merchant to a known service or services offered by the merchant, the apparatus comprising at least one processor and at least one memory including computer program code, the at least one memory and the computer program code configured to, with the processor, cause the apparatus to at least:

access the machine readable text, wherein at least a portion of the machine readable text is accessed from a merchant website;

apply one or more queries to the machine readable text, wherein the one or more queries are generated by:

accessing a corpus comprising a plurality of documents, each of one or more documents of the corpus having one or more labels indicative of one or more services offered by a merchant;

generating one or more queries based on one or more extracted features and the one or more documents;

assign, using a processor, a first label to textual portions of the machine readable text based on results of the application of the subset of queries to the machine readable text; and

utilize the service taxonomy, which comprises the predefined hierarchical structure, to further identify and assign at least a second label to textual portions of the machine readable text; and

classify the merchant based on the first label and the second label.

9. The apparatus according to claim 8 , wherein the computer code configured to cause generation of the queries further comprises computer program code are further configured to, with the processor, cause the apparatus to:

generate a precision score for at least a portion of the generated one or more queries; and

select a subset of queries from the generated one or more queries that satisfy a precision score threshold.

10. The apparatus according to claim 8 , wherein the at least one memory and the computer program code are further configured to, with the processor, cause the apparatus to:

calculate the precision score based on a number of true positive documents returned by a query of the one or more queries divided by a total number of documents returned.

11. The apparatus according to claim 10 , wherein the at least one memory and the computer program code are further configured to, with the processor, cause the apparatus to:

generate an array of feature index pairs, the array of feature index pairs comprising one or more features and a position of the one or more features in a sentence;

generate the one or more queries as a function of one or more combinations of feature index pairs based on the array of feature index pairs; and

output the one or more queries.

12. The apparatus according to claim 11 , wherein the at least one memory and the computer program code are further configured to, with the processor, cause the apparatus to:

calculate a distance between a first feature in a query and a second feature in the query; and

generate a distance measure for the query.

13. The apparatus according to claim 12 , wherein the at least one memory and the computer program code are further configured to, with the processor, cause the apparatus to:

the distance between the first feature and the second feature to a next highest multiple of a predetermined number.

14. The apparatus according to claim 8 , wherein the at least one memory and the computer program code are further configured to, with the processor, cause the apparatus to:

generate a score for the machine readable text, wherein the score is a function of the precision score of a query divided by a normalization factor, the normalization score being a function of a subset of one or more precision scores; and generating at least one label for the machine readable text.

15. A computer program product for labeling machine readable text as pertaining to one or more services, the machine readable text recovered from one or more electronic sources, enabling merchant classification into a predefined hierarchical structure that links text from a merchant, about the merchant or related to the merchant to a known service or services offered by the merchant the computer program product comprising at least one non-transitory computer-readable storage medium having computer-executable program code portions stored therein, the computer-executable program code portions comprising program code instructions for:

accessing the machine readable text, wherein at least a portion of the machine readable text is accessed from a merchant website;

applying one or more queries to the machine readable text, wherein the one or more queries are generated by:

accessing a corpus comprising a plurality of documents, each of one or more documents of the corpus having one or more labels indicative of one or more services offered by a merchant;

generating one or more queries based on one or more extracted features and the one or more documents;

assigning, using a processor, a first label to textual portions of the machine readable text based on results of the application of the subset of queries to the machine readable text; and

utilizing the service taxonomy, which comprises the predefined hierarchical structure, to further identify and assign at least a second label to textual portions of the machine readable text; and

classifying the merchant based on the first label and the second label.

16. The computer program product according to claim 15 , wherein the computer-executable program code portions configured to generate the queries further comprise program code instructions for:

generating a precision score for at least a portion of the generated one or more queries; and

selecting a subset of queries from the generated one or more queries that satisfy a precision score threshold.

17. The computer program product according to claim 15 , wherein the computer-executable program code portions further comprise program code instructions for rounding the distance between the two keywords to a next highest multiple of a predetermined number:

calculating the precision score based on a number of true positive documents returned by a query of the one or more queries divided by a total number of documents returned.

18. The computer program product according to claim 17 , wherein generating the query further comprises:

generating an array of feature index pairs, the array of feature index pairs comprising one or more features and a position of the one or more features in a sentence;

generating the one or more queries as a function of one or more combinations of feature index pairs based on the array of feature index pairs; and

outputting the one or more queries.

19. The computer program product according to claim 18 , wherein generating the query further comprises:

calculating a distance between a first feature in a query and a second feature in the query; and

generating a distance measure for the query.

20. The computer program product according to claim 19 , wherein the computer-executable program code portions further comprise program code instructions for:

rounding the distance between the first feature and the second feature to a next highest multiple of a predetermined number.

21. The computer program product according to claim 15 , wherein assigning a label to textual portions of the machine readable text based on results of the application of the queries to the machine readable text further comprises:

generating a score for the machine readable text, wherein the score is a function of the precision score of a query divided by a normalization factor, the normalization score being a function of a subset of one or more precision scores; and generating at least one label for the machine readable text.

Assignments (5)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 31, 2024
From: GROUPON, INC.
To: BYTEDANCE INC.
Reel/Frame 068203/0464 →
RELEASE OF SECURITY INTEREST Recorded Feb 26, 2024
From: JPMORGAN CHASE BANK, N.A.
To: GROUPON, INC.; LIVINGSOCIAL, LLC (F/K/A LIVINGSOCIAL, INC.)
Reel/Frame 066676/0001 →
TERMINATION AND RELEASE OF SECURITY INTEREST IN INTELLECTUAL PROPERTY RIGHTS Recorded Feb 26, 2024
From: JPMORGAN CHASE BANK, N.A.
To: GROUPON, INC.; LIVINGSOCIAL, LLC (F/K/A LIVINGSOCIAL, INC.)
Reel/Frame 066676/0251 →
SECURITY INTEREST Recorded Jul 23, 2020
From: GROUPON, INC.; LIVINGSOCIAL, LLC
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 053294/0495 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 7, 2019
From: PENDAR, NICK
To: GROUPON, INC.
Reel/Frame 049404/0229 →
Continuity (2)
Continuation 13893044 · May 13, 2013
Related Publication 20160314201A1 · Oct 27, 2016