Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
corpus2
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
corpus2
Commits
285b2827
Commit
285b2827
authored
13 years ago
by
Paweł Kędzia
Browse files
Options
Downloads
Patches
Plain Diff
DocumentReader reads relations
parent
a3b32114
Branches
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libcorpus2/io/docreader.cpp
+4
-0
4 additions, 0 deletions
libcorpus2/io/docreader.cpp
libcorpus2/io/docreader.h
+2
-1
2 additions, 1 deletion
libcorpus2/io/docreader.h
with
6 additions
and
1 deletion
libcorpus2/io/docreader.cpp
+
4
−
0
View file @
285b2827
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
libcorpus2/io/docreader.h
+
2
−
1
View file @
285b2827
/*
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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment