A Javascript-only implementation of the Lewis & Short Latin Dictionary.
This is an implementation of a web-application for consulting A Latin Dictionary. Founded on Andrews’ edition of Freund's Latin dictionary, revised, enlarged, and in great part rewritten by Charlton T. Lewis, Ph.D., and Charles Short, LL.D. (Oxford: Clarendon Press, 1879).. It is written in entirely in Javascript, with as few external dependencies as possible, for longevity and stablity. Julia with the Dash framework. It is the successor to two earlier versions: one written in [Julia]((https://julialang.org) with the [Dash]((https://julialang.org) framework, and one, written in ScalaJS. (See, this blog post about that earlier version, and the data behind it)
I wanted a lexicon that depended as little as possible on fragile build-systems with innumerable dependencies. Both the Julia and Scala versions were laborious to update and keep online. This application uses jQuery and Marked.js, which can be hosted locally.
This version can be run entirely offline from a personal machine.
- Clone this repository.
- Put it somewhere, e.g.
/Users/your_user_name/Desktop/LewisShort.js
. - You might be able to run it by double-clicking on
index.html
. But your browser probably has security measures in place to prevent this. - So you need to "serve" the files by running a little local web-server.
- You can try SimpleWebServer. Follow the instructions to have it load
…/LewisShort.js/index.html
by default. - If you have Python installed, you can use it to run a simple server..
- Either way, start the server and aim your browser at the address you were given. It will be something like
localhost:8081/
.
- You can try SimpleWebServer. Follow the instructions to have it load
There is a Help File linked from the application, once you get it running.
I describe the work to transform the Lewis & Short data from openly licensed sources here. There is a link in the application for downloading the raw lexicon file, lexicon.cex
. This is a self-describing data-collection in the form of a single plain-text file, based on the CITE Architecture. That files is in the /data/
directory of this Git archive.
Thanks to the Perseus Digital Library and Gregory Crane, Helma Dik, and Giuseppe Celano for creating and publishing the data. All of the concepts behing this application are the result of a long and fruitful collaboration with Neel Smith.