Closed sam-writer closed 4 years ago
@melisa-qordoba Here is how this would be used for #80
https://github.com/Qordobacode/replaCy/issues/80#issuecomment-696434960
I installed this version of replaCy in a downstream project (Clarity) and the test suite still passes 💪
Part of #80 is making replaCy support extensions, so this does that.
Involves:
__init__.py
and into other filesHere is the thing I might hate about this:
List[Span] -> None
, that is, it takes a list of spans, and doesn't return... because it modifies that listList[Span]
?spacy.util.filter_spans
as a pipeline component, and the weird things I needed to do