Modular, fast NLP framework, compatible with Pytorch and spaCy, offering tailored support for French clinical notes.
BSD 3-Clause "New" or "Revised" License
115
stars
29
forks
source link
edsnlp.data.read_standoff() the tokenizer argument fails with EDSTokenizer #263
Closed
Aremaki closed 9 months ago
edsnlp.data.read_standoff() the tokenizer argument fails with EDSTokenizer
Description
Pydantic expects Tokenizer and not EDSTokenizer. The issue is that EDSTokenizer inherits from spacy.DummyTokenizer class instead of spacy.Tokenizer.
How to reproduce the bug
Your Environment