GithubHelp home page GithubHelp logo

ufal / mtmonkey Goto Github PK

View Code? Open in Web Editor NEW
33.0 13.0 9.0 1.72 MB

Distributed infrastructure for Machine Translation web services (using Moses, Python, JSON-RPC/web interface)

License: Other

Perl 4.65% Shell 17.89% Python 61.45% CSS 2.44% PHP 6.10% JavaScript 4.69% Smalltalk 2.22% Dockerfile 0.57%

mtmonkey's Issues

Translation scores

Output actual translation scores.

Nice to have: get scores using some baseline quality estimation approach instead of the rather uninformative translation probability output by Moses.

API: nBestSize: unique?

From the API:

nBestSize: integer -- maximum number of translation options

Should these be unique translations? You can specify the option nbest-distinct to mosesserver. If you don't, you may get ten times the same solutions, but with different scores (and perhaps different alignments?)

Type of alignmentInfo

In the API, it says:

alignmentInfo: string -- request alignment information (optional, default = "false")

Shouldn't this be type boolean, just like detokenize?

JSON string supported is much more cool

I am not sure the use of the schema in the screenshot below:
translatetype
Sometimes the XML and JSON files will be translated, i am not sure whether the function is wanting to allow different types of input files to be translated. if so, very cool. What I mean is that the toolkit can allow us to perform multiple translations within a single call through using JSON object. Exactly the same JSON object will be returned back but with translated values.

Resolve discrepancy between API and actual behavior for n-best lists

The API description puts the elements of the n-best list inside translated, but the implementation puts them inside translation. translated then contains the individual sentences of a single n-best list member.

We should unify the behavior of the code with the API description or the other way round, whichever is more reasonable.

install_virtualenv.sh breaks

Hi, when trying to run this script, I get the following error:

mkdir: cannot create directory /virtualenv': Permission denied ln: failed to create symbolic link./virtualenv': File exists
New python executable in /home/elav01/virtualenv/bin/python
Installing setuptools............done.
Installing pip...............done.
install_virtualenv.sh: line 32: virtualenv/bin/activate: No such file or directory

The problem does not occur if I run the script commands one by one from the commandline

GET vs POST

Currently, GET requests handle a small subset of arguments accepted by POST. We should unify this (should we?).

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.