mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-13 13:17:06 +03:00
ad15499b3b
* Fix get_loss for None alignments in senter When converting the `sent_start` values back to `SentenceRecognizer` labels, handle `None` alignments. * Handle SENT_START as -1 Handle SENT_START as -1 (or -1 converted to uint64) by treating any values other than 1 the same as 0 in `SentenceRecognizer.get_loss`. |
||
---|---|---|
.. | ||
defaults | ||
__init__.py | ||
entityruler.py | ||
functions.py | ||
hooks.py | ||
morphologizer.pyx | ||
pipes.pyx | ||
simple_ner.py | ||
tok2vec.py |