Skip to content

bakkdoor/svl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Statistica Verbōrum Latīna

CI

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.

Build

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.

Installation

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

Usage

You can run the program with:

./target/release/svl --help

CozoDB is used to store the data using the rocksdb storage backend.

Create Cozo Graph DB with schema

svl create-db

Import texts from thelatinlibrary.com

svl import-library

Run REPL to query DB interactively via CLI

svl repl

Run custom UI to query DB interactively

svl ui