Skip to content

Commit

Permalink
Fixes download and set requirement julia version >=1.10
Browse files Browse the repository at this point in the history
 - Use of Dowloads.download
 - Project.toml package update to v0.1.7
 - Package requires Julia >=v.1.10,
 - add Manifest.toml to .gitignore
  • Loading branch information
zgornel committed Nov 21, 2023
1 parent 9b05d97 commit d0e5840
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.*~
_conceptnet_/
Manifest.toml
5 changes: 3 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name = "ConceptnetNumberbatch"
uuid = "6bdbf80b-0969-53f9-8443-f41591bd656e"
authors = ["Corneliu Cofaru <cornel@oxoaresearch.com>"]
version = "0.1.6"
version = "0.1.7"

[deps]
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
Languages = "8ef0a80b-9436-5d2c-a485-80b904378c43"
TranscodingStreams = "3bb67fe8-82b1-5028-8e26-92a6c54297fa"
Expand All @@ -14,7 +15,7 @@ CodecZlib = "^0.7"
HDF5 = "^0.17"
Languages = "^0.4"
TranscodingStreams = "^0.10"
julia = "1.6"
julia = "1.10"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This package is a simple API to **ConceptNetNumberbatch**.
The following examples illustrate some common usage patterns:

```julia
julia> using Conceptnet, Languages
julia> using ConceptnetNumberbatch, Languages
file_conceptnet = download_embeddings(url=CONCEPTNET_HDF5_LINK,
localfile="./_conceptnet_/conceptnet.h5");
# [ Info: Download ConceptNetNumberbatch to ./_conceptnet_/conceptnet.h5...
Expand Down
1 change: 1 addition & 0 deletions src/ConceptnetNumberbatch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ using TranscodingStreams
using CodecZlib
using HDF5
using Languages
using Downloads: download

import Base: get, getindex, size, length, show, keys, values, in

Expand Down

0 comments on commit d0e5840

Please sign in to comment.