Docsity

Information Extraction from Text: Natural Disasters and John Cleese's Movie Characters, Exams of Computer Science

Toggle sidebar
bg1
CS674 Natural Language
Processing
•Introduction to Information Extraction
– Task definition
– Evaluation
– IE system architecture
Monty Python & The Holy Grail
Information needs
•What was the name of the enchanter played by
John Cleese in the movie “Monty Python and the
Holy Grail”?
– Ad-hoc IR / Google search
– Question answering systems
•Describe each character, including the actor who
played him or her, in every movie starring John
Cleese.
Information extraction need
motion-picture
title:
date:
plot:
characters:
…
movie-role
actor:
character:
description:
Describe each character, including the actor who played
him or her, in every movie starring John Cleese.
pf3
pf4
pf5

Partial preview of the text

Download Information Extraction from Text: Natural Disasters and John Cleese's Movie Characters and more Exams Computer Science in PDF only on Docsity!

CS674 Natural Language

Processing

•^

Introduction to Information Extraction^ – Task definition– Evaluation– IE system architecture

Monty Python & The Holy Grail

Information needs

•^

What was the name of the enchanter played byJohn Cleese in the movie “Monty Python and theHoly Grail”?^ – Ad-hoc IR / Google search– Question answering systems

-^

Describe each character, including the actor whoplayed him or her, in every movie starring JohnCleese.

Information extraction need

motion-picture title:date:plot:characters:

movie-role actor:character:description:…

Describe each character, including the actor who playedhim or her, in every movie starring John Cleese.

Information extraction

InformationExtraction

System

text collection

Who:


What: _____Where:_____When: _____How:_


Who:_


What: _____Where:_____When: _____How:


Who:


What: _____Where:_____When: _____How:_


IE system: natural disasters

Document no.: ABC19980530.1830.0342Date/time: 05/30/1998 18:35:42.

Disaster Type: earthquake

•location:

Afghanistan

•date:

today

•magnitude:

6.

•magnitude-confidence: high•epicenter:

a remote part of the country

•damage:

•human-effect:

•victim:

Thousands of people

•number:

Thousands

•outcome: dead•confidence: medium•confidence-marker:

feared

•physical-effect:

•object:

entire villages

•outcome: damaged•confidence: medium•confidence-marker:

Details now

hard to come by / reports say

PAKISTAN MAY BEPREPARING FOR ANOTHERTEST Thousands of people are feareddead following... (voice-over)...a powerful earthquake that hitAfghanistan today. The quakeregistered 6.9 on the Richterscale, centered in a remote partof the country. (on camera)Details now hard to come by,but reports say entire villageswere buried by the quake.

SAN SALVADOR, 15 JAN 90 (ACAN-EFE) -- [TEXT] ARMANDOCALDERON SOL, PRESIDENT OF THE NATIONALIST REPUBLICANALLIANCE (ARENA), THE RULING SALVADORAN PARTY, TODAYCALLED FOR AN INVESTIGATION INTO ANY POSSIBLE CONNECTIONBETWEEN THE

MILITARY PERSONNEL IMPLICATED IN THE

ASSASSINATION OF JESUIT PRIESTS

.

"IT IS SOMETHING SO HORRENDOUS, SO MONSTROUS, THAT WEMUST INVESTIGATE THE

POSSIBILITY THAT THE FMLN

(FARABUNDO MARTI NATIONAL LIBERATION FRONT) STAGEDTHIS ASSASSINATION

TO DISCREDIT THE GOVERNMENT,"

CALDERON SOL SAID.SALVADORAN PRESIDENT ALFREDO CRISTIANI

IMPLICATED FOUR

OFFICERS, INCLUDING ONE COLONEL, AND FIVE MEMBERS OFTHE ARMED FORCES IN THE ASSASSINATION OF SIX JESUITPRIESTS AND TWO WOMEN ON 16 NOVEMBER AT THE CENTRALAMERICAN UNIVERSITY.

IE system: terrorism

IE system: output

  1. DATE
  • 15 JAN 90
    1. LOCATION

EL SALVADOR:CENTRAL AMERICAN UNIVERSITY

  1. TYPE

MURDER

  1. STAGE OF EXECUTION

ACCOMPLISHED

  1. INCIDENT CATEGORY

TERRORIST ACT

  1. PERP: INDIVIDUAL ID

"FOUR OFFICERS""ONE COLONEL""FIVE MEMBERS OF THE ARMED FORCES"

  1. PERP: ORGANIZATION ID

"ARMED FORCES", "FMLN"

  1. PERP: CONFIDENCE

REPORTED AS FACT

  1. HUM TGT: DESCRIPTION

"JESUIT PRIESTS""WOMEN"

  1. HUM TGT: TYPE

CIVILIAN: "JESUIT PRIESTS"CIVILIAN: "WOMEN"

  1. HUM TGT: NUMBER

6: "JESUIT PRIESTS"2: "WOMEN"

  1. EFFECT OF INCIDENT

DEATH: "JESUIT PRIESTS"DEATH: "WOMEN"

Information extraction (IE)

•^

Identify specific pieces of information (data) in aunstructured or semi-structured textual document.

-^

Transform unstructured information in a corpus ofdocuments or web pages into a structured database.

-^

Applied to different types of text:– Newspaper articles– Web pages– Scientific articles– Newsgroup messages– Classified ads– Medical notes

Template slot types

•^

Slots in template typically filled by a

substring

from

the document.

-^

Some slots may have a

fixed set of pre-specified

possible fillers

that may not occur in the text itself.

  • Terrorist act:

threatened, attempted, accomplished.

  • Job type:

clerical, service, custodial, etc.

  • Company type: SEC code -^

Some slots may allow

multiple fillers

  • Programming language -^

Some domains may allow

multiple extracted

templates per document

  • Multiple apartment listings in one ad

Evaluating IE systems

•^

Evaluate performance on independent, manually-annotated test data not used during systemdevelopment.

-^

Compute average value of metrics adapted from IR:–

Recall

# correct extractions

/^

# extractions in gold

standard

Precision

# correct extractions

/^

# extractions by

system

F-Measure

= Harmonic mean of recall and precision

State of the art

Unrestricted text:65-70% R; 70-80% PSemi-structured text:90+% R/P

•^

terrorist activities

-^

business joint ventures

-^

microelectronic chip fabrication

-^

changes in corporate management

-^

natural disasters

-^

summarize medical patient records

-^

create job-listing databases from newsgroups

-^

bioinformatics

MUC[1991-94]ACE[1991-94]

IE vs. IR vs. full NLU

•^

IE requires more

text-understanding

capabilities than

the bag-of-words approaches provided by IRtechniques

-^

IE systems

often presume

that a

text categorization

system has identified documents relevant to theextraction domain

-^

IE requires

more than document classification

•^

IE requires a more

shallow understanding

of the text

than a natural language understanding systemattempting full/deep semantic analysis.

IR, TC < IE < NLP, NLU

•^

tension between

domain-independent

and

domain-

dependent

language processing

  • treating task in a domain-independent way allows the use of

general IR/NLP techniques and tools

  • treating task in a domain-dependent way allows for tailoring of

techniques for better performance

•^

IE is generally handled as

domain-specific text

understanding^ – key system components need to be re-built for each new

domain

  • difficult and time-consuming to build if constructed manually -^

Initially, ~6-12 months/system for IE from unstructured text

  • requires the expertise of computational linguists

Issues…

Machine learning methods

•^

acquire linguistic knowledge

by applying statistical

and symbolic learning methods; derive trainingexamples from the texts themselves

-^

automate

the construction of each IE system

component

-^

improve

robustness

of final systems while

maintaining (or at least approaching) the accuracies ofhandcrafted systems

Information extraction

•^

Introduction^ – Task definition– Evaluation– IE system architecture