Closed anne17 closed 3 years ago
In 49069a3 I added info about importers and exporters to the sparv modules
command. One thing that's still missing here is costum annotation arguments. And it would be nice if sparv modules
could take arguments like importers
to only show info about importers (the list of modules is really long now).
The sparv modules
command works pretty well now and one can supply both flags like --annotators
, --importers
, --exporters
and --custom_annotators
to get all annotation functions from a specific category and positional arguments like korp
to get information about specific annotation modules.
@MartinHammarstedt is working on converting the built-in custom annotators into ordinary annotators using wildcards. Once this is done we may want to remove the --custom_annotators
option since it won't really serve a purpose then. Custom annotations created by a user (supplied by python code in the corpus dir) are always listed as "ordinary" annotators/importers/exporters.
Not all custom annotators could be converted to wildcard annotators, but the separate custom annotators section in sparv modules
has been removed and the annotators now live among the regular annotators.
Skriv kommentarer till alla configvariabler, gör dem synliga i CLIet.