Using the TEI framework as a possible serialization for LMF

Slides:



Advertisements
Similar presentations
OLIF V2 Gr. Thurmair April OLIF April 2000 OLIF: Overview Rationale Principles Entries Descriptions Header Examples Status.
Advertisements

Using OLIF, The Open Lexicon Interchange Format Susan McCormick OLIF2 Consortium October 1, 2004.
LIFTing LEGO with RELISH: Lexicon Interchange FormaT in Use Helen Aristar-Dry Institute for Language Information and Technology Eastern Michigan U.
ISO DSDL ISO – Document Schema Definition Languages (DSDL) Martin Bryan Convenor, JTC1/SC18 WG1.
Data models and the (blind ?) query of lexical resources Laurent Romary Inria & HUB Work in progress.
Representing dictionaries with the TEI Proposal for basic guidelines Laurent Romary - Max Planck Digital Library With the help of Susanne Alt - CNRS.
MLIF: A Metamodel to Represent and Exchange Multilingual Textual Information ISO TC37 SC4 WG Samuel Cruz-Lara, Gil Francopoulo, Laurent Romary,
Uncovering the TEI and ODD A pedagogical strip-tease Laurent Romary - Max Planck Digital Library.
EAGLES/ISLE Workshop LREC 2000 Athens, Greece The XML Framework Its Implications for Corpus Access and Use Nancy Ide Department of Computer Science Vassar.
Esri UC 2014 | Technical Workshop | Leveraging Metadata Standards for Supporting Interoperability in ArcGIS Aleta Vienneau, David Danko.
Ontology-based Access Ontology-based Access to Digital Libraries Sonia Bergamaschi University of Modena and Reggio Emilia Modena Italy Fausto Rabitti.
18 June, 2013 Katrin Heinze, Bundesbank CEN/WS XBRL CWA1: European Filing Rules Data Point Meta Model Data Point Methodology Guidance European Taxonomy.
TMF - a tutorial TMF - Terminological Markup Framework Laurent Romary - Laboratoire Loria.
Metadata Standards and Applications 4. Metadata Syntaxes and Containers.
Aurora: A Conceptual Model for Web-content Adaptation to Support the Universal Accessibility of Web-based Services Anita W. Huang, Neel Sundaresan Presented.
Provo, 16 Aug 2007 LMF meeting 1 Lexical Markup Framework: ISO Provo meeting Gil Francopoulo.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Towards Translating between XML and WSML based on mappings between.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
XML CPSC 315 – Programming Studio Fall 2008 Project 3, Lecture 1.
Using the TEI framework as a possible serialization for LMF Laurent Romary INRIA & HUB-IDSL
Experiments with ODD outside the TEI framework Laurent Romary & Piotr Banski The ISO-TEI connection.
XML BIS4430 – unit 10. XML Origins Extensible Markup Language (XML) 1998 Inspired by Standard Generalized Markup Language (SGML) and HTML. SGML defines.
TEXT ENCODING INITIATIVE (TEI) Inf 384C Block II, Module C.
Sheet 1XML Technology in E-Commerce 2001Lecture 1 XML Technology in E-Commerce Lecture 1 WWW, HTML, CSS, XML, Meta-modeling.
November 1, 2006IU DLP Brown Bag : Fall Data Integrity and Document- centric XML Using Schematron for Managing Text Collections Dazhi Jiao, Tamara.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
TEI and Scholarly publishing Laurent Romary INRIA & HUB-ISDL TEI council, chair.
Development Process and Testing Tools for Content Standards OASIS Symposium: The Meaning of Interoperability May 9, 2006 Simon Frechette, NIST.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
LEXUS a flexible web based lexicon tool LEXUS a flexible web based lexicon tool, august 21 th, 2005 Marc Kemps-Snijders Peter Wittenburg
Sheet 1XML Technology in E-Commerce 2001Lecture 2 XML Technology in E-Commerce Lecture 2 Logical and Physical Structure, Validity, DTD, XML Schema.
TEI council report Business as usual or le calme avant la tempête… Laurent Romary, INRIA Gemo & Humbodt Univ. IDSL.
TMF - Terminological Markup Framework Laurent Romary Laboratoire LORIA (CNRS, INRIA, Universités de Nancy) ISO meeting London, 14 August 2000.
ISO CD Editorial and technical comments. Contact Mailing list Subject: sub FirstName LastName.
Standards for digital encoding Tomaž Erjavec Karl-Franzens-Universität Graz Tomaž Erjavec Lecture 2: TEI.
Towards a roadmap for standardization in language technology Laurent Romary & Nancy Ide Loria-INRIA — Vassar College.
Basics of Web Based Computing. The Architecture The user’s system A Web Server What’s inside? Server software Apache or other Resources to be accessible.
Creating & Testing CLARIN Metadata Components A CLARIN-NL project Folkert de Vriend Meertens Institute, Amsterdam 18/05/2010.
SemAF – Basics: Semantic annotation framework Harry Bunt Tilburg University isa -6 Joint ISO - ACL/SIGSEM workshop Oxford, January 2011 TC 37/SC.
Using DSDL plus annotations for Netconf (+) data modeling Rohan Mahy draft-mahy-canmod-dsdl-01.
Describing resources II: Dublin Core CERN-UNESCO School on Digital Libraries Rabat, Nov 22-26, 2010 Annette Holtkamp CERN.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 7 Representing Web Data:
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
Geospatial metadata Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Slide 1 Wolfram Höpken RMSIG Reference Model Special Interest Group Wolfram Höpken IFITT RMSIG.
ISOcat introduction 10 May /20111CLARIN-NL ISOcat workshop.
Models and standards for onomasiological and semasiological lexical data Laurent Romary Inria & BBAW & DARIAH COST ENEL meeting 31 March 2016.
Implementing the TEI Feature System Declaration Gary F. Simons SIL International ___________________________ TEI Members Meeting 11 Oct 2002, Chicago.
Engineering, 7th edition. Chapter 8 Slide 1 System models.
1. Intro and XML Rules Spring Summer 2010 Marcus Bingenheimer TEI Workshop.
Extensible Markup Language (XML) Pat Morin COMP 2405.
A report by Olaf-Michael Stefanov to the JIAMCATT community
The Semantic Web By: Maulik Parikh.
Unit 4 Representing Web Data: XML
SysML v2 Formalism: Requirements & Benefits
Information Delivery Manuals: Functional Parts
Improving Braille accessibility and personalization on Internet
DATA MODELS.
Introduction to XHTML.
A year in the life of the council
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
Markup Languages Gilok Choi 9/17/2018
Chapter 7 Representing Web Data: XML
Chapter 2 Database Environment Pearson Education © 2009.
XML Data Introduction, Well-formed XML.
XML Problems and Solutions
Java Workflow Tooling (JWT) Release review: JWT v0
CSE591: Data Mining by H. Liu
Chapter 2 Database Environment Pearson Education © 2009.
Chapter 2 Database Environment Pearson Education © 2009.
Presentation transcript:

Using the TEI framework as a possible serialization for LMF Laurent Romary, INRIA & HUB-IDSL laurent.romary@inria.fr RELISH workshop, Aug 4-5, 2010; Nijmegen

Executive summary Issue: identifying an “appropriate” serialization for LMF Serialization: mapping a lexical model onto a concrete (computer) representation (field based, XML, etc.) Wide consensus, maintenance, flexibility, cohesion with other standardization activities The TEI is an ideal basis for defining standardized XML formats for lexical data TEI as an infrastructure Customization facilities: ODD, classes, pointing mechanisms, etc. TEI as a reference vocabulary Print dictionary chapter (PD) TEI as an application of LMF Workplan proposal Defining the ideal LMF compliant subset of the TEI PD chapter Suggesting extensions to the PD chapter Convergence… Contribution to making ISO and TEI work closer together

The TEI at a glance Started in 1987 Organized as a consortium: 5 hosts, board, council Edition P5 of the guidelines: more than 500 elements covering various text genres and structures Genericity: header, text structure, pointing mechanisms, paragraph level elements, surface entities Precise and flexible documentation Maintenance: 2 releases per year Wide community of users: default format for most text-based projects worldwide Cf. papers from Przepiorkowski, or Erjavec at LREC And yes, it is XML based… e.g. preconfigured in Oxygen

Intermezzo — an XML tutorial XML is about awful angle brackets (serialization) <gramGrp> <gen>f</gen> <num>p</num> </gramGrp> XML is about beautiful trees (model) Issues Specifying structures Providing semantics

Basic concepts of the TEI technical platforms A specification language ODD (One Document Does it all) Literate programming (Knuth) Generation of both schemas and documentation DTD, RelaxNG, W3C scemas HTML, pdf, ePub, docx Provides extended customization facilities <equiv> Natural link with ISOCat Modules Each schema specification is a combination of internal or external modules E.g. ISO-TEI Feature-Structure module Classes (shared behaviours or semantics) Model classes Attribute classes

From ODD to documentation http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-gen.html

TEI and “dictionaries” The TEI Print Dictionary (PD) chapter Initially designed by N. Ide and J. Veronis Accounts for both presentational and editorial (“content”) issues Cf. <entry>, <entryFree>, … and <dictScrap> Based on a hierarchical abstract model (cristals) <form>: for characterising the othographic or phonetic form of the word <orth>, <pron>, etc. <gramGrp>: grammatical features May characterize an entry, a specific form or a specific sense <pos>, <gen>, generic <gram> feature <sense>: iterative and recursive May contains definitions, examples, etymological information, translations, etc. Main characteristic (drawback?): +very+ flexible

Examples <entry> <form>一乘顯性教</form> <sense>One of the five divisions made by 圭峰 Guifeng of the Huayan 華嚴 or Avataṃsaka School; v. 五教.</sense> </entry> <entry> <form>眾生不可思議</form> <sense> <usg type="dom">術語</usg> <def>四事不可思議之一。見不可思議條。</def> <xr>不可思議</xr> </sense> </entry> Source: http://buddhistinformatics.ddbc.edu.tw/glossaries/; thanks to Marcus Bingenheimer

Examples – cont. <entry> <form type="lemma"> <orth>chat</orth> </form> <gramGrp> <pos>noun</pos> <gen>masculine</gen> </gramGrp> <form type="inflected"> <orth>chat</orth> <gramGrp> <number>singular</number> </gramGrp> </form> <form type="inflected"> <orth>chats</orth> <gramGrp> <number>plural</number> </gramGrp> </form> </entry>

Customizing an entry <entry> <form> <orth>table</orth> </form> <gramGrp> <pos>n.</pos> <gen>f.</gen> <def>Pièce de mobilier…</def> <cit> <quote>Une table de cuisine</quote> </cit> </entry> Selecting content <pos>,<gen>, <num>, <tense> Constraining content f., f, fem, feminin, feminine,… Adding content e.g.: <transitivity> Issues: definition of grammatical information (classes), definition of gen, constraining the values => customization, what about semantics,

Illustrating classes: tei.gramInfo Grammatical information in a dictionary entry E.g.: <entry> <form> <orth>luire</orth> </form> <gramGrp> <pos>verb</pos> <subc>intransitive</subc> </gramGrp> </entry> Rather homogeneous set of elements <pos>, <gen>, <number>, <case>, etc. May also appear in <form>

Overall picture <gramGrp> tei.gramInfo <pos>

Declaring the class: tei.gramInfo <classSpec xmlns="http://www.tei-c.org/ns/1.0" module="dictionaries-decl" id="GRAMINFO" type="model" ident="tei.gramInfo"> <gloss>grammatical information</gloss> <desc>groups those elements allowed within a <gi>gramGrp</gi> element in a dictionary.</desc> </classSpec>

<pos> belongs to tei.gramInfo <elementSpec module="dictionaries" id="POS" ident="pos"> <gloss>part of speech</gloss> <desc>indicates the part of speech assigned to a dictionary headword (noun, verb, adjective, etc.)</desc> <classes> <memberOf key="tei.dictionaryParts"/> <memberOf key="tei.gramInfo"/> <memberOf key="tei.dictionaries"/> </classes> <content> … </content> <exemplum> … </exemplum> </elementSpec>

Content model for <gramGrp> <elementSpec module="dictionaries" id="GRAMGRP" ident="gramGrp"> <gloss>grammatical information group</gloss> <content> <rng:zeroOrMore xmlns:rng="http://relaxng.org/ns/structure/1.0"> <rng:choice> <rng:text/> <rng:ref name="tei.phrase"/> <rng:ref name="tei.inter"/> <rng:ref name="tei.gramInfo"/> <rng:ref name="tei.Incl"/> </rng:choice> </rng:zeroOrMore> </content> … </elementSpec>

LMF at a glance LMF – Lexical Markup Framework Technical content ISO standard 24613 (published Oct. 2008) Edited within ISO committee TC 37/SC 4 Technical content Focus on provided a core meta-model with extensions Potentially agnostic with regards serialisation Isomorphism => interoperability Default syntax to exemplify its possible use, room for improvement… Can the TEI be seen as a conformant implementation of LMF?

LMF architecture — playing Lego Lexical extensions extension Lexical DB 1..1 Global Info Lexical Entry 0..n 1..1 1..1 Form Sense 0..n 1..1 Lexical extension for morphology Lexical Entry Lexical Entry 1..1 1..1 Lexical extensions 1..1 1..1 Morphology Morphology 0..1 Paradigm 1..1 Flexion 0..n Seite 17

Example: designing a full-form lexicon Lexical DB Entry 0..n 1..1 Global Info Morphology 1..1 Paradigm 0..1 Inflexion 0..n Seite 18

Decorating the model /lemma/ /part of speech/ Global Info /word form/ Lexical DB Entry 0..n 1..1 Morphology Paradigm 0..1 Inflexion 1..1 /lemma/ /part of speech/ 1..1 Global Info /word form/ /gender/ /number/ /tense/ … /paradigmId/ … Seite 19

Why is the TEI a good idea for serialising LMF? Basic structure already defined Provision of additional tags Surface annotation (e.g. names, dates, abbreviations, alternatives) Cf <equiv> equivalences to ISOCat when needed Integration of lexical data in a textual macro-structure Creating an edited version of a lexica Grammar books, teaching material, scientific papers Interoperability with other lexical sources Community of users: sharing a common culture of TEI tags rather than constantly worrying about mappings Sharing tools: e.g. stylesheets, editors, etc. (cf. Roma) Note: continuity between dictionary and lexical sources

A typical entry <entry> <form> <orth>demigod</orth> <pron>...</pron> </form> <gramGrp <pos>n</pos> </gramGrp> <sense n='1'> <sense n='a'> <def>a being who is part mortal, part god</def> </sense> <sense n='b'> <def>a lesser deity</def> <sense n='2'> <def>a godlike person</def> </entry>

Identifying the meta-model components Lexical DB Lexical entry 0..n 1..1 Global Info Morphology 1..1 Form Sense 0..n <entry> <form> <gramGrp> <sense>

Data categories Global Info Sense Lexical DB Lexical entry Morphology 1..1 Global Info Morphology 1..1 Form Sense 0..n /part of speech/ (<pos>) /inflexional class/ (<itype>) /gender/ (<gen>) /number/ (<number>) /case/ (<case>) /person/ (<per>) /tense/ (<tns>) /mood/ (<mood>) /orthography/ (<orth> ) /pronunciation/ (<pron> ) /hyphenization/ (<hyph> ) /syllabification/ (<syll>) /stress pattern/ (<stress> ) /definition/ (<def>) /example/ (<eg>) /usage/ (<usg>) /etymology/ (<etym>)

Customizing the TEI lexical model Constraining the TEI model Sub-setting the TEI default dictionary module Providing additional rules (XSLT, Schematron) Constraining possible values Complementing the TEI model Defining additional data categories Defining missing LMF extensions as TEI components Make use of the class mechanisms A natural implementation of the LMF extension mechanisms

Towards a joint ISO-TEI activity Contributing to convergence, with a pragmatic prespective Benefiting from advantages of both sides TEI reactivity and community support ISO stability and international validation LMF serialization seen as A subset of the TEI when equivalent construct exist An extension of the TEI for missing constructs (e.g. syntax) Some concrete work on the table… Aside activities: specifying LL-LIF in ODD Reference L. Romary, “Standardization of the formal representation of lexical information for NLP” http://hal.archives-ouvertes.fr/hal-00436328/fr/