GithubHelp home page GithubHelp logo

perseids-project / lsj-js Goto Github PK

View Code? Open in Web Editor NEW
14.0 4.0 1.0 93.17 MB

Liddell-Scott-Jones Greek-English Lexicon in JavaScript

Home Page: https://apps.perseids.org/lsj/

License: MIT License

HTML 14.16% JavaScript 83.39% CSS 2.45%
perseids-project ancient-greek dictionary classics

lsj-js's Introduction

LSJ JS

This is the entire Liddell-Scott-Jones Greek-English Lexicon in JavaScript. You should be able to use this web app with or without internet access after you load it once.

Source

The LSJ text used is based on https://archive.org/details/Lsj--LiddellScott.

Try it Out

https://apps.perseids.org/lsj/

How to Use

Type a word in the input box and you should see the definition(s) appear below.

Iota after a long vowel can be written either as subscript or not: ᾗπερ and ἧιπερ are both valid.

If you include accents, breathing, and the iota subscript, then they will be included in the search. If you leave them out, it will try to find all potential matches.

You can also use Latin characters. The romanization is pretty flexible. For example, heiper, heper, eiper, and eper all work for ᾗπερ.

Installation

yarn install

Updating the dictionary

Update the file vendor/lsj.json with any changes then run yarn run build-dictionary.

Running the development server

yarn start

Building for deployment

Before creating a production build you need to know the path where it will be accessed. Then run the command PUBLIC_URL='./path/of/app' yarn build. This will generate a set of static files in the build/ directory that you can serve.

For example, if you want to deploy it at www.example.com/ then run PUBLIC_URL='./' yarn build. If you want to deploy it at www.example.com/lexica/lsj then run PUBLIC_URL='./lexica/lsj' yarn build.

Running tests

yarn test

Linting the code

yarn lint

Deploying a new version to github.io

yarn deploy-github

Deploying a new version to Perseids

yarn deploy-perseids

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.