You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
Is your feature request related to a problem? Please describe
Extraction of boundary type of the following two formats:
Must be between 0 and 1
tuple (q_min, q_max), 0.0 < q_min < q_max < 100.0
The ElasticNet mixing parameter, with 0 <= l1_ratio <= 1
float > 0 and <= 1
non-negative float
Must be strictly positive
must be a positive float
Desired solution
Although some particular format can be solved with the help of Regex, the rest can be solved using Matchers in spaCy. Phrase matcher and Dependency matcher features of spaCy can also be looked into for solving this problem statement. The reason for using spaCy here is for the machine to process the natural language in which the description of the boundaries are given.
For example: non-negative float so non-negative here means inclusion of 0.
Possible alternatives (optional)
Screenshots (optional)
Additional context (optional)
The text was updated successfully, but these errors were encountered:
Ideally, all the different docstrings would be first transformed using regex as in a pre-processing stage before using spacy to find the relations between the boundary and the parameter itself.
This issue seems very related to lars-reimann/api-editor#404
Closes#48, closes#36, closes#35, closes#32, closes#31, closes#30,
closes#27, closes#8.
### Summary of Changes
SpaCy rules were generated to recognize named examples and extract the
resulting boundaries.
### Instructions for Manual Testing (if required)
1. Run `pytest` for `test_extract_boundary_values.py`.
2. Check the results of `pytest`.
---------
Co-authored-by: megalinter-bot <129584137+megalinter-bot@users.noreply.github.com>
Co-authored-by: Lars Reimann <mail@larsreimann.com>
Is your feature request related to a problem? Please describe
Extraction of boundary type of the following two formats:
Desired solution
Although some particular format can be solved with the help of Regex, the rest can be solved using Matchers in spaCy. Phrase matcher and Dependency matcher features of spaCy can also be looked into for solving this problem statement. The reason for using spaCy here is for the machine to process the natural language in which the description of the boundaries are given.
For example:
non-negative float
sonon-negative
here means inclusion of 0.Possible alternatives (optional)
Screenshots (optional)
Additional context (optional)
The text was updated successfully, but these errors were encountered: