GithubHelp home page GithubHelp logo

willf / greek-inflexion Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jtauber/greek-inflexion

0.0 1.0 0.0 836 KB

Python library for generating (and analyzing) Ancient Greek inflectional paradigms

License: MIT License

Shell 0.51% Python 99.11% CSS 0.38%

greek-inflexion's Introduction

greek-inflexion

Build Status

A Python 3 library for generating (and analyzing) Ancient Greek inflectional paradigms.

greek-inflexion builds on my generic inflexion library, adding a stem database and ending rules for Ancient Greek along with accentuation logic built on top of my greek-accentuation library.

It can precisely generate (i.e. without over-generation) all the forms in the verbal paradigms in Louise Pratt's The Essentials of Greek Grammar, Helma Dik's Nifty Greek Handouts, and Keller and Russell's Learn to Read Greek. It can also generate the nouns in Pratt.

For each generated form, it can show the stem, ending, and morphophonological (sandhi) rule applied.

Entire paradigms can be generated at once in the same YAML format used for tests.

The library can also parse forms whose information is in the given lexicon or conjecture possible stem information if not.

For more of my work on linguistics and Ancient Greek, see http://jktauber.com/.

Documentation

To run the full data tests from Pratt, Dik, and Keller and Russell, just run ./data_test.py.

For the noun data tests, run ./noun_data_test.py.

See examples.rst for individual usage examples of the library.

TODO

Most of these are partially done elsewhere and I'm in the process of cleaning them up and moving them into this repo.

  • reduction of repetition in ending rules
  • better tools for analysis of forms
  • better stem shape heuristics when conjecturing stems
  • better stem conjecture when multiple forms available
  • richer stem database from principal parts lists
  • support for more nominal forms

greek-inflexion's People

Contributors

jtauber avatar etyates avatar fhardison avatar nathans avatar

Watchers

 avatar

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.