spaCy/spacy/tokens
Edward ca75190a3d
Custom extensions for spans with equal boundaries (#11429)
* Init

* Fix return type for mypy

* adjust types and improve setting new attributes

* Add underscore changes to json conversion

* Add test and underscore changes to from_docs

* add underscore changes and test to span.to_doc

* update return values

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

* Add types to function

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

* adjust formatting

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

* shorten return type

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>

* add helper function to improve readability

* Improve code and add comments

* rerun azure tests

* Fix tests for json conversion

Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
2022-12-12 08:55:53 +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 Make stable private modules public and adjust names (#11353) 2022-08-30 13:56:35 +02:00
doc_bin.py Make stable private modules public and adjust names (#11353) 2022-08-30 13:56:35 +02:00
doc.pxd Remove sentiment extension (#11722) 2022-11-23 13:09:32 +01:00
doc.pyi Remove sentiment extension (#11722) 2022-11-23 13:09:32 +01:00
doc.pyx Custom extensions for spans with equal boundaries (#11429) 2022-12-12 08:55:53 +01:00
graph.pxd Add SpanGroup and Graph container types to represent arbitrary annotations (#6696) 2021-01-14 17:30:41 +11:00
graph.pyx StringStore refactoring (#11344) 2022-10-06 10:51:06 +02:00
morphanalysis.pxd Morphology/Morphologizer optimizations and refactoring (#11024) 2022-07-15 11:14:08 +02:00
morphanalysis.pyi 🏷 Add Mypy check to CI and ignore all existing Mypy errors (#9167) 2021-10-14 15:21:40 +02:00
morphanalysis.pyx Morphology/Morphologizer optimizations and refactoring (#11024) 2022-07-15 11:14:08 +02:00
retokenizer.pyi Make stable private modules public and adjust names (#11353) 2022-08-30 13:56:35 +02:00
retokenizer.pyx StringStore refactoring (#11344) 2022-10-06 10:51:06 +02:00
span_group.pxd Span/SpanGroup: wrap SpanC in shared_ptr (#9869) 2022-01-12 13:38:52 +01:00
span_group.pyi SpanGroup(s)-related optimizations (#11380) 2022-08-31 09:03:20 +02:00
span_group.pyx Merge branch 'develop' into merge-develop-into-v4 2022-09-07 11:35:47 +02:00
span_groups.py Merge branch 'develop' into merge-develop-into-v4 2022-09-07 11:35:47 +02:00
span.pxd Span/SpanGroup: wrap SpanC in shared_ptr (#9869) 2022-01-12 13:38:52 +01:00
span.pyi Remove sentiment extension (#11722) 2022-11-23 13:09:32 +01:00
span.pyx Custom extensions for spans with equal boundaries (#11429) 2022-12-12 08:55:53 +01:00
token.pxd cleanup 2021-01-13 14:20:05 +01:00
token.pyi Remove sentiment extension (#11722) 2022-11-23 13:09:32 +01:00
token.pyx Remove sentiment extension (#11722) 2022-11-23 13:09:32 +01:00
underscore.py Custom extensions for spans with equal boundaries (#11429) 2022-12-12 08:55:53 +01:00