Ines Montani
1d01d89b79
Update CLI docs and evaluate command [ci skip]
2020-08-07 14:40:58 +02:00
Ines Montani
ef2c67cca5
Add DocBin to/from_disk methods and update docs ( #5892 )
...
* Add DocBin to/from_disk methods and update docs
* Use DocBin.from_disk in Corpus
2020-08-07 14:30:59 +02:00
Ines Montani
4ca08c6d5d
Merge pull request #5891 from adrianeboyd/docs/attribute-ruler-api
...
Add AttributeRuler API docs
2020-08-07 13:55:12 +02:00
Adriane Boyd
b8d0c23857
Add AttributeRuler API docs
...
With additional minor updates to AttributeRuler docstrings.
2020-08-07 12:43:23 +02:00
svlandeg
824f4b2107
casing consistent
2020-08-06 23:20:13 +02:00
svlandeg
b17db0e994
Merge remote-tracking branch 'upstream/develop' into feature/el-docs
...
# Conflicts:
# website/docs/usage/training.md
2020-08-06 19:48:52 +02:00
svlandeg
49ddeb99ea
add textcat architectures documentation
2020-08-06 19:44:47 +02:00
Ines Montani
e5995904d6
Update docs
2020-08-06 19:30:43 +02:00
svlandeg
e8fd0c1f1e
EL architectures documentation
2020-08-06 17:41:26 +02:00
svlandeg
f396f091dc
update EL API
2020-08-06 16:40:48 +02:00
svlandeg
81d0b1c390
update EL pipe arguments
2020-08-06 16:22:50 +02:00
svlandeg
0b4d1e1bc4
'debug data' instead of 'debug-data'
2020-08-06 15:47:31 +02:00
svlandeg
881e3f8fd0
add docbin explanation and example
2020-08-06 15:29:44 +02:00
Ines Montani
5d417d3b19
WIP: Update docs [ci skip]
2020-08-06 13:10:15 +02:00
Ines Montani
4d34efa697
Tidy up docs components [ci skip]
2020-08-06 01:22:49 +02:00
Ines Montani
30f316c688
Fix server-side rendering [ci skip]
2020-08-06 00:51:55 +02:00
Ines Montani
06e80d95cd
Sync develop with nightly docs state ( #5883 )
...
Co-authored-by: svlandeg <sofie.vanlandeghem@gmail.com>
2020-08-06 00:28:14 +02:00
Ines Montani
5cc0d89fad
Simplify config overrides in CLI and deserialization ( #5880 )
2020-08-05 23:35:09 +02:00
Ines Montani
50311a4d37
Update docs [ci skip]
2020-08-05 20:29:53 +02:00
Ines Montani
2a4d56e730
Update docs
2020-08-05 15:01:00 +02:00
Ines Montani
cdec46493f
Update docs
2020-08-05 15:00:54 +02:00
Ines Montani
4c055f0aa7
Add init CLI and init config ( #5854 )
...
* Add init CLI and init config draft
* Improve config validation
* Auto-format
* Don't export anything in debug config
* Update docs
2020-08-02 15:18:30 +02:00
Ines Montani
e393ebd78b
Merge pull request #5851 from explosion/feature/better-pipe-analysis
2020-08-01 14:20:27 +02:00
Ines Montani
b40f44419b
Simplify pipe analysis
...
- remove unused code
- don't print by default
- integrate attrs info into analysis output
2020-08-01 13:40:06 +02:00
Ines Montani
93144bde97
Update code block style [ci skip]
2020-07-31 18:55:55 +02:00
Ines Montani
98c6a85c8b
Update docs [ci skip]
2020-07-31 18:55:38 +02:00
Ines Montani
e9e8fa2466
Update docs and types
2020-07-31 17:02:54 +02:00
Ines Montani
6365837ca9
Merge pull request #5833 from explosion/feature/scorer-adjustments
2020-07-31 14:00:39 +02:00
Ines Montani
5a221f79c2
Revert "Remove keyword-only from Scorer API docs" [ci skip]
...
This reverts commit 7a6ac47dc1
.
2020-07-31 14:00:21 +02:00
Ines Montani
160f1a5f94
Update docs [ci skip]
2020-07-31 13:26:39 +02:00
Adriane Boyd
9b509aa87f
Move Language.evaluate scorer config to new arg
...
Move `Language.evaluate` scorer config from `component_cfg` to separate
argument `scorer_cfg`.
2020-07-31 11:05:16 +02:00
Adriane Boyd
9d79916792
Merge branch 'develop' into feature/scorer-adjustments
2020-07-31 10:48:14 +02:00
Ines Montani
3449c45fd9
Update docs [ci skip]
2020-07-29 19:48:26 +02:00
Ines Montani
9c80cb673d
Update docs [ci skip]
2020-07-29 19:41:34 +02:00
Ines Montani
9f69afdd1e
Update docs [ci skip]
2020-07-29 19:09:44 +02:00
Ines Montani
7a21775cd0
Merge pull request #5834 from explosion/feature/vectors
2020-07-29 18:49:26 +02:00
Ines Montani
6a5c853edb
Fix docs [ci skip]
2020-07-29 18:45:12 +02:00
Ines Montani
158d8c1e48
Update docs [ci skip]
2020-07-29 18:44:10 +02:00
Matthew Honnibal
f7adc9d3b7
Start rewriting vectors docs
2020-07-29 17:10:06 +02:00
Ines Montani
b0f57a0cac
Update docs and consistency
2020-07-29 15:14:07 +02:00
Ines Montani
e0ffe36e79
Update docstrings, docs and types
2020-07-29 11:36:42 +02:00
Adriane Boyd
7a6ac47dc1
Remove keyword-only from Scorer API docs
2020-07-29 10:40:30 +02:00
Ines Montani
ac24adec73
Small adjustments to Scorer and docs
2020-07-28 21:39:42 +02:00
Ines Montani
256b24b720
Update arch docs WIP [ci skip]
2020-07-28 20:33:52 +02:00
Ines Montani
ae4d8a6ffd
Update docstrings, docs and pipe consistency
2020-07-28 13:37:31 +02:00
Ines Montani
0094cb0d04
Remove scores list from config and document
2020-07-28 11:22:24 +02:00
Ines Montani
9b704c3db3
Merge pull request #5819 from explosion/feature/component-scores
2020-07-28 10:40:56 +02:00
Ines Montani
2f83848b1f
Fix title [ci skip]
2020-07-27 18:25:38 +02:00
Ines Montani
894e20c466
Merge branch 'develop' into feature/component-scores
2020-07-27 18:14:39 +02:00
Ines Montani
d8b519c23c
API docs, docstrings and argument consistency
2020-07-27 18:11:45 +02:00
Ines Montani
10b84e1e27
Add flag to toggle sdist creation on package [ci skip]
2020-07-27 16:52:23 +02:00
Adriane Boyd
fdf09cb231
Update Scorer API docs for score_cats
2020-07-27 15:34:42 +02:00
Ines Montani
7dd53d0964
Fix typo [ci skip]
2020-07-27 00:34:00 +02:00
Ines Montani
7adbaf9a5b
Update docs [ci skip]
2020-07-27 00:29:45 +02:00
Matthew Honnibal
fb5dbe30b5
Trim training 101
2020-07-26 13:43:22 +02:00
Matthew Honnibal
e6a7deb7cc
Edits to the training 101 section
2020-07-26 13:42:08 +02:00
Ines Montani
c288dba8e7
Update docs [ci skip]
2020-07-25 18:51:12 +02:00
Ines Montani
eb9acae34d
Merge pull request #5791 from adrianeboyd/docs/morphology
2020-07-25 15:10:21 +02:00
Adriane Boyd
2bcceb80c4
Refactor the Scorer to improve flexibility ( #5731 )
...
* Refactor the Scorer to improve flexibility
Refactor the `Scorer` to improve flexibility for arbitrary pipeline
components.
* Individual pipeline components provide their own `evaluate` methods
that score a list of `Example`s and return a dictionary of scores
* `Scorer` is initialized either:
* with a provided pipeline containing components to be scored
* with a default pipeline containing the built-in statistical
components (senter, tagger, morphologizer, parser, ner)
* `Scorer.score` evaluates a list of `Example`s and returns a dictionary
of scores referring to the scores provided by the components in the
pipeline
Significant differences:
* `tags_acc` is renamed to `tag_acc` to be consistent with `token_acc`
and the new `morph_acc`, `pos_acc`, and `lemma_acc`
* Scoring is no longer cumulative: `Scorer.score` scores a list of
examples rather than a single example and does not retain any state
about previously scored examples
* PRF values in the returned scores are no longer multiplied by 100
* Add kwargs to Morphologizer.evaluate
* Create generalized scoring methods in Scorer
* Generalized static scoring methods are added to `Scorer`
* Methods require an attribute (either on Token or Doc) that is
used to key the returned scores
Naming differences:
* `uas`, `las`, and `las_per_type` in the scores dict are renamed to
`dep_uas`, `dep_las`, and `dep_las_per_type`
Scoring differences:
* `Doc.sents` is now scored as spans rather than on sentence-initial
token positions so that `Doc.sents` and `Doc.ents` can be scored with
the same method (this lowers scores since a single incorrect sentence
start results in two incorrect spans)
* Simplify / extend hasattr check for eval method
* Add hasattr check to tokenizer scoring
* Simplify to hasattr check for component scoring
* Reset Example alignment if docs are set
Reset the Example alignment if either doc is set in case the
tokenization has changed.
* Add PRF tokenization scoring for tokens as spans
Add PRF scores for tokens as character spans. The scores are:
* token_acc: # correct tokens / # gold tokens
* token_p/r/f: PRF for (token.idx, token.idx + len(token))
* Add docstring to Scorer.score_tokenization
* Rename component.evaluate() to component.score()
* Update Scorer API docs
* Update scoring for positive_label in textcat
* Fix TextCategorizer.score kwargs
* Update Language.evaluate docs
* Update score names in default config
2020-07-25 12:53:02 +02:00
Adriane Boyd
41525901ef
Move MorphAnalysis to Other section
2020-07-23 08:58:22 +02:00
Adriane Boyd
8f44584bef
Update MorphAnalysis.get and related examples
2020-07-23 08:51:31 +02:00
Adriane Boyd
941b9e33f7
Add Token.morph_
2020-07-22 17:59:45 +02:00
Ines Montani
be476e495e
Merge pull request #5787 from adrianeboyd/docs/morphologizer
...
Initial draft of Morphologizer API docs
2020-07-22 17:16:57 +02:00
Adriane Boyd
d3385f4be2
Add Morphology and MorphAnalysis to overview
2020-07-21 13:06:22 +02:00
Adriane Boyd
fcd3a4abe3
Add morph to Token API docs
2020-07-21 13:05:58 +02:00
Adriane Boyd
14df00ae98
Add Morphology and MorphAnalsysis API docs
...
Add initial draft of `Morphology` and `MorphAnalysis` API docs.
2020-07-21 10:33:46 +02:00
Ines Montani
644074b954
Merge branch 'develop' into master-tmp
2020-07-20 14:58:04 +02:00
Adriane Boyd
986f7e4d69
Initial draft of Morphologizer API docs
2020-07-20 12:53:02 +02:00
Alec Chapman
a8978ca285
Add VA COVID-19 NLP project to spaCy Universe ( #5777 )
...
* Update universe.json
Add cov-bsv to "resources"
* Update universe.json
* add contributor agreement
2020-07-19 13:35:31 +02:00
Adriane Boyd
39ebcd9ec9
Refactor Chinese tokenizer configuration ( #5736 )
...
* Refactor Chinese tokenizer configuration
Refactor `ChineseTokenizer` configuration so that it uses a single
`segmenter` setting to choose between character segmentation, jieba, and
pkuseg.
* replace `use_jieba`, `use_pkuseg`, `require_pkuseg` with the setting
`segmenter` with the supported values: `char`, `jieba`, `pkuseg`
* make the default segmenter plain character segmentation `char` (no
additional libraries required)
* Fix Chinese serialization test to use char default
* Warn if attempting to customize other segmenter
Add a warning if `Chinese.pkuseg_update_user_dict` is called when
another segmenter is selected.
2020-07-19 13:34:37 +02:00
Adriane Boyd
cd5af72c9a
Update pkuseg version ( #5774 )
...
* Update pkuseg version in Chinese tokenizer warnings
* Update pkuseg version in `Makefile`
* Remove warning about python3.8 wheels in docs
2020-07-19 11:09:49 +02:00
Ines Montani
68fade8f76
Add Plausible [ci skip]
2020-07-19 00:02:29 +02:00
Ines Montani
6f4e4aceb3
Add Plausible [ci skip]
2020-07-18 23:50:29 +02:00
Ines Montani
872938ec76
Merge pull request #5747 from explosion/feature/refactor-config-args
2020-07-14 00:00:22 +02:00
Ines Montani
5f6f4ff594
Remove object subclassing
2020-07-12 14:03:23 +02:00
Ines Montani
c96535e338
Update command docstrings and docs
2020-07-12 13:53:49 +02:00
Ines Montani
3f948b9c74
Update docs
2020-07-12 12:32:28 +02:00
Ines Montani
11bbc82c24
Update cli.md [ci skip]
2020-07-10 23:37:52 +02:00
Ines Montani
9455b060d2
Update cli.md
2020-07-10 22:57:22 +02:00
Ines Montani
7b5717cac3
Merge branch 'develop' into feature/refactor-config-args
2020-07-10 22:50:07 +02:00
Ines Montani
e6a6587a9a
Update projects.md [ci skip]
2020-07-10 22:41:27 +02:00
Ines Montani
f2cd982e7b
Update training.md
2020-07-10 22:34:27 +02:00
Ines Montani
52e9b5b472
Fix formatting
2020-07-09 23:25:58 +02:00
Ines Montani
28cdae898a
Update projects.md
2020-07-09 22:35:54 +02:00
Ines Montani
7bcf9f7cfb
Document new features
2020-07-09 21:10:36 +02:00
Ines Montani
ea01831f6a
Update projects docs etc.
2020-07-09 19:43:25 +02:00
Ines Montani
175d34d8f9
Update sidebar menu
2020-07-09 11:44:09 +02:00
Ines Montani
9ee5b71412
Update cli.md
2020-07-09 11:44:00 +02:00
Ines Montani
9ae4040183
Update API docs
2020-07-08 13:34:35 +02:00
svlandeg
c94279ac1b
remove tensors, fix predict, get_loss and set_annotations
2020-07-08 13:11:54 +02:00
svlandeg
90b100c39f
remove component.Model, update constructor, losses is return value of update
2020-07-08 12:14:30 +02:00
gandersen101
893133873d
Fix quote issue in spaczz universe.json
2020-07-07 19:16:28 -05:00
Ines Montani
109849bd31
Fix and update universe.json [ci skip]
2020-07-07 21:12:28 +02:00
gandersen101
9097549227
Adding spaczz package to universe.json ( #5717 )
...
* Adding spaczz package to universe.json
* Adding contributor agreement.
2020-07-07 20:55:24 +02:00
Jonathan Besomi
546f3d10d4
Add texthero to universe.json ( #5716 )
...
* Add texthero to universe.json
* Add spaCy contributor Agreement
2020-07-07 20:54:22 +02:00
Ines Montani
2298e129e6
Update example and training docs
2020-07-07 20:30:12 +02:00
svlandeg
2b60e894cb
fix component constructors, update, begin_training, reference to GoldParse
2020-07-07 19:17:19 +02:00
svlandeg
14a796e3f9
add Example API with examples of Example usage
2020-07-07 14:46:41 +02:00
Ines Montani
bb3ee38cf9
Update WIP
2020-07-06 22:22:37 +02:00
Ines Montani
44da24ddd0
Update doc.md
2020-07-06 18:17:00 +02:00