init vocal
This commit is contained in:
parent
5bb2fd30d4
commit
227dd34a61
3
.directory
Normal file
3
.directory
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[Dolphin]
|
||||||
|
Timestamp=2017,1,18,15,39,2
|
||||||
|
Version=3
|
6
Geste/.directory
Normal file
6
Geste/.directory
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[Dolphin]
|
||||||
|
Timestamp=2017,1,18,15,26,24
|
||||||
|
Version=3
|
||||||
|
|
||||||
|
[Settings]
|
||||||
|
HiddenFilesShown=true
|
Binary file not shown.
6
Projet_IHM_Palette_dessin.iml
Normal file
6
Projet_IHM_Palette_dessin.iml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="false">
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
</module>
|
@ -1,6 +1,3 @@
|
|||||||
[Dolphin]
|
[Dolphin]
|
||||||
Timestamp=2017,1,18,15,21,50
|
Timestamp=2017,1,18,15,39,7
|
||||||
Version=3
|
Version=3
|
||||||
|
|
||||||
[Settings]
|
|
||||||
HiddenFilesShown=true
|
|
||||||
|
BIN
Vocal/Ivy.dll
Executable file
BIN
Vocal/Ivy.dll
Executable file
Binary file not shown.
72
Vocal/grammar.dtd
Executable file
72
Vocal/grammar.dtd
Executable file
@ -0,0 +1,72 @@
|
|||||||
|
<!--
|
||||||
|
SRGS XML Grammar Form DTD (20031204)
|
||||||
|
|
||||||
|
Copyright 1998-2003 W3C (MIT, ERCIM, Keio), All Rights Reserved.
|
||||||
|
|
||||||
|
Permission to use, copy, modify and distribute the SRGS DTD and
|
||||||
|
its accompanying documentation for any purpose and without fee is
|
||||||
|
hereby granted in perpetuity, provided that the above copyright
|
||||||
|
notice and this paragraph appear in all copies.
|
||||||
|
|
||||||
|
The copyright holders make no representation about the suitability
|
||||||
|
of the DTD for any purpose. It is provided "as is" without expressed
|
||||||
|
or implied warranty.
|
||||||
|
|
||||||
|
-->
|
||||||
|
<!ENTITY % uri "CDATA">
|
||||||
|
<!ENTITY % rule-expansion "#PCDATA | token | ruleref
|
||||||
|
| item | one-of | tag ">
|
||||||
|
<!ENTITY % grammar-header "( meta | metadata | lexicon | tag )*">
|
||||||
|
<!ENTITY % grammar-body "( rule )*">
|
||||||
|
<!ELEMENT ruleref EMPTY>
|
||||||
|
<!ATTLIST ruleref
|
||||||
|
uri %uri; #IMPLIED
|
||||||
|
type CDATA #IMPLIED
|
||||||
|
special (NULL | VOID | GARBAGE) #IMPLIED
|
||||||
|
>
|
||||||
|
<!ELEMENT token (#PCDATA)>
|
||||||
|
<!ATTLIST token
|
||||||
|
xml:lang NMTOKEN #IMPLIED
|
||||||
|
>
|
||||||
|
<!ELEMENT tag (#PCDATA)>
|
||||||
|
<!ELEMENT one-of (item)+>
|
||||||
|
<!ATTLIST one-of
|
||||||
|
xml:lang NMTOKEN #IMPLIED
|
||||||
|
>
|
||||||
|
<!ELEMENT item (%rule-expansion;)*>
|
||||||
|
<!ATTLIST item
|
||||||
|
repeat NMTOKEN #IMPLIED
|
||||||
|
repeat-prob NMTOKEN #IMPLIED
|
||||||
|
weight NMTOKEN #IMPLIED
|
||||||
|
xml:lang NMTOKEN #IMPLIED
|
||||||
|
>
|
||||||
|
<!ELEMENT rule (%rule-expansion; | example)*>
|
||||||
|
<!ATTLIST rule
|
||||||
|
id ID #REQUIRED
|
||||||
|
scope (private | public) "private"
|
||||||
|
>
|
||||||
|
<!ELEMENT example (#PCDATA)>
|
||||||
|
<!ELEMENT lexicon EMPTY>
|
||||||
|
<!ATTLIST lexicon
|
||||||
|
uri %uri; #REQUIRED
|
||||||
|
type CDATA #IMPLIED
|
||||||
|
>
|
||||||
|
<!ELEMENT meta EMPTY>
|
||||||
|
<!ATTLIST meta
|
||||||
|
name NMTOKEN #IMPLIED
|
||||||
|
content CDATA #REQUIRED
|
||||||
|
http-equiv NMTOKEN #IMPLIED
|
||||||
|
>
|
||||||
|
<!ELEMENT metadata EMPTY>
|
||||||
|
<!ELEMENT grammar (%grammar-header;, %grammar-body;)>
|
||||||
|
<!ATTLIST grammar
|
||||||
|
tag-format %uri; #IMPLIED
|
||||||
|
xml:base %uri; #IMPLIED
|
||||||
|
version NMTOKEN #REQUIRED
|
||||||
|
xml:lang NMTOKEN #IMPLIED
|
||||||
|
xmlns CDATA #FIXED 'http://www.w3.org/2001/06/grammar'
|
||||||
|
xmlns:xsi CDATA #IMPLIED
|
||||||
|
xsi:schemaLocation CDATA #IMPLIED
|
||||||
|
root IDREF #IMPLIED
|
||||||
|
mode (voice | dtmf) "voice"
|
||||||
|
>
|
42
Vocal/grammar.grxml
Executable file
42
Vocal/grammar.grxml
Executable file
@ -0,0 +1,42 @@
|
|||||||
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||||
|
<!DOCTYPE grammar PUBLIC "-//W3C//DTD GRAMMAR 1.0//EN"
|
||||||
|
"grammar.dtd">
|
||||||
|
<!-- the default grammar language is FR -->
|
||||||
|
<grammar version="1.0"
|
||||||
|
mode ="voice"
|
||||||
|
xmlns="http://www.w3.org/2001/06/grammar"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.w3.org/2001/06/grammar
|
||||||
|
grammar.xsd"
|
||||||
|
xml:lang="fr-FR" root="answer" tag-format="semantics/1.0">
|
||||||
|
|
||||||
|
<rule id="answer" scope="public">
|
||||||
|
<ruleref special="GARBAGE" />
|
||||||
|
<one-of>
|
||||||
|
<item><ruleref uri="#deplacement"/></item>
|
||||||
|
<item><ruleref uri="#initialiser"/></item>
|
||||||
|
</one-of>
|
||||||
|
<tag>out = rules.latest().text;</tag>
|
||||||
|
<ruleref special="GARBAGE" />
|
||||||
|
</rule>
|
||||||
|
|
||||||
|
<rule id="deplacement">
|
||||||
|
<item>déplacer <ruleref uri="#position"/></item>
|
||||||
|
</rule>
|
||||||
|
|
||||||
|
<rule id="initialiser">
|
||||||
|
<item>initialiser</item>
|
||||||
|
<tag>out.text = "Action:" + meta.current().text;</tag>
|
||||||
|
</rule>
|
||||||
|
|
||||||
|
<rule id="position">
|
||||||
|
<one-of>
|
||||||
|
<item>en haut</item>
|
||||||
|
<item>en bas</item>
|
||||||
|
<item>à gauche</item>
|
||||||
|
<item>à droite</item>
|
||||||
|
</one-of>
|
||||||
|
<tag>out.text = "Action:deplacement Position:" + meta.current().text;</tag>
|
||||||
|
</rule>
|
||||||
|
|
||||||
|
</grammar>
|
37
Vocal/grammar.xsd
Executable file
37
Vocal/grammar.xsd
Executable file
@ -0,0 +1,37 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
<xsd:schema targetNamespace="http://www.w3.org/2001/06/grammar"
|
||||||
|
xmlns="http://www.w3.org/2001/06/grammar"
|
||||||
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
|
elementFormDefault="qualified">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>SRGS 1.0 Schema (20031204)</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>Copyright 1998-2003 W3C (MIT, ERCIM, Keio),
|
||||||
|
All Rights Reserved. Permission to use, copy, modify and
|
||||||
|
distribute the SRGS schema and its accompanying documentation
|
||||||
|
for any purpose and without fee is hereby granted in
|
||||||
|
perpetuity, provided that the above copyright notice and this
|
||||||
|
paragraph appear in all copies. The copyright holders make no
|
||||||
|
representation about the suitability of the schema for any purpose.
|
||||||
|
It is provided "as is" without expressed or implied warranty.
|
||||||
|
</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
|
||||||
|
<xsd:redefine schemaLocation="grammar-core.xsd">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation>restricted grammar type so that version attribute is mandatory</xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:complexType name="grammar">
|
||||||
|
<xsd:complexContent>
|
||||||
|
<xsd:restriction base="grammar">
|
||||||
|
<xsd:group ref="grammar.class"/>
|
||||||
|
<xsd:attribute name="version" type="Version.datatype" use="required"/>
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:complexContent>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:redefine>
|
||||||
|
|
||||||
|
|
||||||
|
</xsd:schema>
|
BIN
Vocal/sra5.exe
Executable file
BIN
Vocal/sra5.exe
Executable file
Binary file not shown.
1
Vocal/sra_on.bat
Normal file
1
Vocal/sra_on.bat
Normal file
@ -0,0 +1 @@
|
|||||||
|
sra5 -b 127.255.255.255:2010 -p on
|
Reference in New Issue
Block a user