Hi moses users, This message is only of interest if you use Moses's word lattice translation features. Since Moses is hardly graceful when it encounters malformed lattice input, I've added a simple binary (moses-cmd/src/checkplf) that you can use to verify that your lattice inputs are both syntactically correct and don't have any inconsistencies (e.g., edges pointing to non-existent nodes, edges skipping nodes, cycles, etc.). If the program identifies a problem, it will try to tell you where it is so you can figure out how to repair the lattice. checkplf will also provide you some statistics about the number of paths, edges, nodes, and densities of your input, which may be of interest.
For details, consult the relevant section of the documentation here: http://www.statmt.org/moses/?n=Moses.WordLattices Example: $ ./checkplf < ok.plf Reading PLF from STDIN... PLF format appears to be correct. STATISTICS: Number of lattices: 1 Total number of nodes: 7 Total number of edges: 9 Average density: 1.28571 edges/node Total number of paths: 4 Average number of paths: 4 -Chris _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
