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
0c62e4eb
There was an error fetching the commit references. Please try again later.
Commit
0c62e4eb
authored
12 years ago
by
unknown
Browse files
Options
Downloads
Patches
Plain Diff
fix one c++ UB in corpus2_whole
parent
70a3893c
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libcorpus2_whole/io/corpusreader.cpp
+4
-0
4 additions, 0 deletions
libcorpus2_whole/io/corpusreader.cpp
libcorpus2_whole/io/corpusreader.h
+2
-0
2 additions, 0 deletions
libcorpus2_whole/io/corpusreader.h
with
6 additions
and
0 deletions
libcorpus2_whole/io/corpusreader.cpp
+
4
−
0
View file @
0c62e4eb
...
...
@@ -30,6 +30,10 @@ CorpusReader::CorpusReader(const Tagset& tagset, const std::string& corpus_type)
//
}
CorpusReader
::~
CorpusReader
()
{
}
boost
::
shared_ptr
<
Corpus
>
CorpusReader
::
read
(
const
std
::
string
&
corpus_file_path
)
{
try
{
...
...
This diff is collapsed.
Click to expand it.
libcorpus2_whole/io/corpusreader.h
+
2
−
0
View file @
0c62e4eb
...
...
@@ -36,6 +36,8 @@ public:
*/
CorpusReader
(
const
Tagset
&
tagset
,
const
std
::
string
&
corpus_type
);
virtual
~
CorpusReader
();
/**
* Reads corpus from given path
* @arg corpus_file Path to file contains paths to corpus files.
...
...
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