SupremeBrief Demo PDF version 2

Preview:

DESCRIPTION

This is demo of SupremeBrief, an app using NLP to create summary for legal court cases.

Citation preview

SupremeBrief Summarizing Legal Cases with NLP

Andrew Koo - Insight Data Science

Bush v. Gore (2000) - 121 S.Ct. 525

Bush v. Gore (121 S.Ct. 525)

In this instance, however, the question is not whether to believe a witness but how to interpret the marks or holes or scratches on an inanimate object, a piece of cardboard or paper which, it is said, might not have registered as a vote during the machine count.

What Counts as a Legal Vote?

Neural Network (word2vec)Vectorizing: The neural network finds features which are vector representations of the word

Calculating:

Ranking: Rank the sentences in the graph by applying PageRank

vector(Sentence)= mean( vector(Words) )

Converting: Use the sentence vectors and their cosine similarities to create a graph

Training: Use 120K documents to train a neural network model optimizing Θ so that it maximizes p(w |c)

U.S. Constitution

U.S. Government

U.S. Laws

U.S. Courts

Validation with 1000 Human Written Summaries

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

LSA Luhn TextRank TextRank NN 1K NN 120K

Nor

mal

ized

Sim

ilarit

y!

Sumy scikit-learn word2vec

Andrew Koo

Recommended