Giter Site home page Giter Site logo

akhos-react's Introduction

Akhos

A tool for students of Greek and Latin.

Hosted Page Link: https://akhos.net/


Getting Started

To get started, load the page and type in your desired text in either Latin or Greek. Initial load time may take longer than expected due to loading built-in dictionary files.

If you don't know either language, here are a few example phrases for you to try out with copy and paste.

Greek:
    ἄνδρα μοι ἔννεπε μοῦσα
        The first four words of Homer's Odyssey, "Tell me of a man, Muse..."

Latin:
    arma virumque cano
        The first three words of Virgil's Aeneid, ""Of arms and the man I sing..."

After Submit

You can hover over each word to see its morphology, and if you want a particular word to remain visible, simply click on it.

Warning!! If a long phrase is input, expect the phrase to take a while to show up and work properly.


Please enjoy, and I hope it's in some way helpful in your quest to learn and read the Classical Languages.


Credits:

Lewis & Short JSON file compiled from the work of https://github.com/IohannesArnold 
Original Credit for XML dictionary goes to https://www.perseus.tufts.edu 

Wiktionary API used for obtaining 'Wiki Definition' information

LSJ JSON file obtained from https://github.com/perseids-project

Morphology APIs for Greek & Latin accessed through the Perseids Project: https://github.com/perseids-project

akhos-react's People

Contributors

diosakhilleus avatar

Stargazers

 avatar

Watchers

 avatar

akhos-react's Issues

Headword Ordering

Maybe fix the order of the displayed content if a given form has multiple headwords. The last form given always seems to be the most relevant.

Issues with αὐτός

An input of αὐτός doesn't work for some reason. αὐτὴ works, but αὐτός does not. I think it's from incorrect parsing. The error message says ....pers is not defined. Probably have to change return data structure for this type of word.

Word Types

Finish adding support for different word types in Greek & Latin!!

Multiword Display not working with Latin

On mouseover it still thinks that I'm looking for the greek information, which makes sense given that that's the only thing I've provided. Should be a relatively simple fix.

XML Formatting

Fix issue where dataAsJson["TEI.2"].text.body.div0.entry.sense is an object instead of an array. Currently the code won't run to parse it because it's an obj.

Long phrase issue

When entering a multi-line phrase, it's hard to mouse over each word because the other words interfere!

Unknown Latin Issue

Weird Latin issue: if i type "ergo" it crashes. This didn't happen before, and DevTools says the problem is at src/components/Mult.js:5

Wiki Formatting Issues

Information back from wiki was weirdly formatted, so always came back with HTML tags intact that were sometimes hard to account for.

Firefox Scroll Bar

The scroll bar in Firefox is large and expands every time I hover over a word. It bothers me because the page should remain static.

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.