From 6257e56e324b409b18154a03e198ff4ffea2fc34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pawe=C5=82=20K=C4=99dzia?= <Pawel.Kedzia@pwr.wroc.pl>
Date: Tue, 15 Nov 2011 13:21:44 +0100
Subject: [PATCH] Sentence id accessor

---
 libcorpus2/sentence.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libcorpus2/sentence.h b/libcorpus2/sentence.h
index ee572d9..5c465e4 100644
--- a/libcorpus2/sentence.h
+++ b/libcorpus2/sentence.h
@@ -113,6 +113,11 @@ public:
 		return tokens_[0];
 	}
 
+	/// Identifier getter
+	const std::string id() const {
+		return id_;
+	}
+
 protected:
 	/// The tokens this sentence contains and owns
 	std::vector<Token*> tokens_;
-- 
GitLab