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
Commits
d8a0229e
Commit
d8a0229e
authored
1 year ago
by
Manon Blanco
Browse files
Options
Downloads
Patches
Plain Diff
Update documentation
parent
f0ec449d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dan/datasets/extract/__init__.py
+1
-1
1 addition, 1 deletion
dan/datasets/extract/__init__.py
docs/usage/datasets/extract.md
+1
-0
1 addition, 0 deletions
docs/usage/datasets/extract.md
with
2 additions
and
1 deletion
dan/datasets/extract/__init__.py
+
1
−
1
View file @
d8a0229e
...
...
@@ -90,7 +90,7 @@ def add_extract_parser(subcommands) -> None:
parser
.
add_argument
(
"
--only-entities
"
,
action
=
"
store_true
"
,
help
=
"
Extract text with their entities and r
emove all text that does not belong to the tokens.
"
,
help
=
"
R
emove all text that does not belong to the tokens.
"
,
)
parser
.
add_argument
(
"
--allow-unknown-entities
"
,
...
...
This diff is collapsed.
Click to expand it.
docs/usage/datasets/extract.md
+
1
−
0
View file @
d8a0229e
...
...
@@ -12,6 +12,7 @@ Use the `teklia-dan dataset extract` command to extract a dataset from an Arkind
|
`--parent-element-type`
| Type of the parent element containing the data. |
`str`
|
`page`
|
|
`--output`
| Folder where the data will be generated. |
`Path`
| |
|
`--load-entities`
| Extract text with their entities. Needed for NER tasks. |
`bool`
|
`False`
|
|
`--only-entities`
| Remove all text that does not belong to the tokens. |
`bool`
|
`False`
|
|
`--allow-unknown-entities`
| Ignore entities that do not appear in the list of tokens. |
`bool`
|
`False`
|
|
`--tokens`
| Mapping between starting tokens and end tokens. Needed for NER tasks. |
`Path`
| |
|
`--use-existing-split`
| Use the specified folder IDs for the dataset split. |
`bool`
| |
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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