sig
  exception Error of string
  val doc_of_nmm_file : bool -> string -> Doc_types.tr_doc
  val doc_of_nmm_string : bool -> string -> Doc_types.tr_doc
  val doc_of_nmm_stdin : bool -> Doc_types.tr_doc
  val doc_of_nmm_file_with_tagger :
    (Doc_types.tr_blk_itm -> Doc_types.tr_blk_itm) ->
    string -> Doc_types.tr_doc
  val doc_of_nmm_stdin_with_tagger :
    (Doc_types.tr_blk_itm -> Doc_types.tr_blk_itm) -> Doc_types.tr_doc
  val doc_of_nmm_string_with_tagger :
    (Doc_types.tr_blk_itm -> Doc_types.tr_blk_itm) ->
    string -> Doc_types.tr_doc
end