Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

Extraction from various docstrings that contain Boundary Type #48

@mmdoja

Description

@mmdoja

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    @boundaryRelated to the @boundary annotationenhancement 💡New feature or request

    Type

    No type

    Projects

    Status

    ✔️ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions