TODO * grammar * parser * other semirings * sparse vector (unordered_map) * hg serialization? json/bson/msgpack/protocol buffers (no!) * hg: json input (jsoncpp?) * language model: kenlm