Skip to content

Conversation

comorbidity
Copy link
Contributor

physician note examples with term frequency
test-integration files refactored
static methods are now typesystem.helper_function*

Comment on lines +4 to +5
from .typesystem import CtakesJSON, MatchText, Polarity, Span
from .typesystem import UmlsTypeMention, UmlsConcept
Copy link
Contributor

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?

Comment on lines +41 to +42
# import re
# return re.sub(r'[^\u1F600-\u1F64F ]|[^\u1F300-\u1F5FF ]', " ", sentence)
Copy link
Contributor

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.

@mikix
Copy link
Contributor

mikix commented Oct 7, 2022

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Physician Note Examples: more examples that are realistic but not PHI

2 participants