This repository contains an unfinished implementation of a vocabulary training in GNU Guile.
Zelphir Kaltstahl 767dfcc869 fix phrases | 2 anni fa | |
---|---|---|
data | 2 anni fa | |
guix-env | 3 anni fa | |
lib | 3 anni fa | |
test | 3 anni fa | |
.editorconfig | 3 anni fa | |
.gitignore | 3 anni fa | |
.gitmodules | 3 anni fa | |
Makefile | 3 anni fa | |
alist-procs.scm | 3 anni fa | |
bool-utils.scm | 3 anni fa | |
command-line.scm | 3 anni fa | |
display-utils.scm | 3 anni fa | |
interact.scm | 3 anni fa | |
iter-utils.scm | 3 anni fa | |
json-reader.scm | 3 anni fa | |
json-writer.scm | 3 anni fa | |
list-procs.scm | 3 anni fa | |
logging.scm | 3 anni fa | |
main.scm | 3 anni fa | |
math.scm | 3 anni fa | |
model.scm | 5 anni fa | |
print-utils.scm | 3 anni fa | |
readme.org | 3 anni fa | |
search.scm | 3 anni fa | |
settings.json | 2 anni fa | |
statistics.scm | 3 anni fa | |
transform.py | 5 anni fa | |
vector-procs.scm | 3 anni fa | |
vocabulary-data.scm | 2 anni fa |
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.