perseids-tools / morpheus-perseids-api Goto Github PK
View Code? Open in Web Editor NEWAPI for Perseids version of Morpheus morphological analysis engine
License: MIT License
API for Perseids version of Morpheus morphological analysis engine
License: MIT License
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.)
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.