Skip to content
Snippets Groups Projects
Commit 68de7799 authored by ilor's avatar ilor
Browse files

upgrade chunk interface

parent 6968244d
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,15 @@ public:
boost::shared_ptr<Chunk> clone_shared() const;
bool empty() const {
return sentences_.empty();
}
/// Size accessor
size_t size() const {
return sentences_.size();
}
bool has_attribute(const std::string& name) const;
std::string get_attribute(const std::string& name) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment