spaCy/website/docs/api
Adriane Boyd f94168a41e
Backport bugfixes from v3.1.0 to v3.0 (#8739)
* Fix scoring normalization (#7629)

* fix scoring normalization

* score weights by total sum instead of per component

* cleanup

* more cleanup

* Use a context manager when reading model (fix #7036) (#8244)

* Fix other open calls without context managers (#8245)

* Don't add duplicate patterns all the time in EntityRuler (fix #8216) (#8246)

* Don't add duplicate patterns (fix #8216)

* Refactor EntityRuler init

This simplifies the EntityRuler init code. This is helpful as prep for
allowing the EntityRuler to reset itself.

* Make EntityRuler.clear reset matchers

Includes a new test for this.

* Tidy PhraseMatcher instantiation

Since the attr can be None safely now, the guard if is no longer
required here.

Also renamed the `_validate` attr. Maybe it's not needed?

* Fix NER test

* Add test to make sure patterns aren't increasing

* Move test to regression tests

* Exclude generated .cpp files from package (#8271)

* Fix non-deterministic deduplication in Greek lemmatizer (#8421)

* Fix setting empty entities in Example.from_dict (#8426)

* Filter W036 for entity ruler, etc. (#8424)

* Preserve paths.vectors/initialize.vectors setting in quickstart template

* Various fixes for spans in Docs.from_docs (#8487)

* Fix spans offsets if a doc ends in a single space and no space is
  inserted
* Also include spans key in merged doc for empty spans lists

* Fix duplicate spacy package CLI opts (#8551)

Use `-c` for `--code` and not additionally for `--create-meta`, in line
with the docs.

* Raise an error for textcat with <2 labels (#8584)

* Raise an error for textcat with <2 labels

Raise an error if initializing a `textcat` component without at least
two labels.

* Add similar note to docs

* Update positive_label description in API docs

* Add Macedonian models to website (#8637)

* Fix Azerbaijani init, extend lang init tests (#8656)

* Extend langs in initialize tests

* Fix az init

* Fix ru/uk lemmatizer mp with spawn (#8657)

Use an instance variable instead a class variable for the morphological
analzyer so that multiprocessing with spawn is possible.

* Use 0-vector for OOV lexemes (#8639)

* Set version to v3.0.7

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
Co-authored-by: Paul O'Leary McCann <polm@dampfkraft.com>
2021-07-19 09:20:40 +02:00
..
architectures.md Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
attributeruler.md Update docs [ci skip] 2020-10-09 10:36:06 +02:00
cli.md Fix 'debug model' for transformers + generalize (#7973) 2021-05-06 18:43:32 +10:00
corpus.md Integrate file readers 2020-10-02 01:36:06 +02:00
cython-classes.md Update docs, types and API consistency 2020-08-17 16:45:24 +02:00
cython-structs.md Update docs, types and API consistency 2020-08-17 16:45:24 +02:00
cython.md Update docs [ci skip] 2020-09-12 17:05:10 +02:00
data-formats.md Various docs updates for v3.0 (#8353) 2021-06-14 12:19:36 +02:00
dependencymatcher.md doc fixes 2020-09-12 17:38:54 +02:00
dependencyparser.md Revert "Set annotations in update" (#6810) 2021-01-25 22:18:45 +08:00
doc.md Update sent_starts in Example.from_dict (#7847) 2021-04-22 11:32:45 +02:00
docbin.md small UX fix for DocBin (#6167) 2020-10-02 15:43:32 +02:00
entitylinker.md KB & NEL to/from bytes (#8113) 2021-05-20 18:11:30 +10:00
entityrecognizer.md Revert "Set annotations in update" (#6810) 2021-01-25 22:18:45 +08:00
entityruler.md Update docs [ci skip] 2020-10-06 10:31:48 +02:00
example.md Extend score_spans for overlapping & non-labeled spans (#7209) 2021-04-08 12:19:17 +02:00
index.md Update v3 docs 2020-07-03 16:48:21 +02:00
kb.md kb.get_candidates renamed to get_alias_candidates 2021-02-25 20:09:36 +01:00
language.md Fix docs (fix #8189) 2021-05-24 19:47:30 +09:00
legacy.md Replace negative rows with 0 in StaticVectors (#7674) 2021-04-22 18:04:15 +10:00
lemmatizer.md Various docs updates for v3.0 (#8353) 2021-06-14 12:19:36 +02:00
lexeme.md fix 's typo's across code base (#8384) 2021-06-15 10:57:08 +02:00
lookups.md Update docs, types and API consistency 2020-08-17 16:45:24 +02:00
matcher.md Fix new version for match_alignments (#8021) 2021-05-07 09:55:20 +02:00
morphologizer.md Revert "Set annotations in update" (#6810) 2021-01-25 22:18:45 +08:00
morphology.md Proofreading 2020-09-24 13:15:28 +02:00
phrasematcher.md Run PhraseMatcher on Spans (#6918) 2021-02-10 23:43:32 +11:00
pipe.md adding new="3" mentions in the doc 2021-01-29 11:26:37 +01:00
pipeline-functions.md Remove transformers model max length section (#6807) 2021-01-25 19:59:34 +08:00
scorer.md Various docs updates for v3.0 (#8353) 2021-06-14 12:19:36 +02:00
sentencerecognizer.md Revert "Set annotations in update" (#6810) 2021-01-25 22:18:45 +08:00
sentencizer.md Update sentencizer documentation example with sentencizer pipe name (#7185) 2021-02-24 08:06:54 +01:00
span.md span.ent only returns first sentence (#7084) 2021-02-19 23:02:38 +11:00
spangroup.md Add SpanGroup and Graph container types to represent arbitrary annotations (#6696) 2021-01-14 17:30:41 +11:00
stringstore.md Update docs, types and API consistency 2020-08-17 16:45:24 +02:00
tagger.md Revert "Set annotations in update" (#6810) 2021-01-25 22:18:45 +08:00
textcategorizer.md Backport bugfixes from v3.1.0 to v3.0 (#8739) 2021-07-19 09:20:40 +02:00
tok2vec.md Revert "Set annotations in update" (#6810) 2021-01-25 22:18:45 +08:00
token.md fix 's typo's across code base (#8384) 2021-06-15 10:57:08 +02:00
tokenizer.md Merge remote-tracking branch 'upstream/master' into chore/update-develop-from-master-rc3 2021-01-14 11:49:58 +01:00
top-level.md fix docs (#8200) 2021-05-27 10:48:59 +02:00
transformer.md Fix Transformer.initialize example (#7963) 2021-04-30 12:21:31 +02:00
vectors.md Proofreading 2020-09-28 16:50:15 +02:00
vocab.md Extend docs related to Vocab.get_noun_chunks 2021-02-25 16:38:21 +01:00