Human Language Technology for the Semantic Web gate.ac.uk/ nlp.shef.ac.uk
GATE, a General Architecture for Text Engineering gate.ac.uk
description
Transcript of GATE, a General Architecture for Text Engineering gate.ac.uk
![Page 1: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/1.jpg)
GATE, a General Architecture for Text Engineering
http://gate.ac.uk/
Hamish Cunningham, Kalina Bontcheva, Valentin Tablan, Diana Maynard, Yorick Wilks
Department of Computer Science, University of Sheffield
UMISTFriday November 29th 2002
![Page 2: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/2.jpg)
2/29
Motivation for Software Infrastructure for Language Engineering
• Need for scalable, reusable, and portable HLT solutions
• Support for large data, in multiple media, languages, formats, and locations
• Lowering the cost of creation of new language processing components
• Promoting quantitative evaluation metrics via tools and a level playing field
![Page 3: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/3.jpg)
3/29
Motivation (II): software lifecycle in collaborative research
Project Proposal: We love each other. We can work so well together. We can hold workshops on Santorini together. We will solve all the problems of AI that our predecessors were too stupid to.
Analysis and Design: Stop work entirely, for a period of reflection and recuperation following the stress of attending the kick-off meeting in Luxembourg.
Implementation: Each developer partner tries to convince the others that program X that they just happen to have lying around on a dusty disk-drive meets the project objectives exactly and should form the centrepiece of the demonstrator.
Integration and Testing: The lead partner gets desperate and decides to hard-code the results for a small set of examples into the demonstrator, and have a fail-safe crash facility for unknown input ("well, you know, it's still a prototype...").
Evaluation: Everyone says how nice it is, how it solves all sorts of terribly hard problems, and how if we had another grant we could go on to transform information processing the World over (or at least the European business travel industry).
![Page 4: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/4.jpg)
4/29
GATE, a General Architecture for Text Engineering• An architectureA macro-level organisational picture for LE software systems. • A frameworkFor programmers, GATE is an object-oriented class library that implements the architecture. • A development environmentFor language engineers, computational linguists et al, GATE is a graphical development environment bundled with a set of tools for doing e.g. Information Extraction. • Some free components... ...and wrappers for other people's components • Tools for: evaluation; visualise/edit; persistence; IR; IE; dialogue; ontologies; etc.• Free software (LGPL). Download at http://gate.ac.uk/download/
![Page 5: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/5.jpg)
5/29
Architectural principles• Non-prescriptive, theory neutral (strength and weakness) • Re-use, interoperation, not reimplementation (e.g. diverse XML support, integration of tools like Protégé, Jena and Weka) • (Almost) everything is a component, and component sets are user-extendable
Component-based development• An OO way of chunking software: Java Beans • GATE components: CREOLE = modified Java Beans (Collection of REusable Objects for Language Engineering) • The minimal component = 10 lines of Java, 10 lines of XML, 1 URL.
![Page 6: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/6.jpg)
6/29
GATE Language ResourcesGATE LRs are documents, ontologies, corpora, lexicons, ……
Documents / corpora:• GATE documents loaded from local files or the web... • Diverse document formats: text, html, XML, email, RTF, SGML.
Processing ResourcresAlgorithmic components knows as PRs – beans with execute methods.• All PRs can handle Unicode data by default. • Clear distinction between code and data (simple repurposing).• 20-30 freebies with GATE• e.g. Named entity recognition; WordNet; Protégé; Ontology; OntoGazetteer; DAML+OIL export; Information Retrieval based on Lucene
![Page 7: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/7.jpg)
7/29
Vis
ual R
esou
rces
![Page 8: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/8.jpg)
8/29
Displaying Coreference Information
![Page 9: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/9.jpg)
9/29
Displaying Syntactic Information
![Page 10: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/10.jpg)
10/29
Lexicon Support – WordNet example
![Page 11: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/11.jpg)
11/29
Relational Database
…
GA
TE Format H
andlers
HTMLdocs
RTFdocs
XMLdocs
Named entity
Core-ference
…
ANNIE
POS tagger
Named entity
Eventextraction…
Custom application 1
…Document content
Document metadata
Document format data
Linguistic data
File storage
…
Oracle/PostgresQL
A Language AnalysisExample
![Page 12: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/12.jpg)
12/29
Building IE Components in GATE (1)The ANNIE system – a reusable and easily extendable set of components
![Page 13: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/13.jpg)
13/29
Building IE Components in GATE (2)
JAPE: a Java Annotation Patterns Engine • Light, robust regular-expression-based processing • Cascaded finite state transduction • Low-overhead development of new components
Rule: Company1 Priority: 25 ( ( {Token.orthography == upperInitial} )+ {Lookup.kind == companyDesignator} ):companyMatch --> :companyMatch.NamedEntity = { kind = company, rule = “Company1” }
![Page 14: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/14.jpg)
14/29
Performance Evaluation• At document level – annotation diff
• At corpus level – corpus benchmark tool – tracking system’s performance over time
![Page 15: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/15.jpg)
15/29
Regression Testing – Corpus Benchmark Tool
![Page 16: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/16.jpg)
16/29
GATE is being used for development of (semi-)automatic methods for:
• linking web pages to Ontologies using Information Extraction;
• learning and evolving Ontologies via IE and lexical semantic network traversal.
The Semantic Web and GATE
![Page 17: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/17.jpg)
17/29
Populating Ontologies with IE
![Page 18: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/18.jpg)
18/29
Protégé and Ontology Management
![Page 19: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/19.jpg)
19/29
Information Retrieval SupportBased on the Lucene IR engine
![Page 20: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/20.jpg)
20/29
GATE Unicode Kit (GUK) Java provides no special support for text input (this may change)
• Support for defining additional Input Methods (IMs)
• currently 30 IMs for 17 languages
• Pluggable in other applications
Editing Multilingual Data
![Page 21: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/21.jpg)
21/29
Processing Multilingual DataAll the visualisation and editing tools for ML LRs use enhanced Java facilities:
![Page 22: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/22.jpg)
22/29
Dialogue Systems
• GATE is being used in the Amities project for automating call centres• Creation of dialogue processing server components to run in the Galaxy Communicator architecture• Easy adaptation of the portable IE components to work on noisy ASR output • Robustness and speed of GATE components vital for real-time dialogue systems
![Page 23: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/23.jpg)
23/29
ApplicationsGATE has been used for a variety of applications, including:
• MUMIS: automatic creation of semantic indexes for multimedia programme material • MUSE: a multi-genre IE system• EMILLE: a 70 million word corpus of Indic languages• Metadata for Medline (at Merck) • ACE: participation in the Automatic Content Extraction programme • HSE: summarisation of health and safety information from company reports • OldBaileyIE: NE recognition on 17th century Old Bailey Court reports. • AKT: language technology in knowledge management• AMITIES: call centre automation •Various Medical Informatics and database technology projects • IE in Romanian, Bulgarian, Greek, Bengali, Spanish, Swedish, German, Italian, and French (Arabic, Chinese and Russian next year)
![Page 24: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/24.jpg)
24/29
Some users…At time of writing a representative fraction of GATE users
includes: • Longman Pearson publishing, UK; • Merck KgAa, Germany; • Canon Europe, UK; • Knight Ridder (the second biggest US news publisher); • BBN;• Sirma AI Ltd., Bulgaria; • the American National Corpus project, US; • Imperial College, London, the University of Manchester,
the University of Karlsruhe, Vassar College, the University of Southern California and a large number of other UK, US and EU Universities;
• the Perseus Digital Library project, Tufts University, US.
![Page 25: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/25.jpg)
25/29
The MUMIS project
• Multimedia Indexing and Searching Environment • Composite index of a multimedia programme
from multiple sources in different languages• ASR, video processing, information extraction
(Dutch, English, German), merging, user interface• University of Twente/CTIT, University of Sheffield,
University of Nijmegen, DFKI, MPI, ESTEAM AB, VDA• Yorick Wilks, Hamish Cunningham, Horacio Saggion,
Kalina Bontcheva, Diana Maynard, Oana Hamza, Cristian Ursu
![Page 26: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/26.jpg)
26/29
The Whole Picture
EN
DE FormalText
FormalText
FormalTextFormal
TextFormal
TextFormal
TextFormalText
FormalText
FormalTextText
Sources
IE
IE
IE
NL
FormalText
FormalText
FormalTextFormalText
FormalText
FormalTextFormalText
FormalText
FormalText
Transcriptions
ASR
Formal
Text
Formal
Text
Formal
Text
Formal
Text
Formal
Text
Formal
Text
Formal
Text
Formal
Text
Formal
Text
Formal
Text
Formal
Text
SpeechSignals
Merging Final Annotations
Formal
TextForma
lText
Formal
Text
Anno-tations
MultimediaData Base
Video & AudioSignal
UserInterface
Query
Results
Ontology & Lexicon
![Page 27: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/27.jpg)
27/29
User Interface
![Page 28: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/28.jpg)
28/29
Play
![Page 29: GATE, a General Architecture for Text Engineering gate.ac.uk](https://reader035.fdocuments.us/reader035/viewer/2022062811/56816163550346895dd0ee1e/html5/thumbnails/29.jpg)
29/29
Conclusion
GATE: an infrastructure that lowers the overhead of creating & embedding robust NLP components
Further information: http://gate.ac.uk/
• Online demos, tutorials and documentation• Software downloads• Talks and papers