You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 oxinabox/DataDeps.jl#8
The text was updated successfully, but these errors were encountered: