csv2squad2

command module
v0.0.0-...-0bd9929 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2021 License: MIT Imports: 15 Imported by: 0

README

csv2squad2

csv2squad2 is a CSV to JSON converter for SQuAD 2.0 format data.

Usage

  • CSV => JSON
csv2squad2 -i /path/to/file.csv
  • JSON => CSV
csv2squad2 -r -i /path/to/file.json

Example

$ curl -OL https://rajpurkar.github.io/SQuAD-explorer/dataset/dev-v2.0.json
$ csv2squad2 -r -i dev-v2.0.json
$ csv2squad2 -i out.csv
$ diff -u <(jq -S . dev-v2.0.json) <(jq -S . out.json)

License

MIT

Author

Noriaki Watanabe@nnabeyang

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL