# US 2017/0293951 A1 · System, Method and Apparatus for Automatic Categorization and Assessment of Billing Narratives

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0293951 A1
- Document ID: US20170293951A1
- Status: Published application
- Kind: A1
- Application number: 15/482,133
- Filed: 2017-04-07
- Published: 2017-10-12
- Earliest claimed: 2016-04-11
- Assignees: Shine Analytics Ltd.
- Inventors: Ian Nolan; Alex Kelly; Ciaran Flood; Sean Harrison; Michael Dineen
- Web page: https://patentgrep.com/patent/US20170293951A1

## CPC

- G06Q 30/04: Billing or invoicing
- G06N 5/025: Extracting rules from data
- G06N 20/00: Machine learning
- G06Q 10/10: Office automation; Time management
- G06Q 10/1091: Recording time for administrative or management purposes
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A system for automatic categorization and assessment of billing narratives has a semantic engine that classifies billing entries with descriptions expressed in natural language into standardized categories of activity and task objective. The classification is by machine learning methods via training data that is maintained, updated and extended as needed. A rules engine applies rules to the categorized invoice data to analyze the data, report violations to a user/consumer of billed services and to perform related calculations.

## Claims

### Claim 1

An apparatus for the automated analysis of actual invoices and timekeeper narratives from a service provider, comprising:
a computer with a processor;
a data store accessible to the computer and capable of storing invoice data in digital textural form;
a semantic engine capable of running on the processor, the semantic engine having a learning layer and a processing layer, the learning layer receiving training data containing accurately decomposed and categorized invoice data from a training sample of invoice data and developing a training model, the processing layer receiving the training model and processing the actual invoice data in accordance with the training model, resulting in the decomposition of the actual invoice data into fragments pertaining to actions performed and objects of actions by the provider in the form of categorized invoice data;
a rules engine capable of running on the processor having access to at least one rule applicable to categorized invoice data, the rules engine receiving the categorized invoice data from the semantic engine, applying the at least one rule to the categorized invoice data and generating an output consistent with the at least one rule.

### Claim 2

A system for automated analysis of actual invoices and timekeeper narratives from a service provider, comprising:
a computer with a processor;
a data store accessible to the computer and capable of storing invoice data in digital textural form;
a semantic engine capable of running on the processor, the semantic engine having a learning layer and a processing layer, the learning layer receiving training data containing accurately decomposed and categorized invoice data from a training sample of invoice data and developing a training model, the processing layer receiving the training model and processing the actual invoice data in accordance with the training model, resulting in the decomposition of the actual invoice data into fragments pertaining to actions performed and objects of actions by the provider in the form of categorized invoice data;
a rules engine capable of running on the processor having access to at least one rule applicable to categorized invoice data, the rules engine receiving the categorized invoice data from the semantic engine, applying the at least one rule to the categorized invoice data and generating an output consistent with the at least one rule;
a reporting engine, the reporting engine generating reports to a user of the categorized invoice data and output from the application of the at least one rule; and
at least one additional computer connected to the computer via a network, permitting the distribution of data storage and processing task performed by the system over the computer and the at least one additional computer.

### Claim 3

A method for the analysis of an invoice with a timekeeper narrative presented by a provider of professional services to a recipient of same, comprising the steps of:
(A) obtaining the invoice with timekeeper narrative as invoice data in a digital alphanumeric form;
(B) receiving the invoice data into a computer having access to a data store coupled thereto;
(C) storing the invoice data in the data store;
(D) processing the invoice data by a semantic engine, the semantic engine decomposing the invoice data fragments pertaining to actions performed by the provider and objects of action;
(E) obtaining a standard categorization of actions and objects of action in digital form;
(F) storing the standard categorization on the data store or another data store accessible to the computer;
(G) automatically categorizing the invoice data fragments in terms of the standard categorization yielding a standard categorization of the invoice data;
(H) providing an output of the standard categorization of the invoice data in textural data form.

### Claim 4 (depends on 3)

The method of claim 3, further comprising the steps of defining at least one rule applicable to invoicing parameters and providing the standard categorization of the invoice data to a rules engine capable of evaluating the at least one rule; and applying the at least one rule to the standard categorization of the invoice data.

### Claim 5 (depends on 4)

The method of claim 4, wherein the at least one rule specifies an output based upon the application of the rule to the standard categorization of the invoice data and generating the output defined by the at least one rule in the form of a report.

### Claim 6 (depends on 3)

The method of claim 3, further comprising the step of generating a database of pre- categorized text fragments based upon prior evaluation of a sample set of invoices; storing the database on a data store accessible to the computer and accessing the database during the step of automatically categorizing.

### Claim 7 (depends on 6)

The method of claim 6, further comprising the step of evaluating the accuracy of the step of automatically categorizing resulting in additional entries to the database.

### Claim 8 (depends on 3)

The method of claim 3, further comprising the steps of building a database of the identity of persons associated with at least one of the provider or recipient and including the role of the persons; storing the database of persons in a data store accessible to the computer and referring to the database during the step of categorizing, the step of categorization incorporating the roles of persons involved in the professional services as provider or recipient as identified in the invoice data.

### Claim 9 (depends on 4)

The method of claim 4, wherein the rules include at least one of best practice norms or terms of engagement.

### Claim 10 (depends on 4)

The method of claim 4, further comprising the step of changing the rules under the direction of the recipient of the services.

### Claim 11 (depends on 5)

The method of claim 5, wherein the violation of a rule results in generation of a pre-determined output message.

### Claim 12 (depends on 3)

The method of claim 3, wherein the semantic engine has a training layer and further comprising the steps of developing training data and providing the training data to the training layer of the semantic engine prior to the step of processing the invoice data.

### Claim 13 (depends on 12)

The method of claim 12, further comprising a step of pre-processing the invoice data by tokenizing the invoice data into word and sentence fragments and then transforming the words into a lemmatized form.

### Claim 14 (depends on 13)

The method of claim 13, further comprising processing the words in lemmatized form by n gram extraction, part of speech tagging and dependency parsing through analysis of the syntactic structure of the invoice data.

### Claim 15 (depends on 13)

The method of claim 13, further comprising the step of extracting named entities from the invoice data.

### Claim 16 (depends on 12)

The method of claim 12, further comprising the steps of model training, model aggregation and model evaluation.

### Claim 17 (depends on 16)

The method of claim 16, wherein the step of model training includes the step of term weighting, category binarization, feature selection and parameter tuning.

### Claim 18 (depends on 16)

The method of claim 16, wherein the step of model aggregation includes the steps of ensemble tuning, probability thresholding and result combination.

### Claim 19 (depends on 16)

The method of claim 16, wherein the step of model evaluation includes the steps of metric generation and error modeling.

### Claim 20 (depends on 4)

The method of claim 4, further comprising developing a database of person and billing rates, storing the database in a data store accessible to the computer and calculating charges by persons on behalf of the provider.
