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
e2ebf2b5
Commit
e2ebf2b5
authored
12 years ago
by
Adam Radziszewski
Browse files
Options
Downloads
Patches
Plain Diff
assert expected classifier response
parent
8897ad73
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
iobber/chunker.py
+2
-0
2 additions, 0 deletions
iobber/chunker.py
with
2 additions
and
0 deletions
iobber/chunker.py
+
2
−
0
View file @
e2ebf2b5
...
...
@@ -227,6 +227,8 @@ class Chunker:
non_O_tag
,
non_O_chan
=
decsn_array
elif
len
(
decsn_array
)
==
3
:
non_O_tag
,
non_O_chan
,
is_head
=
decsn_array
else
:
raise
IOError
(
'
Unexpected label returned from classifier:
'
+
decsn
)
for
chan_name
in
chans
:
chan
=
asent
.
get_channel
(
chan_name
)
# TODO: rename the from_string in corpus2 and fix it here
...
...
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