Prescription-understanding | 基于正则表达式和AC自动机多模匹配进行不规则处方文本理解,识别药品名、给药总量、用法用量等目标内容。
kandi X-RAY | Prescription-understanding Summary
kandi X-RAY | Prescription-understanding Summary
Prescription-understanding is a Python library. Prescription-understanding has no bugs, it has no vulnerabilities and it has low support. However Prescription-understanding build file is not available. You can download it from GitHub.
Input: 多巴丝肼(合资) 0.25g40*40.000 Sig.0.125g bid po. Output: {"Type": "Medicine_Name", "Offset_Begin": 0, "Offset_End": 3, "Original_Text": "多巴丝肼", "Interpretation": null, "Attributes": [{"PrescriptionComponent": {"Type": "Brand_Type", "Offset_Begin": 0, "Offset_End": 3, "Original_Text": "(合资)", "Interpretation": null}}, {}, {}, {"PrescriptionNumericalComponent": {"Type": "Specification", "Offset_Begin": 9, "Offset_End": 14, "Original_Text": "0.25g", "Interpretation": "每片/粒/袋/支 0.25克", "Value_Unit": [{"value": 0.25, "unit": "克"}]}}, {"PrescriptionNumericalComponent": {"Type": "Total_Amount", "Offset_Begin": 9, "Offset_End": 24, "Original_Text": "0.25g*40×40.000", "Interpretation": "每片/粒/袋/支 0.25克,每盒40.0片/粒/袋/支,共40.0盒,共计400.0克", "Value_Unit": null}}, [{"PrescriptionComponent": {"Type": "Frequency", "Offset_Begin": 39, "Offset_End": 41, "Original_Text": "bid", "Interpretation": "每天两次"}}], {"PrescriptionComponent": {"Type": "Route", "Offset_Begin": 36, "Offset_End": 37, "Original_Text": "po", "Interpretation": "经口,口服"}}, [{"PrescriptionNumericalComponent": {"Type": "Dosage", "Offset_Begin": 29, "Offset_End": 35, "Original_Text": "0.125g", "Interpretation": "0.5片/粒/袋/支", "Value_Unit": {"value": 0.125, "unit": "克"}}}], []]}.
Input: 多巴丝肼(合资) 0.25g40*40.000 Sig.0.125g bid po. Output: {"Type": "Medicine_Name", "Offset_Begin": 0, "Offset_End": 3, "Original_Text": "多巴丝肼", "Interpretation": null, "Attributes": [{"PrescriptionComponent": {"Type": "Brand_Type", "Offset_Begin": 0, "Offset_End": 3, "Original_Text": "(合资)", "Interpretation": null}}, {}, {}, {"PrescriptionNumericalComponent": {"Type": "Specification", "Offset_Begin": 9, "Offset_End": 14, "Original_Text": "0.25g", "Interpretation": "每片/粒/袋/支 0.25克", "Value_Unit": [{"value": 0.25, "unit": "克"}]}}, {"PrescriptionNumericalComponent": {"Type": "Total_Amount", "Offset_Begin": 9, "Offset_End": 24, "Original_Text": "0.25g*40×40.000", "Interpretation": "每片/粒/袋/支 0.25克,每盒40.0片/粒/袋/支,共40.0盒,共计400.0克", "Value_Unit": null}}, [{"PrescriptionComponent": {"Type": "Frequency", "Offset_Begin": 39, "Offset_End": 41, "Original_Text": "bid", "Interpretation": "每天两次"}}], {"PrescriptionComponent": {"Type": "Route", "Offset_Begin": 36, "Offset_End": 37, "Original_Text": "po", "Interpretation": "经口,口服"}}, [{"PrescriptionNumericalComponent": {"Type": "Dosage", "Offset_Begin": 29, "Offset_End": 35, "Original_Text": "0.125g", "Interpretation": "0.5片/粒/袋/支", "Value_Unit": {"value": 0.125, "unit": "克"}}}], []]}.
Support
Quality
Security
License
Reuse
Support
Prescription-understanding has a low active ecosystem.
It has 11 star(s) with 6 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
Prescription-understanding has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of Prescription-understanding is current.
Quality
Prescription-understanding has no bugs reported.
Security
Prescription-understanding has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
Prescription-understanding does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
Prescription-understanding releases are not available. You will need to build from source code and install.
Prescription-understanding has no build file. You will be need to create the build yourself to build the component from source.
Top functions reviewed by kandi - BETA
kandi has reviewed Prescription-understanding and discovered the below as its top functions. This is intended to give you an instant insight into Prescription-understanding implemented functionality, and help decide if they suit your requirements.
- Parse the contents of a line
- Parse a DOSAGE string
- Parses the specification text
- Parse the total amount of total amount
- Parses and returns a PrescriptionResult
- Parses the Prescription component
- Takes a list of lines and returns a list of matching terms
- Returns a list of hits with the given index
- Test the detector
- Returns a list of matching patterns
- Return a list of PrescriptionComponent objects
- Parses a list of routes
- Parses a string
- Convert input_obj to json
Get all kandi verified functions for this library.
Prescription-understanding Key Features
No Key Features are available at this moment for Prescription-understanding.
Prescription-understanding Examples and Code Snippets
No Code Snippets are available at this moment for Prescription-understanding.
Community Discussions
No Community Discussions are available at this moment for Prescription-understanding.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Prescription-understanding
You can download it from GitHub.
You can use Prescription-understanding like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
You can use Prescription-understanding like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page