This repository contains an unfinished implementation of a vocabulary training in GNU Guile.
Zelphir Kaltstahl 767dfcc869 fix phrases | 2 lat temu | |
---|---|---|
data | 2 lat temu | |
guix-env | 3 lat temu | |
lib | 3 lat temu | |
test | 3 lat temu | |
.editorconfig | 3 lat temu | |
.gitignore | 3 lat temu | |
.gitmodules | 3 lat temu | |
Makefile | 3 lat temu | |
alist-procs.scm | 3 lat temu | |
bool-utils.scm | 3 lat temu | |
command-line.scm | 3 lat temu | |
display-utils.scm | 3 lat temu | |
interact.scm | 3 lat temu | |
iter-utils.scm | 3 lat temu | |
json-reader.scm | 3 lat temu | |
json-writer.scm | 3 lat temu | |
list-procs.scm | 3 lat temu | |
logging.scm | 3 lat temu | |
main.scm | 3 lat temu | |
math.scm | 3 lat temu | |
model.scm | 5 lat temu | |
print-utils.scm | 3 lat temu | |
readme.org | 3 lat temu | |
search.scm | 3 lat temu | |
settings.json | 2 lat temu | |
statistics.scm | 3 lat temu | |
transform.py | 5 lat temu | |
vector-procs.scm | 3 lat temu | |
vocabulary-data.scm | 2 lat temu |
First activate the provided GNU Guix environment as follows:
bash guix-env/env.bash
Then run the following command to start the application:
make
First activate the provided GNU Guix environment as follows:
bash guix-env/env.bash
Then run the following command to run tests:
make test
The first entry in the vocabulary is considered to be special, as all other entries are assumed to match its structure, meaning, that the program assumes, that they have the same attributes.
The assumed vocabulary structure is quite flexible, allowing for custom attributes to be added, as long as the following requirements are met.
The program assumes, that there is an attribute "metadata"
in each entry of the vocabulary. Some of the metadata gets built-in special treatment, like for example the learned
metadatum. Such metadata is assumed to be in the vocabulary. If it was missing, the program would most likely crash.
The program itself adds an "id"
attribute to the metadata of each entry for managing it throughout the runtime of the program. For this reason the metadata of an entry must not contain an "id"
attribute already.
The "learned"
attribute in the metadata of a vocabulary entry is a boolean and is assumed to exist.