Skip to content
Snippets Groups Projects
Commit 3b606b1c authored by ilor's avatar ilor
Browse files

wrap AnnotationView properly and wrap create_view

parent 37924220
No related merge requests found
......@@ -58,6 +58,10 @@ namespace Corpus2 {
/* --------------------------------------------------------------------- */
std::string annotation_info() const;
};
boost::shared_ptr<AnnotationView> create_view(
const boost::shared_ptr<AnnotatedSentence>& s,
const std::string& ann_name);
}
using namespace std;
......
......@@ -13,7 +13,7 @@
%include "std_string.i"
%include "boost_shared_ptr.i"
// %template(AnnotatedSentencePtr) boost::shared_ptr<AnnotatedSentence>;
%template(AnnotationViewPtr) boost::shared_ptr<Corpus2::AnnotationView>;
%nodefaultctor Corpus2::TokenWriter;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment