diff --git a/swig/sentence.i b/swig/sentence.i
index 955ad7dd428fd6f449b30faba28984ea6b92daa6..09cca92ec91cb34f20efc3968a7a02423c450ddc 100644
--- a/swig/sentence.i
+++ b/swig/sentence.i
@@ -47,6 +47,12 @@ namespace Corpus2 {
     const Token* first_token() const;
 
     const std::string id() const;
+
+    %extend {
+      static boost::shared_ptr<Corpus2::Sentence> create_sent(const std::string &id) {
+        return boost::shared_ptr<Corpus2::Sentence>(new Corpus2::Sentence(id));
+      }
+    }
   };
 }