Parse a tokens yaml instead of hardcoding the tokens
Compare changes
Files
4+ 6
− 0
@@ -51,6 +51,12 @@ def add_predict_parser(subcommands) -> None:
Closes #127 (closed) Extracting the entities confidence scores during prediction requires using the project tokens, this adds a --tokens argument. The yaml is then parsed to get the tokens' list.