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!
5 files
+ 65
35
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -85,6 +85,11 @@ def add_extract_parser(subcommands) -> None:
parser.add_argument(
"--load-entities", action="store_true", help="Extract text with their entities."
)
parser.add_argument(
"--allow-unknown-entities",
action="store_true",
help="Ignore entities that do not appear in the list of tokens.",
)
parser.add_argument(
"--tokens",
type=pathlib.Path,
Loading