Defines interfaces and provides infrastructure for hierarchical phrase-based translation grammars.