Presentation is loading. Please wait.

Presentation is loading. Please wait.

©2003 Paula Matuszek CSC 9010: Information Extraction Dr. Paula Matuszek (610) 270-6851 Fall, 2003.

Similar presentations


Presentation on theme: "©2003 Paula Matuszek CSC 9010: Information Extraction Dr. Paula Matuszek (610) 270-6851 Fall, 2003."— Presentation transcript:

1 ©2003 Paula Matuszek CSC 9010: Information Extraction Dr. Paula Matuszek Paula_A_Matuszek@glaxosmithkline.com (610) 270-6851 Fall, 2003

2 ©2003 Paula Matuszek Information Extraction Overview l Given a body of text: extract from it some well-defined set of information l MUC conferences l Typically draws heavily on NLP l Three main components: –Domain knowledge base –Knowledge model –Extraction Engine

3 ©2003 Paula Matuszek Information Extraction Domain Knowledge Base l Terms: enumerated list of strings which are all members of some class. –“January”, “February” –“Smith”, “Wong”, “Martinez”, “Matuszek” –“”lysine”, “alanine”, “cysteine” l Classes: general categories of terms –Monthnames, Last Names, Amino acids –Capitalized nouns –Verb Phrases

4 ©2003 Paula Matuszek Domain Knowledge Base l Rules: LHS, RHS, salience l Left Hand Side (LHS): a pattern to be matched, written as relationships among terms and classes l Right Hand Side (RHS): an action to be taken when the pattern is found l Salience: priority of this rule (weight, strength, confidence)

5 ©2003 Paula Matuszek Some Rule Examples: l => l => print “Birthdate”,, l => create address database record l “/” “/” => create date database record (50) l “/” “/” => create date database record (60) l “.” => l => create “relationship” database record

6 ©2003 Paula Matuszek Generic KB l Generic KB: KB likely to be useful in many domains –names –dates –places –organizations l Almost all systems have one l Limited by cost of development: it takes about 200 rules to define dates reasonably well, for instance.

7 ©2003 Paula Matuszek Domain-specific KB l We mostly can’t afford to build a KB for the entire world. l However, most applications are fairly domain-specific. l Therefore we build domain-specific KBs which identify the kind of information we are interested in. –Protein-protein interactions –airline flights –terrorist activities

8 ©2003 Paula Matuszek Domain-specific KBs l Typically start with the generic KBs l Add terminology l Figure out what kinds of information you want to extract l Add rules to identify it l Test against documents which have been human-scored to determine precision and recall for individual items.

9 ©2003 Paula Matuszek Knowledge Model l We aren’t looking for documents, we are looking for information. What information? l Typically we have a knowledge model or schema which identifies the information components we want and their relationship l Typically looks very much like a DB schema or object definition

10 ©2003 Paula Matuszek Knowledge Model Examples l Personal records –Name –First name –Middle Initial –Last Name –Birthdate –Month –Day –Year –Address

11 ©2003 Paula Matuszek Knowledge Model Examples l Protein Inhibitors –Protein name (class?) –Compound name (class?) –Pointer to source –Cache of text –Offset into text

12 ©2003 Paula Matuszek Knowledge Model Examples l Airline Flight Record –Airline –Flight l Number l Origin l Destination l Date »Status »departure time »arrival time

13 ©2003 Paula Matuszek Extraction Engine l Tool which applies rules to text and extracts matches –Tokenizer (no stemming or stop words) –Part of Speech (POS) Tagger –Term and class tagger –Rule engine: match LHS, execute RHS l Rule engine is iterative l Rule conflict resolution –Salience –Packages

14 ©2003 Paula Matuszek Extraction Example: Birthdates l Problem: create a database of birthdays from text with birth information l Sample sentences: –George Washington was born in 1725. –Washington was born on Feb. 12, 1725. –Feb. 12 is Washington's birthday. –Washington's birth date is Feb. 12, 1725. –George Washington was born in America. –Washington's standard was born by his troops in 1778. Examples Negative Examples

15 ©2003 Paula Matuszek Birthdates: Knowledge Model l Simple birthdate model: –Name –Birthdate l Complex birthdate model: –Name– Date –First Name – Month –Middle Name – Day –Last Name – Year

16 ©2003 Paula Matuszek Birthdates Knowledge Base l Generic KB: Name, Date l Domain specific KB: Rules –1. "was born" {"in"|"on"} =>Insert (Name, Date) into database –2. "is" "birthday" =>Insert (Name, Date) into database –3. "birth" "date" "is" =>Insert (Name, Date) into database

17 ©2003 Paula Matuszek Birthdays: Extraction Process Washington was born in 1725 l Tokenize: –"Washington" –"was" –"born" –"in" –"1725" –"."

18 ©2003 Paula Matuszek Extraction, POS Tagging l "Washington", noun, proper noun, subject l "was": auxiliary verb, past tense, third person singular (3PS) l "born": verb, past tense, 3PS l "was born": verb phrase, passive l "in": preposition l "1725": prepositional object l "in 1725" prepositional phrase

19 ©2003 Paula Matuszek Extraction, Class Tagging l "Washington": Last Name l "was": nothing additional l "born": nothing additional l "in": nothing additional l "1725": Year

20 ©2003 Paula Matuszek Extraction: Rules l Name Rules: –"Washington": Name l Date Rules: –"1725": Date l Birthday Rule # 1: –Insert (Washington, 1725) into database

21 ©2003 Paula Matuszek Summary l Text mining below the document level l NOT typically interactive, because it’s slow (1 to 100 meg of text/hr) l Typically builds up a DB of information which can then be queried l Uses a combination of term- and rule- driven analysis and Natural Language Processing parsing.


Download ppt "©2003 Paula Matuszek CSC 9010: Information Extraction Dr. Paula Matuszek (610) 270-6851 Fall, 2003."

Similar presentations


Ads by Google