mirror of
https://github.com/explosion/spaCy.git
synced 2025-10-24 20:51:30 +03:00
* 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`. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_analysis.py | ||
| test_entity_linker.py | ||
| test_entity_ruler.py | ||
| test_factories.py | ||
| test_functions.py | ||
| test_morphologizer.py | ||
| test_pipe_methods.py | ||
| test_sentencizer.py | ||
| test_senter.py | ||
| test_simple_ner.py | ||
| test_tagger.py | ||
| test_textcat.py | ||