spaCy/examples
Hunter Kelly f28a1c7271 Update call to mkdir() to create the parents (#3139)
* Update call to `mkdir()` to create the parents

- Update the call to `output_dir.mkdir()` to also create the parents if needed

* don't automatically create parents but fail fast if cannot create directory

* add signed contributors agreement for retnuh
2019-01-11 03:02:18 +01:00
..
information_extraction Add links to Reddit data (see #2401) 2018-05-31 16:22:43 +02: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 call to mkdir() to create the parents (#3139) 2019-01-11 03:02:18 +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.