Ines Montani
635ae55b74
Merge pull request #7237 from adrianeboyd/bugfix/is-cython-func-7224
2021-03-03 00:05:16 +11:00
graue70
0fddc0447c
Fix copy & paste error in API docs
2021-03-02 14:00:14 +01:00
svlandeg
d879d30aea
raise hypothesis pin
2021-03-02 13:20:17 +01:00
svlandeg
b1945f4e73
sync pins with thinc
2021-03-02 12:06:59 +01:00
Adriane Boyd
0efb7413f9
Use make_tempdir instead
2021-03-01 17:54:14 +01:00
Adriane Boyd
e9f7f9a4bc
Fix is_cython_func for additional imported code
...
* Fix `is_cython_func` for imported code loaded under `python_code`
module name
* Add `make_named_tempfile` context manager to test utils to test
loading of imported code
* Add test for validation of `initialize` params in custom module
2021-03-01 16:37:39 +01:00
Sofie Van Landeghem
dd99872bb0
Fix spans weak ref in doc copy ( #7225 )
...
* failing unit test
* ensure that doc.spans refers to the copied doc, not the old
* add type info
2021-02-28 12:32:48 +11:00
Ines Montani
9f204b354b
Merge pull request #7204 from adrianeboyd/bugfix/include-dirs-distutils
...
Set include_dirs in Extension
2021-02-27 11:51:33 +11:00
Ines Montani
8f7c7b2658
Merge pull request #7211 from svlandeg/docs/el_update [ci skip]
...
kb.get_candidates renamed to get_alias_candidates
2021-02-27 11:51:22 +11:00
Ines Montani
408b94887a
Merge pull request #7207 from adrianeboyd/docs/get-noun-chunks [ci skip]
...
Extend docs related to Vocab.get_noun_chunks
2021-02-27 11:51:08 +11:00
Ines Montani
dc46fa078f
Merge pull request #7220 from svlandeg/docs/has_annotation [ci skip]
...
has_annotation docs fix
2021-02-27 11:50:34 +11:00
Ines Montani
0dbc2a1b16
Merge pull request #7222 from adrianeboyd/bugfix/quickstart-recs-bg-bn
...
Fix formatting in bg/bn quickstart recs
2021-02-27 11:50:02 +11:00
Ines Montani
fb0f095d0a
Merge pull request #7223 from svlandeg/ux/wandb_import
...
import wandb failure - UX
2021-02-27 11:49:20 +11:00
svlandeg
2010219a7f
import wandb failure - UX
2021-02-26 18:00:39 +01:00
Adriane Boyd
ee7bb0b393
Fix formatting in bg/bn quickstart recs
2021-02-26 17:08:37 +01:00
svlandeg
248339039e
fix type in docs
2021-02-26 14:27:10 +01:00
Adriane Boyd
e43d43db32
Allow sourcing disabled components ( #7215 )
...
Check `component_names` instead of `pipe_names` to allow sourcing
disabled components.
2021-02-26 13:50:56 +01:00
Adriane Boyd
10c930cc96
Re-refactor Sentencizer with Pipe API ( #7176 )
...
Reapply the refactoring (#4721 ) so that `Sentencizer` uses the faster
`predict` and `set_annotations` for both `__call__` and `pipe`.
2021-02-26 09:48:14 +01:00
svlandeg
08fd901a1b
kb.get_candidates renamed to get_alias_candidates
2021-02-25 20:09:36 +01:00
Adriane Boyd
6a37f343d5
Extend docs related to Vocab.get_noun_chunks
2021-02-25 16:38:21 +01:00
Adriane Boyd
3abfa994d1
Set include_dirs in Extension
...
Set the `include_dirs` in each `Extension` rather than in `setup()` to
handle the case where there is a custom `distutils.cfg` that modifies
the include paths, in particular for python from homebrew.
2021-02-25 11:26:11 +01:00
Ines Montani
592678fb7d
Merge pull request #7073 from adrianeboyd/feature/logger-level-in-formatter
...
Add time and level to default logging formatter
2021-02-24 22:40:46 +11:00
Ines Montani
d2c515354b
Auto-format [ci skip]
2021-02-24 22:37:32 +11:00
Ines Montani
9e8a7e08c1
Merge pull request #7115 from SergeyShk/ruts [ci skip]
2021-02-24 22:37:00 +11:00
Ines Montani
24cecbb3f4
Merge pull request #7126 from adrianeboyd/docs/gpu-id-opt [ci skip]
...
Add tip about --gpu-id to training quickstart
2021-02-24 22:34:17 +11:00
Sofie Van Landeghem
0563cd73d6
Fix SpanGroup import ( #7182 )
...
* import SpanGroup from tokens module
* revert edits from different PR
* add to __all__
2021-02-24 21:06:16 +11:00
Ken
fa7ddc7f88
Update sentencizer documentation example with sentencizer pipe name ( #7185 )
2021-02-24 08:06:54 +01:00
Tocic
b1996a51a1
fix typo in models.md ( #7157 )
2021-02-22 09:00:38 +01:00
Sofie Van Landeghem
b92f81d5da
fix NEL config and IO, and n_sents functionality ( #7100 )
...
* fix NEL config and IO, and n_sents functionality
* add docs
* fix test
2021-02-22 14:49:52 +11:00
Sofie Van Landeghem
113e8d082b
only evaluate named entities for NEL if there is a corresponding gold span ( #7074 )
2021-02-22 11:06:50 +11:00
Adriane Boyd
264862c67a
Fix Ukrainian lemmatizer init ( #7127 )
...
Fix class variable and init for `UkrainianLemmatizer` so that it loads
the `uk` dictionaries rather than having the parent `RussianLemmatizer`
override with the `ru` settings.
2021-02-22 11:05:08 +11:00
Sofie Van Landeghem
ba5a50f62b
NEL docs & UX ( #7129 )
...
* EL set_kb docs fix
* custom warning for set_kb mistake
2021-02-22 11:04:22 +11:00
Shkarin Sergey
22706ec9fb
Fixed universe.json
2021-02-20 08:02:38 +03:00
Boian Tzonev
cca8651fc8
Bulgarian tokenizer exceptions ( #7114 )
...
* [Bulgarian] Add tokenizer exceptions and like_num for Bulgarian
* [Bulgarian] Add tokenizer exceptions and like_num for Bulgarian
2021-02-19 19:19:19 +01:00
Adriane Boyd
7198be0f4b
Add tip about --gpu-id to training quickstart
2021-02-19 14:07:51 +01:00
Sofie Van Landeghem
709c9e75af
span.ent only returns first sentence ( #7084 )
...
* return first sentence when span contains sentence boundary
* docs fix
* small fixes
* cleanup
2021-02-19 23:02:38 +11:00
Adriane Boyd
30e1a89aeb
Fix displacy output in evaluate CLI ( #7122 )
...
Now that `nlp.evaluate()` does not modify the examples, rerun the
pipeline on the (limited) texts in order to provide the predicted
annotation in the displacy output option.
2021-02-19 23:01:20 +11:00
Adriane Boyd
4188beda87
Fix conll converter option ( #7071 )
...
Map `conll` to the NER converter, not the `CoNLL-U` converter.
2021-02-18 10:22:41 +01:00
palandlom
9b82586699
var batch is useless ( #7111 )
...
It seems that nlp.update(examples) should be nlp.update(batch)
2021-02-18 09:44:22 +01:00
Ines Montani
fc4fb6eb3a
Make v2.x docs more prominent [ci skip]
2021-02-17 23:42:27 +11:00
Rajat
4e80ef3abb
updated code eg & description of contextualSpellCheck ( #7096 )
2021-02-17 13:26:43 +01:00
Adriane Boyd
a3293efc48
Add time and level to default logging formatter
2021-02-15 14:19:20 +01:00
Shkarin Sergey
abac5dc203
Update universe.json
2021-02-15 15:01:46 +03:00
Ines Montani
1e3a326e53
Change Dutch transformer recommendation [ci skip]
...
https://github.com/explosion/spaCy/discussions/6529#discussioncomment-366620
2021-02-14 15:30:16 +11:00
Ines Montani
4b729660bd
Merge pull request #7051 from MartinoMensio/dbpedia-spotlight [ci skip]
...
added spacy-dbpedia-spotlight
2021-02-14 14:06:08 +11:00
Ines Montani
f4f46b617f
Preserve sourced components in fill-config ( fixes #7055 ) ( #7058 )
2021-02-14 14:02:14 +11:00
Matthew Honnibal
0fb8d437c0
Fix sentence fragments bug ( #7056 , #7035 ) ( #7057 )
...
* Add test for #7035
* Update test for issue 7056
* Fix test
* Fix transitions method used in testing
* Fix state eol detection when rebuffer
* Clean up redundant fix
2021-02-14 13:38:13 +11:00
Ines Montani
660642902a
Increment version [ci skip]
2021-02-14 13:36:13 +11:00
Matthew Honnibal
b31471b5b8
Set version to v3.0.2
2021-02-13 23:50:00 +11:00
Ines Montani
9ba715ed16
Tidy up and auto-format
2021-02-13 12:55:56 +11:00