Practice Lines
Practice lines contain the material presented by Kx Toolbox for practice.
A basic practice line begins with a dash followed by a space:
- Hola.- Buenos días.- ¿Cómo estás?A Practice Set can contain one practice line or many.
Answers
Section titled “Answers”A practice line can include an answer:
- ¿Cómo estás? [ans: "Estoy muy bien."]The text before the bracketed instruction is the practice content.
The ans instruction supplies corresponding answer content.
Multiple Instructions
Section titled “Multiple Instructions”A line can contain several instructions:
- Buenos días. [front:waiter, v:H, back:customer, ans: "Buenos días."]Instructions inside the brackets are separated by commas.
Depending on the instruction, line metadata can control such features as:
- answers
- languages
- voices
- speakers
- pronunciation
- visuals
- scenes
Lines Without a Dash
Section titled “Lines Without a Dash”Most Practice Sets use dashed practice lines. The existing corpus also contains prose-oriented Practice Sets where content appears without a leading dash.
Kx Markdown therefore distinguishes the content of a Practice Set from the optional metadata that can be attached to individual lines.
Dashed and Undashed Content
Section titled “Dashed and Undashed Content”A dash is the conventional way to identify an individual practice item:
- Hola.- Buenos días.- ¿Cómo estás?Kx Markdown can also contain undashed content.
For example:
Esta mañana me desperté temprano porque quería caminar por el centro de la ciudad.El cielo estaba despejado y hacía un poco de frío.Primero fui a una cafetería pequeña cerca de mi casa.This makes Practice Sets useful for more than short vocabulary or question-and-answer cards. They can also contain sentences, prose, reading material, and other language content.
Metadata can still be attached to individual content lines when supported:
Esta mañana me desperté temprano porque quería caminar por el centro de la ciudad. [v:H]El cielo estaba despejado y hacía un poco de frío. [v:L]