Skip to content

Commit f33ebca

Browse files
authored
Fix typos (#215)
* Update graph.jl * Update smsspamcollection.jl * Update ptblm.jl * Update faust.jl * Update index.md
1 parent a055a95 commit f33ebca

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

docs/src/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ julia> iris.targets
135135

136136
## MLUtils compatibility
137137

138-
MLDatasets.jl garuantees compatibility with the [getobs](https://juliaml.github.io/MLUtils.jl/dev/api/#MLUtils.getobs) and [numobs](https://juliaml.github.io/MLUtils.jl/dev/api/#MLUtils.numobs) interface defined in [MLUtils.jl](https://github.com/JuliaML/MLUtils.jl).
138+
MLDatasets.jl guarantees compatibility with the [getobs](https://juliaml.github.io/MLUtils.jl/dev/api/#MLUtils.getobs) and [numobs](https://juliaml.github.io/MLUtils.jl/dev/api/#MLUtils.numobs) interface defined in [MLUtils.jl](https://github.com/JuliaML/MLUtils.jl).
139139
In practice, applying `getobs` and `numobs` on datasets is equivalent to applying indexing and `length`.
140140

141141
## Conditional module loading
@@ -181,7 +181,7 @@ overwrite this on a case by case basis, it is possible to specify
181181
a data directory directly in the dataset constructor (e.g. `MNIST(dir = <directory>)`).
182182

183183
In order to download datasets without having to manually confirm the download,
184-
you can set to true the following enviromental variable:
184+
you can set to true the following environmental variable:
185185

186186
```julia
187187
ENV["DATADEPS_ALWAYS_ACCEPT"] = true

src/datasets/meshes/faust.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ julia> label = dataset.labels[1] # The ground-truth/labels for each vertices in
143143
0
144144
```
145145
146-
# Refereneces
146+
# References
147147
148148
1. [MPI Faust Website](http://faust.is.tue.mpg.de/)
149149

src/datasets/text/ptblm.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ end
2626
The PTBLM dataset consists of Penn Treebank sentences
2727
for language modeling, available from https://github.com/tomsercu/lstm.
2828
The unknown words are replaced with <unk> so that the
29-
total vocaburary size becomes 10000.
29+
total vocabulary size becomes 10000.
3030
"""
3131
struct PTBLM <: SupervisedDataset
3232
metadata::Dict{String, Any}

src/datasets/text/smsspamcollection.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ end
2121
2222
The SMS Spam Collection v.1 (hereafter the corpus) is a set of SMS tagged messages
2323
that have been collected for SMS Spam research. It contains one set of SMS messages
24-
in English of 5,574 messages, tagged acording being ham (legitimate) or spam.
24+
in English of 5,574 messages, tagged according being ham (legitimate) or spam.
2525
The corpus has a total of 4,827 SMS legitimate messages (86.6%) and a total of 747 (13.4%) spam messages.
2626
2727
The corpus has been collected by Tiago Agostinho de Almeida (http://www.dt.fee.unicamp.br/~tiago)

src/graph.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,10 @@ Nodes are indexed in `1:num_nodes`.
135135
- `num_edges`: Dictionary containing the number of edges for each relation.
136136
- `edge_indices`: Dictionary containing the `edge_index` for each edge relation. An `edge_index` is a tuple containing two vectors with length equal to the number of edges for the relation.
137137
The first vector contains the list of the source nodes of each edge, the second contains the target nodes.
138-
- `node_data`: node-related data. Can be `nothing`, Dictionary of a dictionary of arrays. Data of a speific type of node can be accessed
138+
- `node_data`: node-related data. Can be `nothing`, Dictionary of a dictionary of arrays. Data of a specific type of node can be accessed
139139
using node_data[node_type].The array's last dimension size should be equal to the number of nodes.
140140
Default `nothing`.
141-
- `edge_data`: Can be `nothing`, Dictionary of a dictionary of arrays. Data of a speific type of edge can be accessed
141+
- `edge_data`: Can be `nothing`, Dictionary of a dictionary of arrays. Data of a specific type of edge can be accessed
142142
using edge_data[edge_type].The array's last dimension size should be equal to the number of nodes.
143143
Default `nothing`.
144144
"""

0 commit comments

Comments
 (0)