Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iobber
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
Syntactic Tools
Chunking
Iobber
Commits
74447ecf
Commit
74447ecf
authored
12 years ago
by
Adam Radziszewski
Browse files
Options
Downloads
Patches
Plain Diff
fix iobber when no disamb_only input
parent
e0a790ff
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iobber/corpio.py
+2
-1
2 additions, 1 deletion
iobber/corpio.py
with
2 additions
and
1 deletion
iobber/corpio.py
+
2
−
1
View file @
74447ecf
...
...
@@ -55,8 +55,9 @@ def get_reader(in_path, tagset, input_format, read_disamb_only):
"""
Creates a reader using the options. If in_path evaluates to False,
will create a stdin reader. Set read_disamb_only to force reading only
'
disamb
'
lexemes/interpretations.
"""
fixd_format
=
input_format
if
read_disamb_only
:
fixd_format
=
input_format
+
'
,disamb_only
'
fixd_format
+
=
'
,disamb_only
'
# force casting sentences as AnnotatedSentences
# required to get XCES input right
fixd_format
+=
'
,ann
'
...
...
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