Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
easymatcher
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
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
easymatcher
Commits
7869bc72
Commit
7869bc72
authored
1 year ago
by
Paweł Walkowiak
Browse files
Options
Downloads
Patches
Plain Diff
Save single doc as list
parent
c86119bb
No related merge requests found
Pipeline
#14673
passed with stages
in 12 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/easymatcher_worker.py
+2
-2
2 additions, 2 deletions
src/easymatcher_worker.py
with
2 additions
and
2 deletions
src/easymatcher_worker.py
+
2
−
2
View file @
7869bc72
...
@@ -65,9 +65,9 @@ class EasymatcherWorker(nlp_ws.NLPWorker):
...
@@ -65,9 +65,9 @@ class EasymatcherWorker(nlp_ws.NLPWorker):
except
json
.
decoder
.
JSONDecodeError
:
except
json
.
decoder
.
JSONDecodeError
:
with
open
(
input_path
,
"
r
"
)
as
fin
:
with
open
(
input_path
,
"
r
"
)
as
fin
:
text
=
fin
.
read
()
text
=
fin
.
read
()
documents_in
=
clarin_json
.
Document
(
documents_in
=
[
clarin_json
.
Document
(
id
=
str
(
uuid4
()),
text
=
text
id
=
str
(
uuid4
()),
text
=
text
)
)
]
documents
=
[{
"
text
"
:
text
}]
documents
=
[{
"
text
"
:
text
}]
for
labels_path
,
labels_dict_name
in
zip
(
labels_path_list
,
labels_name_list
):
for
labels_path
,
labels_dict_name
in
zip
(
labels_path_list
,
labels_name_list
):
...
...
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