Skip to content

A Julia library for transliterating Ancient Greek: Beta Code Greek, Unicode, Latin

License

Notifications You must be signed in to change notification settings

Eumaeus/BetaReader.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BetaReader.jl

A Julia library for transliterating Ancient Greek from Beta Code to Unicode, from Unicode to Beta Code, and from either Beta Code or Unicode to a transliteration in Latin characters.

The Beta Code → Unicode function is coordinated with the functionality of the Javascript BetaReader.js library. (That library handles only the transliteration from Beta Code to Unicode.)

version 2.2.3 585 tests

Using

Having installed Julia and navigated to this respository's directory…

  • % julia (start Julia)
  • julia> ] (activate command-mode)
  • pkg> activate .
  • julia> using BetaReader
  • julia> BetaReader.betaToUnicode("mh=nin a)/eide")
  • julia> BetaReader.unicodeToBeta("μῆνιν ἄειδε θεά")
  • julia> BetaReader.unicodeToLatinUnicode("μῆνιν ἄειδε θεά")
  • julia> BetaReader.betacodeToLatinUnicode("mh=nin a)/eide")

N.b. This release is includes breaking changes. The former function transcodeGreek() is now betaToUnicode().

Testing

Run the unit tests like this:

  • julia> ] (activate command-mode)
  • pkg> activate .
  • pkg> test

Tutorial

This repository includes a tutorial in the form of a Pluto notebook, at notebooks/Tutorial.jl.

Coverage & Reference

The official Beta Code manual is here. This library does not intend to cover that in full.

This repository includes a complete reference guide in both Markdown and as a PDF.

To generate a reference guide from the code:

  • julia> usingBetaReader (if you haven't already done that)
  • julia> println(BetaReader.printReferenceGuide())

About

A Julia library for transliterating Ancient Greek: Beta Code Greek, Unicode, Latin

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages