Skip to content
Snippets Groups Projects
Commit 285b2827 authored by Paweł Kędzia's avatar Paweł Kędzia
Browse files

DocumentReader reads relations

parent a3b32114
Branches
No related merge requests found
......@@ -47,6 +47,10 @@ namespace Corpus2 {
}
}
// Read relations and adds them to the document
const std::vector< boost::shared_ptr<Relation> > relations =
rel_reader_->relations();
return document;
}
......
/*
Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski
Copyright (C) 2010 Tomasz Śniatowski, Adam Radziszewski, Paweł Kędzia
Part of the libcorpus2 project
This program is free software; you can redistribute it and/or modify it
......@@ -17,6 +17,7 @@ or FITNESS FOR A PARTICULAR PURPOSE.
#ifndef LIBCORPUS2_DOCREADER_H
#define LIBCORPUS2_DOCREADER_H
#include <libcorpus2/relation.h>
#include <libcorpus2/document.h>
#include <libcorpus2/io/cclreader.h>
#include <libcorpus2/io/relreader.h>
......
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