Comments (1)
I think this is an interesting idea. Performance of medspacy has been a concern for us but I don't think any of our processes have been able to really stress test the performance. The "extreme example" in the intro is the team I work on and we expect our completed systems to be able to process millions of records per day.
We also work closely with the authors of this paper and they have contributed to other components of medspacy. We can easily ask them if they have any thoughts for speeding up the code inside each component.
I do have a few initial thoughts on it, though:
- One of our goals with medspacy was to be able to leverage the optimizations and work that others were doing (which was largely done in python for the broader NLP/ML community). Implementing the specialized trie for FastContext would require fully abandoning the spacy matchers and may need to be entirely custom.
- Medspacy components are not currently compatible with spacy's built-in multiprocessing due to (we believe) some missing or incorrect serialization methods, which is most likely a much quicker path to significant performance increases than implementing the current context algorithm. Parallelization is not a substitute for fastcontext, as mentioned in the paper, but may be a quicker fix for performance than changing the component significantly.
- We created common internal structures for medspacy's context, sectionizer and target matcher in the last major release. If this change was made, it could possibly be done inside this framework and benefit all three components. This would be more involved that simply implementing fastcontext, but is still a possibility in favor of eventually making the change.
from medspacy.
Related Issues (20)
- Postprocessor does not currently run all rules HOT 1
- error when trying to add medspacy_pyrush sentencizer to pipeline HOT 3
- TargetMatcher raises RuntimeWarning, crashes code HOT 5
- Clean up Windows-only QuickUMLS code (if we use pysimstring) HOT 1
- ConText: Docs out of date regarding custom attribute modifiers
- Switch to medspacy_quickumls so that Windows can automatically install QuickUMLS HOT 1
- Possible bug with "negative for" context rule HOT 2
- Medspacy Model saving and loading HOT 2
- Please clarify relationship between MedSpaCy release numbers and beta vs. production releases HOT 1
- Remove lingering references to beta in docs/readmes/etc
- Disambiguated spans HOT 3
- Latest pip install issue related unqlite
- quicksectx-0.3.7/setup.py No such file or directory HOT 6
- PyRuSH-1.0.8.tar.gz - Installing build dependencies: finished with status 'error' HOT 2
- Medspacy Installation Issue v1.1.2 HOT 18
- Medspacy-ing in another language HOT 5
- Medspacy dependency/install cleanup HOT 6
- What does MedSpacy contain that in not in SciSpacy?
- Typo in pyproject.toml HOT 2
- Medspacy conflict with SciSpacy models. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from medspacy.