mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
2d249a9502
* fix overflow error on windows * more documentation & logging fixes * md fix * 3 different limit parameters to play with execution time * bug fixes directory locations * small fixes * exclude dev test articles from prior probabilities stats * small fixes * filtering wikidata entities, removing numeric and meta items * adding aliases from wikidata also to the KB * fix adding WD aliases * adding also new aliases to previously added entities * fixing comma's * small doc fixes * adding subclassof filtering * append alias functionality in KB * prevent appending the same entity-alias pair * fix for appending WD aliases * remove date filter * remove unnecessary import * small corrections and reformatting * remove WD aliases for now (too slow) * removing numeric entities from training and evaluation * small fixes * shortcut during prediction if there is only one candidate * add counts and fscore logging, remove FP NER from evaluation * fix entity_linker.predict to take docs instead of single sentences * remove enumeration sentences from the WP dataset * entity_linker.update to process full doc instead of single sentence * spelling corrections and dump locations in readme * NLP IO fix * reading KB is unnecessary at the end of the pipeline * small logging fix * remove empty files |
||
---|---|---|
.. | ||
information_extraction | ||
keras_parikh_entailment | ||
notebooks | ||
pipeline | ||
training | ||
deep_learning_keras.py | ||
README.md | ||
streamlit_spacy.py | ||
vectors_fast_text.py | ||
vectors_tensorboard.py |
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.