Skip to content

Commit

Permalink
MedCat [#101]: extract biomedical concepts/entities from (free) text
Browse files Browse the repository at this point in the history
- refactored exsting code

- removed most unused functions

- MedCat object now only serves for cdb and vocab (not for actual processing functions)

- processing functions are now part of the public API rather than static object methods

- downstream analysis WIP (prepare annotation results etc, see issue)
  • Loading branch information
Imipenem committed Apr 9, 2022
1 parent 1784c4e commit 2f8cc0a
Show file tree
Hide file tree
Showing 2 changed files with 141 additions and 265 deletions.
2 changes: 1 addition & 1 deletion ehrapy/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from ehrapy.tools.nlp._hpo import HPOMapper

try:
from ehrapy.tools.nlp._medcat import MedCAT
from ehrapy.tools.nlp._medcat import * # noqa: E402,F403
except ImportError:
pass
from ehrapy.tools.nlp._translators import Translator
Loading

0 comments on commit 2f8cc0a

Please sign in to comment.