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:
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 https://github.com/oxinabox/DataDeps.jl/issues/8