@@ -22,7 +22,7 @@ function __init__udenglish()
22
22
detail on the Website.
23
23
""" ,
24
24
" https://raw.githubusercontent.com/UniversalDependencies/UD_English-EWT/master/" .* [TRAINFILE, DEVFILE, TESTFILE],
25
- " 4f645242cc985ca59e744e3aebfb3d9e86507babd773ff3226c0bfeb3d0a52c3 "
25
+ " e26845c3c78140e15d82a425388bcc58016d511616e5c2669a2e580e8ae586c0 "
26
26
))
27
27
end
28
28
@@ -95,29 +95,3 @@ function UD_English(split::Symbol; dir=nothing)
95
95
metadata = Dict {String,Any} (" n_observations" => length (features))
96
96
return UD_English (metadata, split, features)
97
97
end
98
-
99
-
100
- # DEPRECATED INTERFACE, REMOVE IN v0.7 (or 0.6.x)
101
- function Base. getproperty (:: Type{UD_English} , s:: Symbol )
102
- if s === :traindata
103
- @warn " UD_English.traindata() is deprecated, use `UD_English(split=:train)[:]` instead."
104
- function traindata (; dir= nothing )
105
- UD_English (; split= :train , dir)[:]
106
- end
107
- return traindata
108
- elseif s === :testdata
109
- @warn " UD_English.testdata() is deprecated, use `UD_English(split=:test)[:]` instead."
110
- function testdata (; dir= nothing )
111
- UD_English (; split= :test , dir)[:]
112
- end
113
- return testdata
114
- elseif s === :devdata
115
- @warn " UD_English.devdata() is deprecated, use `UD_English(split=:dev)[:]` instead."
116
- function devdata (; dir= nothing )
117
- UD_English (; split= :dev , dir)[:]
118
- end
119
- return devdata
120
- else
121
- return getfield (UD_English, s)
122
- end
123
- end
0 commit comments