vct
is a simple utility to learn vocabulary. It allows you to manage your vocabulary in categories and more.
It will question you about the meanings of a vocabulary and optionally additional information (like gender if needed).
Stable is the preferred version to install. It may not have the newest and greatest but it will run smoothly
vct
is in the AUR as vct
. You can just install it that way
- clone the repository
- run
./configure.sh -p <prefix>
to set the prefix to install to - run
make install
Nightly is a kind of stable version but still in development. You will probably encounter bugs but it is usable. Nightly also receives updates more frequently than stable and you will get features earlier
- clone the repository
- run
./configure.sh -p <prefix>
to set the prefix to install to (preferably/usr/local
) - run
make install
To learn existing vocabulary use the -l
or --lang
option followed by whatever language you want to learn.
It will search for that language in a path set in the config file and the default option in $XDG_CONFIG_HOME/vct/dicts
.
Then it will ask you all the vocabulary in a random order and you type in its meaning.
If a vocabulary has multiple meanings it will ask multiple times.
When you're finished it will tell you how many you had right and it will show a small bar with the percentage.
To create a set of vocabulary use the -d
or --dict
flag followed by:
- the language
- the vocabulary
- the meanings as a comma separated list if the language doesn't already exist it will be created.
vct
allows for querying existing vocabulary using the -q
or --query
option
followed by the pattern to search for. It will search in meaning and
name. Currently you cannot filter by language.
The configuration file is in $XDG_CONFIG_HOME/vct/config.toml
(if $XDG_CONFIG_HOME
doesn't exist it will be in ~/.config/vct/config.toml
)
and currently has only two fields:
dict = "dicts"
vocab = "one"
additionals = true
clearlines = true
database = false # database is not recommended currently since there is a lack of support for writing and migrating from dict files
dbpath = "vocab.db"
dicts
: a list of strings/paths where dictionaries are. If the path doesn't start with a slash it gets automatically put in the config directoryvocab
: can beone
orall
. Defines how many meanings get learned per vocab (can be overwritten with-V
or--vocab
)additionals
: can betrue
orfalse
. Tellsvct
whether or not to ask you for additional information about the vocabulary (can be overwritten with--adds
and--noadds
)clearlines
: can betrue
orfalse
. Tellsvct
whether or not to clear unused lines (can be overwritten with--clear
and--noclear
)
It is currently only developed by me. If you encounter any bugs report them here. If you want to add a new feature or help development otherwise feel free to make a pull request on GitHub.