Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
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
WCCL
Commits
f146cf82
Commit
f146cf82
authored
13 years ago
by
ilor
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of nlp.pwr.wroc.pl:wccl
parents
e646d433
d40804e0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wccl-apps/wccl-run.cpp
+4
-4
4 additions, 4 deletions
wccl-apps/wccl-run.cpp
with
4 additions
and
4 deletions
wccl-apps/wccl-run.cpp
+
4
−
4
View file @
f146cf82
...
...
@@ -310,7 +310,7 @@ void Runner::run(boost::shared_ptr<Corpus2::TokenReader> reader, bool first)
if
(
aggregate_output_
)
{
want_header_
=
false
;
}
if
(
!
outputs
.
empty
()
&&
!
aggregate_output_
)
{
if
(
!
outputs
.
empty
()
&&
(
tabs
||
!
aggregate_output_
)
)
{
output_tabular
(
outputs
);
outputs
.
clear
();
}
...
...
@@ -318,7 +318,7 @@ void Runner::run(boost::shared_ptr<Corpus2::TokenReader> reader, bool first)
timer
.
check_slice
();
}
if
(
!
filter_op_
)
{
if
(
!
aggregate_output_
)
{
if
(
tabs
||
!
aggregate_output_
)
{
std
::
cout
<<
"
\n
"
;
}
else
{
outputs
.
resize
(
outputs
.
size
()
+
1
);
...
...
@@ -326,7 +326,7 @@ void Runner::run(boost::shared_ptr<Corpus2::TokenReader> reader, bool first)
}
if
(
first
)
break
;
}
if
(
!
outputs
.
empty
()
&&
aggregate_output_
)
{
if
(
!
outputs
.
empty
())
{
output_tabular
(
outputs
);
}
}
...
...
@@ -382,7 +382,7 @@ int main(int argc, char** argv)
(
"filter-operator,F"
,
value
(
&
filter_op_name
),
"Filter operator name"
)
(
"filter-value"
,
value
(
&
filter_op_value
)
->
default_value
(
"True"
),
"Filter operator expected val
y
e"
)
"Filter operator expected val
u
e"
)
(
"aggregate-output,A"
,
value
(
&
aggregate
),
"Aggregate output (prettier, slower)"
)
(
"progress,p"
,
value
(
&
progress
)
->
zero_tokens
(),
...
...
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