spaCy/website/api
Ines Montani ca244f5f84
Small fixes to displaCy (#3076)
## Description
- [x] fix auto-detection of Jupyter notebooks (even if `jupyter=True` isn't set)
- [x] add `displacy.set_render_wrapper` method to define a custom function called around the HTML markup generated in all calls to `displacy.render` (can be used to allow custom integrations, callbacks and page formatting)
- [x] add option to customise host for web server
- [x] show warning if `displacy.serve` is called from within Jupyter notebooks
- [x] move error message to `spacy.errors.Errors`.

### Types of change
enhancement

## Checklist
<!--- Before you submit the PR, go over this checklist and make sure you can
tick off all the boxes. [] -> [x] -->
- [x] I have submitted the spaCy Contributor Agreement.
- [x] I ran the tests, and all new and existing tests passed.
- [x] My changes don't require a change to the documentation, or if they do, I've added all required information.
2018-12-20 17:32:04 +01:00
..
_annotation OntoNotes url fix (#2981) 2018-11-29 19:34:30 +01:00
_cython 💫 Document Cython API (#2433) 2018-06-11 17:47:46 +02:00
_top-level Small fixes to displaCy (#3076) 2018-12-20 17:32:04 +01:00
_data.json 💫 Document Cython API (#2433) 2018-06-11 17:47:46 +02:00
annotation.jade Update and simplify other annotation scheme data 2017-11-05 16:09:48 +01:00
cli.jade Merge branch 'master' into develop 2018-12-18 13:48:10 +01:00
cython-classes.jade 💫 Document Cython API (#2433) 2018-06-11 17:47:46 +02:00
cython-structs.jade 💫 Document Cython API (#2433) 2018-06-11 17:47:46 +02:00
cython.jade 💫 Document Cython API (#2433) 2018-06-11 17:47:46 +02:00
dependencyparser.jade Add notes on pipe template inheritance in docs 2017-10-26 12:57:32 +02:00
doc.jade 💫 Port master changes over to develop (#2979) 2018-11-29 16:30:29 +01:00
entityrecognizer.jade Add notes on pipe template inheritance in docs 2017-10-26 12:57:32 +02:00
goldcorpus.jade Port over docs changes [ci skip] 2018-03-24 17:12:48 +01:00
goldparse.jade Update goldparse.jade 2018-01-03 17:25:21 +05:30
index.jade 💫 Document Cython API (#2433) 2018-06-11 17:47:46 +02:00
language.jade 💫 Port master changes over to develop (#2979) 2018-11-29 16:30:29 +01:00
lemmatizer.jade Document lemmatizer 2017-10-24 16:00:56 +02:00
lexeme.jade 💫 Port master changes over to develop (#2979) 2018-11-29 16:30:29 +01:00
matcher.jade Port over docs changes [ci skip] 2018-03-24 17:12:48 +01:00
phrasematcher.jade Fixes typo in PhraseMatcher API docs 2018-01-11 17:35:59 +01:00
pipe.jade Port over docs changes [ci skip] 2018-03-24 17:12:48 +01:00
span.jade Add "new in v2.0.12" note to Span.ents (closes #2986) 2018-11-30 20:50:55 +01:00
stringstore.jade Update API documentation 2017-10-03 14:27:22 +02:00
tagger.jade Add notes on pipe template inheritance in docs 2017-10-26 12:57:32 +02:00
textcategorizer.jade Don't document the tensorizer for now 2017-11-01 19:49:04 +01:00
token.jade Fix is_ascii documentation and create contributor file (#2988) 2018-11-30 15:57:58 +01:00
tokenizer.jade Update API documentation 2017-10-03 14:27:22 +02:00
top-level.jade Move CLI docs to own page 2017-10-30 19:39:26 +01:00
vectors.jade Document Vectors.resize() and update v2 incompatibilities (resolves #1514) 2017-11-08 17:11:11 +01:00
vocab.jade Change clear_vectors to reset_vectors (resolves #1516) 2017-11-08 18:11:23 +01:00