Joshua
open source statistical hierarchical phrase-based machine translation system
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Information for Developers

Source code

The Joshua source code repository is located at http://github.com/joshua-decoder/joshua. Active development is being done in the devel branch.

Style guide

Naming conventions

TBD

Tools

If you are developing Joshua using Eclipse, please import the GoogleStyle formatter configuration eclipse-java-google-style.xml, which can be downloaded from http://code.google.com/p/google-styleguide/source/browse/trunk.

In Eclipse preferences, go to Java -> Code Style -> Formatter. Then click on Import... and choose eclipse-java-google-style.xml.

Format

  • 100 characters maximum line width
  • Indent with 2 spaces
  • Use spaces only for tabbing
  • Open brace on same line
  • Keep else if on one line
  • TBD