ITCS 6010 XML Grammars. What is a Grammar? Specifies what can be said—all the possible sentences and phrases that can be recognized Includes entry via.

Slides:



Advertisements
Similar presentations
VoiceXML: Application and Session variables, N- best and Multiple Interpretations.
Advertisements

Lex -- a Lexical Analyzer Generator (by M.E. Lesk and Eric. Schmidt) –Given tokens specified as regular expressions, Lex automatically generates a routine.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 24 - VBScript Outline 24.1 Introduction 24.2 Operators 24.3 Data Types and Control Structures.
Final Project Presentation A Spoken Dialog System using the VoiceXML 2.1 platform to automate the ordering process for a pizza restaurant Scott Simpson.
176 Formal Languages and Applications: We know that Pascal programming language is defined in terms of a CFG. All the other programming languages are context-free.
Document Type Definition DTDs CS-328. What is a DTD Defines the structure of an XML document Only the elements defined in a DTD can be used in an XML.
Lecture 13. The various node tests also work on this axis: eg node() This book has descendant-or- self nodes As expected, text nodes are included in the.
Introduction to Structured Query Language (SQL)
ITCS 6010 Spoken Language Systems: Architecture. Elements of a Spoken Language System Endpointing Feature extraction Recognition Natural language understanding.
XML Namespaces Andrey Smirnov CSCI 7818 September 21, 2000.
Introduction to Structured Query Language (SQL)
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
1 Classes and Objects. 2 Outlines Class Definitions and Objects Member Functions Data Members –Get and Set functions –Constructors.
Review of C++ Programming Part II Sheng-Fang Huang.
Forms, Validation Week 7 INFM 603. Announcements Try placing today’s example in htdocs (XAMPP). This will allow you to execute examples that rely on PHP.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Working with Namespaces Combining XML Vocabularies in a Compound Document.
XP New Perspectives on XML Tutorial 4 1 XML Schema Tutorial – Carey ISBN Working with Namespaces and Schemas.
VoiceXML: Speech Recognition Grammars
© 2007 Cisco Systems, Inc. All rights reserved.UCCXD v2.0—10-1 Configuring CME for CRS 5.0 & ASR Grammar.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor Ms. Arwa.
1 PHP and MySQL. 2 Topics  Querying Data with PHP  User-Driven Querying  Writing Data with PHP and MySQL PHP and MySQL.
1 VBA – podstawowe reguły języka Opracowanie Janusz Górczyński wg Microsoft Help.
Forms Sangeetha Parthasarathy 02/05/2001. Introduction to Forms A form makes it possible to transform your web pages from text to graphics to interactive.
VoiceXML: Forms, Menus, Grammars, Form Interpretation Algorithm.
XP 1 DECLARING A DTD A DTD can be used to: –Ensure all required elements are present in the document –Prevent undefined elements from being used –Enforce.
Lecture 7 Integrity & Veracity UFCE8K-15-M: Data Management.
XP 1 Microsoft Word 2002 Tutorial 1 – Creating a Document.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
CIS 451: XML DTDs Dr. Ralph D. Westfall February, 2009.
ITCS373: Internet Technology Lecture 5: More HTML.
An OO schema language for XML SOX W3C Note 30 July 1999.
Generating GAIGS XML Scripts II Integrating Algorithm Visualization into Computer Science Education Grand Valley State University June 13-16, 2006.
Part One Review Policy Intro to ISO Levels of Metadata Data Discovery.
XML – Part III. The Element … This type of element either has the element content or the mixed content (child element and data) The attributes of the.
1 HTML Forms
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
XML 2nd EDITION Tutorial 4 Working With Schemas. XP Schemas A schema is an XML document that defines the content and structure of one or more XML documents.
1 Tutorial 14 Validating Documents with Schemas Exploring the XML Schema Vocabulary.
1 Tutorial 12 Working with Namespaces Combining XML Vocabularies in a Compound Document.
Graphical Enablement In this presentation… –What is graphical enablement? –Introduction to newlook dialogs and tools used to graphical enable System i.
Information & Database System Laboratory EPCglobal Tag Data Translation - RFID Team 컴퓨터멀티미디어공학과 김성진.
JavaScript, Fourth Edition
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
Talking to Robots Using MS Speech SDK 5.1 in C# Sebastian van Delden USC Upstate
Programming with Microsoft Visual Basic th Edition
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
PHP Reusing Code and Writing Functions 1. Function = a self-contained module of code that: Declares a calling interface – prototype! Performs some task.
1 Lesson 6 Introducing JavaScript HTML and JavaScript BASICS, 4 th Edition.
CSC314 DAY 8 Introduction to SQL 1. Chapter 6 © 2013 Pearson Education, Inc. Publishing as Prentice Hall SQL OVERVIEW  Structured Query Language  The.
The TXL Programming Language Filippo Ricca & Mariano Ceccato ITC-Irst Istituto per la ricerca Scientifica e Tecnologica
XML Namespaces In this first lesson XML Namespaces, you will learn to:
CITA 330 Section 2 DTD. Defining XML Dialects “Well-formedness” is the minimal requirement for an XML document; all XML parsers can check it Any useful.
Menus. Menus are a common user interface component in many types of applications. The options menu is the primary collection of menu items for an activity.
More SQL: Complex Queries, Triggers, Views, and Schema Modification
The Simple Corpus Tool Martin Weisser Research Center for Linguistics & Applied Linguistics Guangdong University of Foreign Studies
Unit 4 Representing Web Data: XML
3 Introduction to Classes and Objects.
Tutorial On Lex & Yacc.
Ordered & Unordered Lists in HTML
Aggregation Aggregations operations process data records and return computed results. Aggregation operations group values from multiple documents together,
Tutorial 1 – Creating a Document
Namespace Review 21-Nov-18.
XML Data DTDs, IDs & IDREFs.
Forms, cont’d.
Namespace Review 29-Dec-18.
Lecture 2 General Problem
Compiler Design 3. Lexical Analyzer, Flex
P 72 (PDF 76) Figure 32 Information item name Rules in columns
Namespace Review 14-Oct-19.
Presentation transcript:

ITCS 6010 XML Grammars

What is a Grammar? Specifies what can be said—all the possible sentences and phrases that can be recognized Includes entry via speech or touchpad

XML Grammar Tags

<rule id = “string” scope = “string”/> Associates a legal rule expansion with a rulename Has two attributes id – name of rule; must be unique within grammar scope – has two options: public or private public – may be explicitly referenced by other grammars private – only directly accessible within containing grammar (default)

<item tag = “string” weight = “string”/> Defines an expression that can be uttered by user Has two attributes tag – value returned by recognizer if item matched weight – value indicates likelihood user will utter item Floating point value > 0

<one-of tag = “string”/> Defines set of alternative expressions Has one attribute tag – value returned if contained expression matched

<count number = “string”/> Defines # times contained expression can be uttered by user Has one attribute number – can have 4 values: 0+ - contained expressed may be uttered 0 or more times 1+ - contained expression may be uttered 1 or more times ? – contained expression optional optional – contained expression optional

<ruleref tag = “string” uri = “string”/> Defines a rule element Has two attributes tag – value returned by recognizer if ruleref matched uri – uri to a rule

(cont’d) uri can have special definitions - rule that is automatically matched without user uttering a word - a rule that can never be spoken - a rule that matches any speech up until next rule match/next token/end of spoken input

Grammar Example open close delete move the a window file menu