-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: including generator meta tag in .readalong files (#226)
* feat: including generator meta tag in .readalong files test: fixing ci conflict resolution: VERSION is now only in readalongs/_version.py TODO: __version__ is no longer defined, and we need a FORMAT_VERSION * fix: resolve the version variable conflicts between format and software * docs: updated DTD version --------- Co-authored-by: Delasie Torkornoo <Delasie.Torkornoo@nrc-cnrc.gc.ca> Co-authored-by: Eric Joanis <eric.joanis@nrc-cnrc.gc.ca>
- Loading branch information
1 parent
4a333bf
commit 29ec752
Showing
29 changed files
with
830 additions
and
667 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
VERSION = "1.1.0" | ||
|
||
READALONG_FILE_FORMAT_VERSION = "1.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<!-- VERSION: 1.1 --> | ||
<!ELEMENT read-along (meta|text|body|div|span|anchor|silence|graphic|p|s|w)*> | ||
<!ATTLIST read-along | ||
use-assets-folder CDATA #IMPLIED | ||
href CDATA #IMPLIED | ||
audio CDATA #IMPLIED | ||
xml:lang CDATA #IMPLIED | ||
language CDATA #IMPLIED | ||
lang CDATA #IMPLIED | ||
version CDATA #IMPLIED> | ||
|
||
<!ELEMENT text (body|div|span|anchor|silence|graphic|p|s|w)*> | ||
<!ATTLIST text | ||
xml:lang CDATA #IMPLIED | ||
lang CDATA #IMPLIED | ||
fallback-langs CDATA #IMPLIED | ||
id CDATA #IMPLIED> | ||
|
||
<!ELEMENT body (div|span|anchor|silence|graphic|p|s|w)*> | ||
<!ATTLIST body | ||
xml:lang CDATA #IMPLIED | ||
lang CDATA #IMPLIED | ||
id CDATA #IMPLIED> | ||
|
||
<!ELEMENT anchor EMPTY> | ||
<!ATTLIST anchor time CDATA #REQUIRED> | ||
|
||
<!ELEMENT silence EMPTY> | ||
<!ATTLIST silence dur CDATA #REQUIRED> | ||
|
||
<!ELEMENT graphic EMPTY> | ||
<!ATTLIST graphic | ||
url CDATA #REQUIRED | ||
id CDATA #IMPLIED> | ||
|
||
<!ELEMENT div (#PCDATA|div|span|anchor|silence|graphic|p|s|w)*> | ||
<!ATTLIST div | ||
xml:lang CDATA #IMPLIED | ||
lang CDATA #IMPLIED | ||
id CDATA #IMPLIED | ||
class CDATA #IMPLIED | ||
type CDATA #IMPLIED | ||
do-not-align CDATA #IMPLIED | ||
time CDATA #IMPLIED | ||
dur CDATA #IMPLIED> | ||
|
||
<!ELEMENT span (#PCDATA|div|span|anchor|silence|graphic|p|s|w)*> | ||
<!ATTLIST span | ||
xml:lang CDATA #IMPLIED | ||
lang CDATA #IMPLIED | ||
id CDATA #IMPLIED | ||
class CDATA #IMPLIED | ||
type CDATA #IMPLIED | ||
do-not-align CDATA #IMPLIED | ||
time CDATA #IMPLIED | ||
dur CDATA #IMPLIED> | ||
|
||
<!ELEMENT p (#PCDATA|span|anchor|silence|s|w)*> | ||
<!ATTLIST p | ||
xml:lang CDATA #IMPLIED | ||
lang CDATA #IMPLIED | ||
id CDATA #IMPLIED | ||
class CDATA #IMPLIED | ||
do-not-align CDATA #IMPLIED | ||
time CDATA #IMPLIED | ||
dur CDATA #IMPLIED> | ||
|
||
<!ELEMENT s (#PCDATA|span|anchor|silence|w)*> | ||
<!ATTLIST s | ||
xml:lang CDATA #IMPLIED | ||
lang CDATA #IMPLIED | ||
id CDATA #IMPLIED | ||
class CDATA #IMPLIED | ||
do-not-align CDATA #IMPLIED | ||
time CDATA #IMPLIED | ||
dur CDATA #IMPLIED> | ||
|
||
<!ELEMENT w (#PCDATA|span|syl)*> | ||
<!ATTLIST w | ||
xml:lang CDATA #IMPLIED | ||
effective-g2p-lang CDATA #IMPLIED | ||
lang CDATA #IMPLIED | ||
id CDATA #IMPLIED | ||
class CDATA #IMPLIED | ||
do-not-align CDATA #IMPLIED | ||
ARPABET CDATA #IMPLIED | ||
time CDATA #IMPLIED | ||
dur CDATA #IMPLIED> | ||
|
||
<!ELEMENT syl (#PCDATA|span)*> | ||
<!ATTLIST syl | ||
xml:lang CDATA #IMPLIED | ||
lang CDATA #IMPLIED | ||
id CDATA #IMPLIED | ||
class CDATA #IMPLIED | ||
do-not-align CDATA #IMPLIED | ||
ARPABET CDATA #IMPLIED | ||
time CDATA #IMPLIED | ||
dur CDATA #IMPLIED> | ||
|
||
<!ELEMENT meta EMPTY> | ||
<!ATTLIST meta name CDATA #REQUIRED | ||
content CDATA #REQUIRED> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.