From 6cc8e28aebe71a204037df30c76e240ed67b64e8 Mon Sep 17 00:00:00 2001 From: ilor <kailoran@gmail.com> Date: Tue, 24 May 2011 18:50:11 +0200 Subject: [PATCH] expose writers help in tokenwriter swig wrapper --- swig/tokenwriter.i | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/swig/tokenwriter.i b/swig/tokenwriter.i index 829fdbe..bb55c1a 100644 --- a/swig/tokenwriter.i +++ b/swig/tokenwriter.i @@ -37,7 +37,15 @@ namespace Corpus2 { // std::ostream& os(); const Tagset& tagset(); void finish(); - + + /* --------------------------------------------------------------------- */ + const Tagset& tagset() const; + static std::vector<std::string> available_writer_types(); + + /* --------------------------------------------------------------------- */ + static std::string writer_help(const std::string& class_id); + static std::vector<std::string> available_writer_types_help(); + /* --------------------------------------------------------------------- */ %exception { try { -- GitLab