This is a proposed specification for sharing aligned text, video or audio between language-learning tools. Here are some good places to start reading:
metadata.ts
contains the actual specification for the format.examples.ts
contains example metadata with comments explaining how to represent different kinds media.examples/
contains actual example*.aligned
directories, each with ametadata.json
file generated fromexamples.ts
. These are the files that a program implementing this standard should be able to read. Note that we haven't provided any sample media files yet!- The web-based validator will make sure that your
metadata.json
is valid.
GitHub "Pull Requests" with proposed changes are very welcome!
For the moment, this spec is dual-licensed under the Apache 2.0 license and MPL 2.0 license. These are fairly ordinary open source licenses, and the allow this code to be used with the GPL, LGPL or commercial software. But they include some patent-related provisions that are useful for standards.
- The Rust
aligned_media
crate. - An online validator.
You'll need node
, npm
and yarn
installed. Then run:
# Install all dependencies.
yarn
# Run index.ts, which verifies and regenerates everything.
yarn start