Skip to content

Throw proper error message for configuration type mismatch #79

Open
@jennyzhang-petuum

Description

@jennyzhang-petuum

Is your feature request related to a problem? Please describe.
When running SpacyProcessor, the config field processor need to be a list of string and it didn't throw error when processor field was provided a string but this string would not work as this config field. Because it does an iteration of the config in the set up part, if the config is a string then it simply loop each character.

Describe the solution you'd like
To do a check on the Type of the config field processor when read in. It could be done in the function validate_spacy_configs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions