mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-13 05:07:03 +03:00
dca2e8c644
* Fix TODO about typing Fix was simple: just request an array2f. * Add type ignore Maxout has a more restrictive type than the residual layer expects (only Floats2d vs any Floats). * Various cleanup This moves a lot of lines around but doesn't change any functionality. Details: 1. use `continue` to reduce indentation 2. move sentence doc building inside conditional since it's otherwise unused 3. reduces some temporary assignments |
||
---|---|---|
.. | ||
__init__.py | ||
entity_linker.py | ||
multi_task.py | ||
parser.py | ||
spancat.py | ||
tagger.py | ||
textcat.py | ||
tok2vec.py |