improved readme and code

This commit is contained in:
amitl committed 2016-03-17 18:15:46 +02:00
1 parent 89417b0065
commit 11518fa73f
2 files changed
+6 -5

No files matched your search

+5 -4
View File
@@ -11,10 +11,11 @@ Such fun!
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.
+1 -1
View File
@@ -22,7 +22,7 @@ func main() {
checkError(err)
fmt.Println("Writing output...")
f, err := os.Open("wordnet.json.gz")
f, err := os.Create("wordnet.json.gz")
checkError(err)
z := gzip.NewWriter(f)
_, err = z.Write(j)