Apertium-viewer
Apertium-view is a little program which can be used to view and edit the output of the various stages of an apertium translation.
The various stages update while you type, and a change made in any one pane updates the subsequent stages.
Currently, the program is in its early stages and it will take some time before it becomes fully usable. But if you are a developer with some knowledge of Java, you can already dive in.
What you need
- Java JDK 1.6
Getting apertium-view
Executable JAR: http://javabog.dk/filer/ApertiumView.jar
Source code (Netbeans project): http://javabog.dk/filer/ApertiumView.zip
Running apertium-view
Just double-click on ApertiumView.jar
It this don't work, type
java -jar ApertiumView.jar
from the command line
Testing unreleased language pairs from subversion
You don't need to install your language pair anywhere to use it. Just choose File | Load mode and select the mode file from the language pair.
Features
- Allow users to set 'mark unknown words' or not (Alt-M)
- Automatically resizing panes (Fit text button, Alt-I)
- Alt-0 brings focus to the first pane (input), Alt-1 to the second, etc. Alt-9 brings focus to the last (output)
- Undo on a per text-pane/stage basis (Ctrl-Z, redo is Ctrl-Y)
- Copy all button puts text for all stages into clipboard (Alt-C)
- Commands can be hidden for clearer view (Alt-S)
- Syntax highlighting
- Removing scrollbars when not wanted.
- Configuration / choosing language pair in the GUI.
- Scroll panes down when they fill with more information.
- Zoom button to get a detached window (particularly input and output windows).
- Remember settings when closed (language pair, input text, size of panes, windows size and position etc).
- It DOESENT use dbus. Rather you can just directly point to a mode file and use it. Therefore language pairs can be tested directly from the SVN source directory, without installing them.
Feature requests
- Moving chunks as units rather than text.
- foo{ bar } baz { bin } → baz{ bin } foo { bar }
- Option to be able to click on an analysis to remove it. (basically, when you click in between / /, it removes the part in between.
Related software
- Apertium-view is very similar to, just coded in Python instead of Java.
- Apertium-tolk is similar to, but much simpler than Apertium-view. It only has an input window and an output window. Where Apertium-view is aimed at developers, Apertium-tolk is intended to be as user friendly as possible.