mirror of
https://github.com/explosion/spaCy.git
synced 2025-10-20 18:54:21 +03:00
Torch is required for the coref/spanpred models but shouldn't be required for spaCy in general. The one tricky part of this is that one function in coref_util relied on torch, but that file was imported in several places. Since the function was only used in one place I moved it there. |
||
---|---|---|
.. | ||
__init__.py | ||
coref_util.py | ||
coref.py | ||
entity_linker.py | ||
multi_task.py | ||
parser.py | ||
span_predictor.py | ||
spancat.py | ||
tagger.py | ||
textcat.py | ||
tok2vec.py |