diff --git a/sparv/modules/korp/config.py b/sparv/modules/korp/config.py index 81a2af6e..919b5b9c 100644 --- a/sparv/modules/korp/config.py +++ b/sparv/modules/korp/config.py @@ -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"),