-
Notifications
You must be signed in to change notification settings - Fork 1
14 physician note examples #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…_*** methods typesystem.py
NO Assumption is made of the user as to which is preferred.
moved static methods to functions
from .typesystem import CtakesJSON, MatchText, Polarity, Span | ||
from .typesystem import UmlsTypeMention, UmlsConcept |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Convenience imports, so consumers don't have to use ctakesclient.typesystem
? I kind of like the idea of having one canonical import location though -- if we do this, how do you feel about dropping the from . import typesystem
then?
# import re | ||
# return re.sub(r'[^\u1F600-\u1F64F ]|[^\u1F300-\u1F5FF ]', " ", sentence) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can delete these comment lines.
As we discussed out-of-band, I have moved the bulk of this PR to a separate repo, just for clinical note samples: https://github.com/Machine-Learning-for-Medical-Language/ctakes-examples I'd suggest we drop this PR in favor of releasing that (and/or we salvage some of the code cleanups in this branch) |
physician note examples with term frequency
test-integration files refactored
static methods are now typesystem.helper_function*