spaCy/website/docs/api
Matthew Honnibal 6f5e308d17
Support negative examples in partial NER annotations (#8106)
* Support a cfg field in transition system

* Make NER 'has gold' check use right alignment for span

* Pass 'negative_samples_key' property into NER transition system

* Add field for negative samples to NER transition system

* Check neg_key in NER has_gold

* Support negative examples in NER oracle

* Test for negative examples in NER

* Fix name of config variable in NER

* Remove vestiges of old-style partial annotation

* Remove obsolete tests

* Add comment noting lack of support for negative samples in parser

* Additions to "neg examples" PR (#8201)

* add custom error and test for deprecated format

* add test for unlearning an entity

* add break also for Begin's cost

* add negative_samples_key property on Parser

* rename

* extend docs & fix some older docs issues

* add subclass constructors, clean up tests, fix docs

* add flaky test with ValueError if gold parse was not found

* remove ValueError if n_gold == 0

* fix docstring

* Hack in environment variables to try out training

* Remove hack

* Remove NER hack, and support 'negative O' samples

* Fix O oracle

* Fix transition parser

* Remove 'not O' from oracle

* Fix NER oracle

* check for spans in both gold.ents and gold.spans and raise if so, to prevent memory access violation

* use set instead of list in consistency check

Co-authored-by: svlandeg <sofie.vanlandeghem@gmail.com>
Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
2021-06-17 17:33:00 +10:00
..
architectures.md Resizable textcat (#7862) 2021-06-16 11:45:00 +02: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 Resizable textcat (#7862) 2021-06-16 11:45:00 +02:00
dependencymatcher.md doc fixes 2020-09-12 17:38:54 +02:00
dependencyparser.md Support negative examples in partial NER annotations (#8106) 2021-06-17 17:33:00 +10: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 Support negative examples in partial NER annotations (#8106) 2021-06-17 17:33:00 +10: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 Resizable textcat (#7862) 2021-06-16 11:45:00 +02: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 textcat scoring fix and multi_label docs (#6974) 2021-03-09 23:04:22 +11: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 Merge remote-tracking branch 'upstream/develop' into chore/develop-into-master-v3.1 2021-06-15 15:05:17 +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