|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
| DerivationTree (String tree) | |
| DerivationTree (String tree, String source) | |
| Node | getRoot () |
| Node | getSourceRoot () |
| void | addCorrespondences () |
| void | setSubtreeHighlight (Node n, boolean b) |
Static Public Member Functions | |
| static void | main (String[] argv) |
Static Public Attributes | |
| static final String | DELIMITER = "\\|\\|\\|" |
| static final String | SPACE = "\\s+" |
| static final int | TGT_LINE = 1 |
| static final int | SRC_LINE = 1 |
Package Attributes | |
| Node | picked |
Private Member Functions | |
| void | graph (String tree) |
| int | treeToGraph (String[] toks, Node parent, int curr) |
| Node | addVertexWithContext (String child, Node parent, boolean isSource) |
| int | addSourceNodes (Node curr, Node parent, int currentSourceIndex) |
Private Attributes | |
| Node | root |
| Node | sourceRoot |
| String | source |
| LinkedList< Node > | vertices |
Static Private Attributes | |
| static final long | serialVersionUID = 2914449263979566324L |
| joshua.ui.tree_visualizer.DerivationTree.DerivationTree | ( | String | tree | ) |
| joshua.ui.tree_visualizer.DerivationTree.DerivationTree | ( | String | tree, |
| String | source | ||
| ) |
| int joshua.ui.tree_visualizer.DerivationTree.addSourceNodes | ( | Node | curr, |
| Node | parent, | ||
| int | currentSourceIndex | ||
| ) | [private] |
| Node joshua.ui.tree_visualizer.DerivationTree.addVertexWithContext | ( | String | child, |
| Node | parent, | ||
| boolean | isSource | ||
| ) | [private] |
| void joshua.ui.tree_visualizer.DerivationTree.graph | ( | String | tree | ) | [private] |
| static void joshua.ui.tree_visualizer.DerivationTree.main | ( | String[] | argv | ) | [static] |
| void joshua.ui.tree_visualizer.DerivationTree.setSubtreeHighlight | ( | Node | n, |
| boolean | b | ||
| ) |
| int joshua.ui.tree_visualizer.DerivationTree.treeToGraph | ( | String[] | toks, |
| Node | parent, | ||
| int | curr | ||
| ) | [private] |
final String joshua.ui.tree_visualizer.DerivationTree.DELIMITER = "\\|\\|\\|" [static] |
final long joshua.ui.tree_visualizer.DerivationTree.serialVersionUID = 2914449263979566324L [static, private] |
Eclipse thinks this is necessary.
String joshua.ui.tree_visualizer.DerivationTree.source [private] |
final String joshua.ui.tree_visualizer.DerivationTree.SPACE = "\\s+" [static] |
final int joshua.ui.tree_visualizer.DerivationTree.SRC_LINE = 1 [static] |
final int joshua.ui.tree_visualizer.DerivationTree.TGT_LINE = 1 [static] |
LinkedList<Node> joshua.ui.tree_visualizer.DerivationTree.vertices [private] |