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
6301912a
Commit
6301912a
authored
14 years ago
by
Adam Radziszewski
Browse files
Options
Downloads
Patches
Plain Diff
wcclrules fix stdin/files
parent
d1d4bbc1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wcclrules/main.cpp
+3
-1
3 additions, 1 deletion
wcclrules/main.cpp
with
3 additions
and
1 deletion
wcclrules/main.cpp
+
3
−
1
View file @
6301912a
...
...
@@ -163,12 +163,14 @@ int main(int argc, char** argv)
foreach
(
const
std
::
string
&
f
,
files
)
{
if
(
boost
::
algorithm
::
ends_with
(
f
,
".xml"
))
{
corpora_files
.
push_back
(
f
);
corpus_stdin
=
false
;
}
else
{
ccl_files
.
push_back
(
f
);
}
}
// consider stdin only when no corpus files given
corpus_stdin
=
corpus_stdin
&&
corpora_files
.
empty
();
try
{
const
Corpus2
::
Tagset
&
tagset
=
Corpus2
::
get_named_tagset
(
tagset_load
);
Wccl
::
Parser
parser
(
tagset
);
...
...
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