Learning foreign word exercise

The Foreign word translate exercise.

Before beginning a word study exercise, the user defines criteria for filtering words to study and the order in which they are displayed during the exercise. These criteria are collected in a lookup_conditions.

ForeignWordTranslateExercise class takes lookup_conditions as a parameter when creating an instance of the class. Class contains the necessary methods to satisfy these requirements.

The task_data class property contains all the necessary information to display the word study exercise to the user.

class TranslateExerciseGUI(lookup_conditions: dict)

Bases: ExerciseData

Foreign word translate GUI app exercise.

GUI application exercise.

model

alias of Word

lookup_params

alias of WordLookupParams

create_task() None

Create task.

class TranslateExercise(lookup_conditions: dict)

Bases: TranslateExerciseGUI

Foreign word translate exercise class.

Browser application exercise.

property task_data: dict[str, str | int]

Task data to render to the user (dict[str, str | int], reade-only).

Exercise elements.

class WordAssessment(user: UserApp, data: dict)

Bases: object

Assessment of item study.

update() None

Update item assessment.