spaCy/examples
Matt Upson 9a1d3b63fb Add missing default to .set_extension (#2297)
Failing to set a default, method, or getter results in a ValueError:

ValueError: [E083] Error setting extension: only one of `default`, `method`, or `getter` (plus optional `setter`) is allowed. Got: 0
2018-05-04 18:47:01 +02:00
..
information_extraction Make example Python 2 compatible (see #1617) 2017-11-20 13:57:51 +01:00
keras_parikh_entailment typos corrected 2018-01-03 16:54:22 +05:30
pipeline Add missing default to .set_extension (#2297) 2018-05-04 18:47:01 +02:00
training 💫 Interactive code examples, spaCy Universe and various docs improvements (#2274) 2018-04-29 02:06:46 +02:00
README.md Get docs ready for v2.0.0 2017-11-07 12:00:43 +01:00
deep_learning_keras.py Update examples 2017-11-07 01:22:30 +01:00
vectors_fast_text.py Update vectors_loc description 2017-11-17 14:57:11 +01:00
vectors_tensorboard.py Port over TensorBoard example 2018-03-24 17:15:48 +01:00
vectors_tensorboard_standalone.py Add example using TensorBoard standalone projector 2018-03-25 21:50:13 -07:00

README.md

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.