Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
corpus2
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
corpus2
Commits
ff0a41e5
Commit
ff0a41e5
authored
12 years ago
by
Adam Radziszewski
Browse files
Options
Downloads
Patches
Plain Diff
tagger eval: add POS WC lower bound metric
parent
e6ee20cc
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/tagger-eval.py
+1
-0
1 addition, 0 deletions
utils/tagger-eval.py
with
1 addition
and
0 deletions
utils/tagger-eval.py
+
1
−
0
View file @
ff0a41e5
...
...
@@ -135,6 +135,7 @@ class Metric:
# as above but metric for POS hits
POS_WC
=
([
Feat
.
WEAK_POS_HIT
],
None
)
POS_SC
=
([
Feat
.
STRONG_POS_HIT
],
None
)
POS_WC_LOWER
=
([
Feat
.
WEAK_POS_HIT
,
Feat
.
SEG_NOCHANGE
],
None
)
# lower bound for POS WC
# separate stats for known and unknown forms
KN_WC
=
([
Feat
.
WEAK_TAG_HIT
,
Feat
.
KNOWN
],
[
Feat
.
KNOWN
])
UNK_WC
=
([
Feat
.
WEAK_TAG_HIT
,
Feat
.
UNKNOWN
],
[
Feat
.
UNKNOWN
])
...
...
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