This repo implements various algorithms to analyze Latin texts found on thelatinlibrary.com and produce statistics about them. It uses CozoDB for storage and querying (using its Datalog dialect) of the textual data as well as Rust for the overall implementation.
It is a work in progress.
Make sure you have Rust installed. If not, you can install it from here.
Then, clone this repository and build the project:
git clone https://github.com/bakkdoor/svl.git
cd svl
cargo build --release
The executable will be in the ./target/release
directory.
You can install svl using cargo from this directory with:
cargo install --path .
Or directly (without the need for cloning the repository) with:
cargo install --git https://github.com/bakkdoor/svl.git
You can run the program with:
./target/release/svl --help
CozoDB is used to store the data using the rocksdb storage backend.
svl create-db
Import texts from thelatinlibrary.com
svl import-library
svl repl
svl ui