GithubHelp home page GithubHelp logo

perseids-tools / morpheus-perseids-api Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 1.0 160 KB

API for Perseids version of Morpheus morphological analysis engine

License: MIT License

Dockerfile 0.83% Ruby 99.17%
morphology ancient-greek latin perseids-project ancient-greek-verbs classics

morpheus-perseids-api's People

Contributors

dependabot[bot] avatar dylanhudson avatar zfletch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

rohanparvez

morpheus-perseids-api's Issues

Process Morpheus output

Process Morpheus output to better reflect the order a user would select. For example, δεῖ can technically be imperfect, but it's most likely the present form. The morpheus-perseids-api should present the present conjugation before the imperfect one.

To help develop this, I've created the processing-output branch. It downloads a large number of treebanks, extracts the POSTag, and provides a script for running the code against these examples. (More information here.) We can use this branch to test different ordering methods.

Without any changes, these are the results:

Greek:
  Matches: 88079/147382, 59.76%
  Any match: 118388/147382, 80.33%
  Missing: 6983/147382, 4.74%
Latin:
  Matches: 12889/25315, 50.91%
  Any match: 21403/25315, 84.55%
  Missing: 1853/25315, 7.32%
Total:
  Matches: 100968/172697, 58.47%
  Any match: 139791/172697, 80.95%
  Missing: 8836/172697, 5.12%

(Note: Matches means that the first result is the correct one, Any match means that at least one of the results produced by Morpheus is correct, and Missing means that Morpheus produces no output given the input.)

Investigate noAposRetry option

See the conversation here.

The Alpheios version of Morphsvc retries Morpheus if there's no match and the string begins or ends with an apostrophe. It allows this functionality to be disabled by setting the noAposRetry flag. We should investigate 1. whether we want to implement this feature and 2. whether we want to have it be disabled with a flag.

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.