Documentation for the NITE XML Toolkit

Total Page:16

File Type:pdf, Size:1020Kb

Documentation for the NITE XML Toolkit Documentation for the NITE XML Toolkit Document revisions 0.3 - 11 June 09 0.2 - 28 March 07 0.1 - 12 Jan 07 JEAN CARLETTA STEFAN EVERT JONATHAN KILGOUR CRAIG NICOL DENNIS REIDSMA JUDY ROBERTSON HOLGER VOORMANN Table of Contents 1. Drafts before v1.0...........................................................4 Orthography as Textual Content versus as an String 2. A Basic Introduction to the NITE XML Toolkit ................5 Attribute .................................................................31 3. Downloading and Using NXT .........................................6 Use of Namespaces ..............................................31 3.1. Prerequisites ..........................................................6 Division into Files for Storage ................................31 3.2. Getting Started.......................................................6 Skipping Layers .....................................................32 Sample Corpora ......................................................6 4.8. Data Builds...........................................................32 3.3. Setting the CLASSPATH .......................................7 Examples and explanation of format .....................32 3.4. How to Play Media signals in NXT.........................7 5. The NXT Query Language (NQL).................................34 3.5. Programmatic Controls for NXT.............................8 5.1. General structure of a simple query ....................34 3.6. Compiling from Source and Running the Test Declaration part .....................................................34 Suites ............................................................................9 Condition part ........................................................35 4. Data..............................................................................10 5.2. Property tests .......................................................36 4.1. The NITE Object Model .......................................11 Simple and functional property expressions ..........36 4.2. The NITE Data Set Model....................................12 Property existence tests ........................................37 4.3. Data Storage........................................................14 String and number comparisons using == , != , <= , < Namespacing ........................................................14 , > , and >= ............................................................37 Coding Files...........................................................14 Regular expression comparisons ..........................38 Links ......................................................................14 5.3. Comments............................................................38 Data And Signal File Naming ................................15 5.4. Structural relations ...............................................38 4.4. Metadata ..............................................................16 Identity ...................................................................38 Preliminaries..........................................................16 Dominance.............................................................38 Top-level corpus description..................................16 Precedence............................................................39 Reserved Elements and Attributes (optional) ........17 5.5. Temporal relations ...............................................39 CVS Details (optional, beta) ..................................19 5.6. Quantifier..............................................................40 Independent Variables on Observations ..............19 5.7. Query results........................................................40 Agents (optional) ...................................................19 5.8. Complex queries ..................................................41 Signals (optional)...................................................20 5.9. Known Problems ..................................................41 Corpus Resources (optional).................................21 Multiple observations and timings..........................42 Ontologies (optional) .............................................22 Search GUI and forall ............................................42 Object Sets (optional) ............................................22 Immediate Precedence..........................................42 Codings and Layers...............................................23 Arithmetic ..............................................................42 Callable Programs (optional) .................................25 Inability to handle namespacing ............................42 Observations .........................................................25 Speed and Memory Use ........................................42 4.5. Dependency Structures .......................................26 5.10. Helpful hints .......................................................43 Resource File Syntax ............................................26 5.11. Related documentation ......................................43 Behaviour ..............................................................27 6. Analysis ........................................................................45 Validation...............................................................28 6.1. Command line tools for data analysis ..................45 4.6. Data validation .....................................................28 Preliminaries ..........................................................45 Limitations in the validation process......................28 Common Arguments..............................................46 Preliminaries - setting up for schema validation ....29 SaveQueryResults.................................................46 The validation process...........................................29 CountQueryResults ...............................................46 4.7. Data Set Design...................................................30 MatchInContext......................................................47 Children versus Pointers .......................................30 NGramCalc: Calculating N-Gram Sequences ......47 Possible Tag Set Representations ........................30 FunctionQuery: Time ordered, tab-delimited output, with aggregate functions .......................................48 Table of Contents Indexing .................................................................49 The Observer.........................................................73 6.2. Projecting Images Of Annotations .......................50 Other Formats........................................................73 Notes .....................................................................51 8.4. Exporting Data from NXT into Other Tools ..........73 6.3. Reliability Testing.................................................52 TGREP2 via Penn Treebank Format.....................73 Generic documentation .........................................52 TigerSearch ...........................................................76 MultiAnnotatorDisplay............................................52 8.5. Knitting and Unknitting NXT Data Files................76 CountQueryMulti....................................................53 Knit using Stylesheet .............................................76 Example reliability study ........................................53 Knit using LT XML2 ...............................................77 7. Graphical user interfaces .............................................57 Unknit using LT XML2 ...........................................77 7.1. Preliminaries ........................................................57 8.6. General Approaches to Processing NXT Data.....78 Invoking the GUIs ..................................................57 Option 1: Write an NXT-based application ............78 Time Highlighting...................................................57 Option 2: Make a tree, process it, and (for re-import- Search Highlighting ...............................................57 ation) put it back ....................................................78 7.2. Generic tools that work on any data ....................57 Option 3: Process using other XML-aware soft- The NXT Search GUI ............................................57 ware .......................................................................80 The Generic Display ..............................................58 8.7. Manipulating media files.......................................80 Appendix A. FAQ ............................................................81 7.3. Configurable end user coding tools .....................58 Appendix B. How To Use Metadata................................85 The signal labeller .................................................58 B.1. What metadata files do........................................85 The discourse entity coder ....................................58 B.2. What metadata files look like...............................85 The discourse segmenter ......................................58 B.3. Metadata examples .............................................85 The non-spanning comparison display..................59 B.4. Using Metadata to validate data ..........................86 The dual transcription comparison display ............59 Validation limitations ..............................................86 How to configure the end user tools ......................59 Appendix C. Comparison to other efforts ........................87 7.4. Libraries
Recommended publications
  • Web Services and Service Oriented Architectures 1 ©2009 Cesare Pautasso Web Sites (1992)
    SOA with REST Cesare Pautasso Faculty of Informatics University of Lugano http://www.pautasso.info [email protected] 31.3.2009 Web Services and Service Oriented Architectures 1 ©2009 Cesare Pautasso Web Sites (1992) Web HTML Web Browser HTTP Server WS-* Web Services (2000) SOAP WSDL Client XML Server (HTTP) 31.3.2009 Web Services and Service Oriented Architectures 2 ©2009 Cesare Pautasso RESTful Web Services (2007) PO-XML JSON RSS WADL Web Client HTTP Server WS-* Web Services (2000) SOAP WSDL Client XML Server (HTTP) 31.3.2009 Web Services and Service Oriented Architectures 3 ©2009 Cesare Pautasso Where do Web services come from? • Address the problem of • REST advocates have come enterprise software to believe that their ideas are standardization just as applicable to solve • Enterprise Computing application integration Standards for Interoperability problems. (WS started 2001) • A layered architecture with a variety of messaging, description and discovery specifications • Are all specifications really composable? • Do things from the ground up, quickly, in well factored, distinct, tightly focused specifications • Tools will hide the complexity • “Look ma’, no tools!” 31.3.2009 Web Services and Service Oriented Architectures 4 ©2009 Cesare Pautasso Dealing with Heterogeneity • Web Applications • Enterprise Computing Picture from Eric Newcomer, IONA EricNewcomer, Picture from HTTP CICS IMS 31.3.2009 Web Services and Service Oriented Architectures 5 ©2009 Cesare Pautasso Big Web Services WS-PageCount Messaging 232 pages • High perceived
    [Show full text]
  • Enterprise Integration Patterns with WSO2 ESB
    WSO2 EIP Guide Enterprise Integration Patterns with WSO2 ESB 1 April - 2013 WSO2 EIP Guide Table of Contents 1. Enterprise Integration Patterns with WSO2 ESB . 4 1.1 Messaging Systems . 8 1.1.1 Message Channels . 9 1.1.2 Message . 12 1.1.3 Pipes and Filters . 13 1.1.4 Message Router . 16 1.1.5 Message Translator . 20 1.1.6 Message Endpoint . 24 1.2 Messaging Channels . 27 1.2.1 Point-to-Point Channel . 28 1.2.2 Publish-Subscribe Channel . 31 1.2.3 Datatype Channel . 34 1.2.4 Invalid Message Channel . 38 1.2.5 Dead Letter Channel . 41 1.2.6 Guaranteed Delivery . 47 1.2.7 Messaging Bridge . 51 1.2.8 Message Bus . 54 1.3 Message Construction . 55 1.3.1 Command Message . 56 1.3.2 Document Message . 58 1.3.3 Event Message . 61 1.3.4 Request-Reply . 63 1.3.5 Return Address . 66 1.3.6 Correlation Identifier . 69 1.3.7 Message Sequence . 70 1.3.8 Message Expiration . 70 1.3.9 Format Indicator . 73 1.4 Message Routing . 74 1.4.1 Content-Based Router . 76 1.4.2 Message Filter . 79 1.4.3 Dynamic Router . 82 1.4.4 Recipient List . 86 1.4.5 Splitter . 90 1.4.6 Aggregator . 93 1.4.7 Resequencer . 96 1.4.8 Composed Msg. Processor . 100 1.4.9 Scatter-Gather . 104 1.4.10 Routing Slip . 109 1.4.11 Process Manager . 113 1.4.12 Message Broker . 114 1.5 Message Transformation .
    [Show full text]
  • Page 1 of 9 Codeproject: Efficiently Exposing Your Data with Minimal
    CodeProject: Efficiently exposing your data with minimal effort. Free source code and pr ... Page 1 of 9 6,623,518 members and growing! (20,991 online) Email Password Sign in Join Remember me? Lost your password? Home Articles Quick Answers Message Boards Job Board Catalog Help! Soapbox Web Development » ASP.NET » Samples License: The Code Project Open License (CPOL) C#, XML.NET 3.5, WCF, LINQ, Architect, Dev Efficiently exposing your data with minimal effort Posted: 16 Nov 2009 By V.GNANASEKARAN Views: 1,238 An article on how we can expose our data efficiently with minimal effort by leveraging Microsoft ADO.NET Data Services. Bookmarked: 7 times Advanced Search Articles / Quick Answers Go! Announcements Search Add to IE Search Windows 7 Comp Print Share Discuss Report 11 votes for this article. Win a laptop! Popularity: 4.62 Rating: 4.44 out of 5 1 2 3 4 5 Monthly Competition Download source code - 101 KB ARTICLES Desktop Development Web Development Introduction Ajax and Atlas Applications & Tools For enterprises which have been in business for decades, problems due to silos of applications and data that ASP evolved over the years is a common issue. These issues sometimes become show stoppers when an enterprise is ASP.NET starting a new strategic initiative to revamp its IT portfolio, to float new business models and explore new ASP.NET Controls business opportunities. ATL Server Caching This article is going to discuss possible options available for unification of data silos, and how efficiently an Charts, Graphs and Images enterprise can expose its data with minimal effort by leveraging the recent advancements in technology.
    [Show full text]
  • CS8651-Internet Programming Department of CSE 1 Unit- I Part
    CS8651-Internet Programming Department of CSE CS6501 - Internet programming Unit- I Part - A 1 Define Java. Java is a programming language expressly designed for use in the distributed environment of the Internet. It was designed to have the "look and feel" of the C++ language, but it is simpler to use than C++ and enforces an object- oriented programming model. 2. What is a Class? Class is a template for a set of objects that share a common structure and a common behaviour. 3. What is an Object? Object is an instance of a class. It has state, behaviour and identity. It is also called as an instance of a class. 4. What is an Instance? An instance has state, behaviour and identity. The structure and behaviour of similar classes are defined in their common class. An instance is also called as an object. 5. What are different types of access modifiers (Access specifiers)? Access specifiers are keywords that determine the type of access to the member of a class. These keywords are for allowing privileges to parts of a program such as functions and variables. These are: public: Anything declared as public can be accessed from anywhere. private: Anything declared as private can’t be seen outside of its class. protected: Anything declared as protected can be accessed by classes in the same package and subclasses in the there packages. default modifier : Can be accessed only to classes in the same package. 6. What is method overloading and method overriding? Method overloading: When a method in a class having the same method name with different arguments is said to be method overloading.
    [Show full text]
  • REST in Practice
    REST in Practice Jim Webber, Savas Parastatidis, and Ian Robinson Beijing · Cambridge · Farnham · Köln · Sebastopol · Tokyo REST in Practice by Jim Webber, Savas Parastatidis, and Ian Robinson Copyright © 2010 Jim Webber, Savas Parastatidis, and Ian Robinson. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Editor: Simon St.Laurent Indexer: Lucie Haskins Production Editor: Rachel Monaghan Cover Designer: Karen Montgomery Copyeditor: Audrey Doyle Interior Designer: Ron Bilodeau Proofreader: Rachel Monaghan Illustrator: Robert Romano Production Services: Newgen North America Printing History: September 2010: First Edition. The O’Reilly logo is a registered trademark of O’Reilly Media, Inc., REST in Practice, the cover image, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and au- thors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. ISBN: 978-0-596-80582-1 [M] C o n t e n t s Foreword .
    [Show full text]
  • D.3.1.1B FI-WARE GE Open Specification Page 2
    Private Public Partnership Project (PPP) Large-scale Integrated Project (IP) D.3.1.1b: FI-WARE GE Open Specification Project acronym: FI-WARE Project full title: Future Internet Core Platform Contract No.: 285248 Strategic Objective: FI.ICT-2011.1.7 Technology foundation: Future Internet Core Platform Project Document Number: ICT-2011-FI-285248-WP3-D.3.1.1b Project Document Date: 2012-10-15 Deliverable Type and Security: Public Author: FI-WARE Consortium Contributors: FI-WARE Consortium Future Internet Core Platform Table of Contents 1 Introduction ...................................................................................................................13 1.1 Executive Summary ...............................................................................................13 1.2 About This Document .............................................................................................13 1.3 Intended Audience .................................................................................................13 1.4 Chapter Context .....................................................................................................13 1.5 Structure of this Document .....................................................................................15 1.6 Typographical Conventions ....................................................................................16 1.6.1 Links within this document...............................................................................16 1.6.2 Figures ............................................................................................................16
    [Show full text]
  • Open Source SOA
    Jeff Davis MANNING Open Source SOA Licensed to Venkataramanan Tharagam <[email protected]> Licensed to Venkataramanan Tharagam <[email protected]> Open Source SOA JEFF DAVIS MANNING Greenwich (74° w. long.) Licensed to Venkataramanan Tharagam <[email protected]> For online information and ordering of this and other Manning books, please visit www.manning.com. The publisher offers discounts on this book when ordered in quantity. For more information, please contact Special Sales Department Manning Publications Co. Sound View Court 3B fax: (609) 877-8256 Greenwick, CT 06830 email: [email protected] ©2009 by Manning Publications Co. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps. Recognizing the importance of preserving what has been written, it is Manning’s policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine. Development Editor: Cynthia Kane Manning Publications Co. Copyeditor: Liz Welch Sound View Court 3B Typesetter: Krzysztof Anton Greenwich, CT 06830 Cover designer: Leslie Haimes ISBN 978-1-933988-54-2 Printed in the United States of America 12345678910–MAL–16151413111009 Licensed to Venkataramanan Tharagam <[email protected]> brief contents PART 1HISTORY AND PRINCIPLES ...........................................
    [Show full text]
  • Introduction to Web Services for RPG Developers
    TUG Seneca night school program Introduction to Web services for RPG developers Claus Weiss [email protected] TUG meeting March 2011 Web services and IBM i 1 TUG Seneca night school program Acknowledgement In parts of this presentation I am using work published by: Linda Cole, IBM Canada Scott Klement, Klement Sausage Co., Inc. Web services and IBM i 2 TUG Seneca night school program Agenda . Web Services: What are they? Why use them? . Creating a Web Service Using RPG Using EGL . Consuming a web service Using Web Service explorer With EGL With RPG using EGL or HTTPAPI Web services and IBM i 3 TUG Seneca night school Change in the marketplace, IBM i, & App.Development The 1980’s The 1990’s New Millennium Public Web Service AS/400 iSeries Web Service Client/Server System 38…AS/400 Large, monolithic RPG programs iSeries IBM IBM i i ILE: Smaller, reusable programs 4 Based on IBM Rational Developer for IBM i education material TUG Seneca night school program The Problem: Integration . Integrating software applications across multiple operating systems, programming languages, and hardware platforms is Difficult Not something that can be solved by any one particular proprietary environment . Traditionally, the problem has been one of tight-coupling One application that calls a remote network is tied strongly to it by the function call it makes and the parameters it requests Fixed interface to access remote programs or data, with little flexibility or adaptability to changing environments or needs . What are Web services: self-contained software components, with well-defined interfaces (WSDL), that can be invoked over a network using .
    [Show full text]
  • Testbed-12 REST User Guide Table of Contents
    Testbed-12 REST User Guide Table of Contents 1. Executive Summary . 3 2. Introduction . 8 3. User Guidance. 10 3.1. REST and Open Geospatial Resources . 10 3.2. Principles of REST . 19 3.3. Advantages of REST . 20 3.4. Key Terms . 21 3.4.1. Representational State Transfer (REST) . 21 3.4.2. Hypertext Transfer Protocol (HTTP) . 21 3.4.3. HTTP Method . 21 3.4.4. URI . 21 3.4.5. Resource . 21 3.4.6. Base URL . 21 3.4.7. Capabilities Resource . 22 3.4.8. Hypermedia Controls . 22 3.4.9. Abbreviated Terms . 22 4. Implementer Instructions . 23 4.1. Use Nouns and Don’t Use Verbs . 23 4.2. Use Well-Known Resource Classes . 24 4.3. Use HTTP Status Codes . 25 4.4. Use Well-Known URL Templates and Access Paths . 27 4.4.1. WMTS - URL Templates and Access Paths . 27 4.4.2. WFS - URL Templates and Access Paths . 29 4.4.3. WCS - URL Templates and Access Paths . 30 4.4.4. WPS - URL Templates and Access Paths . 31 4.4.5. WMS - URL Templates and Access Paths . 33 4.5. JSON Examples . 34 4.5.1. JSON and WFS . 34 4.5.2. JSON and WMTS . 43 4.5.3. JSON and WPS . 44 4.5.4. JSON and WMS . 53 4.5.5. JSON and Registry. 57 4.6. API Management . 59 Appendix A: Revision History . 60 Publication Date: 2017-05-16 Approval Date: 2017-02-20 Posted Date: 2016-11-16 Reference number of this document: OGC 16-057r1 Reference URL for this document: http://www.opengis.net/doc/PER/t12-A060 Category: User Guide Editor: Jeff Harrison Title: Testbed-12 REST Users Guide COPYRIGHT Copyright © 2017 Open Geospatial Consortium.
    [Show full text]
  • D3.1.3 FI-WARE GE Open Specifications
    Private Public Partnership Project (PPP) Large-scale Integrated Project (IP) D.3.1.3: FI-WARE GE Open Specification Project acronym: FI-WARE Project full title: Future Internet Core Platform Contract No.: 285248 Strategic Objective: FI.ICT-2011.1.7 Technology foundation: Future Internet Core Platform Project Document Number: ICT-2011-FI-285248-WP3-D.3.1.3 Project Document Date: 2014-05-16 Deliverable Type and Security: Public Author: FI-WARE Consortium Contributors: FI-WARE Consortium Future Internet Core Platform 1.1 Executive Summary This document describes the Generic Enablers in the Apps and Services Ecosystem chapter, their basic functionality and their interaction. These Generic Enablers form the core business framework of the FI-WARE platform by supporting the business functionality for commercializing services. The functionality of the frame work is illustrated with several abstract use case diagrams, which show how the individual GE can be used to construct a domain-specific application environment and system architecture. Each GE Open Specification is first described on a generic level, describing the functional and non-functional properties and is supplemented by a number of specifications according to the interface protocols, API and data formats. D.3.1.3 FI-WARE GE Open Specification Page 2 Future Internet Core Platform 1.2 About This Document FI-WARE GE Open Specifications describe the open specifications linked to Generic Enablers GEs of the FI-WARE project (and their corresponding components) being developed in one particular chapter. GE Open Specifications contain relevant information for users of FI-WARE to consume related GE implementations and/or to build compliant products which can work as alternative implementations of GEs developed in FI-WARE.
    [Show full text]
  • Designing and Implementing Web API for RAI Software
    Siyuan Xue Designing and implementing Web API for RAI software Master’s Thesis in Information Technology November 15, 2019 University of Jyväskylä Faculty of Information Technology Kokkola University Consortium Chydenius Author: Siyuan Xue Contact information: siyuan.xue@outlook.fi Phonenumber: 045-356 0601 Title: Designing and implementing Web API for RAI software Työn nimi: Design and implement Web API for RAI software Project: Master’s Thesis in Information Technology Page count: 52+5 Abstract: The information silo becomes a significant problem with the software evo- lution from desktop applications to web-based applications. In this thesis, the re- search problem is derived from a customer’s requirement to integrate two different health information systems. The design and creation research approach is employed in this study, which involves aware, suggestion, development, evaluation and con- clusion. This paper focuses on building Web Service to break the information silo in healthcare systems, especially between the Electronic Health Record (EHR) and other health information systems. As the outcome of this study, a RESTful Web API is constructed to resolve the information silo issue. Meanwhile, the different alter- native solutions to construct each component of the Web API and open issues are summarized in the evaluation phase. Suomenkielinen tiivistelmä: NA Keywords: Web Service, Web API, REST, resident assessment instrument, maturity model, service description Avainsanat: NA Copyright c 2019 Siyuan Xue All rights reserved. Glossary
    [Show full text]
  • Web Services Testing with Soapui
    Web Services Testing with soapUI Build high quality service-oriented solutions by learning easy and efficient web services testing with this practical, hands-on guide Charitha Kankanamge BIRMINGHAM - MUMBAI Web Services Testing with soapUI Copyright © 2012 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: October 2012 Production Reference: 1191012 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-84951-566-5 www.packtpub.com Cover Image by Asher Wishkerman ([email protected]) Credits Author Project Coordinators Charitha Kankanamge Sai Gamare Shraddha Vora Reviewers Evanthika Amarasiri Proofreader Bindu Laxminarayan Maria Gould Ajay Pawar Indexer Acquisition Editor Monica Ajmera Mehta Kartikey Pandey Graphics Lead Technical Editors Valentina D'Silva Hithesh Uchil Aditi Gajjar Azharuddin Sheikh Production Coordinator Technical Editors Prachali Bhiwandkar Vrinda Amberkar Ankita Meshram Cover Work Prachali Bhiwandkar Prashant Salvi About the Author Charitha Kankanamge is Manager, Quality Assurance and Senior Technical Lead at WSO2 with more than 9 years of experience in Software Quality Assurance.
    [Show full text]