Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using XSL and XQL For Efficient, Customised Access To Dictionary Information Kevin Jansz Department of Linguistics, University.

Similar presentations


Presentation on theme: "Using XSL and XQL For Efficient, Customised Access To Dictionary Information Kevin Jansz Department of Linguistics, University."— Presentation transcript:

1 Using XSL and XQL For Efficient, Customised Access To Dictionary Information Kevin Jansz kjansz@sultry.arts.usyd.edu.au Department of Linguistics, University of Sydney, Australia Jim Sng Wee School of Applied Science, Nanyang Technological University, Singapore Christopher Manning Departments of Computer Science and Linguistics, Stanford University, USA Nitin Indurkhya School of Applied Science, Nanyang Technological University, Singapore

2 Objectives n Provide innovative ways for representing a dictionary, through creative use of web technology n Provide practical, educationally useful access to information that can be customised to suit the needs of many users (at low labour cost) n Examine the richness of lexical structure Initial target: the Warlpiri dictionary.

3 Research Program: Lexicon n A language is more than individual words with a definition –it is a vast network of associations between words and within and across the concepts represented by words n Aim to provide people with a better understanding of this conceptual map. n Traditional paper dictionaries offer very limited ways for making such networks visible n There are no such limitations on a computer

4 Research: Computational Lexicography n Dictionaries on computers are now commonplace –Few utilise the potential of the new medium –Many present a plain, search-oriented representation of the paper version n Goal: fun dictionary tools that are effective for language learning, browsing –Like flicking through pages of a paper dictionary –Words are grouped by their meaning and their association with each other –Key to the effectiveness of this browsing is that the user has control over the way this is presented.

5 Initial focus: Warlpiri n Warlpiri is an Australian Aboriginal language spoken in the Tanami desert (NW of Alice) n There are a number of factors influencing this choice: –One of the most comprehensive lexical databases for any Australian Language (Laughren & Nash 1983) –Relatively large community of people interested in learning their traditional language –Until now, results havent been produced in a format usable by the community (only raw printouts)

6 Target user community

7 Kirrkirr: A Warlpiri dictionary browser (Jansz 1998; Jansz, Manning and Indurkhya 1999) n An environment for the interactive exploration of dictionaries. n Current work has just been with Warlpiri, the design is general (Arrernte coming soon!) n Attempts to more fully utilise graphical interfaces, hypertext, multimedia, and different ways of indexing and accessing information n It can either be run over the web [high bandwidth] or run locally (here Javas main advantage is cross- platform support).

8 Overview n Animated Graph layout of word relationships

9 Overview n Graph layout n Formatted entries

10 Overview n Graph layout n Formatted entries n A Notes facility for jotting in the margin

11 Overview n Graph layout n Formatted entries n Notes n Multimedia: audio, pictures

12 Overview n Graph layout n Formatted entries n Notes n Multimedia n Advanced searching interfaces

13 Overview n Graph layout n Formatted entries n Notes n Multimedia n Advanced searching n Semantic Domain Browsing

14 Overview n Graph layout n Formatted entries n Notes n Multimedia n Advanced searching n Semantic Domain Browsing n Others in planning: formatting (XSL) editing, figuration patterns. n These attempt to cater to users with different interests and competence levels

15 The lexical database n Original materials stored in an ad hoc format of markup using backslash codes with some (rather odd) nesting of structural tags n These were converted to XML using an error- correcting stack-based parser (written in PERL). –The inconsistency and flexibility of dictionary entries actually made this a surprisingly difficult task. –But parser tries to impose data integrity n Use of XML gives a clear structure to the lexical data, and makes available many (free) tools n Result remains a portable, tangible text file

16 XML indexing - challenges n Few XML parsers make single entries retrievable from the file n Typically, the entire XML document is put in memory n This is not practical when parsing significant XML databases (e.g., the Warlpiri dictionary is approx. 10Mb).

17 XML Dictionary Indexing (XDI) n Hierarchical structure of XML lends itself to indexing –Each entry in the XML file can be considered as a separate entity n To make the Warlpiri dictionary usable for Kirrkirr an ad hoc indexing system was developed –Uses a slightly modified Ælfred XML parser –Entries indexed by headword in a separate index file n The system returns an XML document object containing the single dictionary entry, facilitating: –processing for related words (Graph layout) –XSL processing to HTML

18 ......... headword file position XML Formatted Warlpiri dictionary file Index in Memory Across file system or web Kirrkirrs XML Index Process Kirrkirr Dictionary Browser XML Parser XML Document Object XSL file + XSL Processor HTML document

19 XDI in Kirrkirr n The XML indexing process considerably improves efficiency as only requested entries are parsed n Parsed entires are kept temporarily in a cache n Thus Kirrkirr uses XML as a median between the structure and indexing of a relational database, with the freedom and functionality of text.

20 XQL - Potential n An alternative to investigate for the future is using a standard query language – such as XQL – to get material out of the XML dictionary, rather than using our ad hoc index. n At the moment not a huge issue since most retrieval is focussed on components of a particular word

21 XQL - Optimizations n Revamp data structure – reduce redundancy, amount to load at start-up n PDOM (Persistent Document Object Model) – represents XML document as a collection of objects in a tree like model n XQL (Extensible Query Language) – query language for XML – e.g. /DICTIONARY/ENTRY[9] –DICTIONARY/ENTRY[HW='jaja']

22 Performance - Startup time n Impact on Startup time.

23 Customised Presentation of Dictionary Content n Produced dynamically from the XML by using XSL (via James Clarks XT) n XSL allows easy modelling of some user preferences. n This is useful as many users find information overload quite confusing and demotivating n Can produce bilingual or monolingual dictionary n Opportunities for various output styles, and formats such as RTF or TeX for printing.

24 Performance - XSL Presentation n Creates minimal load on the application n Requires file creation permission for the applet n Takes load off file system (no need for 9000+ pre- generated files) n Gives the user the opportunity to customise the formatting.

25 Conclusions n While we have focused our research on Warlpiri, the system can be easily applied to other languages n The Key to the effectiveness of the browsing interfaces is that the user has the ability to customise their functionality due to the flexibility of the XML & Kirrkirr technology n Throughout this research, the educational interests of the user have been the highest priority. n Hope to better understand the usefulness & practicality of innovative dictionary browsing environments.

26 Links Kirrkirr homepage: http://www.sultry.arts.usyd.edu.au/kirrkirr

27 Using XSL and XQL For Efficient, Customised Access To Dictionary Information Kevin Jansz kjansz@sultry.arts.usyd.edu.au Department of Linguistics, University of Sydney, Australia Jim Sng Wee School of Applied Science, Nanyang Technological University, Singapore Christopher Manning Departments of Computer Science and Linguistics, Stanford University, USA Nitin Indurkhya School of Applied Science, Nanyang Technological University, Singapore


Download ppt "Using XSL and XQL For Efficient, Customised Access To Dictionary Information Kevin Jansz Department of Linguistics, University."

Similar presentations


Ads by Google