diff --git a/swig/libccltagrule.i b/swig/libccltagrule.i index d9db4091fcebcdb37b4f1b031caf1685b8aa7c42..b694be1a89c4285d6d3368cf0bb72ad21d9d04c2 100644 --- a/swig/libccltagrule.i +++ b/swig/libccltagrule.i @@ -49,8 +49,8 @@ namespace Wccl { TagRule clone_clean() const; /* --------------------------------------------------------------------- */ - boost::shared_ptr<TagRule> clone_ptr() const; - boost::shared_ptr<TagRule> clone_clean_ptr() const; + shared_ptr<TagRule> clone_ptr() const; + shared_ptr<TagRule> clone_clean_ptr() const; /* --------------------------------------------------------------------- */ %rename(OperatorEqTagRule) *::operator=(const TagRule& other); diff --git a/swig/libccltagrulesequence.i b/swig/libccltagrulesequence.i index 2c5bde4a5a5e2e333f86823e7a4afccd96ea1514..f85f04f721dfb713c4eac05425171b25653648ed 100644 --- a/swig/libccltagrulesequence.i +++ b/swig/libccltagrulesequence.i @@ -27,14 +27,14 @@ namespace Wccl { /* --------------------------------------------------------------------- */ %rename(OpFunTagRuleSequence) operator()( - const boost::shared_ptr<Corpus2::Sentence>& sentence + const shared_ptr<Corpus2::Sentence>& sentence ); - Bool operator()(const boost::shared_ptr<Corpus2::Sentence>& sentence); + Bool operator()(const shared_ptr<Corpus2::Sentence>& sentence); /* --------------------------------------------------------------------- */ - Bool execute_once(const boost::shared_ptr<Corpus2::Sentence>& sentence); - int execute_until_done(const boost::shared_ptr<Corpus2::Sentence>& sentence, int max_iter = 1000); + Bool execute_once(const shared_ptr<Corpus2::Sentence>& sentence); + int execute_until_done(const shared_ptr<Corpus2::Sentence>& sentence, int max_iter = 1000); std::string to_string(const Corpus2::Tagset& tagset) const; }; diff --git a/swig/wccl.i b/swig/wccl.i index e5bbb2acf6d0e75c9222e1cadfa4084faf295075..59505d8a116628d0a0664a10bd61c7194daa5139 100644 --- a/swig/wccl.i +++ b/swig/wccl.i @@ -22,8 +22,8 @@ %include "libcclsentencecontext.i" %include "libcclstrset.i" %include "libccltagaction.i" -// %include "libccltagrule.i" -// %include "libccltagrulesequence.i" +%include "libccltagrule.i" +%include "libccltagrulesequence.i" %include "libccltokenmatch.i" %include "libccltset.i" %include "libcclvalue.i"