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

upgrade chunk interface

parent 6968244d
Branches
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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment