Coder Social home page Coder Social logo

dimwid's Introduction

DIMwid

DIMwid (Decoder Inspection for Moses using widgets) is a tool presenting Moses' different chart/stack outputs in a readable tabular view.

Installation

In order to run DIMwid you need to install PyQt, Qt 4.8 and Python 2.7. Other versions have not yet been tested. Linux/Unix users simply install these packages using their package-manager or built them from source. Windows can skip the installation of Qt since PyQt itself does cover everything, except Python.

Usage

Users are recommended to read the accompanying paper "DIMwid -- Decoder Inspection for Moses (using Widgets)" appearing in PBML XY.

DIMwid is able to read multiple decoder outputs of the Moses translation system. These include the standard trace outputs for both phrase- and syntax-based decoding, the search-graphs for both, the "level 3 verbose" output for phrase-based and a special trace output (available as a Moses fork at : https://github.com/RobinQrtz/mosesdecoder) for all possible translations for syntax-based decoding.

After producing the outputs from Moses, start DIMwid by running DIMwid.py and first select your format and after that your file. If you have chosen the wrong file or format an error message will appear. Otherwise you will see the first sentence. Cells can be inspected by either double-clicking, opening a new window with the full content, or hovering over the cell, showing a tooltip with the first 20 lines of the cell's content.

If needed, the user can restrict the number of rules per cell, using the "Cell Limit" spinbox.

Navigating through the sentences of the input file can be done by either using the "Next" and "Prev" buttons, or choosing a certain sentence number using the lower left spinbox and clicking the "GoTo" button.

Moses

Information about Moses can be found here: http://statmt.org/moses/

The used flags for the output are: * -t for phrase-based trace * -T for syntax-based trace * -v 3 for phrase-based verbose level 3 * -output-search-graph for both search graphs * -Tall for the Moses fork's new feature

Trouble

If you are running into trouble using DIMwid or have suggestions for improvements or new features email me at

robin DOT qrtz AT gmail DOT com

dimwid's People

Contributors

robinqrtz avatar

Stargazers

 avatar

Watchers

 avatar  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.