Skip to content
Snippets Groups Projects

Remove the `load_entities` parameter from the `extract` command

Merged Manon Blanco requested to merge remove-load-entities-parameter into main
4 files
+ 4
21
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -97,11 +97,6 @@ def add_extract_parser(subcommands) -> None:
)
# Optional arguments.
parser.add_argument(
"--load-entities",
action="store_true",
help="Extract text with their entities.",
)
parser.add_argument(
"--entity-separators",
type=validate_char,
@@ -116,7 +111,7 @@ def add_extract_parser(subcommands) -> None:
parser.add_argument(
"--tokens",
type=pathlib.Path,
help="Mapping between starting tokens and end tokens. Needed for entities.",
help="Mapping between starting tokens and end tokens to extract text with their entities.",
required=False,
)
Loading