Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
82241fb5
Commit
82241fb5
authored
Dec 10, 2010
by
Paweł Kędzia
Browse files
Options
Downloads
Patches
Plain Diff
When sentence file not loaded, sentence has one empty token
parent
d07a58cf
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
wcclparser/main.cpp
+1
-0
1 addition, 0 deletions
wcclparser/main.cpp
with
1 addition
and
0 deletions
wcclparser/main.cpp
+
1
−
0
View file @
82241fb5
...
...
@@ -210,6 +210,7 @@ int main(int argc, char** argv)
boost
::
shared_ptr
<
Corpus2
::
Sentence
>
sentence
;
if
(
sentence_load
.
empty
())
{
sentence
.
reset
(
new
Corpus2
::
Sentence
);
sentence
->
append
(
new
Corpus2
::
Token
(
""
,
PwrNlp
::
Whitespace
::
ManySpaces
));
}
else
{
std
::
ifstream
ifs
(
sentence_load
.
c_str
());
if
(
ifs
.
good
())
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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