Skip to content

Commit

Permalink
Fix config validation for korp.context and korp.within again
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHammarstedt committed May 13, 2024
1 parent cd09c66 commit a039655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sparv/modules/korp/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@
Config(
"korp.context",
description="Contexts to use in Korp, from smaller to bigger. Leave blank to detect automatically.",
datatype=List[dict],
datatype=List[Union[dict, str]]
),
Config(
"korp.within",
description="Search boundaries to use in Korp, from smaller to bigger. "
"Leave blank to detect automatically.",
datatype=List[dict],
datatype=List[Union[dict, str]]
),
Config("korp.custom_annotations", description="Custom Korp-annotations.", datatype=List[dict]),
Config("korp.morphology", description="Morphologies"),
Expand Down

0 comments on commit a039655

Please sign in to comment.