spaCy/spacy/tokens
Matthew Honnibal 2c2db0c492 💫 Allow Span to take text label (#3031)
Fixes #3027.

* Allow Span.__init__ to take unicode values for the `label` argument.
* Allow `Span.label_` to be writeable.

- [x] I have submitted the spaCy Contributor Agreement.
- [x] I ran the tests, and all new and existing tests passed.
- [ ] My changes don't require a change to the documentation, or if they do, I've added all required information.
2018-12-08 13:08:41 +01:00
..
__init__.pxd * Break up tokens.pyx into tokens/doc.pyx, tokens/token.pyx, tokens/spans.pyx 2015-07-13 20:20:58 +02:00
__init__.py Tidy up and document Doc, Token and Span 2017-10-27 15:41:45 +02:00
_retokenize.pyx 💫 Port master changes over to develop (#2979) 2018-11-29 16:30:29 +01:00
_serialize.py 💫 Replace ujson, msgpack and dill/pickle/cloudpickle with srsly (#3003) 2018-12-03 01:28:22 +01:00
doc.pxd Merge master into develop. Big merge, many conflicts -- need to review 2018-04-29 14:49:26 +02:00
doc.pyx Fix removabl of dill (for srsly) 2018-12-06 18:46:09 +01:00
span.pxd Add Span.to_array method 2017-08-19 12:20:45 +02:00
span.pyx 💫 Allow Span to take text label (#3031) 2018-12-08 13:08:41 +01:00
token.pxd Make NORM a token attribute (#3029) 2018-12-08 10:49:10 +01:00
token.pyx Make NORM a token attribute (#3029) 2018-12-08 10:49:10 +01:00
underscore.py 💫 Tidy up and auto-format .py files (#2983) 2018-11-30 17:03:03 +01:00