Skip to content

Commit 2fc683b

Browse files
authored
Merge pull request #21 from JuliaML/minor_updates
Minor updates
2 parents 9d9d7bc + 7ceea90 commit 2fc683b

File tree

8 files changed

+26
-17
lines changed

8 files changed

+26
-17
lines changed

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ os:
33
- linux
44
- osx
55
julia:
6-
- 0.6
6+
- 0.7
7+
- 1.0
78
- nightly
89
notifications:
910
email: false
@@ -22,7 +23,11 @@ addons:
2223
install:
2324
#- sudo pip install pymdown-extensions
2425

26+
# uncomment the following lines to override the default test script
27+
#script:
28+
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
29+
# - julia --check-bounds=yes -e 'using Pkg; Pkg.add(pwd()); Pkg.build("MLDatasets"); Pkg.test("MLDatasets"; coverage=true)'
30+
2531
after_success:
26-
- julia -e 'cd(Pkg.dir("MLDatasets")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
27-
- julia -e 'Pkg.add("Documenter")'
28-
- julia -e 'cd(Pkg.dir("MLDatasets")); include(joinpath("docs", "make.jl"))'
32+
- julia -e 'using Pkg, MLDatasets; cd(joinpath(dirname(pathof(MLDatasets)), "..")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
33+
- julie -e 'using Pkg; Pkg.add("Documenter"); cd(joinpath(dirname(pathof(MLDatasets)), "..")); include(joinpath("docs", "make.jl"))'

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# MLDatasets.jl
22

3+
[![Julia 0.6 Status](http://pkg.julialang.org/badges/MLDatasets_0.6.svg)](http://pkg.julialang.org/?pkg=MLDatasets&ver=0.6)
4+
[![Julia 0.7 Status](http://pkg.julialang.org/badges/MLDatasets_0.7.svg)](http://pkg.julialang.org/?pkg=MLDatasets&ver=0.7)
5+
[![Julia 1.0 Status](http://pkg.julialang.org/badges/MLDatasets_1.0.svg)](http://pkg.julialang.org/?pkg=MLDatasets&ver=1.0)
6+
37
[![Docs](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaML.github.io/MLDatasets.jl/stable)
48
[![Build Status](https://travis-ci.org/JuliaML/MLDatasets.jl.svg?branch=master)](https://travis-ci.org/JuliaML/MLDatasets.jl)
59

@@ -101,8 +105,8 @@ where `MLDataset` adds the special word: `<eos>` to the end of `y`.
101105

102106
#### UD English
103107

104-
The [UD_English](https://github.com/UniversalDependencies/UD_English)
105-
dataset is an annotated corpus of morphological features,
108+
The [UD_English](https://github.com/UniversalDependencies/UD_English-EWT)
109+
Universal Dependencies English Web Treebank dataset is an annotated corpus of morphological features,
106110
POS-tags and syntactic trees. The dataset follows CoNLL-style
107111
format.
108112

src/CIFAR10/CIFAR10.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module CIFAR10
5959
6060
This function will display an interactive dialog unless
6161
either the keyword parameter `i_accept_the_terms_of_use` or
62-
the environment variable `DATADEPS_ALWAY_ACCEPT` is set to
62+
the environment variable `DATADEPS_ALWAYS_ACCEPT` is set to
6363
`true`. Note that using the data responsibly and respecting
6464
copyright/terms-of-use remains your responsibility.
6565
"""

src/CIFAR100/CIFAR100.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module CIFAR100
4747
4848
This function will display an interactive dialog unless
4949
either the keyword parameter `i_accept_the_terms_of_use` or
50-
the environment variable `DATADEPS_ALWAY_ACCEPT` is set to
50+
the environment variable `DATADEPS_ALWAYS_ACCEPT` is set to
5151
`true`. Note that using the data responsibly and respecting
5252
copyright/terms-of-use remains your responsibility.
5353
"""

src/FashionMNIST/FashionMNIST.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module FashionMNIST
8080
8181
This function will display an interactive dialog unless
8282
either the keyword parameter `i_accept_the_terms_of_use` or
83-
the environment variable `DATADEPS_ALWAY_ACCEPT` is set to
83+
the environment variable `DATADEPS_ALWAYS_ACCEPT` is set to
8484
`true`. Note that using the data responsibly and respecting
8585
copyright/terms-of-use remains your responsibility.
8686
"""

src/MNIST/MNIST.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module MNIST
6464
6565
This function will display an interactive dialog unless
6666
either the keyword parameter `i_accept_the_terms_of_use` or
67-
the environment variable `DATADEPS_ALWAY_ACCEPT` is set to
67+
the environment variable `DATADEPS_ALWAYS_ACCEPT` is set to
6868
`true`. Note that using the data responsibly and respecting
6969
copyright/terms-of-use remains your responsibility.
7070
"""

src/UD_English/UD_English.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ module UD_English
1414
download
1515

1616
const DEPNAME = "UD_English"
17-
const TRAINFILE = "en-ud-train.conllu"
18-
const DEVFILE = "en-ud-dev.conllu"
19-
const TESTFILE = "en-ud-test.conllu"
17+
const TRAINFILE = "en_ewt-ud-train.conllu"
18+
const DEVFILE = "en_ewt-ud-dev.conllu"
19+
const TESTFILE = "en_ewt-ud-test.conllu"
2020

2121
download(args...; kw...) = download_dep(DEPNAME, args...; kw...)
2222

@@ -42,7 +42,7 @@ module UD_English
4242
Marie-Catherine de Marneffe and Samuel
4343
Bowman and Miriam Connor and John Bauer and
4444
Christopher D. Manning
45-
Website: https://github.com/UniversalDependencies/UD_English
45+
Website: https://github.com/UniversalDependencies/UD_English-EWT
4646
4747
A Gold Standard Universal Dependencies Corpus for
4848
English, built over the source material of the
@@ -70,7 +70,7 @@ module UD_English
7070
responsibility. Copyright and License is discussed in
7171
detail on the Website.
7272
""",
73-
"https://raw.githubusercontent.com/UniversalDependencies/UD_English/master/" .* [TRAINFILE, DEVFILE, TESTFILE],
73+
"https://raw.githubusercontent.com/UniversalDependencies/UD_English-EWT/master/" .* [TRAINFILE, DEVFILE, TESTFILE],
7474
"2311e260488453d5ba170cfd94e58ac4bd536263ea9545c7b25f0804e87b28a2",
7575
))
7676
end

src/download.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ using DataDeps
33

44
function with_accept(f, manual_overwrite)
55
auto_accept = if manual_overwrite == nothing
6-
get(ENV, "DATADEPS_ALWAY_ACCEPT", false)
6+
get(ENV, "DATADEPS_ALWAYS_ACCEPT", false)
77
else
88
manual_overwrite
99
end
10-
withenv(f, "DATADEPS_ALWAY_ACCEPT" => string(auto_accept))
10+
withenv(f, "DATADEPS_ALWAYS_ACCEPT" => string(auto_accept))
1111
end
1212

1313
function datadir(depname, dir = nothing; i_accept_the_terms_of_use = nothing)

0 commit comments

Comments
 (0)