Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DAN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Automatic Text Recognition
DAN
Merge requests
!214
Filter entities by name when extracting data from Arkindex
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Filter entities by name when extracting data from Arkindex
allow-unknown-entities
into
main
Overview
14
Commits
9
Pipelines
0
Changes
6
Merged
Manon Blanco
requested to merge
allow-unknown-entities
into
main
1 year ago
Overview
6
Commits
9
Pipelines
0
Changes
6
Expand
Closes
#134 (closed)
0
0
Merge request reports
Viewing commit
0e2836ec
Prev
Next
Show latest version
6 files
+
111
−
61
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
0e2836ec
Suggestions
· 0e2836ec
Manon Blanco
authored
1 year ago
dan/datasets/extract/__init__.py
+
5
−
1
Options
@@ -100,7 +100,11 @@ def add_extract_parser(subcommands) -> None:
"
--entity-separators
"
,
type
=
validate_char
,
nargs
=
"
+
"
,
help
=
"
Removes all text that does not appear in an entity or in the list of given characters. Do not give any arguments for keeping the whole text.
"
,
help
=
"""
Removes all text that does not appear in an entity or in the list of given ordered characters.
If several separators follow each other, keep only the first to appear in the list.
Do not give any arguments to keep the whole text.
"""
,
required
=
False
,
)
parser
.
add_argument
(
Loading