IP Library Granted Patent US 9,645,988
Granted Patent B1
US 9,645,988 · App. 15/246,659 · Granted May 9, 2017

System and method for identifying passages in electronic documents

Inventors: Robert Henry Warren (Toronto, CA); Alexander Karl Hudek (Toronto, CA)
Assignee: KIRA INC.
G06F17/241G06F17/2705G06F17/277G06F17/30684
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 9,645,988
App. No.
15/246,659
Granted
May 9, 2017
Kind
B1
Abstract

The methods proposed here deconstructs training sentences into a stream of features that represent both the sentences and tokens used by the text, their sequence and other ancillary features extracted using natural language processing. Then, we use a conditional random field where we represent the concept we are looking for as state A and the background (everything not concept A) as a state B. The model created by this training phase is then used to locate the concept as a sequence of sentences within a document. This has distinct advantages in accuracy and speed over methods that individually classify each sentence and then use a secondary method to group the classified sentences into passages. Furthermore while previous methods were based on searching for the occurrence of tokens only, the use of a wider set of features enables this method to locate relevant passages even though a different terminology is in use.

Claims (224)

1. A method for searching an electronic document for passages relating to a concept being searched for, where the concept is expressed as a word or plurality of words, the method comprising:

deconstructing by a computer processor training electronic texts stored on a computer readable into a stream of features;

storing the stream of features in a data store; wherein the features include the text of complete sentences, tokens used by the text in each sentence, the sequence of sentences, layout of text and typography of text;

executing by a computer processor a conditional random field algorithm to label sentences in the electronic document as either being relevant to the concept being searched for (“State A”) or as background information (“State B”) based on the stream of features;

executing by the computer processor a search algorithm which returns those sentences labelled as State A;

wherein the conditional random field algorithm generates a probability of a sentence being relevant to State A; wherein the probability includes a tolerance for words or portions of words which cannot be resolved into computer-readable text;

wherein, given a document containing multiple sentences S:={s 1 , s 2 , . . . , s m } and the corresponding concept label for each sentence Concept:={concept 1 , concept 2 , . . . , concept m }, the conditional random field function defining the probability of the Concept applied to S, Pr(Concept|S), is expressed as:

Pr

(

Concept

S

)

=

1

Z

s

exp

(

j

=

1

K

×

L

F

j

(

Concept

,

S

)

)

=

1

Z

s

exp

(

i

=

1

,

k

=

1

m

,

K

λ

k

f

k

(

y

i

-

1

,

y

i

,

S

)

+

i

=

1

,

l

=

1

m

,

L

μ

l

g

l

(

y

i

,

S

)

)

where Z s is a normalization constant, ƒ k (y i-1 ,y i ,S) is an arbitrary feature function over the group of sentences in a document and positions i and i−1, g l (y i ,S) is a feature function of the state at position i and the document S.

2. The method according to claim 1 , wherein said words which cannot be resolved into computer-readable text have properties selected from the group consisting of being spelled incorrectly, being of poor optical character recognition quality, and being in a foreign language.

3. The method according to claim 2 , wherein the conditional random field algorithm is agnostic to the property which cause said words to be unresolvable into computer-readable text.

4. The method according to claim 1 , wherein the stream of features are generated, at least in part, from n-gram segments of word vectors within each sentence.

5. The method according to claim 1 , wherein each feature in the stream of features is tagged using natural language processing techniques.

6. The method according to claim 1 , wherein the stream of features includes grid-based layout information.

7. A system for searching an electronic document for passages relating to a concept being searched for, where the concept is expressed as a word or plurality of words, the system comprising:

a computer processor deconstructing training electronic texts stored on a computer readable into a stream of features;

a data store storing the stream of features; wherein the features include the text of complete sentences, tokens used by the text in each sentence, the sequence of sentences, layout of text and typography of text;

wherein the computer processor executes a conditional random field algorithm to label sentences in the electronic document as either being relevant to the concept being searched for (“State A”) or as background information (“State B”) based on the stream of features;

and wherein the computer processor executes a search algorithm which returns those sentences labelled as State A;

wherein the conditional random field algorithm generates a probability of a sentence being relevant to State A; wherein the probability includes a tolerance for words or portions of words which cannot be resolved into computer-readable text;

wherein, given a document containing multiple sentences S:={s 1 , s 2 , . . . , s m } and the corresponding concept label for each sentence Concept:={concept 1 , concept 2 , . . . , concept m }, the conditional random field function defining the probability of the Concept applied to S, Pr(Concept|S), is expressed as:

Pr

(

Concept

S

)

=

1

Z

s

exp

(

j

=

1

K

×

L

F

j

(

Concept

,

S

)

)

=

1

Z

s

exp

(

i

=

1

,

k

=

1

m

,

K

λ

k

f

k

(

y

i

-

1

,

y

i

,

S

)

+

i

=

1

,

l

=

1

m

,

L

μ

l

g

l

(

y

i

,

S

)

)

where Z s is a normalization constant, ƒ k (y i-1 ,y i ,S) is an arbitrary feature function over the group of sentences in a document and positions i and i−1, g l (y i ,S) is a feature function of the state at position i and the document S.

8. The system according to claim 7 , wherein said words which cannot be resolved into computer-readable text have properties selected from the group consisting of being spelled incorrectly, being of poor optical character recognition quality, and being in a foreign language.

9. The system according to claim 8 , wherein the conditional random field algorithm is agnostic to the property which cause said words to be unresolvable into computer-readable text.

10. The system according to claim 7 , wherein the stream of features are generated, at least in part, from n-gram segments of word vectors within each sentence.

11. The system according to claim 7 , wherein each feature in the stream of features is tagged using natural language processing techniques.

12. The system according to claim 7 , wherein the stream of features includes grid-based layout information.

Assignments (5)
CORRECTIVE ASSIGNMENT TO CORRECT THE THE ASSIGNEE ADDING THE SECOND ASSIGNEE PREVIOUSLY RECORDED AT REEL: 058859 FRAME: 0104. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Nov 18, 2022
From: KIRA INC.
To: KIRA INC.; ZUVA INC.
Reel/Frame 061964/0502 →
CORRECTIVE ASSIGNMENT TO CORRECT THE ASSIGNMENT OF ALL OF ASSIGNOR'S INTEREST PREVIOUSLY RECORDED AT REEL: 057509 FRAME: 0057. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Jan 26, 2022
From: KIRA INC.
To: ZUVA INC.
Reel/Frame 058859/0104 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 16, 2021
From: KIRA INC.
To: ZUVA INC.
Reel/Frame 057509/0057 →
SECURITY INTEREST Recorded Sep 16, 2021
From: ZUVA INC.
To: KIRA INC.
Reel/Frame 057509/0067 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 25, 2016
From: WARREN, ROBERT HENRY; HUDEK, ALEXANDER KARL
To: KIRA INC.
Reel/Frame 039537/0657 →