Skip to content
Snippets Groups Projects

Filter entities by name when extracting data from Arkindex

Merged Manon Blanco requested to merge allow-unknown-entities into main
All threads resolved!
6 files
+ 93
58
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -83,7 +83,14 @@ def add_extract_parser(subcommands) -> None:
# Optional arguments.
parser.add_argument(
"--load-entities", action="store_true", help="Extract text with their entities."
"--load-entities",
action="store_true",
help="Extract text with their entities.",
)
parser.add_argument(
"--only-entities",
action="store_true",
help="Remove all text that does not belong to the tokens.",
)
parser.add_argument(
"--allow-unknown-entities",
Loading