GreekScientificOrthography.jl

Published

July 29, 2024

An orthographic system for ancient Greek mathematical and scientific texts.

Quick start: tokenization

Validate the orthography of a string:

using GreekScientificOrthography, Orthography
ortho = stemortho()

archimedes = "ἡ ΓΕ πρὸς ΓΗ μείζονα λόγον ἔχει ἤπερ φοαʹ πρὸς ρνγʹ."
validstring(archimedes, ortho)
true

Tokenize a string:

tkns = tokenize(archimedes, ortho)
12-element Vector{OrthographicToken}:
 OrthographicToken("ἡ", LexicalToken())
 OrthographicToken("ΓΕ", FigureLabelToken())
 OrthographicToken("πρὸς", LexicalToken())
 OrthographicToken("ΓΗ", FigureLabelToken())
 OrthographicToken("μείζονα", LexicalToken())
 OrthographicToken("λόγον", LexicalToken())
 OrthographicToken("ἔχει", LexicalToken())
 OrthographicToken("ἤπερ", LexicalToken())
 OrthographicToken("φοαʹ", MilesianIntegerToken())
 OrthographicToken("πρὸς", LexicalToken())
 OrthographicToken("ρνγʹ", MilesianIntegerToken())
 OrthographicToken(".", PunctuationToken())

Documentation

Learning the package Using the package
Hands-on Try a tutorial to start using the package Find recipes for specific tasks
Cognition The orthography of Greek math and science See reference information (including API documentation for all exported functions)