Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stat
Manage
Activity
Members
Labels
Plan
Issues
0
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
nlpworkers
stat
Commits
4611a91b
There was an error fetching the commit references. Please try again later.
Commit
4611a91b
authored
4 years ago
by
Tomasz Walkowiak
Browse files
Options
Downloads
Patches
Plain Diff
new version
parent
99c7e165
No related merge requests found
Pipeline
#2565
passed with stages
in 1 minute and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/category.py
+2
-1
2 additions, 1 deletion
src/category.py
with
2 additions
and
1 deletion
src/category.py
+
2
−
1
View file @
4611a91b
...
@@ -43,7 +43,8 @@ class Model:
...
@@ -43,7 +43,8 @@ class Model:
self
.
synsets
[
str
(
synset
)]
=
(
tag
,
lemma
)
self
.
synsets
[
str
(
synset
)]
=
(
tag
,
lemma
)
else
:
else
:
if
var
is
not
None
:
if
var
is
not
None
:
self
.
variants
[
lemma
.
replace
(
"
"
,
"
_
"
)
+
"
.
"
+
str
(
var
)]
=
(
tag
,
lemma
)
t
=
lemma
.
replace
(
"
"
,
"
_
"
)
+
"
.
"
+
str
(
var
)
self
.
variants
[
t
]
=
(
tag
,
lemma
)
else
:
else
:
self
.
lemmas
[
lemma
]
=
tag
self
.
lemmas
[
lemma
]
=
tag
wb
.
close
()
wb
.
close
()
...
...
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