From fcd7e23b19f757c4907067fa37411dec738321f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pawe=C5=82=20K=C4=99dzia?= <Pawel.Kedzia@pwr.wroc.pl>
Date: Sun, 27 Nov 2011 22:53:03 +0100
Subject: [PATCH] Updeted AnnotatedSentence and Sentence constructors

---
 swig/annotatedsentence.i | 2 +-
 swig/sentence.i          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/swig/annotatedsentence.i b/swig/annotatedsentence.i
index e04c0a0..07232be 100644
--- a/swig/annotatedsentence.i
+++ b/swig/annotatedsentence.i
@@ -32,7 +32,7 @@ namespace Corpus2 {
     typedef std::map<std::string, AnnotationChannel> chan_map_t;
 
     /* --------------------------------------------------------------------- */
-    AnnotatedSentence();
+    AnnotatedSentence(const std::string &id = "");
     ~AnnotatedSentence();
     
     /* --------------------------------------------------------------------- */
diff --git a/swig/sentence.i b/swig/sentence.i
index edf2c47..955ad7d 100644
--- a/swig/sentence.i
+++ b/swig/sentence.i
@@ -24,7 +24,7 @@ namespace Corpus2 {
     
     /* --------------------------------------------------------------------- */
 
-    Sentence();
+    Sentence(const std::string &id = "");
     ~Sentence();
 
     /* --------------------------------------------------------------------- */
-- 
GitLab