In human: camelCase to underscore. In pcfg: .rhs() to .rhs and .lhs() to .lhs. In viterbi: slice meaning.