spaCy/examples
Laura Baakman 04aa041c9e Update Example input JSON file to adhere to specification. (#3243)
* Example file does not adhere to json input spec.

According to the [json input spec ](https://spacy.io/api/annotation#json-input) the `id ` needs to be an `int` not a string. Using a string as `id` results in a `TypeError` when calling `spacy.gold.read_json_file()`.

* Add spaCy Contributor Agreement.
2019-02-07 16:18:01 +01:00
..
information_extraction Updated main to make use of lang variable (#3220) 2019-01-31 23:43:22 +01:00
keras_parikh_entailment Update Keras Example for (Parikh et al, 2016) implementation (#2803) 2018-10-01 10:28:45 +02:00
notebooks Update Keras Example for (Parikh et al, 2016) implementation (#2803) 2018-10-01 10:28:45 +02:00
pipeline Add example showing a fix-up rule for space entities 2018-10-28 16:06:00 +01:00
training Update Example input JSON file to adhere to specification. (#3243) 2019-02-07 16:18:01 +01:00
deep_learning_keras.py Fixed spaCy+Keras example (#2763) 2018-09-15 13:06:39 +02:00
README.md Get docs ready for v2.0.0 2017-11-07 12:00:43 +01:00
vectors_fast_text.py Update vectors_loc description 2017-11-17 14:57:11 +01:00
vectors_tensorboard_standalone.py Add example using TensorBoard standalone projector 2018-03-25 21:50:13 -07:00
vectors_tensorboard.py Port over TensorBoard example 2018-03-24 17:15:48 +01:00

spaCy examples

The examples are Python scripts with well-behaved command line interfaces. For more detailed usage guides, see the documentation.

To see the available arguments, you can use the --help or -h flag:

$ python examples/training/train_ner.py --help

While we try to keep the examples up to date, they are not currently exercised by the test suite, as some of them require significant data downloads or take time to train. If you find that an example is no longer running, please tell us! We know there's nothing worse than trying to figure out what you're doing wrong, and it turns out your code was never the problem.