Tutorials

Published

June 4, 2024

Start with one of these tutorials to learn how to use the EditorsRepo package.

Briefest possible example

Create an EditingRepository by giving the repository function the root directory of your editing repository.

We’ll use a sample repository in the test/data directory of this github project.

using EditorsRepo
#| output: false
repo = joinpath(root, "test", "data", "splitdocs")
r = repository(repo)
EditingRepository("/Users/nsmith/Desktop/current-work/EditorsRepo.jl/test/data/splitdocs/editions", "/Users/nsmith/Desktop/current-work/EditorsRepo.jl/test/data/splitdocs/dse", "/Users/nsmith/Desktop/current-work/EditorsRepo.jl/test/data/splitdocs/config")

Collect a corpus of normalized texts from the repository.

normalizedcorpus(r)
Corpus with 4 citable passages in 1 documents.