Universe

parsigs

Structuring prescriptions text made simple using spaCy

parsigs on GitHubparsigs on GitHubparsigs on GitHub

Parsigs is an open-source project that aims to extract the relevant dosage information from prescriptions text without compromising the patient’s privacy.

Notice you also need to install the model in order to use the package: pip install https://huggingface.co/royashcenazi/en_parsigs/resolve/main/en_parsigs-any-py3-none-any.whl

Example

# You'll need to install the trained model, see instructions in the description section from parsigs.parse_sig_api import StructuredSig, SigParser sig_parser = SigParser() sig = 'Take 1 tablet of ibuprofen 200mg 3 times every day for 3 weeks' parsed_sig = sig_parser.parse(sig)
Author info

Roy Ashcenazi

GitHubroyashcenazi/parsigs

Categories model research biomedical

Found a mistake or something isn't working?

If you've come across a universe project that isn't working or is incompatible with the reported spaCy version, let us know by opening a discussion thread.


Submit your project

If you have a project that you want the spaCy community to make use of, you can suggest it by submitting a pull request to the spaCy website repository. The Universe database is open-source and collected in a simple JSON file. For more details on the formats and available fields, see the documentation. Looking for inspiration your own spaCy plugin or extension? Check out the project idea section in Discussions.

Read the docsJSON source