Skip to content
Snippets Groups Projects
Commit 9ecab1e4 authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Pass some ccl relations xml file constants on to swig.

parent e5f3b5fb
Branches
No related merge requests found
......@@ -6,6 +6,15 @@
#include <libcorpus2_whole/io/relreader.h>
%}
%constant std::string RELATION_TAG = Corpus2::whole::RELATION_TAG;
%constant std::string RELATIONS_TAG = Corpus2::whole::RELATIONS_TAG;
%constant std::string RELATION_DIRECT_FROM = Corpus2::whole::RELATION_DIRECT_FROM;
%constant std::string RELATION_DIRECT_TO = Corpus2::whole::RELATION_DIRECT_TO;
%constant std::string RELATION_NAME = Corpus2::whole::RELATION_NAME;
%constant std::string RELATION_SENTENCE_ID = Corpus2::whole::RELATION_SENTENCE_ID;
%constant std::string RELATION_CHANNEL_NAME = Corpus2::whole::RELATION_CHANNEL_NAME;
namespace Corpus2 {
namespace whole {
class RelationReader {
......
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