mirror of
https://github.com/explosion/spaCy.git
synced 2025-10-27 14:11:04 +03:00
* 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 | ||