Skip to content

Script that retrieves dictionary definitions from the Liddell–Scott–Jones Greek–English Lexicon (LSJ) for words saved as a list

Notifications You must be signed in to change notification settings

josh-dillon/getdefs_LSJ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

getdefs_LSJ

A Python script that retrieves dictionary definitions from the Liddell–Scott–Jones Greek–English Lexicon (LSJ) for words saved as a list in a text file

Instructions

Download the LSJ xml files here: https://github.com/helmadik/LSJLogeion

Update the location of the files in the script (replace "/path/to/LSJ" with your directory in double quotation marks).

Save a UTF-8 text file of Greek words, each on a new line, in the same directory as this script. Give it the name "wordlist.txt".

Run the script from Terminal:

$ python3 getdefs_LSJ.py

Depending on the number of words in your list, the script may need some time to finish, so be patient.

The script will create "output.txt", a tab-delimited text file containing your words and their definitions, provided it finds the relevant lemmata in the LSJ.

Check definitions thoroughly. The script imports definitions only, no grammatical details like gender, case usage or voice information.

Credits

The incomparable Helma Dik of Logeion, Perseus Tufts

Errors

Please report LSJ errors here: https://logeion.uchicago.edu/ (click "Report a Problem" at top right-hand corner).

About

Script that retrieves dictionary definitions from the Liddell–Scott–Jones Greek–English Lexicon (LSJ) for words saved as a list

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages