-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic literacy generated course (#314)
- Loading branch information
Showing
9 changed files
with
560 additions
and
89 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
import type { KnowledgeBaseConfig } from "./KnowledgeBaseConfig"; | ||
import type { LiteracyConfig } from "./LiteracyConfig"; | ||
import type { MusicPieceConfig } from "./MusicPieceConfig"; | ||
import type { TranscriptionConfig } from "./TranscriptionConfig"; | ||
|
||
/** | ||
* A configuration used for generating special types of courses on the fly. | ||
*/ | ||
export type CourseGenerator = { "KnowledgeBase": KnowledgeBaseConfig } | { "MusicPiece": MusicPieceConfig } | { "Transcription": TranscriptionConfig }; | ||
export type CourseGenerator = { "KnowledgeBase": KnowledgeBaseConfig } | { "Literacy": LiteracyConfig } | { "MusicPiece": MusicPieceConfig } | { "Transcription": TranscriptionConfig }; |
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,31 @@ | ||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
||
/** | ||
* The configuration to create a course that teaches literacy based on the provided material. | ||
* Material can be of two types. | ||
* | ||
* 1. Examples. For example, they can be words that share the same spelling and pronunciation (e.g. | ||
* "cat", "bat", "hat"), sentences that share similar words, or sentences from the same book or | ||
* article (for more advanced courses). | ||
* 2. Exceptions. For example, they can be words that share the same spelling but have different | ||
* pronunciations (e.g. "cow" and "crow"). | ||
* | ||
* All examples and exceptions accept Markdown syntax. Examples and exceptions can be declared in | ||
* the configuration or in separate files in the course's directory. Files that end with the | ||
* extensions ".examples.md" and ".exceptions.md" will be considered as examples and exceptions, | ||
* respectively. | ||
*/ | ||
export type LiteracyConfig = { | ||
/** | ||
* Inlined examples to use in the course. | ||
*/ | ||
inlined_examples: Array<string>, | ||
/** | ||
* Inlined exceptions to use in the course. | ||
*/ | ||
inlined_exceptions: Array<string>, | ||
/** | ||
* Indicates whether to generate an optional lesson that asks the student to write the material | ||
* based on the tutor's dictation. | ||
*/ | ||
generate_dictation: boolean, }; |
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,6 @@ | ||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. | ||
|
||
/** | ||
* The types of literacy lessons that can be generated. | ||
*/ | ||
export type LiteracyLesson = "Reading" | "Dictation"; |
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.