https://github.com/bakkdoor/svl
Latin Library Word Statistics
https://github.com/bakkdoor/svl
analysis graph-algorithms graphdb graphs language latin statistics
Last synced: 8 months ago
JSON representation
Latin Library Word Statistics
- Host: GitHub
- URL: https://github.com/bakkdoor/svl
- Owner: bakkdoor
- License: bsd-3-clause
- Created: 2023-08-20T03:33:39.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-31T14:36:03.000Z (about 1 year ago)
- Last Synced: 2025-04-09T14:04:12.396Z (about 1 year ago)
- Topics: analysis, graph-algorithms, graphdb, graphs, language, latin, statistics
- Language: Rust
- Homepage:
- Size: 449 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Statistica Verbōrum Latīna
[](https://github.com/bakkdoor/svl/actions/workflows/ci.yml)
This repo implements various algorithms to analyze Latin texts found on [thelatinlibrary.com](https://thelatinlibrary.com) and produce statistics about them.
It uses [CozoDB](https://www.cozodb.org/) for storage and querying (using its Datalog dialect) of the textual data as well as [Rust](https://www.rust-lang.org/) 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](https://www.rust-lang.org/tools/install).
Then, clone this repository and build the project:
```bash
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:
```bash
cargo install --path .
```
Or directly (without the need for cloning the repository) with:
```bash
cargo install --git https://github.com/bakkdoor/svl.git
```
## Usage
You can run the program with:
```bash
./target/release/svl --help
```
CozoDB is used to store the data using the rocksdb storage backend.
### Create Cozo Graph DB with schema
```bash
svl create-db
```
### Import texts from [thelatinlibrary.com](https://thelatinlibrary.com)
```bash
svl import-library
```
### Run REPL to query DB interactively via CLI
```bash
svl repl
```
### Run custom UI to query DB interactively
```bash
svl ui
```