Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pos_tagger
Manage
Activity
Members
Labels
Plan
Issues
5
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
Package Registry
Container Registry
Operate
Environments
Terraform modules
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
pos_tagger
Commits
9e4a8ce4
Commit
9e4a8ce4
authored
10 months ago
by
Paweł Walkowiak
Browse files
Options
Downloads
Plain Diff
Merge branch 'senselink_fix' into 'master'
Senselink fix See merge request
!17
parents
664190da
922ae121
Branches
Branches containing commit
1 merge request
!17
Senselink fix
Pipeline
#22140
failed with stages
in 1 minute and 47 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+5
-7
5 additions, 7 deletions
.gitlab-ci.yml
src/utils.py
+1
-1
1 addition, 1 deletion
src/utils.py
with
6 additions
and
8 deletions
.gitlab-ci.yml
+
5
−
7
View file @
9e4a8ce4
...
@@ -49,28 +49,26 @@ pages:
...
@@ -49,28 +49,26 @@ pages:
paths
:
paths
:
-
public
-
public
build_develop
:
build_develop
:
except
:
except
:
-
master
-
master
stage
:
build_develop
stage
:
build_develop
image
:
docker:
18.09.7
image
:
docker:
23.0.3
services
:
services
:
-
'
docker:
18.09.7
-dind
'
-
"
docker:
23.0.3
-dind
"
script
:
script
:
-
docker build -t $CI_REGISTRY_IMAGE:develop .
-
docker build -t $CI_REGISTRY_IMAGE:develop .
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker push $CI_REGISTRY_IMAGE:develop
-
docker push $CI_REGISTRY_IMAGE:develop
build_master
:
build_master
:
stage
:
build_master
stage
:
build_master
image
:
'
docker:
18.09.7'
image
:
"
docker:
23.0.3"
only
:
only
:
-
master
-
master
services
:
services
:
-
'
docker:
18.09.7
-dind
'
-
"
docker:
23.0.3
-dind
"
script
:
script
:
-
docker build -t $CI_REGISTRY_IMAGE:latest .
-
docker build -t $CI_REGISTRY_IMAGE:latest .
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker push $CI_REGISTRY_IMAGE:latest
-
docker push $CI_REGISTRY_IMAGE:latest
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/utils.py
+
1
−
1
View file @
9e4a8ce4
...
@@ -837,7 +837,7 @@ def get_pos_sentences(document, marker_start, marker_stop, pos_list):
...
@@ -837,7 +837,7 @@ def get_pos_sentences(document, marker_start, marker_stop, pos_list):
for
idx
,
token
in
enumerate
(
tokens
):
for
idx
,
token
in
enumerate
(
tokens
):
if
token
.
lexemes
[
0
].
pos
.
split
(
"
:
"
)[
0
]
in
pos_to_mark
:
if
token
.
lexemes
[
0
].
pos
.
split
(
"
:
"
)[
0
]
in
pos_to_mark
:
start
,
stop
=
token
.
start
,
token
.
stop
start
,
stop
=
token
.
start
,
token
.
stop
choosen_tokens
.
append
(
document
.
text
[
start
:
stop
]
)
choosen_tokens
.
append
(
token
.
id
)
part_start
=
tokens
[
part_start
=
tokens
[
max
(
idx
-
LINKING_MARGIN_SIZE
,
0
)
max
(
idx
-
LINKING_MARGIN_SIZE
,
0
)
].
start
].
start
...
...
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