|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Static Public Member Functions | |
| static void | main (String[] args) |
Static Package Functions | |
| static void | incrementCurrentSourceIndex () |
| static void | decrementCurrentSourceIndex () |
| static void | setCurrentSourceIndex (int index) |
| static void | incrementCurrentCandidateIndex () |
| static void | decrementCurrentCandidateIndex () |
| static void | setCurrentCandidateIndex (int index) |
| static String | getCurrentSourceSentence () |
| static String | getCurrentReferenceTranslation () |
| static ArrayList< String > | getCurrentCandidateTranslations () |
| static ArrayList< String > | getCurrentOneBests () |
| static TranslationInfoList | getTranslationInfo () |
Static Package Attributes | |
| static ArrayList < DerivationTreeFrame > | activeFrame |
| static Color[] | dataSetColors = {Color.red, Color.orange, Color.blue, Color.green} |
Static Private Member Functions | |
| static void | initializeChooserFrame () |
| static void | refreshLists () |
Static Private Attributes | |
| static final String | USAGE = "USAGE: Browser <source> <reference> <n-best>" |
| static int | currentSourceIndex |
| static int | currentCandidateIndex |
| static TranslationInfoList | translations |
| static JList | oneBestList |
| static final int | DEFAULT_WIDTH = 640 |
| static final int | DEFAULT_HEIGHT = 480 |
| static void joshua.ui.tree_visualizer.browser.Browser.decrementCurrentCandidateIndex | ( | ) | [static, package] |
Decrements currentCandidateIndex unless is is already at zero.
| static void joshua.ui.tree_visualizer.browser.Browser.decrementCurrentSourceIndex | ( | ) | [static, package] |
Decrements currentSourceIndex, unless it is already at zero.
| static ArrayList<String> joshua.ui.tree_visualizer.browser.Browser.getCurrentCandidateTranslations | ( | ) | [static, package] |
Returns the candidate translation currently pointed to by the candidate index.
| static ArrayList<String> joshua.ui.tree_visualizer.browser.Browser.getCurrentOneBests | ( | ) | [static, package] |
Returns the one-best translation text currently pointed to by the source index.
| static String joshua.ui.tree_visualizer.browser.Browser.getCurrentReferenceTranslation | ( | ) | [static, package] |
Returns the reference translation for the translation information currently pointed to by the source index.
| static String joshua.ui.tree_visualizer.browser.Browser.getCurrentSourceSentence | ( | ) | [static, package] |
Returns the source sentence of the translation information currently pointed to by the source index.
| static TranslationInfoList joshua.ui.tree_visualizer.browser.Browser.getTranslationInfo | ( | ) | [static, package] |
Returns information about all the translations stored in the source, reference, and n-best files.
| static void joshua.ui.tree_visualizer.browser.Browser.incrementCurrentCandidateIndex | ( | ) | [static, package] |
Increments currentCandidateIndex, unless it is already at its maximum.
| static void joshua.ui.tree_visualizer.browser.Browser.incrementCurrentSourceIndex | ( | ) | [static, package] |
Increments currentSourceIndex, unless it is already at its maximum.
| static void joshua.ui.tree_visualizer.browser.Browser.initializeChooserFrame | ( | ) | [static, private] |
Initializes the various JComponents in the chooser frame.
| static void joshua.ui.tree_visualizer.browser.Browser.main | ( | String[] | args | ) | [static] |
| args | the paths to the source, reference, and n-best files |
| static void joshua.ui.tree_visualizer.browser.Browser.refreshLists | ( | ) | [static, private] |
Removes and re-adds the appropriate values to the reference and one-best lists.
| static void joshua.ui.tree_visualizer.browser.Browser.setCurrentCandidateIndex | ( | int | index | ) | [static, package] |
Sets currentCandidateIndex to the specified value.
| index | the value to assign to currentCandidateIndex |
| static void joshua.ui.tree_visualizer.browser.Browser.setCurrentSourceIndex | ( | int | index | ) | [static, package] |
ArrayList<DerivationTreeFrame> joshua.ui.tree_visualizer.browser.Browser.activeFrame [static, package] |
The current frame that displays a derivation tree.
int joshua.ui.tree_visualizer.browser.Browser.currentCandidateIndex [static, private] |
The index of currentCandidateTranslation in the source sentence's translation information.
int joshua.ui.tree_visualizer.browser.Browser.currentSourceIndex [static, private] |
The index of currentSourceSentence in the translation information.
Color [] joshua.ui.tree_visualizer.browser.Browser.dataSetColors = {Color.red, Color.orange, Color.blue, Color.green} [static, package] |
List of colors to be used in derivation trees
final int joshua.ui.tree_visualizer.browser.Browser.DEFAULT_HEIGHT = 480 [static, private] |
Default height of the chooser frame.
final int joshua.ui.tree_visualizer.browser.Browser.DEFAULT_WIDTH = 640 [static, private] |
Default width of the chooser frame.
JList joshua.ui.tree_visualizer.browser.Browser.oneBestList [static, private] |
A list that contains the one best translation of each source sentence.
TranslationInfoList joshua.ui.tree_visualizer.browser.Browser.translations [static, private] |
Holds the translation information contained in the source, reference, and n-best files.
final String joshua.ui.tree_visualizer.browser.Browser.USAGE = "USAGE: Browser <source> <reference> <n-best>" [static, private] |
Usage message.