{"id":21193,"library":"edsnlp","title":"edsnlp","description":"edsnlp is a modular, fast NLP framework compatible with PyTorch and spaCy, offering tailored support for French clinical notes. Current version 0.21.0, requires Python >=3.10. Release cadence: frequent, minor releases monthly.","status":"active","version":"0.21.0","language":"python","source_language":"en","source_url":"https://github.com/aphp/edsnlp","tags":["nlp","clinical","french","spacy"],"install":[{"cmd":"pip install edsnlp","lang":"bash","label":"Install edsnlp"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"edsnlp","correct":"import edsnlp"},{"note":"EDSPipeline is a class in the top-level edsnlp module, not in edsnlp.pipelines.","wrong":"from edsnlp.pipelines import EDSPipeline","symbol":"EDSPipeline","correct":"from edsnlp import EDSPipeline"},{"note":"Using spacy's Pipeline instead of edsnlp's custom Pipeline may lack clinical components.","wrong":"from spacy import Pipeline","symbol":"Pipeline","correct":"from edsnlp import Pipeline"}],"quickstart":{"code":"import edsnlp\n\nnlp = edsnlp.blank(\"eds\")\nnlp.add_pipe(\"eds.normalizer\")\ndoc = nlp(\"Le patient a été admis pour une douleur thoracique.\")\nprint(doc.ents)","lang":"python","description":"Create a blank French clinical pipeline, add the normalizer, and process a sample sentence."},"warnings":[{"fix":"Replace custom pipeline code with nlp.add_pipe().","message":"In edsnlp 0.21.0, the API for adding custom pipelines changed. Use nlp.add_pipe() instead of manual pipeline construction.","severity":"breaking","affected_versions":">=0.20.0"},{"fix":"Use nlp = edsnlp.load('edsnlp') instead of edsnlp.blank('eds').","message":"The 'eds' language identifier may be deprecated in future versions. Consider using 'edsnlp' as the language ID.","severity":"deprecated","affected_versions":"current"},{"fix":"Upgrade spaCy: pip install spacy>=3.6.","message":"The edsparse parser requires spaCy version 3.6 or higher. Incompatibility may cause silent failures.","severity":"gotcha","affected_versions":"<0.21.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Ensure you have called 'import edsnlp' and that your edsnlp version includes the component.","cause":"The 'eds.normalizer' component is not registered. The edsnlp pipeline components are not automatically loaded.","error":"ValueError: [E002] Can't find factory for 'eds.normalizer'"},{"fix":"Use 'from edsnlp import EDSPipeline' instead of 'from edsnlp.pipelines import EDSPipeline'.","cause":"Import path changed: edsnlp.pipelines no longer exists in edsnlp 0.21.0.","error":"ModuleNotFoundError: No module named 'edsnlp.pipelines'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}