diff --git a/swig/lexeme.i b/swig/lexeme.i index 00646e28ac8566245a9d8ae8e130bcf37b7a27e7..8e3b2566cf00cb059cfc825436c1b50bd48752fc 100644 --- a/swig/lexeme.i +++ b/swig/lexeme.i @@ -15,9 +15,6 @@ %feature("notabstract") Corpus2::Lexeme; -%rename(__op_eq__) Corpus2::Lexeme::operator==(const Lexeme& other) const; -%rename(__op_lw__) Corpus2::Lexeme::operator<(const Lexeme& other) const; - %template(LexemeVector) std::vector<Corpus2::Lexeme>; namespace Corpus2 { diff --git a/swig/tag.i b/swig/tag.i index 146175ebf8450e0d46d668014702e1342493ee3d..dfad31aadeecafac8a3f315a914222ae4ecb31fd 100644 --- a/swig/tag.i +++ b/swig/tag.i @@ -17,9 +17,6 @@ %feature("notabstract") Corpus2::Tag; -%rename(__op_eq__) Corpus2::Tag::operator==(const Tag& other) const; -%rename(__op_lw__) Corpus2::Tag::operator<(const Tag& other) const; - %template(TagVector) std::vector<Corpus2::Tag>; namespace Corpus2 { diff --git a/swig/token.i b/swig/token.i index c5f803ab649c1f5e414cbb39cd421da7f23b2fa2..9cea646b11617476fcb6afd7fa850f62d0bceead 100644 --- a/swig/token.i +++ b/swig/token.i @@ -18,8 +18,6 @@ %feature("notabstract") Corpus2::Token; -%rename(__op_eq__) Corpus2::Token::operator==(const Corpus2::Token& other) const; - %template(TokenPtr) boost::shared_ptr<Corpus2::Token>; %template(ConstTokenPtr) boost::shared_ptr<const Corpus2::Token>;