Skip to content
Snippets Groups Projects
Commit 69e21191 authored by Paweł Kędzia's avatar Paweł Kędzia
Browse files

Added wrapper for RelationReader

parent b4bed1f4
Branches
No related merge requests found
......@@ -16,6 +16,7 @@
%include "lexeme.i"
%include "libpwrnlperror.i"
%include "relation.i"
%include "relationreader.i"
%include "sentence.i"
%include "tag.i"
%include "tagging.i"
......
#ifndef SWIG_LIBCORPUS2_RELATIONREADER_I
#define SWIG_LIBCORPUS2_RELATIONREADER_I
%module libcorpusrelationreader
%{
#include <libcorpus2/io/relreader.h>
%}
namespace Corpus2 {
class RelationReader {
public:
RelationReader(const std::string &rela_path);
const std::vector< boost::shared_ptr<Relation> >& relations();
};
}
using namespace std;
using namespace Corpus2;
#endif /* SWIG_LIBCORPUS2_RELATIONREADER_I */
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