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

Handling TokenMetaData in Token wrapper.

parent be086e8f
Branches
No related merge requests found
......@@ -9,9 +9,11 @@
%include "lexeme.i"
%include "tagset.i"
%include "tokenmetadata.i"
%include "std_string.i"
%include "std_vector.i"
%include "boost_shared_ptr.i"
%feature("notabstract") Corpus2::Token;
......@@ -57,6 +59,10 @@ namespace Corpus2 {
bool has_disamb_lexeme() const;
int count_disamb_lexemes() const;
boost::shared_ptr<TokenMetaData> get_metadata() const;
void set_metadata(TokenMetaData& md);
void set_metadata_ptr(boost::shared_ptr<TokenMetaData> md);
};
}
......
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