Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement Dataset.load(source, LoaderConfig, **kwargs) #43

Open
Tracked by #26
johentsch opened this issue Jun 27, 2023 · 0 comments
Open
Tracked by #26

implement Dataset.load(source, LoaderConfig, **kwargs) #43

johentsch opened this issue Jun 27, 2023 · 0 comments
Milestone

Comments

@johentsch
Copy link
Member

johentsch commented Jun 27, 2023

Like for features, LoaderConfig can be either the name of a loader, a Loader object, or a Config describing one. If not specified, dimcat will infer the suited loader in this order:

  • If the source contains datapackage.json files, use PackageLoader
  • If the source contains resource.json files, use ResourceLoader
  • If the source contains metadata.tsv or concatenated_metadata.tsv (i.e., likely a DCML corpus or otherwise parsed using ms3) use MuseScoreLoader
  • else, decide based on the detected file extensions
@johentsch johentsch mentioned this issue Jun 27, 2023
9 tasks
@johentsch johentsch added this to the Loaders milestone Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant