improved readme and code
This commit is contained in:
1 parent
89417b0065
commit
11518fa73f
2 files changed
+6
-5
No files matched your search
@@ -11,10 +11,11 @@ Such fun!
|
|||||||
Download
|
Download
|
||||||
--------
|
--------
|
||||||
|
|
||||||
[here](https://dl.dropboxusercontent.com/u/20957649/wordnet/wordnet.json.gz).
|
[Here](https://dl.dropboxusercontent.com/u/20957649/wordnet/wordnet.json.gz).
|
||||||
|
|
||||||
Run
|
Documentation
|
||||||
---
|
-------------
|
||||||
|
|
||||||
If you'd like to create you own json file, simply run the go file.
|
This is a [WordNet](https://godoc.org/github.com/fluhus/gostuff/nlp/wordnet#WordNet)
|
||||||
|
struct.
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ func main() {
|
|||||||
checkError(err)
|
checkError(err)
|
||||||
|
|
||||||
fmt.Println("Writing output...")
|
fmt.Println("Writing output...")
|
||||||
f, err := os.Open("wordnet.json.gz")
|
f, err := os.Create("wordnet.json.gz")
|
||||||
checkError(err)
|
checkError(err)
|
||||||
z := gzip.NewWriter(f)
|
z := gzip.NewWriter(f)
|
||||||
_, err = z.Write(j)
|
_, err = z.Write(j)
|
||||||
|
|||||||
Reference in new issue
Block a user