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

A way of exposing the fact that there are multiple DataDeps defined for some Corpora #11

Open
oxinabox opened this issue Apr 26, 2018 · 1 comment

Comments

@oxinabox
Copy link
Member

oxinabox commented Apr 26, 2018

SemCor for example has many versions of the database with datadeps defined.

What I kind of want to do is make a function: (for some corpus called Corpus)
`datadeps(::Type{Corpus})=["datadep name 1", "datadep name 2" ....]
or something like that.

I think that would work, if using plain strings.
Then to summon them programmatically one would do:

Corpus(@datadep_str datadeps(Corpus)[1])

or normally via

Corpus(datadep"datadep name 1")

This would go well with oxinabox/DataDeps.jl#8

@oxinabox
Copy link
Member Author

oxinabox commented Jul 5, 2018

Embeddings.jl
does this.

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